cv.Subdiv2D/Subdiv2D - MATLAB File Help |
Constructor
obj = cv.Subdiv2D()
obj = cv.Subdiv2D(rect)
[x,y,w,h]
that includes all of the 2D
points that are to be added to the subdivision.Creates an empty Delaunay subdivision object.
The second form is equivalent to creating an empty object, then
calling the initDelaunay
method.
This creates an empty Delaunay subdivision where 2D points can be added using the function cv.Subdiv2D.insert. All of the points to be added must be within the specified rectangle, otherwise a runtime error is raised.