VHDL blob counting code

Status
Not open for further replies.

Binome

Full Member level 3
Joined
Nov 16, 2009
Messages
153
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Location
Lyon, France
Activity points
2,412
Hi,
I want to use an FPGA to speed up the counting of islands on maps. The map is a 128*128 2-color pixels picture. I thought about using a Connected Components algorithm then count the blobs but there may be a simpler solution and there may exist some reusable VHDL code.
Could someone help me?
Thanks.
 

You should rethink the way you ask a question...

1. you want someone to do the research for you.
2. you want someone to give you code that does what you want
3. you don't want to pay someone to do these things for you

Hmmm, I think I'll go find a real question to answer.
 

In the absence of any option I would do so:

1) Create 128 arrays of 128 pixels.
2) Scan horizontally/vertically, checking for connected regions of one line/row to the next.
3) Write de VHDL code for that.
 

@ads-ee
I did search on the web but I don't know the words exactly (as my language is not english) so I didn't find precisely that.
For the code, I prefer to use some really good one more than recreate badly things that already exist.
If you prefer to answer another question so why spend time to be mean to me?

@others
thanks for the help.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…