Rotate RGB channels.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public sealed class RotateChannels : BaseInPlacePartialFilter |
Remarks
The filter rotates RGB channels: red channel is replaced with green, green channel is replaced with blue, blue channel is replaced with red.
The filter accepts 24/32 bpp color images for processing.
Sample usage:

// create filter RotateChannels filter = new RotateChannels( ); // apply the filter filter.ApplyInPlace( image );
Initial image:

Result image:

Inheritance Hierarchy
System..::.Object
AForge.Imaging.Filters..::.BaseInPlacePartialFilter
AForge.Imaging.Filters..::.RotateChannels
AForge.Imaging.Filters..::.BaseInPlacePartialFilter
AForge.Imaging.Filters..::.RotateChannels