connectedViews
Connected views in view set
Description
Examples
Create an empty point cloud view set object.
vSet = pcviewset;
Add views to the point cloud view set.
vSet = addView(vSet,1); vSet = addView(vSet,2); vSet = addView(vSet,3); vSet = addView(vSet,4);
Connect views in the point cloud view set.
vSet = addConnection(vSet,1,2); vSet = addConnection(vSet,2,3); vSet = addConnection(vSet,2,4);
Get the connected views for the view with ID 2.
viewTable = connectedViews(vSet,2)
viewTable=3×3 table
ViewId AbsolutePose PointCloud
______ ________________ ______________
1 1×1 rigidtform3d 1×1 pointCloud
3 1×1 rigidtform3d 1×1 pointCloud
4 1×1 rigidtform3d 1×1 pointCloud
Input Arguments
Point cloud view set, specified as a pcviewset
object.
View identifier, specified as an integer. View identifiers are unique to a specific view.
Output Arguments
One or more views, returned as a three-column table. The table must contain the columns as described in this table.
| Column | Description |
|---|---|
ViewId | View identifier, specified as an integer. View identifiers are unique to a specific view. |
AbsolutePose | Absolute pose of the view, specified as a rigidtform3d object. |
Points | Point cloud for the view, specified as a pointCloud object. |
Extended Capabilities
C/C++ Code Generation
Generate C and C++ code using MATLAB® Coder™.
GPU Code Generation
Generate CUDA® code for NVIDIA® GPUs using GPU Coder™.
Version History
Introduced in R2020aStarting in R2022b, most Computer Vision Toolbox™ functions create and perform geometric transformations using the premultiply
convention. Accordingly, the connectedViews function now returns the
AbsolutePose value in the viewTable argument as a
rigidtform3d
object, which uses the premultiply convention. Before, the function returned
AbsolutePose as a rigid3d object,
which uses the postmultiply convention. For more information, see Migrate Geometric Transformations to Premultiply Convention.
MATLAB Command
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.
Website auswählen
Wählen Sie eine Website aus, um übersetzte Inhalte (sofern verfügbar) sowie lokale Veranstaltungen und Angebote anzuzeigen. Auf der Grundlage Ihres Standorts empfehlen wir Ihnen die folgende Auswahl: .
Sie können auch eine Website aus der folgenden Liste auswählen:
So erhalten Sie die bestmögliche Leistung auf der Website
Wählen Sie für die bestmögliche Website-Leistung die Website für China (auf Chinesisch oder Englisch). Andere landesspezifische Websites von MathWorks sind für Besuche von Ihrem Standort aus nicht optimiert.
Amerika
- América Latina (Español)
- Canada (English)
- United States (English)
Europa
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)