Provides an interactive 3d viewer for points (including arbitrary attributes) and lines.
This module requires the installation of the Option: Matlab Runtime.
The main purpose of this module is the visualization of point clouds in the ODM or LAS format. The main features of opalsView are:
The user can navigate through the point clouds with the mouse in the following way:
The point around which the rotation is performed is highlighted with a red-green-blue axis tripod while pressing the right mouse button. It can be repositioned by additionally clicking r on the keyboard.
In the options, accessible with the
button in the toolbar, the navigation actions of the left and right mouse button can be swapped, as well as the direction of zooming with the wheel (i.e., in and out). Note, the options are accessible also in the main configuration file opals.cfg.
Because of memory limitations not all points of all opened point clouds can be displayed at once. Therefore, for each point cloud only a certain number of points MaxPoints is shown. The user can control the displayed point clouds in the following way:
The interface for defining User Limits allows to adopt the current view as new User Limits. If the current view is oblique the view is automatically changed to the closest main view. The coordinate limits in this main viewing direction are taken from the respective extents of the individual or all point clouds (called File Limits). For example, if a zoomed in area shall serve as new User Limits and this area is currently visible in the ground view (showing X and Y), then the X and Y extent of the User Limits are defined by the visible extent in the opalsView window, and the Z extent is taken from the respective File Limits of the active point cloud(s). The interface also cooperates with the clipboard to copy/paste coordinate limits.
By pressing the button Apply (instead of OK) the interface does not close. Instead, the user could change the main view, e.g. switching from XY to XZ view, turn on the coordinate axis display
, read off meaningfull Z limits, key these in the respective fields of the interface, and then close it with OK. This way, all three coordinate limits can be defined easily.
The interface for setting new user limits is accessible by the
button in the toolbar, or the shortcut Ctrl+L. Pressing the key u on the keyboard bypasses the interface and immediately sets the current view to the new User Limits for all point clouds.
The user can select the displayed points according to the current User Limits or the original File Limits for each opened point cloud individually or all at once using the respective menus. Additionally, the following buttons in the toolbar can be used for setting them for all point clouds:
and
The data cursor (button
in the toolbar) can be used to show and compare point attributes of multiple point clouds. If a point is selected in the point cloud, the corresponding attributes are displayed in a new window. The attributes to be analysed, can be selected in the menues by DataCursor --> Select attributes. To show or hide point clouds in the attribute table click DataCursor --> Show PC attributes. If multiple point clouds are opened, the closest points from different point clouds can be selected using a snap radius, which can be specified in the Options dialog
in the toolbar.
During Data Cursor mode, the normal navigation (rotation, pan, zoom) with the mouse is not possible. Closing the attribute window or clicking the toolbar button again, exits Data Cursor mode.
Two profile modi are supported and triggered by clicking
in the toolbar:
The digitization of the respective points is done by clicking the left mouse button, and then a click with the right mouse button ends it. The number of digitized points triggers the respective profile mode. The user is asked for the width of the profile (orthogonal to the profile plane) and, in case of the sliding mode, the length of the profile (orthogonal to the polyline).
After definition of the profile points, the profile can be interactively changed by pressing the keyboard:
Holding down the Cntrl key accelerates the respective changes.
Note that during any profile mode, the user still can perform the normal navigation actions (pan, zoom, rotation). In order to return to the respective (frontal) profile view, just press the button View last profile
on the toolbar. During sliding mode, everytime the ground view (XY) is selected, the polyline becomes visible. Particularly, clicking the View last profile button
while a profile is actually visible in frontal view, returns to the exact ground view when the polyline was defined.
Clicking on the toolbar button Reset View all PCs
exits the profile mode.
The toolbar contains the following buttons. Any action triggered there affects all point clouds.
The data used in the following examples can be found in the $OPALS_ROOT/demo/ directory.
In this example three ALS strips are visualized using opalsView. As a first step, we have to import the strips, which are given in las format, using Module Import :
Now opalsView can be called:
Using the menue entry All PCs --> Color --> Unicolor --> by PC, or simplying clicking
in the toolbar, colorizes each point cloud with a unique color.
If the ODM file contains informations about the normal vectors, they can be visualized with opalsView. First, let's import the point cloud and estimate the normal vectors:
Now opalsView can be called to visualize the point cloud together with the normal vectors:
Coloring and lenght of the normal vectors can be adjusted in the options. A histogram of the currently displayed points can be opened with the histogram button in the toolbar of opalsView. Here the horizontal range of the histogram ist limited by the 1. and 99. percentile (which is also the default) to not waste space with possible outliers:
In opalsView a DEM (in GeoTiff format) can be visualized together with the point clouds. First, the DEM is estimated using Module Grid :
After opening the file in opalsView, the DEM can be added with the "DEM" button in the toolbar: