Remove world points from world point set
wpSet = removeWorldPoints(wpSet,pointIndices)
example
wpSet = removeWorldPoints(wpSet,pointIndices) removes the world points at the specified indices pointIndices from the world point set wpSet
wpSet
pointIndices
collapse all
Generate 3-D world points.
worldPoints = rand(100,3);
Create a worldpointset object.
worldpointset
wpSet = worldpointset;
Add the world points to the world point set. Display the world point set.
[wpSet,newPointIndices] = addWorldPoints(wpSet,worldPoints); wpSet
wpSet = worldpointset with properties: WorldPoints: [100×3 single] ViewIds: [1×0 uint32] Count: 100 Correspondences: [100×3 table]
Remove the first 50 world points from the world point set.
wpSet = removeWorldPoints(wpSet,newPointIndices(1:50))
wpSet = worldpointset with properties: WorldPoints: [50×3 single] ViewIds: [1×0 uint32] Count: 50 Correspondences: [50×3 table]
World point set, specified as a worldpointset object.
World point indices, specified as an M-element vector of integers. M is the number of world points to remove from the worldpointset object.
World point set, returned as a worldpointset object.
addWorldPoints
updateWorldPoints
imageviewset
You have a modified version of this example. Do you want to open this example with your edits?