class
PadIfNeeded
extends
_NoParamsGeometricTransform[Empty]PadIfNeeded(min_height: int = 1024, min_width: int = 1024, border_mode: int = 4, value: float = 0.0, mask_value: float = 0.0, p: float = 1.0)Pad to at least min_height x min_width (Albumentations PadIfNeeded).
Parameters
min_heightint= 1024Minimum output size; smaller inputs are centered and padded.
min_widthint= 1024Minimum output size; smaller inputs are centered and padded.
border_modeint= 4No description.
valuefloat= 0.0No description.
mask_valuefloat= 0.0No description.
pfloat= 1.0No description.