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

Function s2r_lines

imagepy/core/roi/convert.py:24–27  ·  view source on GitHub ↗
(ml)

Source from the content-addressed store, hash-verified

22 return MultiLineString(ml.body)
23
24def s2r_lines(ml):
25 from .lineroi import LineRoi
26 body = [list(i.coords for i in ml)]
27 return LineRoi(body)
28
29def s2r_line(ml):
30 from .lineroi import LineRoi

Callers 1

shape2roiFunction · 0.85

Calls 1

LineRoiClass · 0.85

Tested by

no test coverage detected