def test_temperature(self): img = SingleImage() img.load_without_label('../data/custom/12.jpg') img.add('exposure', 0.2) img.run() img.display()
def test_single_image(self): img = SingleImage() #img.load_without_label('../data/custom/1.jpg') img.add('crop', 100, 200) img.add('resize', 200, 300) img.run()
def test_hue(self): img = SingleImage() img.load_without_label('../data/custom/12.jpg') img.add('hue', 100) img.run() img.display()
def test_temperature(self): img = SingleImage() img.load_without_label('../data/custom/10.jpg') img.add('color_temperature', 200) img.run() img.display()
def test_lightness(self): img = SingleImage() img.load_without_label('../data/custom/9.jpg') img.add('lightness', -80) img.run() img.display()
def test_saturation(self): img = SingleImage() img.load_without_label('../data/custom/9.jpg') img.add('saturation', -80) img.run() img.display()
def test_fragment(self): img = SingleImage() img.load_without_label('../data/custom/11.jpg') img.add('fragment', 5) img.run() img.display()
def test_sharpen(self): img = SingleImage() img.load_without_label('../data/custom/11.jpg') img.add('USM_sharpen') img.run() img.display()
def test_noise(self): img = SingleImage() img.load_without_label('../data/custom/9.jpg') img.add('Gaussian_noise', 0, 3, 0.99) img.run() img.display()