Altera_Forum
Honored Contributor
16 years agoDE2_TV searching XY coordinates of pixels
Hi @all,
I am currently working with the DE2 Dev.&Edu. Board with Cyclone II. In my project I am supposed to do a simple blob detection. The blobs are represented by white dots on black background. Since I am new I decided to start with the DE2_TV example to become familiar with the dataflow. If I did understand it correct the program does the manipulation of the data pixel-wise, which means that the information which pixel it is actually manipulating should be available. But I am a little bit confused which register does hold the information. I thought it should be the ports oCurrent_X and oCurrent_Y from the VGA_Ctrl module, but if thats the case why is the register 11 bit. This would allow a resolution of 2048x2048 (I know this is not the correct relation, it's just a example). But the output of the VGA has only a resolution of 640 x 480, so the coordinates of X and Y should be lay inbetween. Can someone help me here? Where can I get the X and Y coordinates for the pixels? regards, Alex