def apply_sobel(self):
     image = filter.apply_sobel(self.current_image)
     self.update_memory_images(image)
     return self.current_image
Beispiel #2
0
 def apply_sobel(img):
     r, g, b = rgb.get_rgb_layers(img)
     r = filter.apply_sobel(r)
     g = filter.apply_sobel(g)
     b = filter.apply_sobel(b)
     return rgb.merge_rgb_layers(r, g, b)