Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Image-Py/imagepy
/ s2r_points
Function
s2r_points
imagepy/core/roi/convert.py:12–15 ·
view source on GitHub ↗
(mp)
Source
from the content-addressed store, hash-verified
10
return
MultiPoint(mp.body)
11
12
def
s2r_points(mp):
13
from
.pointroi
import
PointRoi
14
body = list(LineString(mp).coords)
15
return
PointRoi(body)
16
17
def
s2r_point(p):
18
from
.pointroi
import
PointRoi
Callers
1
shape2roi
Function · 0.85
Calls
1
PointRoi
Class · 0.85
Tested by
no test coverage detected