5c3263034b520f02c7d8e163285b6d1147580a3a,test/augmenters/test_color.py,TestAddToHueAndSaturation,test_augment_images__different_hue_and_saturation__per_channel,#TestAddToHueAndSaturation#,654

Before Change


        assert np.array_equal(img_observed, img_expected)

    def test_augment_images__different_hue_and_saturation__per_channel(self):
        base_img = np.zeros((2, 2, 3), dtype=np.uint8)
        base_img[..., 0] += 20
        base_img[..., 1] += 40
        base_img[..., 2] += 60

        class _DummyParam(iap.StochasticParameter):
            def _draw_samples(self, size, random_state):
                arr = np.float32([10, 20])

After Change


        assert np.array_equal(img_observed, img_expected)

    def test_augment_images__different_hue_and_saturation__per_channel(self):
        base_img = self.create_base_image()

        class _DummyParam(iap.StochasticParameter):
            def _draw_samples(self, size, random_state):
                arr = np.float32([10, 20])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 21

Instances


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__different_hue_and_saturation__per_channel


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__different_hue_and_saturation__mixed_perchan


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__list_as_value


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__different_hue_and_saturation__no_per_channel


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__different_hue_and_saturation__per_channel


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images__value_hue_and_value_saturation


Project Name: aleju/imgaug
Commit Name: 5c3263034b520f02c7d8e163285b6d1147580a3a
Time: 2019-08-03
Author: kontakt@ajung.name
File Name: test/augmenters/test_color.py
Class Name: TestAddToHueAndSaturation
Method Name: test_augment_images