chinsin83
Junior Member level 2

2d fir mdl xilinx
is there a way for the blocks to determine the output block parameters?
for example: there is a demo of a 2d-fir filter for an image. i looked undermask to see how they do it. they convert the image to a serial stream, filter, then recreate the image.
when they recreate the image, they used a buffer. they did not specify the size of the output buffer, but used variables R*C in the output buffer size parameter. its the same for the block for converting 1-d to 2-d.
is R and C common variable? or do i have to initialize it first? that is R represent the rows of input and C represent the columns of input.
is there a way for the blocks to determine the output block parameters?
for example: there is a demo of a 2d-fir filter for an image. i looked undermask to see how they do it. they convert the image to a serial stream, filter, then recreate the image.
when they recreate the image, they used a buffer. they did not specify the size of the output buffer, but used variables R*C in the output buffer size parameter. its the same for the block for converting 1-d to 2-d.
is R and C common variable? or do i have to initialize it first? that is R represent the rows of input and C represent the columns of input.