storing an image intensity value as an array

1 回表示 (過去 30 日間)
Durga
Durga 2014 年 10 月 19 日
コメント済み: Durga 2014 年 10 月 19 日
how to store intensity values of an image into a matrix via matlab code.i have tried a code which prints the values of intensities using:
for i=1:1.0:455
for j=1:1.0:306
val=impixel(img2,i,j);
disp(val);
end
end
**Image array is already the intensity matrix..but how can i store it into an array which is user defined variable

採用された回答

Rick Rosson
Rick Rosson 2014 年 10 月 19 日
val = img2(:);
  1 件のコメント
Durga
Durga 2014 年 10 月 19 日
Thank u Sir for helping.

サインインしてコメントする。

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by