Calculating perimeter of object!
Show older comments
Hi Folks,
So, I want to calculate the perimeter of an object. I have posted an image to this question. I wrote a short script - which I found on Mathworks - to trace the object of interest with a green trace. I was wondering if I can calculate the perimeter of this object. The perimeter measurement would be acquired first in number of pixels, and then I would convert that number into a physical SI measurement using a value I have written down.
My question is... How would I go about this? Also, would tracing the perimeter of the object, as I have done, help? Or, does tracing just serve to be a visual aid?
Here is the figure. The green is obviously the trace of the perimeter. In advance, thank you for reading through this!

Accepted Answer
More Answers (1)
nikhil agrawal
on 20 Oct 2016
0 votes
Go back to the mask without the green traced in and use regionprops() and Ask for Perimeter.
Categories
Find more on Contrast Adjustment in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!