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()
def cancel(self, ips): Filter.cancel(self, ips) ips.roi = self.bufroi ips.mark = ips.tool = None
def ok(self, ips, para=None): ips.mark = ips.tool = None Filter.ok(self, ips, para)
def cancel(self, ips): ips.lut = self.lut Filter.cancel(self, ips)