drow a image only by a matrix

2 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Images 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by