def filter(self,afilter): photomosaicmvc.controller.the_message_textbox.add("Updating dbpictures with new filter/recompute metric") for p in self.tiles: filters.apply_filter(p.image,afilter) #recompute same metric (not really change) on each filtered picture for p in self.tiles: p.change_metric(self.metric) photomosaicmvc.controller.the_message_textbox.add("Done")
def filter(self, afilter): photomosaicmvc.controller.the_message_textbox.add( "Updating picture with new filter") filters.apply_filter(self.image, afilter) photomosaicmvc.controller.the_message_textbox.add( "Done updating picture with new filter")
def filter(self,afilter): photomosaicmvc.controller.the_message_textbox.add("Updating picture with new filter") filters.apply_filter(self.image,afilter) photomosaicmvc.controller.the_message_textbox.add("Done updating picture with new filter")