Why the values of perimeter calculated using regionprops for Matlab 2010 and 2015 differ?
3 views (last 30 days)
Show older comments
Waleed Saqib on 22 May 2015
Edited: Waleed Saqib on 28 May 2015
The following code
when executed on Matlab 2010 , gives 2 as the value of perimeter.
But when I execute the same code on Matlab 2015 , the perimeter is 1.96.
Can anyone explain what is the reason of this difference.
For the record, Matlab 2010 is not rounding off the value.
Secondly, how regionprops calculate perimeter of an object in an image. I have read the help of this command but was unable to comprehend the method.
Ashish Uthama on 26 May 2015
More Answers (0)
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!