64b89b12fac4e6a050cfbdac1bdab04f4a7cd345,imgaug/augmenters/size.py,CropAndPad,_augment_segmaps_and_heatmaps,#CropAndPad#Any#Any#Any#Any#Any#,1111
Before Change
samples_augm = samples_img.project(augmentable.shape, arr.shape)
x1, y1, x2, y2 = samples_augm.to_crop_xyxy(arr.shape)
arr_cr = arr[y1:y2, x1:x2, ...]
arr_cr_pa = ia.pad(
arr_cr,
top=samples_augm.pad_top, right=samples_augm.pad_right,
bottom=samples_augm.pad_bottom, left=samples_augm.pad_left,
After Change
width_img)
samples_augm = samples_img.project(augmentable.shape, arr.shape)
arr_cr = _crop_arr_(
arr,
samples_augm.crop_top, samples_augm.crop_right,
samples_augm.crop_bottom, samples_augm.crop_left)
arr_cr_pa = ia.pad(
arr_cr,
top=samples_augm.pad_top, right=samples_augm.pad_right,
bottom=samples_augm.pad_bottom, left=samples_augm.pad_left,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: aleju/imgaug
Commit Name: 64b89b12fac4e6a050cfbdac1bdab04f4a7cd345
Time: 2019-09-04
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: CropAndPad
Method Name: _augment_segmaps_and_heatmaps
Project Name: aleju/imgaug
Commit Name: 64b89b12fac4e6a050cfbdac1bdab04f4a7cd345
Time: 2019-09-04
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: CropAndPad
Method Name: _augment_images
Project Name: aleju/imgaug
Commit Name: 64b89b12fac4e6a050cfbdac1bdab04f4a7cd345
Time: 2019-09-04
Author: kontakt@ajung.name
File Name: imgaug/augmenters/size.py
Class Name: CropToFixedSize
Method Name: _augment_images