Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
imwrite generates incorrect files by mixing up colors
조회 수: 1 (최근 30일)
이전 댓글 표시
Hi,
I'm trying to save a 22000x40000 RGB int8 image (values range from 8 to 255) in jpg. when I save the full file I get: imwrite(img_diam,'img_full.jpg')
(see first attached image)
when I save the same image cropped by one pixel I get: imwrite(img_diam(2:end-1,2:end-1,:),'img_crop.jpg')
(see second attached image)
When I crop even more I get the correct image..
Thank you for your Help. TD
댓글 수: 1
Swathik Kurella Janardhan
2016년 8월 17일
Can you share the image data(img_diam) to reproduce the issue? Also, share a screenshot of the correct image and the image data of the correct image.
답변 (0개)
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!