This method splits a 24 bit color raster image into seperate bmp images representing each of the YCrCb color planes.

[Visual Basic]
Public Function SplitYccImage(sourceImage As Image, yb As Image, cr As Image, cb As Image) As Boolean
[C#]
public bool SplitYccImage(Image sourceImage, ref Image yb, ref Image cr, ref Image cb) ;

Parameters

sourceImage
     The 24 bit image to be split into seperate color planes

yb
     An 8 bit grayscale bmp image representing the Y plane

cr
     An 8 bit grayscale bmp image representing the Cr plane

cb
     An 8 bit grayscale bmp image representing theCb plane

Return Value

Returns True if successful. Returns False if unsuccessful.

Explanation

The SplitYccImage method splits a 24 bit color raster image into seperate bmp images representing each of the YCrCb color planes. The 24 bit color image to be split is set into the sourceImage parameter. If successful, the image is split into 8 bit grayscale bmp images and set in the respective y, cr, and cb parameters

See Also

Effect Class | Effect Members

The ImageKit.NET3 is created by Newtone Corporation