def apply_equalized_histogram(self):
     image = filter.apply_histogram_equalization(self.current_image)
     self.update_memory_images(image)
     return self.current_image
예제 #2
0
 def apply_histogram_equalization(img):
     r, g, b = rgb.get_rgb_layers(img)
     r = filter.apply_histogram_equalization(r)
     g = filter.apply_histogram_equalization(g)
     b = filter.apply_histogram_equalization(b)
     return rgb.merge_rgb_layers(r, g, b)