/// <summary>
        /// Initializes a new instance of the <see cref="NSColoredCannyForm"/> class.
        /// </summary>
        /// <param name="processor">The SBIP processor.</param>
        public NSColoredCannyForm(Processor processor)
        {
            InitializeComponent();

            Processor = processor;
            canny = new NSCannyEdgeDetector();
            dilatation = new NSSimpleDilatation();

            // 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="NSCannyEdgeMarker"/> class.
 /// </summary>
 ///
 public NSCannyEdgeMarker()
 {
     CannyEdgeDetector = new NSCannyEdgeDetector();
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="NSCannyEdgeMarker"/> class.
 /// </summary>
 /// 
 public NSCannyEdgeMarker()
 {
     CannyEdgeDetector = new NSCannyEdgeDetector();
 }