51cf14a916b88493885988004646aee02a2fa5b3,test/augmenters/test_blend.py,TestAlpha,test_keypoints_factor_is_1_with_per_channel,#TestAlpha#,695
Before Change
assert keypoints_equal([observed], [expected])
def test_keypoints_factor_is_1_with_per_channel(self):
aug = iaa.Alpha(
1.0,
iaa.Noop(),
iaa.Affine(translate_px={"x": 1}),
per_channel=True)
observed = aug.augment_keypoints([self.kpsoi])[0]
expected = self.kpsoi.deepcopy()
assert keypoints_equal([observed], [expected])
def test_keypoints_factor_is_0_with_per_channel(self):
After Change
self._test_cba_factor_is_0499("augment_keypoints", self.kpsoi)
def test_keypoints_factor_is_1_with_per_channel(self):
self._test_cba_factor_is_1_and_per_channel(
"augment_keypoints", self.kpsoi)
def test_keypoints_factor_is_0_with_per_channel(self):
self._test_cba_factor_is_0_and_per_channel(
"augment_keypoints", self.kpsoi)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 12
Instances
Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_keypoints_factor_is_1_with_per_channel
Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_keypoints_factor_is_1_with_per_channel
Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_keypoints_factor_is_1_with_per_channel
Project Name: aleju/imgaug
Commit Name: ab11f67ef80ca205f9c4ae6d7f4dc7d43e829c19
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlphaElementwise
Method Name: test_polygons_factor_is_1_and_per_channel
Project Name: aleju/imgaug
Commit Name: 51cf14a916b88493885988004646aee02a2fa5b3
Time: 2019-09-29
Author: kontakt@ajung.name
File Name: test/augmenters/test_blend.py
Class Name: TestAlpha
Method Name: test_polygons_factor_is_1_and_per_channel