How can I meassure the length of a line in pixels?

1 visualización (últimos 30 días)
Dimitris Anastasiou
Dimitris Anastasiou el 3 de En. de 2019
Respondida: Rahul punk el 15 de Feb. de 2019
Hello! I would like to meassure the length of a line in pixels from a specific image. Actually, I know that in "physical world" is 10mm. What I have done until now, was to convert the image into binary format and then try to detect the line by examine all of the bits and some of the neighbours. This way is extremely slow. Any suggestions?
PS. The line that am interested is the blue one on the piece of paper. Also, define a ROI by cropping a frame near the line is not an option because the location of the piece of paper is not fixed. Plus I m interested in an automatic method, not tools from apps such as rulers etc.
  2 comentarios
Dimitris Anastasiou
Dimitris Anastasiou el 4 de En. de 2019
Thanks for the quick response. The thing is that I am interested in an automatic way. I forgot to mention it in the description.

Iniciar sesión para comentar.

Respuestas (1)

Rahul punk
Rahul punk el 15 de Feb. de 2019

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by