def pad(self, top=0, right=0, bottom=0, left=0, mode="constant", cval=0.0):
        """
        Pad the heatmaps on their top/right/bottom/left side.

        Parameters
        ----------
        top : int, optional
            Amount of pixels to add at the top side of the heatmaps. Must be 0 or greater.

        right : int, optional
            Amount of pixels to add at the right side of the heatmaps. Must be 0 or greater.

        bottom : int, optional
            Amount of pixels to add at the bottom side of the heatmaps. Must be 0 or greater.

        left : int, optional
            Amount of pixels to add at the left side of the heatmaps. Must be 0 or greater.

        mode : string, optional
            Padding mode to use. See :func:`numpy.pad` for details.

        cval : number, optional
            Value to use for padding if `mode` is ``constant``. See :func:`numpy.pad` for details.

        Returns
        -------
        imgaug.HeatmapsOnImage
            Padded heatmaps of height ``H'=H+top+bottom`` and width ``W'=W+left+right``.

        """
        arr_0to1_padded = ia.pad(self.arr_0to1, top=top, right=right, bottom=bottom, left=left, mode=mode, cval=cval)
        return HeatmapsOnImage.from_0to1(arr_0to1_padded, shape=self.shape, min_value=self.min_value,
                                         max_value=self.max_value)
def pad(self, top=0, right=0, bottom=0, left=0, mode="constant", cval=0.0):
        """
        Pad the heatmaps on their top/right/bottom/left side.

        Parameters
        ----------
        top : int, optional
            Amount of pixels to add at the top side of the heatmaps. Must be 0 or greater.

        right : int, optional
            Amount of pixels to add at the right side of the heatmaps. Must be 0 or greater.

        bottom : int, optional
            Amount of pixels to add at the bottom side of the heatmaps. Must be 0 or greater.

        left : int, optional
            Amount of pixels to add at the left side of the heatmaps. Must be 0 or greater.

        mode : string, optional
            Padding mode to use. See :func:`numpy.pad` for details.

        cval : number, optional
            Value to use for padding if `mode` is ``constant``. See :func:`numpy.pad` for details.

        Returns
        -------
        imgaug.HeatmapsOnImage
            Padded heatmaps of height ``H'=H+top+bottom`` and width ``W'=W+left+right``.

        """
        arr_0to1_padded = ia.pad(self.arr_0to1, top=top, right=right, bottom=bottom, left=left, mode=mode, cval=cval)
        return HeatmapsOnImage.from_0to1(arr_0to1_padded, shape=self.shape, min_value=self.min_value,
                                         max_value=self.max_value)
def pad ( self , top = 0 , right = 0 , bottom = 0 , left = 0 , mode = "constant" , cval = 0.0 ) : arr_0to1_padded = ia . pad ( self . arr_0to1 , top = top , right = right , bottom = bottom , left = left , mode = mode , cval = cval ) return HeatmapsOnImage . from_0to1 ( arr_0to1_padded , shape = self . shape , min_value = self . min_value , max_value = self . max_value )
Pad the heatmaps on their top/right/bottom/left side.

        Parameters
        ----------
        top : int, optional
            Amount of pixels to add at the top side of the heatmaps. Must be 0 or greater.

        right : int, optional
            Amount of pixels to add at the right side of the heatmaps. Must be 0 or greater.

        bottom : int, optional
            Amount of pixels to add at the bottom side of the heatmaps. Must be 0 or greater.

        left : int, optional
            Amount of pixels to add at the left side of the heatmaps. Must be 0 or greater.

        mode : string, optional
            Padding mode to use. See :func:`numpy.pad` for details.

        cval : number, optional
            Value to use for padding if `mode` is ``constant``. See :func:`numpy.pad` for details.

        Returns
        -------
        imgaug.HeatmapsOnImage
            Padded heatmaps of height ``H'=H+top+bottom`` and width ``W'=W+left+right``.
Pad the heatmaps on their top / right / bottom / left side .