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

3 vues (au cours des 30 derniers jours)
Nagae Ryoya
Nagae Ryoya le 4 Oct 2019
Modifié(e) : Yoshio le 4 Oct 2019
.jpgのカラー画像をグレースケール化して、バイナリーイメージに変換後、regionpropsやimbinarizeで使用する方法はありますか??

Réponse acceptée

Yoshio
Yoshio le 4 Oct 2019
Modifié(e) : Yoshio le 4 Oct 2019
とりあえず、rgb2grayを試されてはいかがでしょうか。
imreadを使えばjpg画像も読めますので、
等の例が参考になるかと思います。

Plus de réponses (0)

Produits

Community Treasure Hunt

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

Start Hunting!