Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ wkt2roi
Function
wkt2roi
imagepy/core/roi/roiio.py:6–6 ·
view source on GitHub ↗
(con)
Source
from the content-addressed store, hash-verified
4
5
def
roi2wkt(roi):
return
wkt.dumps(roi2shape(roi))
6
def
wkt2roi(con):
return
shape2roi(wkt.loads(con))
7
8
def
readroi(path):
9
f = open(path,
'rb'
)
Callers
1
readwkt
Function · 0.85
Calls
1
shape2roi
Function · 0.85
Tested by
no test coverage detected