AForge.Imaging.Filters.PointedColorFloodFill.CheckRGBPixel C# (CSharp) Method

CheckRGBPixel() private method

private CheckRGBPixel ( byte pixel ) : bool
pixel byte
return bool
        private unsafe bool CheckRGBPixel( byte* pixel )
        {
            return  ( pixel[RGB.R] >= minR ) && ( pixel[RGB.R] <= maxR ) &&
                    ( pixel[RGB.G] >= minG ) && ( pixel[RGB.G] <= maxG ) &&
                    ( pixel[RGB.B] >= minB ) && ( pixel[RGB.B] <= maxB );
        }