initialize() private method

private initialize ( HarrisCornerMeasure measure, float k, float threshold, double sigma, int suppression, int size ) : void
measure HarrisCornerMeasure
k float
threshold float
sigma double
suppression int
size int
return void
Example #1
0
        /// <summary>
        ///   Creates a new object that is a copy of the current instance.
        /// </summary>
        ///
        /// <returns>
        ///   A new object that is a copy of this instance.
        /// </returns>
        ///
        public object Clone()
        {
            var clone = new HarrisCornersDetector();

            clone.initialize(measure, k, threshold, sigma, r, size);
            return(clone);
        }
Example #2
0
        /// <summary>
        /// Creates a new object that is a copy of the current instance.
        /// </summary>
        ///
        protected override object Clone(ISet <PixelFormat> supportedFormats)
        {
            var clone = new HarrisCornersDetector();

            clone.SupportedFormats = supportedFormats;
            clone.initialize(measure, k, threshold, sigma, r, size);
            return(clone);
        }
 /// <summary>
 ///   Creates a new object that is a copy of the current instance.
 /// </summary>
 /// 
 /// <returns>
 ///   A new object that is a copy of this instance.
 /// </returns>
 /// 
 public object Clone()
 {
     var clone = new HarrisCornersDetector();
     clone.initialize(measure, k, threshold, sigma, r, size);
     return clone;
 }