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 Center および File ExchangeInterpolation についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by