Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Anybody can help me for image processing? for detecting circle..
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
john john

Posts: 18
Registered: 6/22/11
Anybody can help me for image processing? for detecting circle..
Posted: Jan 22, 2013 4:47 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi Everyone I need help with my image processing can someone here will to help my image processing complete? I am doing egg counter.. my problem how can I trade those white dots? then display how many white dots are there in the images? This is my code for the image processing..

S = imread('29.jpg');
B= imcrop(S,[70 55 576 432]);
S2 = rgb2gray(B);
S3 = S2>180;
H = fspecial('unsharp');
I4 = imfilter(S3,H,'replicate');
se = strel('disk',11);
erodedBW = imerode(S3,se);
imshow(erodedBW)

This is the image being process the original and filtered one..
<<http://i648.photobucket.com/albums/uu201/myjonas13/29_zps61ba495f.jpg>>
<<http://i648.photobucket.com/albums/uu201/myjonas13/filter_zpsfaa347d5.jpg>>



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.