8bit画像を4bitにimquantize
Mostrar comentarios más antiguos
添付の画像ファイル(256*256,unit8)を4bit/pixelにquantizeしたく以下のコマンドを試したのですが、画像を表示させてさい真っ白の画像になってしまいました。解決法、また間違いありましたらご指摘頂けると幸いです。
img = imread('lenna_grey');
thresh = multithresh(img);
img_quant = imquantize(img, 3);
figure, imshow(img_quant);
Respuesta aceptada
Más respuestas (1)
Naoki Ishibashi
el 18 de Sept. de 2017
0 votos
Categorías
Más información sobre イメージ タイプの変換 en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!