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!