Azzera filtri
Azzera filtri

drow a image only by a matrix

2 visualizzazioni (ultimi 30 giorni)
Fatima prv
Fatima prv il 9 Lug 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?

Risposta accettata

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

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Images in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by