make two images in same size and same dimensions
显示 更早的评论
I had two images one is the original image and the other is the mask of it .. when i applied my code it shows an erorr ( Matrix dimensions must agree.)
What should I do to make the two images in same size ?
回答(1 个)
Image Analyst
2019-1-19
Use imresize()
image2 = imresize(image2, size(image1));
类别
在 帮助中心 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!