Segmentation and vertical length measurements
Show older comments
Dear all,
I would like to sement an object in my image (an example is attached), and to automatically measure vertical lengths (constant dx) of that object
I tried the segmentation using the 'freehand_drawing_demo', and now with your help, I would like to measure that semented object.
I'm running a 2008b version.
Thank you kindly
Answers (1)
KALYAN ACHARJYA
on 4 Apr 2020
Edited: KALYAN ACHARJYA
on 4 Apr 2020
0 votes
#NonTested, but providing the steps for the same-
- Convert the image to binary
- Apply Hit and Miss Transfrom to trace the outer boundary only.
- Calculate the euclidian distance between white pixels with same comumns numbers.
- Group the data and get the lagre variant values.
Cheers!
Categories
Find more on Image Segmentation 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!