How to plot 16x16 pixel image from RGB data available in Excel Sheet?
显示 更早的评论
Hello, i have R,G,B data in excel sheet for each pixel in 16x16 array. I want to generate a 16x16 image using that data. The image must be 16x16 pixels only.
Thanks,
采纳的回答
更多回答(2 个)
Image Analyst
2014-2-18
1 个投票
Put it into the array using for loop. Not sure what you mean by plot, but if you want to plot you can use plot(). If you want to display as an image you can use imshow().
Jakob Sørensen
2014-2-18
0 个投票
Have a look at this artcile, regarding import from a worksheet. How to turn it into an image depends a bit on how your data is arranged.
类别
在 帮助中心 和 File Exchange 中查找有关 Convert Image Type 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!