action triggered when the `` background removal '' checkbox is selected concode_field_sep CheckBox inverse concode_elem_sep ScheduledExecutorService timer concode_elem_sep VideoCapture capture concode_elem_sep ImageView originalFrame concode_elem_sep Slider threshold concode_elem_sep CheckBox canny concode_elem_sep CheckBox dilateErode concode_elem_sep boolean cameraActive concode_elem_sep Button cameraButton concode_field_sep void cannySelected concode_elem_sep Image grabFrame concode_elem_sep Mat doCanny concode_elem_sep Mat doBackgroundRemoval concode_elem_sep Image mat2Image concode_elem_sep double getHistAverage concode_elem_sep void startCamera concode_elem_sep BufferedImage matToBufferedImage
void function ( ) { if ( this . canny . isSelected ( ) ) { this . canny . setSelected ( false ) ; this . threshold . setDisable ( true ) ; } if ( this . dilateErode . isSelected ( ) ) this . inverse . setDisable ( false ) ; else this . inverse . setDisable ( true ) ; this . cameraButton . setDisable ( false ) ; }