convert a mat object opencv in the corresponding image for javafx concode_field_sep ObjectProperty<Image> morphProp concode_elem_sep VideoCapture capture concode_elem_sep Label hsvCurrentValues concode_elem_sep Button save concode_elem_sep Slider valueStop concode_elem_sep ObjectProperty<String> hsvValuesProp concode_elem_sep ObjectProperty<Image> maskProp concode_elem_sep Slider saturationStop concode_elem_sep Slider valueStart concode_elem_sep Timer timer concode_elem_sep ImageView originalFrame concode_elem_sep ImageView morphImage concode_elem_sep Slider saturationStart concode_elem_sep boolean cameraActive concode_elem_sep Button cameraButton concode_elem_sep Slider hueStart concode_elem_sep ImageView maskImage concode_elem_sep Slider hueStop concode_field_sep void saveClick concode_elem_sep void imageViewProperties concode_elem_sep Image grabFrame concode_elem_sep void onFXThread concode_elem_sep Mat findAndDrawBalls concode_elem_sep void initialize concode_elem_sep void startCamera
Image function ( Mat arg0 ) { MatOfByte loc0 = new MatOfByte ( ) ; Highgui . imencode ( "srini_string" , arg0 , loc0 ) ; return new Image ( new ByteArrayInputStream ( loc0 . toArray ( ) ) ) ; }