Convert Image from Pixel Bus to 2D Array on FPGA

Updated Feb 28, 2019

Reported In



Issue Details

I am acquiring images on my real-time controller, then passing them to my FPGA to process them. When I transfer them, it converts it to a "pixel bus". How do I convert this to a 2D array so I can process the image?


You will need to loop, paying attention to the Data ValidEnd of Line, and End of Image booleans, combining the pixels into a 2D array based on these values. An example is shown below. 
Note: This example is untested and not guaranteed to work.