def ok(self, ips, para=None):
     Filter.ok(self, ips, para)
     win = self.app.get_img_win()
     ips.mark = None
     win.canvas.tool = None
 def cancel(self, ips):
     Filter.cancel(self, ips)
     ips.roi = self.bufroi
     win = self.app.get_img_win()
     ips.mark = None
     win.canvas.tool = None
 def preview(self, ips, para):
     Filter.preview(self, ips, para)
     self.make_mark()
Beispiel #4
0
 def cancel(self, ips):
     Filter.cancel(self, ips)
     ips.roi = self.bufroi
     ips.mark = ips.tool = None
Beispiel #5
0
 def ok(self, ips, para=None):
     ips.mark = ips.tool = None
     Filter.ok(self, ips, para)
Beispiel #6
0
 def cancel(self, ips):
     ips.lut = self.lut
     Filter.cancel(self, ips)