title: Find contours in JavaCV or OPENCV
body: <p>I have a problem but I don't know what! I have the next code, and when I debug it, the debugger stops in the </p>
  
  <pre><code>IplImage iplGray = cvCreateImage(cvGetSize(iplUltima), 8, 1 );
  CvMemStorage g_storage = null;
  CvSeq contours = new CvSeq(iplGray);
  
  opencv_imgproc.cvCvtColor(iplUltima, iplGray, opencv_imgproc.CV_BGR2GRAY);
  opencv_imgproc.cvThreshold(iplGray, iplGray, 100, 255, opencv_imgproc.CV_THRESH_BINARY);
  
  //HERE, the next line:
  opencv_imgproc.cvFindContours(iplGray, g_storage, contours, CV_C, CV_C, CV_C);
  cvZero(iplGray);
  if(contours != null){
      opencv_core.cvDrawContours(iplGray, contours, CvScalar.ONE, CvScalar.ONE, CV_C, CV_C, CV_C);             
  }
  cvShowImage( "Contours", iplGray );
  </code></pre>
  
  <p>I think it is related with CvSeq contours = new CvSeq(iplGray); but I don't understand why.
  Any helpful idea?</p>