ImageStatisticsYCbCr Constructor (Bitmap, Byte)
public ImageStatisticsYCbCr( Bitmap image, byte[,] mask )
Public Sub New ( image As Bitmap, mask As Byte(,) )
|UnsupportedImageFormatException||Source pixel format is not supported.|
|Mask must have the same size as the source image to get statistics for.|
The mask array must be of the same size as the specified source image, where 0 values correspond to areas which should be excluded from processing. So statistics is calculated only for pixels, which have none zero corresponding value in the mask.