i want measurement of this object and position of it in my image. how can i do it??
3 views (last 30 days)
Show older comments

0 Comments
Answers (1)
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.
See my Image Segmentation Tutorial for a full demo https://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862&sort=downloads_desc
0 Comments
See Also
Categories
Find more on Image Processing Toolbox 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!