Under Matlab version 5:
[rgbHats] = imread('images/hats.tiff', 'tiff');Under Matlab version 4:
[rgbHatsc] = imread('images/hatsCompressed.tiff', 'tiff');
[rHats gHats bHats] = tiffread('images/hats.tiff');The variables "rgbHats" and "rgbHatsc" contain the R,G,and B information of the original and the compressed version of the image "hats".
[rHatsc gHatsc bHatsc] = tiffread('images/hatsCompressed.tiff');
rgbHats = [rHats gHats bHats];
rgbHatsc = [rHatsc gHatsc bHatsc];
|
|
| hats | hatsCompressed |
After the above images are loaded, some calibration information needs to be prepared in the next step.