Rotate RGB channels.

Namespace:  AForge.Imaging.Filters
Assembly:  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:

CopyC#
// 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

See Also