MATLAB: Find the Euclidean distance

euclidean distance

i wanted to find the Euclidean distance between 2 pixels…please help me….

Best Answer

sqrt((x2-x1).^2 + (y2-y1).^2)