void function ( ImageView arg0 , int arg1 ) { arg0 . setFitWidth ( arg1 ) ; arg0 . setPreserveRatio ( true ) ; }
set typical imageview properties : a fixed width and theinformation to preserve the original image ration 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 Image grabFrame concode_elem_sep void saveToFile concode_elem_sep void onFXThread concode_elem_sep Mat findAndDrawBalls concode_elem_sep void initialize concode_elem_sep Image mat2Image concode_elem_sep void startCamera