Class: viewSet
Delete an existing view from view set object
vSet = deleteView(vSet,viewId)
vSet = deleteView(vSet,viewId) deletes an existing view or a set of views from the specified viewSet object,vSet.
vSet
viewId
viewSet
expand all
A viewSet object.
View IDs, specified as an integer scalar for a single view, or as a vector of integers for a set of views.
viewSet object.
Create an empty viewSet object.
vSet = viewSet;
Detect interest points in the image.
imageDir = fullfile(toolboxdir('vision'),'visiondata','structureFromMotion'); I = imread(fullfile(imageDir,'image1.jpg')); points = detectSURFFeatures(rgb2gray(I));
Add a view.
vSet = addView(vSet,1,'Points',points);
Delete the view.
vSet = deleteView(vSet,1);
You have a modified version of this example. Do you want to open this example with your edits?