Segmentation and vertical length measurements

조회 수: 1 (최근 30일)
Novice_User
Novice_User 2020년 4월 4일
편집: KALYAN ACHARJYA 2020년 4월 4일
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

답변 (1개)

KALYAN ACHARJYA
KALYAN ACHARJYA 2020년 4월 4일
편집: KALYAN ACHARJYA 2020년 4월 4일
#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!

Translated by