def logarithmicTransform(self, c):
     image = filter.apply_logarithmic(self.current_image, c)
     self.update_memory_images(image)
     return self.current_image
示例#2
0
 def apply_logarithmic(img):
     r, g, b = rgb.get_rgb_layers(img)
     r = filter.apply_logarithmic(r)
     g = filter.apply_logarithmic(g)
     b = filter.apply_logarithmic(b)
     return rgb.merge_rgb_layers(r, g, b)