com.intel.analytics.bigdl.transform.vision.image.augmentation
Scaling length and width of image feature to ensure that: if maxSize is not set, the smaller one between width and length will be scaled to minSize.
Scaling length and width of image feature to ensure that: if maxSize is not set, the smaller one between width and length will be scaled to minSize. if maxSize is set, the larger one will be scaled to maxSize or maxSize -1. e.g. image feature height = 375, width = 500 case 1: minSize=100, maxSize=120, then new size (90, 120) case 2: minSize=100, maxSize=-1, then new size (100, 133)
the minimal size after resize
the maximal size after resize
whether to resize roi, default false