AForge.Imaging.Filters.ThresholdedEuclideanDifference.ThresholdedEuclideanDifference C# (CSharp) Method

ThresholdedEuclideanDifference() public method

Initializes a new instance of the ThresholdedEuclideanDifference class.
public ThresholdedEuclideanDifference ( ) : System
return System
        public ThresholdedEuclideanDifference( )
        {
            // initialize format translation dictionary
            formatTranslations[PixelFormat.Format8bppIndexed] = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format24bppRgb]    = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format32bppRgb]    = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format32bppArgb]   = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format32bppPArgb]  = PixelFormat.Format8bppIndexed;
        }

Same methods

ThresholdedEuclideanDifference::ThresholdedEuclideanDifference ( int threshold ) : System