943,929 Members | Top Members by Rank

Ad:
Sep 22nd, 2009
-1

Connected Components not quite working

Expand Post »
Ok see the attachments(note i have converted the images to gif as pgm is not allowed to be uploaded)

I am trying to do Connected Components Labeling in an image (Gaus.gif) and output the result (smallOut.gif)

It almost works except for one little part in the smallOut.gif. The first object from the left the top left of that object you will notice a dfferent color. Not sure why its doing that.
The link here http://www.sendspace.com/file/yc0h9x has all the files used to run the program, just run make and ./process

Could someone help please?
Attached Thumbnails
Click image for larger version

Name:	Gaus.gif
Views:	19
Size:	1.8 KB
ID:	11735   Click image for larger version

Name:	smallOUT.gif
Views:	16
Size:	1.9 KB
ID:	11736  
Attached Files
File Type: c process.c (5.1 KB, 4 views)
Similar Threads
Reputation Points: 10
Solved Threads: 0
Light Poster
philmetz is offline Offline
30 posts
since Apr 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Computer Science Forum Timeline: Constraint Satisfaction Programming
Next Thread in Computer Science Forum Timeline: Curious outsider looking to get in.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC