Delete view from map
Delete Views from Map
Load a map of segments and features from a MAT file into the workspace.
data = load('segmatchMapFullParkingLot.mat'); sMap = data.segmatchMapFullParkingLot;
Visualize the map.
figure show(sMap) title('Map Before Deleting Views')
Delete the first 50 views from the map.
viewIds = 1:50; sMap = deleteView(sMap,viewIds);
Visualize the map after deleting the views.
figure show(sMap) title('Map After Deleting the First 50 Views')
sMapIn — Original map of segments and features
Original map of segments and features, specified as a
viewIds — View identifiers
View identifiers, specified as an M-element vector. M is the number of views to delete. Each view identifier is unique to a specific view.
Introduced in R2021a