C# Class AForge.Imaging.Filters.ReplaceChannel

Replace channel of RGB color space
Inheritance: IFilter, IInPlaceFilter
Afficher le fichier Open project: holisticware-admin/MonoVersal.AForgeNET Class Usage Examples

Méthodes publiques

Méthode Description
ReplaceChannel ( short channel, Bitmap channelImage ) : System

Initializes a new instance of the ReplaceChannel class.

ReplaceChannel ( short channel, UnmanagedImage channelImage ) : System

Initializes a new instance of the YCbCrReplaceChannel class.

Méthodes protégées

Méthode Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Private Methods

Méthode Description
ReplaceChannel ( ) : System

Method Details

ProcessFilter() protected méthode

Process the filter on the specified image.
Channel image size does not match source /// image size. Channel image's format does not correspond to format of the source image. Can not replace alpha channel of none ARGB image. The /// exception is throw, when alpha channel is requested to be replaced in RGB image.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
Résultat void

ReplaceChannel() public méthode

Initializes a new instance of the ReplaceChannel class.
public ReplaceChannel ( short channel, Bitmap channelImage ) : System
channel short ARGB channel to replace.
channelImage System.Drawing.Bitmap Channel image to use for replacement.
Résultat System

ReplaceChannel() public méthode

Initializes a new instance of the YCbCrReplaceChannel class.
public ReplaceChannel ( short channel, UnmanagedImage channelImage ) : System
channel short RGB channel to replace.
channelImage UnmanagedImage Unmanaged channel image to use for replacement.
Résultat System