090f566d1590ff644f33c668451577a1493e7998,featurex/extractors/image.py,SharpnessExtractor,_extract,#SharpnessExtractor#Any#,49

Before Change


        gray_image = cv2.cvtColor(data, cv2.COLOR_BGR2GRAY)

        sharpness = np.max(cv2.convertScaleAbs(cv2.Laplacian(gray_image, 3))) / 255.0
        return Value(stim, self, {"sharpness": sharpness})


class VibranceExtractor(ImageExtractor):

After Change


        gray_image = cv2.cvtColor(data, cv2.COLOR_BGR2GRAY)

        sharpness = np.max(cv2.convertScaleAbs(cv2.Laplacian(gray_image, 3))) / 255.0
        return ExtractorResult(np.array([[sharpness]]), stim, self,
                               features=["sharpness"])


class VibranceExtractor(ImageExtractor):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 9

Instances


Project Name: tyarkoni/pliers
Commit Name: 090f566d1590ff644f33c668451577a1493e7998
Time: 2016-10-13
Author: tyarkoni@gmail.com
File Name: featurex/extractors/image.py
Class Name: SharpnessExtractor
Method Name: _extract


Project Name: tyarkoni/pliers
Commit Name: 3c5b5f6aa392a61025c8086ea4abf6f53983b397
Time: 2016-10-13
Author: tyarkoni@gmail.com
File Name: featurex/extractors/image.py
Class Name: TesseractExtractor
Method Name: _extract


Project Name: tyarkoni/pliers
Commit Name: 090f566d1590ff644f33c668451577a1493e7998
Time: 2016-10-13
Author: tyarkoni@gmail.com
File Name: featurex/extractors/image.py
Class Name: VibranceExtractor
Method Name: _extract


Project Name: tyarkoni/pliers
Commit Name: 090f566d1590ff644f33c668451577a1493e7998
Time: 2016-10-13
Author: tyarkoni@gmail.com
File Name: featurex/extractors/image.py
Class Name: BrightnessExtractor
Method Name: _extract