C# Class AForge.Imaging.Filters.YCbCrReplaceChannel

Replace channel of YCbCr color space
Inheritance: IFilter, IInPlaceFilter
Mostra file Open project: holisticware-admin/MonoVersal.AForgeNET

Public Methods

Method Description
YCbCrReplaceChannel ( short channel, Bitmap channelImage ) : System

Initializes a new instance of the YCbCrReplaceChannel class.

YCbCrReplaceChannel ( short channel, UnmanagedImage channelImage ) : System

Initializes a new instance of the YCbCrReplaceChannel class.

Protected Methods

Method Description
ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void

Process the filter on the specified image.

Private Methods

Method Description
YCbCrReplaceChannel ( ) : System

Method Details

ProcessFilter() protected method

Process the filter on the specified image.
Channel image size does not match source /// image size.
protected ProcessFilter ( UnmanagedImage image, Rectangle rect ) : void
image UnmanagedImage Source image data.
rect System.Drawing.Rectangle Image rectangle for processing by the filter.
return void

YCbCrReplaceChannel() public method

Initializes a new instance of the YCbCrReplaceChannel class.
public YCbCrReplaceChannel ( short channel, Bitmap channelImage ) : System
channel short YCbCr channel to replace.
channelImage System.Drawing.Bitmap Channel image to use for replacement.
return System

YCbCrReplaceChannel() public method

Initializes a new instance of the YCbCrReplaceChannel class.
public YCbCrReplaceChannel ( short channel, UnmanagedImage channelImage ) : System
channel short YCbCr channel to replace.
channelImage UnmanagedImage Unmanaged channel image to use for replacement.
return System