how to determine the size of the object using image processing
Show older comments
I want to specify the size of the object based image processing. The picture is a glass display in 2D, where there are a few rules: 1. I use to get live video images to be processed 2. Live video will get the picture, then immediately performed image processing such as: segmentation process and labeling process 3. Once labeling is complete, can be specified length of parallel sides and 2 pieces height of the object in pixels (to get the width of each of the sides and the height of the glass) 4. Calibrating the measure that has been in the can in pixels to centimeters
well, i'll simplify my question,, everybody should know the trapezoidal where it has two parralel sides and a height. my questions : how to count wide of trapezoidal using image processing (include precesses such as :segmentation, labelling,pixel calibration to centimeter)
I really hope the help of friends in this forum. Thank you
Accepted Answer
More Answers (2)
giridhar H M
on 4 Mar 2018
1 vote
What are the applications of measuring diameter of an object within an image using MATLAB
2 Comments
ABDULLAH WAHID
on 4 Mar 2021
Hi guys
Is there anyone to explain how to find the height of an object within an image using Matlab????
Image Analyst
on 4 Mar 2021
Yes, call regionprops() and ask for the bounding box. The bounding box format is [xLeft, yTop, width, height] so get the 4th column.
props = regionprops(mask, 'BoundingBox');
boundingBoxes = vertcat(props.BoundingBox);
heights = boundingBoxes(:, 4)
See my Image Segmentation Tutorial for a full demo:
Thorsten
on 21 Jan 2013
0 votes
Start with point 1, see how far you can get, succeed and process with point 2, and so on, or ask a more specific question.
1 Comment
suryani annisa
on 22 Jan 2013
Edited: suryani annisa
on 22 Jan 2013
Categories
Find more on Detection and Tracking 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!