Filter löschen
Filter löschen

drow a image only by a matrix

2 Ansichten (letzte 30 Tage)
Fatima prv
Fatima prv am 9 Jul. 2012
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?

Akzeptierte Antwort

Thomas
Thomas am 9 Jul. 2012
Maybe imshow will help
eg:
c=rand(300,400); % generate random matrix data
imshow(c)
  7 Kommentare
Ryan
Ryan am 9 Jul. 2012
Bearbeitet: Ryan am 9 Jul. 2012
What is the result of unique(image_matrix)? Does imshow(image_matrix,[]) work?
Fatima prv
Fatima prv am 9 Jul. 2012
no , this command show all of number that used in image matrix as a vector.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by