MCPcopy Create free account
hub / github.com/Image-Py/imagepy / run

Method run

imagepy/menus/Selection/select_plg.py:107–109  ·  view source on GitHub ↗
(self, ips, imgs, para = None)

Source from the content-addressed store, hash-verified

105 note = ['all', 'req_roi']
106
107 def run(self, ips, imgs, para = None):
108 rect = RectangleRoi(0,0,ips.size[1],ips.size[0])
109 ips.roi = ips.roi.invert(rect)
110
111class Save(Simple):
112 """Save: save roi as a wkt file """

Callers

nothing calls this directly

Calls 2

RectangleRoiClass · 0.90
invertMethod · 0.80

Tested by

no test coverage detected