// Threshold binarization private void Threshold( ) { if ( CheckIfGrayscale( "Threshold filter" ) ) { ThresholdForm form = new ThresholdForm( ); // set image to preview form.Image = image; if ( form.ShowDialog( ) == DialogResult.OK ) { ApplyFilter( form.Filter ); } } }
// Threshold binarization private void Threshold( ) { ThresholdForm form = new ThresholdForm( ); // set image to preview form.Image = image; if ( form.ShowDialog( ) == DialogResult.OK ) { ApplyFilter( form.Filter ); } }
// Threshold binarization private void Threshold( ) { ThresholdForm form = new ThresholdForm( ); // set image to preview form.Image = image; if ( form.ShowDialog( ) == DialogResult.OK ) { logger.StoreMessage("Threshold binarization"); ApplyFilter( form.Filter ); } }