make image

18 Ansichten (letzte 30 Tage)
parisa
parisa am 16 Mär. 2012
hi, i have a matrix as pixel value, i want to make image according to this matrix. how can i do that? thanks

Akzeptierte Antwort

Grzegorz Knor
Grzegorz Knor am 16 Mär. 2012

Weitere Antworten (1)

Image Analyst
Image Analyst am 16 Mär. 2012
Use imshow or image.
imshow(yourImage, []);
If you don't have integer values in the range 0-255, or floating point values in the range 0-1, you'll need the [] to see anything, or you can use
image(yourImage);

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by