MATLAB: Does Image Filter does not produce valid output when using certain image dimension

controlimage filtersimulinkVision HDL Toolbox

Hello,
I am trying to implement a HDL-Coder conform 2D Filter in Simulink with the Image Filter block from the Vision HDL Toolbox. To begin with, I started with the Generate HDL Code for Image Sharpening example, but used an image dimension of 28×28 pixels. Therefore, I changed the properties of the Image from File, Frame to Pixels and Pixels to Frame blocks accordingly (28*28 sample time, 28 active and total pixels per line and video lines).
But this Simulink module does not create an valid output, since the vEnd constrol signal of the Image Filter stay low, although the vStart control signal seems to act normal. Simulink give the following warnings:
Warning: Line out of frame bounds
Warning: Extra line end signal
I tried to fix that by my own by changing some setting in the used Vision HDL Blocks, but I had no success until now. Do you have an explanation or solution for my problem?
Thank you very much in advance!

Best Answer

Can you share a sample model that reproduces the issue? Thanks
This is another example shows how to design a hardware-targeted image filter.
web(fullfile(docroot, 'visionhdl/gs/design-video-processing-algorithms-for-hdl-in-matlab.html'))
Related Question