This method splits a 24 bit color raster image into seperate bmp images representing each of the YCrCb color planes.
Public Function SplitYccImage(sourceImage As System.Drawing.Image, yb As System.Drawing.Image, cr As System.Drawing.Image, cb As System.Drawing.Image) As Boolean
public bool SplitYccImage(System.Drawing.Image sourceImage, ref System.Drawing.Image yb, ref System.Drawing.Image cr, ref System.Drawing.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