Click here to Skip to main content
15,889,335 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
hi, i am new to c# and image processing. I want to build a program which take an A4 size sheet as an input and detects or count the black blobs present on the paper.
Plz help me here
Posted

I used blob recognition with AForge.NET; it worked very well for me, demonstrated amazing performance and accuracy. Please see:
http://en.wikipedia.org/wiki/AForge.NET[^],
http://www.aforgenet.com/[^].

For blob recognition, there is a demo application which you will find after you download all the source code. Adding features to it was easy. Typically, you would need to perform some other transformations to the image before recognition. First of all, I would recommend to increase contrast to maximum. In some cases, you need to perform color transformations, if the features you need should be recognized by subtly different color. And so on…

—SA
 
Share this answer
 
v2
Comments
BillWoodruff 4-Mar-14 20:58pm    
+5
Sergey Alexandrovich Kryukov 4-Mar-14 21:27pm    
Thank you, Bill.
—SA
 
Share this answer
 
Comments
BillWoodruff 4-Mar-14 20:58pm    
+5
Thomas Daniels 5-Mar-14 2:31am    
Thank you!
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Mar-14 12:45pm    
Second link is off-topic... Blob detection is a very different operation.
—SA
Krunal Rohit 4-Mar-14 12:46pm    
It's regarding Image Processing, might be helpful to OP.

-KR
Sergey Alexandrovich Kryukov 4-Mar-14 12:51pm    
Yes, but we should not shift focus from the matter of the question. With the same success, you could link and article on red eye detection or binary tree search... :-)
—SA
BillWoodruff 4-Mar-14 21:02pm    
I think the 2nd. link is relevant: certainly edge-detection is an aspect of blob recognition.

The first link ... to a 7 second video with no audio of a guy wiping his hand on a screen with a Kinect or web-cam ... seems irrelevant to me, but, who knows, perhaps it will fall like manna from heaven on the head of the OP :)
Sergey Alexandrovich Kryukov 4-Mar-14 21:32pm    
I still think it is irrelevant. I used blob recognition; its algorithm does not use edge-detection. They are unrelated, really.
I didn't even consider watching the video, usually no volunteering for such a waste of time... :-) Thank you for confirming that I did not loose a lot. :-)
Overall, this answer is just two random links which anyone could find out without any understanding of the problem. I know that you personally use the opposite principle in answering questions...
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900