class_docstr: Adjust image color balance.
  
  This class can be used to adjust the colour balance of an image, in
  a manner similar to the controls on a colour TV set. An enhancement
  factor of 0.0 gives a black and white image. A factor of 1.0 gives
  the original image.
class_docstr_tok: ["Adjust","image","color","balance",".","This","class","can","be","used","to","adjust","the","colour","balance","of","an","image",",","in","a","manner","similar","to","the","controls","on","a","colour","TV","set",".","An","enhancement","factor","of","0.0","gives","a","black","and","white","image",".","A","factor","of","1.0","gives","the","original","image","."]
code: def __init__(self, image):
      self.image = image
      self.intermediate_mode = "L"
      if "A" in image.getbands():
          self.intermediate_mode = "LA"
  
      self.degenerate = image.convert(self.intermediate_mode).convert(
          image.mode
      )
  
file_path: catboost/contrib/python/Pillow/py2/PIL/ImageEnhance.py
imports: from .None import Image, ImageFilter, ImageStat
label_desc: Use image node_id 1 to create a new Color object from inherited base classes: _Enhance with example: obj = Color(image)