class_docstr: Paste the image onto the center of a background canvas.
class_docstr_tok: ["Paste","the","image","onto","the","center","of","a","background","canvas","."]
docstr: Args:
      background_shape (tuple): shape of the background canvas.
      background_filler (BackgroundFiller): How to fill the background. Defaults to zero-filler.
docstr_tok: ["Args",":","background_shape","(","tuple",")",":","shape","of","the","background","canvas",".","background_filler","(","BackgroundFiller",")",":","How","to","fill","the","background",".","Defaults","to","zero-filler","."]
code: def __init__(self, background_shape, background_filler=None):
      """
      Args:
          background_shape (tuple): shape of the background canvas.
          background_filler (BackgroundFiller): How to fill the background. Defaults to zero-filler.
      """
      if background_filler is None:
          background_filler = ConstantBackgroundFiller(0)
  
      self._init(locals())
  
imports: import numpy
  from abc import abstractmethod
  from .base import ImageAugmentor
  from .transform import TransformFactory
label_desc: Use image node_id 1 to create a new CenterPaste object from inherited base classes: ImageAugmentor with example: obj = CenterPaste(background_shape, background_filler)