title: OpenCV get black pixels within contour boundary
body: <p>I am currently trying to retrieve all the black pixels which are present within the contour boundary. I am not interested in the contour boundary, but rather in the black pixels which lie within the boundary and make up the actual image. It would be great if I could get the actual co-ordinates of the image.</p>
  
  <p>I have tried using copyTo method using a mask, but I believe I am not setting the correct parameters. While, I also tried using Core.fillPoly which just fills up the entire contour area with the color specified in the command and it isn't helpful to get the pixel information. Could anyone please guide me here? I am working on Android 2.2 with OpenCV 2.3.1.</p>