| akira32.comp.soft-sys.matlab 2007-03-30, 7:11 pm |
| How do I miior a image vertically?
I reference the book called "Digital Image Processing" Page36.
Figure2 seems to be error,becuse the airplane(in 'chap11_0.jpg')
appear three time in x-axis.
The book says it use the 1024x1024 intensity image of class uint8.
It means that the alogithms of the page41 just for the intensity
image.
But I want to mirror a normal image that input from imread.
What should I do?
f=imread('chap11_0.jpg');
k=imfinfo('chap11_0.jpg')
fp=f(end:-1:1, :);
imshow(f);figure;imshow(fp);
%
% k =
% Filename: 'chap11_0.jpg'
% FileModDate: '30-Mar-2007 21:08:15'
% FileSize: 47023
% Format: 'jpg'
% FormatVersion: ''
% Width: 640
% Height: 480
% BitDepth: 24
% ColorType: 'truecolor'
% FormatSignature: ''
% NumberOfSamples: 3
% CodingMethod: 'Huffman'
% CodingProcess: 'Sequential'
% Comment: {}
|