i have written a code in matlab.... it goes like
I=imread('path');
c=~im2bw(i);
[x,y]=find(c==1);
a=median(x);
b=median(y);
d=plot(b,a,'r.');
imshow(d);
basic task is to take an image of a block with a small circle mark.... find the location of circle ([x,y] in code above)....find centre of circle ...
Search found 1 match
- 2013-11-25T08:06:45-07:00
- Forum: Digital Image Processing
- Topic: plz help me in image processing in c
- Replies: 0
- Views: 10543