Segmentation and vertical length measurements

1 view (last 30 days)
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
KALYAN ACHARJYA on 4 Apr 2020
Edited: KALYAN ACHARJYA on 4 Apr 2020
#NonTested, but providing the steps for the same-
  1. Convert the image to binary
  2. Apply Hit and Miss Transfrom to trace the outer boundary only.
  3. Calculate the euclidian distance between white pixels with same comumns numbers.
  4. Group the data and get the lagre variant values.
Cheers!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!