Segmentation and vertical length measurements

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

Respuestas (1)

KALYAN ACHARJYA
KALYAN ACHARJYA el 4 de Abr. de 2020
Editada: KALYAN ACHARJYA el 4 de Abr. de 2020

0 votos

#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!

Etiquetas

Preguntada:

el 4 de Abr. de 2020

Editada:

el 4 de Abr. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by