title: How to compare two contours translated from one another's position?
body: <p>Image:<a href="http://answers.opencv.org/upfiles/1392627645523812.jpg" rel="nofollow">http://answers.opencv.org/upfiles/1392627645523812.jpg</a>
  Hi all,<br>
        I want to compare two contours &amp; 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.</p>
  
  <p>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</p>