C# Класс Accord.Imaging.Filters.RotateChannels

Rotate RGB channels.

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:

Наследование: BaseInPlacePartialFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
RotateChannels ( ) : System

Initializes a new instance of the RotateChannels class.

Защищенные методы

Метод Описание
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Описание методов

ProcessFilter() защищенный Метод

Process the filter on the specified image.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
Результат void

RotateChannels() публичный Метод

Initializes a new instance of the RotateChannels class.
public RotateChannels ( ) : System
Результат System