
Image artifact using imagesc
    조회 수: 8 (최근 30일)
  
       이전 댓글 표시
    
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
      
      
 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개)
참고 항목
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!