Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
polygonize
Function · 0.80
polygonize
Function · 0.80
on_ctx
Method · 0.80
on_ctx
Method · 0.80
run
Method · 0.80
run
Method · 0.80
Calls
2
shape2roi
Function · 0.85
roi2shape
Function · 0.85
Tested by
no test coverage detected