i have a matrix of class unit8. how could i make an image using it
1 次查看(过去 30 天)
显示 更早的评论
matrix size is 35*57*3.
0 个评论
采纳的回答
Walter Roberson
2013-9-29
image(YourArray)
4 个评论
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
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 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!