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

Method buffer

imagepy/core/roi/roi.py:12–13  ·  view source on GitHub ↗
(self, r)

Source from the content-addressed store, hash-verified

10 def __init__(self):pass
11
12 def buffer(self, r):
13 return shape2roi(roi2shape(self).buffer(r, 4))
14
15 def convex(self):
16 return shape2roi(roi2shape(self).convex_hull)

Callers 6

polygonizeFunction · 0.80
polygonizeFunction · 0.80
on_ctxMethod · 0.80
on_ctxMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 2

shape2roiFunction · 0.85
roi2shapeFunction · 0.85

Tested by

no test coverage detected