イメージの行列の計算について
Mostrar comentarios más antiguos
画像を読み込み、読み込んだ画像の行列の値を255で割りたいです。しかし、小数点以下が切り捨てられてしまいます。
小数点以下が欲しいです
img=imread('[co480,ro640]分割_N_MAP');
inshow(img)
divimg=img./255
この様に実行したのですが。うまく行きませんでした。
ご教授お願いいたします。
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre イメージ算術 en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!