特定の範囲における二値化について(初心者です)
Show older comments
二値化において、imbinarizeを用いているのですが、 イメージAの左半分の閾値を右半分の閾値よりも高く設定して二値化したいです。
そこで以下のような方法で行ってみたところエラーが出てしまいました。 改善点を教えて頂きたいです。 よろしくお願い致します。
binariA=imbinarize(A(:,1:end/2),ave*2)+ imbinarize(A(:,end/2:end),ave);
左半分の閾値を右半分の閾値の2倍にしてみました。
2 Comments
Shunichi Kusano
on 18 Jan 2021
どのようなエラーが出たのかも記載いただけると回答者の参考になるかと思います。
coco
on 24 Jan 2021
Accepted Answer
More Answers (0)
Categories
Find more on Image Thresholding 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!