i want measurement of this object and position of it in my image. how can i do it??

3 views (last 30 days)

Answers (1)

Image Analyst
Image Analyst on 29 Mar 2018
You can use image processing. Threshold and call regionprops().
binaryImage = grayImage > someValue;
props = regionprops(binaryImage, 'Area', 'BoundingBox', 'Centroid');
There are other things you can also measure.

Categories

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!