2値化した画像内のピクセル周りに0と1がそれぞれいくつあるかを調べる方法が知りたい
Show older comments
matlab R2020b(Windows)を使っております。
以下の2値化した画像にある1つのピクセルの周り(8方向)に"0"と"1"がそれぞれいくつあるかを調べたいです。
画像内にある全てのピクセルを調べたく、結果的に"0"が3つあるかどうか等を判断するようにしたいです。
説明が苦手で申し訳ございません。
宜しくお願い致します。

Accepted Answer
More Answers (0)
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!