title: OpenCV Mat format
body: <p>read the image in</p>
  
  <p><code>Mat img=imread("i000qa-fn.jpg",CV_LOAD_IMAGE_COLOR);</code></p>
  
  <p>try to find objects...</p>
  
  <p><code>faces = cvHaarDetectObjects(img,cascade, storage, 1.2, 2, CV_HAAR_DO_CANNY_PRUNING, Size(0, 0));</code></p>
  
  <p>and walla...</p>
  
  <p><code>OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or unsupported array type) in cvGetMat, file /media/Data/sdks/OpenCV-2.4.2/modules/core/src/array.cpp, line 2482
  </code></p>
  
  <p>when I do imshow, the image is there as it should be.</p>