%% Shrink Image By Factor of Two Using Default Interpolation Method
% Load image into the workspace.

I = imread('ngc6543a.jpg');

%
% Shrink the image by a factor of two.

J = imresize(I, 0.5);

%
% Display the original image and the resized image.

figure, imshow(I), figure, imshow(J)

% Copyright 2012 The MathWorks, Inc.