title: c# detect points of polygon in black/white image
body: <p>I have to detect all the points of a white polygon on a black background in c#.  Here is an image of several examples.  I wouldn't think it is too difficult, but I am unable to detect this properly with all the variations.  My code is too much to post here, but basically I went through each side and look for when it changes from black and white.  Should I use Open CV?  I was hoping for a simple algorithm I could implement in C#.  Any suggestions?  Thank you.</p>
  
  <p><a href="https://i.stack.imgur.com/2UN8s.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2UN8s.png" alt="enter image description here"></a></p>