i have a matrix of class unit8. how could i make an image using it

1 次查看(过去 30 天)
matrix size is 35*57*3.

采纳的回答

Walter Roberson
Walter Roberson 2013-9-29
image(YourArray)
  4 个评论
Image Analyst
Image Analyst 2013-10-5
编辑:Image Analyst 2013-10-5
That function displays an image in a rectangle on your computer screen. It does not create a gray scale image or create any image whatsoever in a variable. Why do you say that it makes a gray scale image? You can use that function, or use imshow() instead.
Walter Roberson
Walter Roberson 2013-10-5
If your data is 35*57*3 then applying image() to your data will show it in as much RGB information as is present. If it looks greyscale then that is because the data itself has all three color planes equal (or nearly so.)

请先登录,再进行评论。

更多回答(1 个)

Image Analyst
Image Analyst 2013-9-28
Seems to me you already have an image. Why do you think you don't?

类别

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