Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ readwkt
Function
readwkt
imagepy/core/roi/roiio.py:14–18 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
12
return
roi
13
14
def
readwkt(path):
15
f = open(path)
16
roi = wkt2roi(f.read())
17
f.close()
18
return
roi
19
20
def
saveroi(roi, path):
21
f = open(path,
'wb'
)
Callers
nothing calls this directly
Calls
3
wkt2roi
Function · 0.85
read
Method · 0.45
close
Method · 0.45
Tested by
no test coverage detected