GUI:Displaying the matrix of an image without Imread
3 次查看(过去 30 天)
显示 更早的评论
I want make matlab GUI program which only displaying the matrix of image.. But I don't want using Imread..
Anybody can help me?? Thanks..
0 个评论
回答(1 个)
Image Analyst
2013-12-17
If you already have your image in a variable in your MATLAB script or function, then you don't need imread(). That is only for reading an image in from a disk file into an array in your program. Once you have that image variable, you can display it in a variety of ways, like image(), imshow(), imagesc() or the numbers via sprint() into a string that you display in a label, or you can put an array into a table uicontrol. Or you can use im2html(): http://www.mathworks.com/matlabcentral/fileexchange/32273-im2html-m if you want to display the RGB values in little squares of the same color.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!