def __call__(self, src):
    'Augmenter body.\n        Using approximate linear transfomation described in:\n        https://beesbuzz.biz/code/hsv_color_transforms.php\n        '
    alpha = random.uniform((- self.hue), self.hue)
    u = np.cos((alpha * np.pi))
    w = np.sin((alpha * np.pi))
    bt = np.array([[1.0, 0.0, 0.0], [0.0, u, (- w)], [0.0, w, u]])
    t = np.dot(np.dot(self.ityiq, bt), self.tyiq).T
    src = nd.dot(src, nd.array(t))
    return src
Augmenter body.
Using approximate linear transfomation described in:
https://beesbuzz.biz/code/hsv_color_transforms.php
def __call__(self, src):
    'Augmenter body.\n        Using approximate linear transfomation described in:\n        https://beesbuzz.biz/code/hsv_color_transforms.php\n        '
    alpha = random.uniform((- self.hue), self.hue)
    u = np.cos((alpha * np.pi))
    w = np.sin((alpha * np.pi))
    bt = np.array([[1.0, 0.0, 0.0], [0.0, u, (- w)], [0.0, w, u]])
    t = np.dot(np.dot(self.ityiq, bt), self.tyiq).T
    src = nd.dot(src, nd.array(t))
    return src