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

7 visualizaciones (últimos 30 días)
Nagae Ryoya
Nagae Ryoya el 4 de Oct. de 2019
Editada: Yoshio el 4 de Oct. de 2019
.jpgのカラー画像をグレースケール化して、バイナリーイメージに変換後、regionpropsやimbinarizeで使用する方法はありますか??

Respuesta aceptada

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

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!