画像の2値化の方法
    33 views (last 30 days)
  
       Show older comments
    
imbinarizeを用いて2値化しようとしているのですが、やり方がわからなくなってしまいました。 また閾値も変更できるようなコードはございますか。
0 Comments
Accepted Answer
  Shunichi Kusano
    
 on 7 Jan 2021
        こんにちは。
公式ドキュメントに使い方が詳しく書いていますので、ご覧いただくといいと思います。
もし画像に対して1つのしきい値で二値化される場合でしたら、
BW = A > th; % Aは画像配列、thはしきい値
も簡単です。
More Answers (1)
See Also
Categories
				Find more on イメージ タイプの変換 in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
