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