Main Content

deleteView

Delete view from view set

Description

example

vSet = deleteView(vSet,viewId) deletes the view specified by viewId from the view set, vSet.

Examples

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

Add a view to the image view set.

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

Delete the view

vSet = deleteView(vSet,1);

Input Arguments

collapse all

Image view set, specified as an imageviewset object.

View identifier, specified as an integer. View identifiers are unique to a specific view.

Output Arguments

collapse all

View set with deleted views, returned as an imageviewset object.

See Also

Objects

Introduced in R2020a