- Crop out just the middle of the image to get rid of the straight lines.
- Call labeledImage = bwlabel(binaryImage)
- Call regionprops(labeledImage, 'PixelList') to get the (x,y) coordinates of each ring.
- For each ring, fit the coordinates to a circle with the FAQ
Perimeter and area of the Circle
1 view (last 30 days)
Show older comments
Hello..:) my problem is to get the perimeter and area of the circle.. here is my binary image..
i still new with matlab..any very greatful for those who are helping me please help me by giving ur idea or suggestion for the coding..thx for ur time..:)
0 Comments
Accepted Answer
Image Analyst
on 7 Apr 2015
The steps:
Let me know if you still need help after this. If so, attach your code.
5 Comments
Image Analyst
on 14 Apr 2015
You just need to multiply by a calibration scale factor. See my attached spatial calibration demo.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!