.jpgのカラー画像​を、.pngのグレー​スケール画像に変換す​る方法はありますか?​?

조회 수: 3 (최근 30일)
Nagae Ryoya
Nagae Ryoya 2019년 10월 4일
편집: Yoshio 2019년 10월 4일
.jpgのカラー画像をグレースケール化して、バイナリーイメージに変換後、regionpropsやimbinarizeで使用する方法はありますか??

채택된 답변

Yoshio
Yoshio 2019년 10월 4일
편집: Yoshio 2019년 10월 4일
とりあえず、rgb2grayを試されてはいかがでしょうか。
imreadを使えばjpg画像も読めますので、
等の例が参考になるかと思います。

추가 답변 (0개)

제품

Community Treasure Hunt

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

Start Hunting!