Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
Gray-level image of JPEG i've added to workspace
조회 수: 1 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Image Analyst
2015년 2월 4일
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
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!