class_docstr: Object representing a segmentation map associated with an image.
  
  Attributes
  ----------
  DEFAULT_SEGMENT_COLORS : list of tuple of int
      Standard RGB colors to use during drawing, ordered by class index.
  
  Parameters
  ----------
  arr : (H,W) ndarray or (H,W,C) ndarray
      Array representing the segmentation map(s). May have dtypes bool,
      int or uint.
  
  shape : tuple of int
      Shape of the image on which the segmentation map(s) is/are placed.
      **Not** the shape of the segmentation map(s) array, unless it is
      identical to the image shape (note the likely difference between the
      arrays in the number of channels).
      This is expected to be ``(H, W)`` or ``(H, W, C)`` with ``C`` usually
      being ``3``.
      If there is no corresponding image, use ``(H_arr, W_arr)`` instead,
      where ``H_arr`` is the height of the segmentation map(s) array
      (analogous ``W_arr``).
  
  nb_classes : None or int, optional
      Deprecated.
class_docstr_tok: ["Object","representing","a","segmentation","map","associated","with","an","image",".","Attributes","--","--","--","--","--","DEFAULT_SEGMENT_COLORS",":","list","of","tuple","of","int","Standard","RGB","colors","to","use","during","drawing",",","ordered","by","class","index",".","Parameters","--","--","--","--","--","arr",":","(","H",",","W",")","ndarray","or","(","H",",","W",",","C",")","ndarray","Array","representing","the","segmentation","map","(","s",")",".","May","have","dtypes","bool",",","int","or","uint",".","shape",":","tuple","of","int","Shape","of","the","image","on","which","the","segmentation","map","(","s",")","is\/are","placed",".","*","*","Not","*","*","the","shape","of","the","segmentation","map","(","s",")","array",",","unless","it","is","identical","to","the","image","shape","(","note","the","likely","difference","between","the","arrays","in","the","number","of","channels",")",".","This","is","expected","to","be","``","(","H",",","W",")","``","or","``","(","H",",","W",",","C",")","``","with","``","C","``","usually","being","``","3","``",".","If","there","is","no","corresponding","image",",","use","``","(","H_arr",",","W_arr",")","``","instead",",","where","``","H_arr","``","is","the","height","of","the","segmentation","map","(","s",")","array","(","analogous","``","W_arr","``",")",".","nb_classes",":","None","or","int",",","optional","Deprecated","."]
docstr: Create a deep copy of the segmentation map object.
  
  Parameters
  ----------
  arr : None or (H,W) ndarray or (H,W,C) ndarray, optional
      Optionally the `arr` attribute to use for the new segmentation map
      instance. Will be copied from the old instance if not provided.
      See
      :func:`~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__`
      for details.
  
  shape : None or tuple of int, optional
      Optionally the shape attribute to use for the the new segmentation
      map instance. Will be copied from the old instance if not provided.
      See
      :func:`~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__`
      for details.
  
  Returns
  -------
  imgaug.augmentables.segmaps.SegmentationMapsOnImage
      Deep copy.
docstr_tok: ["Create","a","deep","copy","of","the","segmentation","map","object",".","Parameters","--","--","--","--","--","arr",":","None","or","(","H",",","W",")","ndarray","or","(","H",",","W",",","C",")","ndarray",",","optional","Optionally","the","`","arr","`","attribute","to","use","for","the","new","segmentation","map","instance",".","Will","be","copied","from","the","old","instance","if","not","provided",".","See",":","func",":","`","~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__","`","for","details",".","shape",":","None","or","tuple","of","int",",","optional","Optionally","the","shape","attribute","to","use","for","the","the","new","segmentation","map","instance",".","Will","be","copied","from","the","old","instance","if","not","provided",".","See",":","func",":","`","~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__","`","for","details",".","Returns","--","--","--","-","imgaug.augmentables.segmaps.SegmentationMapsOnImage","Deep","copy","."]
code: def deepcopy(self, arr=None, shape=None):
      """Create a deep copy of the segmentation map object.
  
      Parameters
      ----------
      arr : None or (H,W) ndarray or (H,W,C) ndarray, optional
          Optionally the `arr` attribute to use for the new segmentation map
          instance. Will be copied from the old instance if not provided.
          See
          :func:`~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__`
          for details.
  
      shape : None or tuple of int, optional
          Optionally the shape attribute to use for the the new segmentation
          map instance. Will be copied from the old instance if not provided.
          See
          :func:`~imgaug.augmentables.segmaps.SegmentationMapsOnImage.__init__`
          for details.
  
      Returns
      -------
      imgaug.augmentables.segmaps.SegmentationMapsOnImage
          Deep copy.
  
      """
      # pylint: disable=protected-access
      segmap = SegmentationMapsOnImage(
          np.copy(self.arr if arr is None else arr),
          shape=self.shape if shape is None else shape,
      )
      segmap._input_was = self._input_was
      return segmap
  
imports: from __future__ import print_function, division, absolute_import
  import numpy
  import six.moves
  from ..None import imgaug
  from ..augmenters import blend
  from .base import IAugmentable
label_desc: Use image node_id 11 for calling the SegmentationMapsOnImage obj's underlying member method code with example usage: obj.deepcopy(arr, shape) and returns: segmap