Extract YCbCr channel from image.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public class YCbCrExtractChannel : BaseFilter |
Remarks
The filter extracts specified YCbCr channel of color image and returns it in the form of grayscale image.
The filter accepts 24 and 32 bpp color images and produces 8 bpp grayscale images.
Sample usage:

// create filter YCbCrExtractChannel filter = new YCbCrExtractChannel( YCbCr.CrIndex ); // apply the filter Bitmap crChannel = filter.Apply( image );
Inheritance Hierarchy
System..::.Object
AForge.Imaging.Filters..::.BaseFilter
AForge.Imaging.Filters..::.YCbCrExtractChannel
AForge.Imaging.Filters..::.BaseFilter
AForge.Imaging.Filters..::.YCbCrExtractChannel