12.14) Image Visualization
Now let's take a close look at visualizing matrix data (image data).
- Matlab has a number of functions to provide reading, viewing and the saving of image data.
- These data could be in the form of geographic plots of climatological data, model outputs or observations. We could also have a digital image from an optical microscope or SEM.
- Let's look at some of the Matlab tools:
[matlab]
info=iminfo('D_surface_lines_02.tif')
Filename: [1x54 char]
FileModDate: '16-Feb-2014 19:53:27'
FileSiuze: 827734
Format: 'tif'
Formatversion:
width: 908
Height: 908
BitDepth: 9
..........
BitsPerSample: 8
Compression: 'Uncompressed'
PhotometricInterpretation: 'RGB Palette'
..........
Colormap: [256x3 double]
SampleFormat: 'Unsigned integer'
..........
A=imread('D_surface_lines_02.tif')
size(A)
908x908
[/matlab]