%Chapter 6, Fig 6.2 %Eric Dubois, updated 2018-12-12 %Illustration of aliasing in the Barbara image clear all, close all; A = im2double(imread('barb512_gray.tif')); figure, imshow(A); S = size(A); B = A(1:2:S(1),1:2:S(2)); figure, imshow(B);