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

FlatFieldCorrection() public method

Initializes a new instance of the FlatFieldCorrection class.

This constructor does not set background image, which means that background image will be generated on the fly on each filter run. The automatically generated background image is produced running Gaussian Blur on the original image with (sigma value is set to 5, kernel size is set to 21). Before blurring the original image is resized to 1/3 of its original size and then the result of blurring is resized back to the original size.

public FlatFieldCorrection ( ) : System
return System
        public FlatFieldCorrection( )
        {
            formatTranslations[PixelFormat.Format8bppIndexed] = PixelFormat.Format8bppIndexed;
            formatTranslations[PixelFormat.Format24bppRgb]    = PixelFormat.Format24bppRgb;
        }

Same methods

FlatFieldCorrection::FlatFieldCorrection ( Bitmap backgroundImage ) : System