What is problem?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Haseeb Hassan
am 19 Sep. 2017
Kommentiert: Haseeb Hassan
am 25 Sep. 2017
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167274/image.png)
I want to apply this code on another image, but i am getting this problem, and the image can not be shown.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/167275/image.png)
Please any help
1 Kommentar
KSSV
am 19 Sep. 2017
Haseeb Hassan it is a big matrix of 3D. Why you want to view it? There is no necessity to see it.
Akzeptierte Antwort
Jan
am 19 Sep. 2017
Bearbeitet: Jan
am 19 Sep. 2017
The Variable Editor is not thought to display the contents of huge and/or 3D arrays. It is simply not useful to display them as a table. Therefore the behavior is expected and useful - and not a "problem". Use another tool to display the array, e.g. the image command.
4 Kommentare
Image Analyst
am 23 Sep. 2017
I don't advise you to call your image Image since there is a built in function called image. So let's call your grayscale image grayImage. Then to create an rgb image in the range 0-1, you can simply do
rgb = cat(3, grayImage, grayImage, grayImage) / 255;
Instead of all those lines of code you were using.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!