3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef,imgaug/augmenters/geometric.py,PiecewiseAffine,_augment_images,#PiecewiseAffine#Any#Any#Any#Any#,1813

Before Change


        result = images
        nb_images = len(images)

        rss = random_state.derive_rngs_(nb_images+5)

        // make sure to sample "order" here at the 3rd position to match the sampling steps
        // in _augment_heatmaps()
        nb_rows_samples = self.nb_rows.draw_samples((nb_images,), random_state=rss[-5])
        nb_cols_samples = self.nb_cols.draw_samples((nb_images,), random_state=rss[-4])
        order_samples = self.order.draw_samples((nb_images,), random_state=rss[-3])
        cval_samples = self.cval.draw_samples((nb_images,), random_state=rss[-2])
        mode_samples = self.mode.draw_samples((nb_images,), random_state=rss[-1])

        for i, image in enumerate(images):

After Change


                         augmenter=self)

        result = images
        nb_images = len(images)

        nb_rows_samples, nb_cols_samples, order_samples, cval_samples, \
            mode_samples = self._draw_samples(nb_images, random_state)

        rss = random_state.duplicate(nb_images)

        for i, image in enumerate(images):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 15

Instances


Project Name: aleju/imgaug
Commit Name: 3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef
Time: 2019-08-11
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _augment_images


Project Name: aleju/imgaug
Commit Name: 3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef
Time: 2019-08-11
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _augment_keypoints


Project Name: aleju/imgaug
Commit Name: 3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef
Time: 2019-08-11
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _augment_segmentation_maps


Project Name: aleju/imgaug
Commit Name: 3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef
Time: 2019-08-11
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _augment_images


Project Name: aleju/imgaug
Commit Name: 3326e5fcae11a6723c0f6a8db0bf56c3a8d04eef
Time: 2019-08-11
Author: kontakt@ajung.name
File Name: imgaug/augmenters/geometric.py
Class Name: PiecewiseAffine
Method Name: _augment_heatmaps