Image artifact using imagesc

3 次查看(过去 30 天)
Jonathan
Jonathan 2014-9-20
编辑: Matt J 2014-9-24
Consider the asymmetry in these two images. They should appear symmetric. Why don't they?
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
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

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Geometric Transformation and Image Registration 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by