Accord.Imaging.FastRetinaKeypointPattern.Clone C# (CSharp) Method

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object
        public object Clone()
        {
            return new FastRetinaKeypointPattern(Octaves, Scale);
        }
    }

Usage Example

        /// <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 FastRetinaKeypointDescriptor();

            clone.Extended            = Extended;
            clone.Image               = Image.Clone();
            clone.Integral            = (IntegralImage)Integral.Clone();
            clone.IsOrientationNormal = IsOrientationNormal;
            clone.IsScaleNormal       = IsScaleNormal;
            clone.pattern             = (FastRetinaKeypointPattern)pattern.Clone();
            return(clone);
        }