title: Get the 2D coordinate outline of a region of an image (such as a country on a map)
body: <p>How would I go about generating the 2D coordinates for an area of an image, so for example if one of the countries on this map was singled out and was the only one visible: <img src="https://i.imgur.com/xUS8WPV.png" alt="image1"> but on a canvas the same size, how would I go about getting the 2D coordinates for it? </p>
  
  <p>As I then want to create hover/click areas based on these coordinates using c#, I'm unable to find a tool which can detect for example a shape within a blank canvas and spit out its outline coordinates. </p>
  
  <p>I mainly believe this to be a phrasing/terminology issue on my part, as I feel this whole process is already a "thing", and well documented. </p>