![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181358/image.jpeg)
Image artifact using imagesc
3 ビュー (過去 30 日間)
古いコメントを表示
Consider the asymmetry in these two images. They should appear symmetric. Why don't they?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/145465/image.png)
figure,colormap gray;
subplot(1,2,1)
imagesc(eye(2)*eps, [-1 1]);
title('imagesc(eye(2)*eps, [-1 1])'), axis image
subplot(1,2,2)
imagesc(-eye(2)*eps, [-1 1]);
title('imagesc(-eye(2)*eps, [-1 1])'), axis image
1 件のコメント
Matt J
2014 年 9 月 24 日
編集済み: Matt J
2014 年 9 月 24 日
Both images appear perfectly symmetric to me, if symmetric means image=tranpose(image). However, I think this displays it better,
subplot(1,2,1)
imagesc(eye(2)*eps, [-1 1]*eps);
title('imagesc(eye(2)*eps, [-1 1])'), axis image
subplot(1,2,2)
imagesc(-eye(2)*eps, [-1 1]*eps);
title('imagesc(-eye(2)*eps, [-1 1])'), axis image
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/181358/image.jpeg)
回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!