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 ) ; }
converts android bitmap to opencv mat . this function converts an android bitmap image to the opencv mat . ` 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 . this 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