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

조회 수: 2 (최근 30일)
Dimitris Anastasiou
Dimitris Anastasiou 2019년 1월 3일
답변: Rahul punk 2019년 2월 15일
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
Dimitris Anastasiou
Dimitris Anastasiou 2019년 1월 4일
Thanks for the quick response. The thing is that I am interested in an automatic way. I forgot to mention it in the description.

댓글을 달려면 로그인하십시오.

답변 (1개)

Rahul punk
Rahul punk 2019년 2월 15일

카테고리

Help CenterFile Exchange에서 Get Started with Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by