void function ( Mat arg0 , Bitmap arg1 , boolean arg2 ) { if ( arg0 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; if ( arg1 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; nMatToBitmap2 ( arg0 . nativeObj , arg1 , arg2 ) ; }
converts opencv mat to android bitmap . this function converts an image in the opencv mat representation to the android bitmap . the input mat object has to be of the types ` cv_8uc1 ' gray-scale , ` cv_8uc3 ' rgb or ` cv_8uc4 ' rgba . the output bitmap object has to be of the same size as the input mat and of the types ` argb_8888 ' or ` rgb_565 ' . this function throws an exception if the conversion fails . concode_field_sep PlaceHolder placeHolder concode_field_sep Mat loadResource concode_elem_sep Mat loadResource concode_elem_sep String exportResource concode_elem_sep String exportResource concode_elem_sep void nMatToBitmap2 concode_elem_sep void bitmapToMat concode_elem_sep void bitmapToMat concode_elem_sep void nBitmapToMat2