Filter löschen
Filter löschen

Image artifact using imagesc

3 Ansichten (letzte 30 Tage)
Jonathan
Jonathan am 20 Sep. 2014
Bearbeitet: Matt J am 24 Sep. 2014
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 Kommentar
Matt J
Matt J am 24 Sep. 2014
Bearbeitet: Matt J am 24 Sep. 2014
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

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Geometric Transformation and Image Registration finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by