AForge.Imaging.Filters.ConnectedComponentsLabeling.ConnectedComponentsLabeling C# (CSharp) 메소드

ConnectedComponentsLabeling() 공개 메소드

Initializes a new instance of the ConnectedComponentsLabeling class.
public ConnectedComponentsLabeling ( ) : System
리턴 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;
        }