Main Content

deleteView

(To be removed) Delete existing view from view set object

The viewSet object and its deleteView function will be removed in a future release. Use the imageviewset object and its deleteView function instead. For more information, see Version History.

Description

vSet = deleteView(vSet,viewId) deletes an existing view or a set of views from the specified viewSet object,vSet.

example

Examples

collapse 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(im2gray(I));

Add a view.

vSet = addView(vSet,1,'Points',points);

Delete the view.

vSet = deleteView(vSet,1);

Input Arguments

collapse 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

collapse all

viewSet object.

Version History

Introduced in R2016a

collapse all

R2020a: deleteView function of viewSet object will be removed

The viewSet object and its deleteView function will be removed in a future release. Instead, manage views and pairwise connections between views of data using use the imageviewset object. Delete views from the imageviewset object using its deleteView function.