i have a matrix of class unit8. how could i make an image using it
1 回表示 (過去 30 日間)
古いコメントを表示
shantanu shukla
2013 年 9 月 28 日
コメント済み: Walter Roberson
2013 年 10 月 5 日
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 件)
Image Analyst
2013 年 9 月 28 日
Seems to me you already have an image. Why do you think you don't?
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!