Convert the input image to mono.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
Parameters
- img
- Type: Stemmer.CvbImage
Image to be converted. - conversion
- Type: Stemmer.CvbMonochromeConversion
Weighting method to apply
Return Value
Type: ImageNew converted image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
Remarks
See Also