MATLAB 两幅图像的欧氏距离

2025-02-26 04:22:23
推荐回答(1个)
回答1:

假设两张图为imgA和imgB

diff = imgA - imgB;
EulerDistance = sqrt( sum( diff(:).*diff(:) ) );