MATLAB 帮助中心
Delete view from map
Since R2021a
sMapOut = deleteView(sMapIn,viewIds)
sMapOut = deleteView(sMapIn,viewIds) deletes the specified views viewIds, along with their corresponding features and segments.
sMapOut
sMapIn
viewIds
example
collapse all
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')
pcmapsegmatch
Original map of segments and features, specified as a pcmapsegmatch object.
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.
Updated map of segments and features, returned as a pcmapsegmatch object.
Introduced in R2021a
deleteSegments
addView
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处