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

ConnectedComponentsLabeling() public method

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