Delete view from view set
vSet = deleteView(vSet,viewId)
example
vSet = deleteView(vSet,viewId) deletes the view specified by viewId from the view set, vSet.
vSet
viewId
collapse all
Create an empty image view set.
vSet = imageviewset;
Detect interest points in an image.
imageDir = fullfile(toolboxdir('vision'),'visiondata','structureFromMotion'); I = imread(fullfile(imageDir,'image1.jpg')); points = detectSURFFeatures(rgb2gray(I));
Add a view to the image view set.
vSet = addView(vSet,1,'Points',points);
Delete the view
vSet = deleteView(vSet,1);
imageviewset
Image view set, specified as an imageviewset object.
View identifier, specified as an integer. View identifiers are unique to a specific view.
View set with deleted views, returned as an imageviewset object.
You have a modified version of this example. Do you want to open this example with your edits?