Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有两个图像,必须划分该图像。由于手动错误,图像中的区域不一样。如何使用 matlab 自动更正它以便准确地逐个像素地执行除法?
将两个图像文件读入变量后,假设A和包含您实际想要的大小的图像并包含您要更改的大小的图像,您可以使用:BAB
A
B
[numrows numcols] = size(A); A = imresize(A, [numrows numcols]);