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

Method union

imagepy/core/roi/roi.py:29–30  ·  view source on GitHub ↗
(self, roi)

Source from the content-addressed store, hash-verified

27 return shape2roi(roi2shape(rect).difference(roi2shape(self)))
28
29 def union(self, roi):
30 return shape2roi(roi2shape(roi).union(roi2shape(self)))
31
32 def diff(self, roi):
33 return shape2roi(roi2shape(self).difference(roi2shape(roi)))

Callers 4

mouse_downMethod · 0.80
mouse_downMethod · 0.80
commitMethod · 0.80
runMethod · 0.80

Calls 2

shape2roiFunction · 0.85
roi2shapeFunction · 0.85

Tested by

no test coverage detected