How do I count pixels between two point along a curved path?

조회 수: 2 (최근 30일)
Sirosh
Sirosh 2014년 1월 29일
댓글: Sirosh 2014년 1월 29일
I have an image with binary numbers(0,1),which contain lots of curved path.I have to count the number of pixels between two point along the curve. Is there a method to find the number of pixels along a curve?

답변 (1개)

Juan P. Viera
Juan P. Viera 2014년 1월 29일
I don't quite understand the question If it is what I think you are trying to say, maybe you can first filter all pixels that are not between those 2 (with clever indexing) and then use regionprops to tell you the area of the white pixels.
  댓글 수: 1
Sirosh
Sirosh 2014년 1월 29일
I want to count the pixels between neighbouring red marks along the line.

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

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by