64b89b12fac4e6a050cfbdac1bdab04f4a7cd345,imgaug/augmenters/size.py,CropAndPad,_augment_images,#CropAndPad#Any#Any#Any#Any#,1066
Before Change
samples = self._draw_samples_image(rng, height, width)
x1, y1, x2, y2 = samples.to_crop_xyxy(image.shape)
image_cr = image[y1:y2, x1:x2, ...]
image_cr_pa = ia.pad(
image_cr,
top=samples.pad_top, right=samples.pad_right,
After Change
height, width = image.shape[0:2]
samples = self._draw_samples_image(rng, height, width)
image_cr = _crop_arr_(image, samples.crop_top, samples.crop_right,
samples.crop_bottom, samples.crop_left)
image_cr_pa = ia.pad(
image_cr,
top=samples.pad_top, right=samples.pad_right,
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_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
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