title: Display image created by OpenCV on Android
body: <p>Im trying to convert a image to gray with OpenCV with this native method in JNI</p>
  
  <pre><code>JNIEXPORT void JNICALL Java_android_OpenCV_gray(
          JNIEnv* env, jobject thiz) {
          int width  = pImage-&gt;width;
      int height =  pImage-&gt;height;
      IplImage *dst = cvCreateImage( cvSize( width, height ), IPL_DEPTH_8U, 1 );
      cvCvtColor( pImage, dst, CV_RGB2GRAY );
  
  }
  </code></pre>
  
  <p>but  i dont know how to display the image on Android </p>