Need to compare images with different pixel counts
Show older comments
I need to compare two images, one a idealized image of a laser aberration and the other, the actual observed aberration. Unfortunately, the two images (though equally sized) have different pixel counts. The idealized image is 512 by 512, the actual is 279 by 369. If I can get similar pixel counts, I can easily write something to compare them. Obviously I can't increase the pixel count of the observed image, but can I somehow change the pixel count of the idealized to match it?
1 Comment
Walter Roberson
on 26 Aug 2011
Please expand on what you mean when you say that the two images are "equally sized", but have different pixel counts ?
Answers (1)
David Young
on 26 Aug 2011
0 votes
If you have the Image Processing Toolbox, use imresize.
Categories
Find more on Image Processing Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!