コード例 #1
0
 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")
コード例 #2
0
ファイル: photomosaic.py プロジェクト: yangjiao2/database-1
 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")
コード例 #3
0
ファイル: photomosaic.py プロジェクト: Yangsilu/database
 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")