MCPcopy 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
14def readwkt(path):
15 f = open(path)
16 roi = wkt2roi(f.read())
17 f.close()
18 return roi
19
20def saveroi(roi, path):
21 f = open(path, 'wb')

Callers

nothing calls this directly

Calls 3

wkt2roiFunction · 0.85
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected