%% Read TIFF Image Data
% Create a Tiff object and read data from the TIFF file.

t = Tiff('peppers_RGB_tiled.tif','r');
imageData = read(t);

% Display the image.

imshow(imageData);
title('Peppers Image (RGB)')

% Close the Tiff object.

close(t);

% Copyright 2012 The MathWorks, Inc.