我怎么能检索多边形顶点的坐标矩阵?
16个视图(30天)
显示旧的评论
我想在一幅画一个多边形,然后检索多边形的顶点的坐标,但我没能与getPosition函数。我的多边形是存储在变量roi,但是当我叫getPosition (roi)我得到一个错误,说“未定义的函数“getPosition”类型的输入参数‘images.roi.Polygon’。”What does this mean? Is there a way to store the coordinates of the vertices in a variable?