converts android bitmap to opencv mat . the function converts an image in the android bitmap representation to the opencv mat . the ` argb_8888 ' and ` rgb_565 ' input bitmap formats are supported . the output mat is always created of the same size as the input bitmap and of the ` cv_8uc4 ' type , it keeps the image in rgba format . the function throws an exception if the conversion fails . concode_field_sep PlaceHolder placeHolder concode_field_sep void matToBitmap concode_elem_sep void matToBitmap concode_elem_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 nBitmapToMat2
void function ( Bitmap arg0 , Mat arg1 , boolean arg2 ) { if ( arg0 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; if ( arg1 == null ) throw new java . lang . IllegalArgumentException ( "srini_string" ) ; nBitmapToMat2 ( arg0 , arg1 . nativeObj , arg2 ) ; }