예제 #1
0
        // 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 );
                }
            }
        }
예제 #2
0
        // Threshold binarization
        private void Threshold( )
        {
            ThresholdForm form = new ThresholdForm( );

            // set image to preview
            form.Image = image;

            if ( form.ShowDialog( ) == DialogResult.OK )
            {
                ApplyFilter( form.Filter );
            }
        }
예제 #3
0
파일: ImageDoc.cs 프로젝트: LynxAS/iplab_d
        // 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 );

            }
        }