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.

Input Arguments

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.

Output Arguments

expand all

viewSet object.


expand all

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);
Introduced in R2016a