Method ConvertToMono
ConvertToMono(RGBValue)
Returns monochromatic version of the image.
GenericImage ConvertToMono(RGBValue rgb)
Parameters
rgb
RGBValueRGB color.
Returns
- GenericImage
The returned image has white color where the original has (r,g,b) color and black color everywhere else.