Simple color space conversion routines that are covered by the CVB Image Manager license. More...
Static Public Member Functions | |
static Image | ToMono (Image img, MonochromeConversion conversion) |
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image. More... | |
static Image | ToMono (Image img) |
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image. More... | |
static Image | ToMono (Image img, double weightR, double weightG, double weightB) |
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image. More... | |
static Image | ToRichColorFeatures (Image img) |
Convert the input RGB image to a color feature image that contains additional planes with RG, RB, GB, RR, GG and BB (normalized to the value range). More... | |
Simple color space conversion routines that are covered by the CVB Image Manager license.
For more sophisticated functions have a look at Stemmer.Cvb.Foundation.ConvertColorSpace
.
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image.
img | Image to be converted. |
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image.
img | Image to be converted. |
weightR | Weight for the red channel. |
weightG | Weight for the green channel. |
weightB | Weight for the blue channel. |
|
static |
Convert the input image to mono. The input image needs to have three planes, and is then assumed to be an RGB image.
img | image to be converted |
conversion | weighting method to apply |
Convert the input RGB image to a color feature image that contains additional planes with RG, RB, GB, RR, GG and BB (normalized to the value range).
img | Input image. Must be RGB and have the same data type on each plane. |