BayerConversionToBayer Method

CVB.Net Documentation
Convert an RGB image to a monochrome image with Bayer pattern.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static Image ToBayer(
	Image imgSrc,
	BayerPattern pattern
)

Parameters

imgSrc
Type: Stemmer.CvbImage
Image to be converted
pattern
Type: Stemmer.Cvb.FoundationBayerPattern
Bayer pattern to which to convert

Return Value

Type: Image
Converted image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input imgSrc is null.
ObjectDisposedExceptionIf the input imgSrc has already been disposed
See Also

Reference