Need to compare images with different pixel counts
显示 更早的评论
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 个评论
Walter Roberson
2011-8-26
Please expand on what you mean when you say that the two images are "equally sized", but have different pixel counts ?
回答(1 个)
David Young
2011-8-26
0 个投票
If you have the Image Processing Toolbox, use imresize.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Arithmetic 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!