I need to use the region growing algorithm, but I need the region restricted according to its area and not the intensity. In region growing algorithm, the intensity is used as a parameter, but I need to restrict the region when a certain amount of area ( a certain number of pixels, say 100) are covered. How can I do that?

 採用された回答

Image Analyst
Image Analyst 2017 年 11 月 20 日

0 投票

Yes, just count the pixels as you grow the region and break out when the count hits 100.

1 件のコメント

Rutuja Kate
Rutuja Kate 2017 年 11 月 21 日
thank you! I will try that

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by