make image

3 次查看(过去 30 天)
parisa
parisa 2012-3-16
hi, i have a matrix as pixel value, i want to make image according to this matrix. how can i do that? thanks

采纳的回答

Grzegorz Knor
Grzegorz Knor 2012-3-16

更多回答(1 个)

Image Analyst
Image Analyst 2012-3-16
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);

类别

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