c6b8a28f10e865c8444e9e8ffb6eee5dbd428192,test/augmenters/test_blur.py,TestMedianBlur,test_keypoints_not_changed,#TestMedianBlur#,1030

Before Change



    def test_keypoints_not_changed(self):
        // keypoints shouldnt be changed
        keypoints = [ia.KeypointsOnImage([ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
                                          ia.Keypoint(x=2, y=2)], shape=(11, 11, 1))]

        aug = iaa.MedianBlur(k=3)
        aug_det = aug.to_deterministic()
        observed = aug.augment_keypoints(keypoints)

After Change


        assert np.all(seen)

    def test_keypoints_not_changed(self):
        kps = [ia.Keypoint(x=0, y=0), ia.Keypoint(x=1, y=1),
               ia.Keypoint(x=2, y=2)]
        kpsoi = [ia.KeypointsOnImage(kps, shape=(11, 11, 1))]

        aug = iaa.MedianBlur(k=3)
        aug_det = aug.to_deterministic()
        observed = aug.augment_keypoints(kpsoi)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: aleju/imgaug
Commit Name: c6b8a28f10e865c8444e9e8ffb6eee5dbd428192
Time: 2019-08-25
Author: kontakt@ajung.name
File Name: test/augmenters/test_blur.py
Class Name: TestMedianBlur
Method Name: test_keypoints_not_changed


Project Name: aleju/imgaug
Commit Name: c6b8a28f10e865c8444e9e8ffb6eee5dbd428192
Time: 2019-08-25
Author: kontakt@ajung.name
File Name: test/augmenters/test_blur.py
Class Name: TestAverageBlur
Method Name: test_keypoints_dont_change


Project Name: aleju/imgaug
Commit Name: c6b8a28f10e865c8444e9e8ffb6eee5dbd428192
Time: 2019-08-25
Author: kontakt@ajung.name
File Name: test/augmenters/test_blur.py
Class Name: TestGaussianBlur
Method Name: test_keypoints_dont_change