class_docstr: Adjust brightness by scaling by a random factor.
class_docstr_tok: ["Adjust","brightness","by","scaling","by","a","random","factor","."]
docstr: Args:
      range (tuple): Randomly scale the image by a factor in (range[0], range[1])
      clip (bool): clip results to [0,255] even when data type is not uint8.
code: def __init__(self, range, clip=True):
      """
      Args:
          range (tuple): Randomly scale the image by a factor in (range[0], range[1])
          clip (bool): clip results to [0,255] even when data type is not uint8.
      """
      super(BrightnessScale, self).__init__()
      self._init(locals())
  
imports: import numpy
  import cv2
  from ...utils.develop import log_deprecated
  from .base import PhotometricAugmentor
label_desc: Use image node_id 1 to create a new BrightnessScale object from inherited base classes: PhotometricAugmentor with example: obj = BrightnessScale(range, clip)