Hi all, I want to compare two contours & find the hausdorff distance between them to find the similarity between the two contours. When I take the template contour on the Right side as a Reference Template Contour to find the similar contour from the Left hand side I’m getting error because the Scene contour points are translated from the Template contour points. Actually I’m taking the contours points directly from the two images. As you can see I cannot crop only the contour region since it affects the neighboring contours.
Should I make an Empty image with Scene image size and make my Template contour slide over the Scene Image to find the match? or else is there any other better approach? Regards, Balaji.R