class_docstr: Adjust image brightness.
  
  This class can be used to control the brightness of an image.  An
  enhancement factor of 0.0 gives a black image. A factor of 1.0 gives the
  original image.
class_docstr_tok: ["Adjust","image","brightness",".","This","class","can","be","used","to","control","the","brightness","of","an","image",".","An","enhancement","factor","of","0.0","gives","a","black","image",".","A","factor","of","1.0","gives","the","original","image","."]
code: def __init__(self, image):
      self.image = image
      self.degenerate = Image.new(image.mode, image.size, 0)
  
      if "A" in image.getbands():
          self.degenerate.putalpha(image.getchannel("A"))
  
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 Brightness object from inherited base classes: _Enhance with example: obj = Brightness(image)