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
Parameters
- imgSrc
- Type: Stemmer.CvbImage
Image to be converted - pattern
- Type: Stemmer.Cvb.FoundationBayerPattern
Bayer pattern to which to convert
Return Value
Type: ImageConverted image
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input imgSrc is null. |
ObjectDisposedException | If the input imgSrc has already been disposed |
See Also