Пример #1
0
 def test_temperature(self):
     img = SingleImage()
     img.load_without_label('../data/custom/12.jpg')
     img.add('exposure', 0.2)
     img.run()
     img.display()
Пример #2
0
 def test_hue(self):
     img = SingleImage()
     img.load_without_label('../data/custom/12.jpg')
     img.add('hue', 100)
     img.run()
     img.display()
Пример #3
0
 def test_temperature(self):
     img = SingleImage()
     img.load_without_label('../data/custom/10.jpg')
     img.add('color_temperature', 200)
     img.run()
     img.display()
Пример #4
0
 def test_lightness(self):
     img = SingleImage()
     img.load_without_label('../data/custom/9.jpg')
     img.add('lightness', -80)
     img.run()
     img.display()
Пример #5
0
 def test_saturation(self):
     img = SingleImage()
     img.load_without_label('../data/custom/9.jpg')
     img.add('saturation', -80)
     img.run()
     img.display()
Пример #6
0
 def test_fragment(self):
     img = SingleImage()
     img.load_without_label('../data/custom/11.jpg')
     img.add('fragment', 5)
     img.run()
     img.display()
Пример #7
0
 def test_sharpen(self):
     img = SingleImage()
     img.load_without_label('../data/custom/11.jpg')
     img.add('USM_sharpen')
     img.run()
     img.display()
Пример #8
0
 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()