Example #1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ConGrapForm"/> class.
        /// </summary>
        /// <param name="processor">The processor.</param>
        public ConGrapForm(Processor processor)
        {
            InitializeComponent();

            Processor = processor;
            conGrap   = new ConGrap();

            // TODO FF: Delete this region
            #region Pre-Configure
            //trbarWeight.Value = 20;
            //trbarMinContourSize.Value = 300;
            //trbarTraceRadius.Value = 10;
            //chboxDrawBorderLine.Checked = true;

            //trbarHighThreshold.Value = 20;
            //trbarLowThreshold.Value = 10;
            //trbarGaussSize.Value = 5;
            //trbarGaussSigma.Value = (int)(1.631 * 1000 + 0.1);
            #endregion Pre-Configure
        }
Example #2
0
        /// <summary>
        /// Initializes a new instance of the <see cref="ConGrapForm"/> class.
        /// </summary>
        /// <param name="processor">The processor.</param>
        public ConGrapForm(Processor processor)
        {
            InitializeComponent();

            Processor = processor;
            conGrap = new ConGrap();

            // TODO FF: Delete this region
            #region Pre-Configure
            //trbarWeight.Value = 20;
            //trbarMinContourSize.Value = 300;
            //trbarTraceRadius.Value = 10;
            //chboxDrawBorderLine.Checked = true;

            //trbarHighThreshold.Value = 20;
            //trbarLowThreshold.Value = 10;
            //trbarGaussSize.Value = 5;
            //trbarGaussSigma.Value = (int)(1.631 * 1000 + 0.1);
            #endregion Pre-Configure
        }