class_docstr: Rescale colors between 0 and 1 to enhance contrast
  
  Parameters
  ----------
  randomize_blend_factor :
      Blend factor is random
  blend_factor:
      Ratio of the original color that is kept
class_docstr_tok: ["Rescale","colors","between","0","and","1","to","enhance","contrast","Parameters","--","--","--","--","--","randomize_blend_factor",":","Blend","factor","is","random","blend_factor",":","Ratio","of","the","original","color","that","is","kept"]
code: def __init__(self, randomize_blend_factor=True, blend_factor=0.5):
      self.randomize_blend_factor = randomize_blend_factor
      self.blend_factor = blend_factor
  
imports: import random
  import torch
label_desc: Use image node_id 1 to create a new ChromaticAutoContrast object from inherited base classes: object with example: obj = ChromaticAutoContrast(randomize_blend_factor, blend_factor)