MATLAB: Using euclidean distyance formula find the distance between two subpixel within same pixel

diste_dis

i am doing a project of subpixel mapping. where i need to know the distance between two subpixel within same pixel. the distance should be calculated with euclidean rule. plz suugest me the program in matlab

Best Answer

pdist() or pdist2() . Or norm() of the difference in coordinates.
Related Question