Forum Discussion
Altera_Forum
Honored Contributor
16 years agoOk, for now I have skipped the method of Run-Length-Encoding based Blob detection and have reduced the algorithm to just compute a bounding box around the blob.
For simplification I just compute the bounding box around the blob for a image data that contains only a single blob. I still use the analog video in and it works! At the beginning I set min- and maxX -Y values and change them, dependend on the position of the pixel that I just proceed. I keep changing the values until the iPosX and iPosY values become (0,0) again, which means that a new frame has just started. The computed center point of the blob is displayed on the HEX-display and doesn't show any flickering. I will offer the source some time in the future, but I have to clean it up a little bit. So the next steps will be the extension of the blob detection to track multiple blobs in the same frame and then use some other interfaces of the DE2 board to provide 3 video inputs at the same time. I will keep updating this thread to provide my proceedings. cu Alex