Browse Source

corrected 1-pixel offset in example plot of sample image

Tim Gollisch 2 years ago
parent
commit
d08f3f593e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sample_code_for_Fig1.m

+ 1 - 1
sample_code_for_Fig1.m

@@ -21,7 +21,7 @@ ImageID = 228;
 % Plot sample image
 subplot(1,2,1)
 thisimage = squeeze(imagedata(:,:,ImageID));
-imagesc(thisimage);
+imagesc([0,255],[0,255],thisimage);
 hold on;
 set(gca,'YDir','normal');
 axis([0, 256, 0, 256] );