def run(self, ips, imgs, para=None): ips.roi = RectangleRoi(0, 0, ips.size[1], ips.size[0])
def run(self, ips, imgs, para=None): rect = RectangleRoi(0, 0, ips.size[1], ips.size[0]) ips.roi = ips.roi.invert(rect)