drow a image only by a matrix

1 回表示 (過去 30 日間)
Fatima prv
Fatima prv 2012 年 7 月 9 日
If I have a image's matrix( for example a matrix 300*400) , how do I drow this matrix as a image? Also depends on the type of photo?

採用された回答

Thomas
Thomas 2012 年 7 月 9 日
Maybe imshow will help
eg:
c=rand(300,400); % generate random matrix data
imshow(c)
  7 件のコメント
Ryan
Ryan 2012 年 7 月 9 日
編集済み: Ryan 2012 年 7 月 9 日
What is the result of unique(image_matrix)? Does imshow(image_matrix,[]) work?
Fatima prv
Fatima prv 2012 年 7 月 9 日
no , this command show all of number that used in image matrix as a vector.

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

その他の回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by