Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Gray-level image of JPEG i've added to workspace
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm having trouble turning the colored image JPEG I've added to my workspace. I have been using the following code: image(tw2); colormap(gray); But this doesn't work and there are no errors. Any ideas?
0 Kommentare
Antworten (1)
Image Analyst
am 4 Feb. 2015
What does "turning" mean to you? Applying a color map? Rotating? Flipping? Transforming in some other way? Color maps don't apply to color images , only to gray scale or indexed images. Did you know that? A color image is already color so there are no indexes that you can use to replace the color with a color selected from an N by 3 colormap array.
0 Kommentare
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!