Vic-3D10 Manual
Vic-3D10 Manual
Software Manual
Version 10.0
Contents
1 Vic-3D Manual 7
1.1 Navigating the Online Help System . . . . . . . . . . . . . . . . . . . . . . . . 7
1.2 Quick Start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.3 Getting More Help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.4 Bug Reports and Feature Requests . . . . . . . . . . . . . . . . . . . . . . . . 8
1.5 What’s New in Vic-3D 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1.6 Transitioning from Earlier Versions . . . . . . . . . . . . . . . . . . . . . . . . 9
2 Overview 11
2.1 The Start Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
2.2 File Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
2.3 Edit Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.4 Project Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
2.5 Calibration Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.6 Data Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.7 Plot Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.8 Window Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
2.9 Help Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.10 Main Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
2.11 Animation Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2.12 Other Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3 Projects in Vic-3D 19
3.1 Project Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
3.2 Creating a New Project from a Template . . . . . . . . . . . . . . . . . . . . . 20
3.3 The Project Tool Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
5 Calibration 39
5.1 Stereo Calibration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
1
2 CONTENTS
10 Postprocessing Tools 99
10.1 Strain Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
10.2 Stress Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
10.3 Removing Rigid Motion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
10.4 Applying Functions to Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
10.5 Restoring/Retriangulating Data . . . . . . . . . . . . . . . . . . . . . . . . . . 113
10.6 Calculating Velocity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
10.7 Curvature Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
10.8 Rotation Calculation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
10.9 Smoothing Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
10.10 Mapping External Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
10.11 Deleting Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
CONTENTS 3
24 Licenses 299
24.1 Qt License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
24.2 Ffmpeg License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
24.3 LibTiff License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
24.4 VTK License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
24.5 ZLib License . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
CONTENTS 5
Vic-3D Manual
Vic-3D uses context menus that can be activated by right-clicking on many user
interface elements (lists, image views, plots etc.) to provide quick access to common
functions. Before searching the help, a right-click may reveal how to access the sought
for functionality.
7
8 CHAPTER 1. VIC-3D MANUAL
For the example project, the above steps should result in a data plot similar to the one shown
in Fig. 1.1.
• New frequency response function measurements integrate force input data with our powerful
FFT module for complete response analysis.
• Brand new FFT workspace for viewing computed frequency data.
• Wide range of enhancements to plotting and customizability in all plots.
• New functionality for aligning IR cameras with ease.
• New Virtual Strain Gauge analysis features to streamline application of DIC Good Practices.
• Import extractions, image and data sequences from other projects for direct comparison
and improved visualization of extracted data plots.
• Multiple iris documents in a single project.
• Improved data extraction facilities, unit management for all variables, and data probing in
2D and 3D plots.
• New, user specific global preferences dialog for report documents, plots and graphs.
Overview
The user interface of Vic-3D has many of the familiar control elements found in other applications.
The user interface is illustrated in Fig. 2.1. The most commonly used functions can be accessed
by clicking on tool buttons on the Tool Bar. The windows, such as the AOI Editor and Plot
windows are grouped inside a Workspace. The Tool boxes and Project panel on the left or
right of the main window provides a quick overview of image and data files.
11
12 CHAPTER 2. OVERVIEW
The Common Tasks section shows frequently used tasks that are also accessible from the
menu bar. The task icons can be clicked to quickly open a project, add speckle or calibration
images, or view this user manual.
The Recent Files section of the start page contains a list of the most recently accessed
projects. Clicking on an icon opens the corresponding project. Note that hovering the mouse over
an icon cycles through the preview icons contained in the project, which can help to distinguish
similar projects more easily.
A longer list of recent project files can be accessed from the File->Open recent menu.
While the mouse hovers over a recent project icon or menu entry, the full path to the
project is shown in the status bar at the bottom of the main window. This is helpful
to distinguish projects with identical names (which, of course, should be avoided. . . ).
If the project has not been saved after changes have been made, an asterisk will appear
next to the project name in the title bar of the window.
• Calibrate stereo system - calibrates the cameras and stereo rig simultaneously, see
Section 5.1
• From project file - imports a calibration from an existing Z3D or V3D project file
• Autocorrect calibration - corrects for a disturbed camera orientation calibration, see
Section 5.3.4
• Adjust for cropping - adjusts for differently sized calibration vs. speckle images (com-
monly used with stereo images from high-speed cameras or clipped images from a low
speed system). See Section 5.6 for details.
• Calibrate camera 1 / 2 - calibrates camera intrinsic parameters separately (generally
used for large scale calibration or troubleshooting camera synchronization). For details,
see Section 5.3.
• Calibrate camera orientation - calibrates stereo transformation from disparity data;
see Section 5.3.3 for details.
• Calibrate external camera - calibrate for overlay of auxiliary camera data (i.e., from
an infrared camera); see Section 5.4 for more information.
• Compute external projections - precisely calculates the position of an external (IR)
camera using a single common grid image (see Section 5.5 for details).
Plotting tools:
• Histogram control
• Switch to 2D plot/3D plot
• Show main Workspace
• Show Marker workspace
• Show FFT workspace (when module is present)
• Show iris workspace
• Zoom in/out
• Undo/redo
16 CHAPTER 2. OVERVIEW
Postprocessing tools:
The histogram control displays the gray level distribution for the currently displayed image.
The red bars on the histogram may be used to adjust the image display. Double-click on the
histogram to automatically adjust the balance, or drag the red bars to set the black and white
levels manually. Double click again to remove the balance adjustment.
The balance control is for display only and does not affect image analysis or stored images.
In the list view on the left side of the main window, some functions can be activated by
right-clicking. Details can be found in the appropriate sections of this menu.
Chapter 3
Projects in Vic-3D
In Vic-3D, all the filenames and information associated with a test are stored in a project.
Initially, projects are blank. Before running a Vic-3D analysis, the project must contain:
Note that the calibration can either be imported from another project file or generated by
adding calibration images to the project to determine the calibration parameters. When a Vic-3D
analysis is run, the output files (*.out) are stored on disk and added (by reference) to the project
and displayed in the Data tab.
In addition to the items above, analog data files from Vic-Snap (*.csv) can be added to the
project file. The analog data is then available for extraction.
All images, data files, and CSV files are only stored by reference in the project file.
The original files must remain on the disk.
19
20 CHAPTER 3. PROJECTS IN VIC-3D
You will see a list of recent projects with previews. Single-click to select a project or mouse
over to see a more detailed preview.
Checkboxes allow selection of desired elements; the Ok button completes the import. A
blank project will be created and images may then be added. If the template contains an AOI
and it was imported, it will automatically appear as soon as a reference image is selected. Note
that Vic-3D allows moving an entire AOI to account for small position differences. An AOI can
be moved by clicking on a selected AOI and dragging it to the desired position.
On the image and data tabs, a right-click shows a context menu with various actions
that can be performed, e.g., animate, export etc.
Single items can be selected by mouse-click, and extended selections can be performed
by holding the SHIFT or CTRL keys while clicking on additional items.
If a selection is present, the Delete or Backspace keys can be used to remove the
selected items from the project.
• The Extraction data item contains extracted point, area, and line data; the extractions
listed here may be used later for plotting in iris.
• The FFT data item displays computed FFT data for display and animation.
• The Inspector data items lists inspector locations, for later visualization.
• sensor center
• focal length (in pixels)
• skew
• 1, 2, or 3 radial distortion coefficients, depending on selected order
• tangential and prismatic distortion coefficients, if enabled in the imaging system
• estimated magnification, for convenience
For a typical setup where the cameras are on a horizontal stereo bar, the angle beta
corresponds to the stereo angle.
3.3. THE PROJECT TOOL BOX 25
In Vic-3D, images are the main input data used for calibration of the stereo system as well as
displacement and strain analysis. There are two main categories of images
• speckle images
• calibration images
Both types of images can be displayed in the workspace by double-clicking on the name of
the image in the Project Toolbox (see Section 3.3) after they have been added to the project.
27
28 CHAPTER 4. SPECKLE AND CALIBRATION IMAGES
Vic-3D supports a number of other image file formats. Note that color images are not
recommended if they are acquired with sensors that have color filters (Bayer filters), as the dis-
placement resolution is typically strongly degraded. For similar reasons, lossy image compression
algorithms should be avoided. Loss-less compression algorithm do not degrade the displacement
data, but typically do not yield high compression ratios for speckle images. The following image
formats are supported but should be used with caution:
• JPEG images
• Portable Network Graphics (PNG)
• Netpbm images
• BMP images
pre-load was applied. All displacement analyses in Vic-3D are with respect to this reference
image, i.e., the displacements are obtained in a Lagrangian coordinate system.
When importing speckle images, Vic-3D automatically uses the first image as the reference
image, which is indicated by a red arrow (see figure below). To select a reference image, right-click
on it in the Speckle images list, and select Set as reference. from the pop-up menu as illustrated
in Fig. 4.5. After the reference image has been selected, it will be indicated with a red arrow in
the images list as illustrated in Fig. 4.6.
Note that changing the reference image after selecting an area-of-interest (see below) will
clear the selected area-of-interest, as each reference image can have its own mask. In order to
reuse an already defined area-of-interest for a different reference image, a right-click in the AOI
editor provides the option to paste existing masks onto the new reference image. If the reference
image is changed back to an image for which a mask had already been defined, the previously
defined mask will be reused.
When the AOI editor has the focus in the workspace window, the mask tool buttons become
active as shown in Fig. 4.7. The AOI editor can normally be activated by double-clicking on
the reference image, unless the image viewer has focus in the workspace. In this case, the AOI
editor can be activated by clicking on it or by selecting it from the Window menu.
reference image by clicking on the desired location in the reference image. Detailed information
about selecting and editing start points is provided in Chapter 6, including general guide lines
on what makes a suitable location for a start point.
To remove a start point, click the icon, then click the start point. Alternatively, a start
point can be removed by pressing either Backspace or Delete while the mouse hovers over the
start point and the AOI editor is the active window in the workspace.
To specify a particular type of AOI, select the corresponding entry in the Edit menu or the
appropriate button on the tool bar. The selected AOI type will be indicated by the mouse cursor.
After selecting the AOI type, move the cursor to the desired position in the reference window
and click the left mouse button. You can now move the mouse to the next position, e.g. the
end of the line or the second corner of the rectangle. Clicking the left mouse button again
will complete the AOI selection for all AOI types except polygons. For polygon selection, a
double-click is used to specify the last point of the polygon.
To pan the image while an editing tool is active, the SHIFT key can be used to
temporarily disable the editing tool.
During AOI editing operation, the image can be scrolled by moving the mouse outside
the reference image window. This will cause the image to autoscroll if the image does
not fit on the display.
If the merge polygons icon ( ) is selected, any overlapping polygons will be merged with
each other. If the icon is not selected, overlapping AOIs will remain separate.
Areas-of-interest can be translated by clicking anywhere inside the area and then translating
the AOI before releasing the mouse button. To pan the image instead of moving the AOI, the
SHIFT key can be pressed while clicking on the AOI.
4.4.4 Cutouts
For rectangular and polygon AOIs, the scissors tool can be used to cut areas from the AOI. This
feature is most commonly used if the specimen has cracks, holes, or other areas where correlation
is impossible.
To cut an area from an AOI, click the scissors button on the tool bar or select Edit. . . Cut
region. The selection of the area to be cut works like selecting a polygon AOI, i.e., corner points
of a polygon can be added by single-clicking the left mouse button, and the last point is specified
by a double-click. Once the cut is complete, new nodes are added to your AOI; these may be
moved like other nodes.
When using multiple AOIs for one image, click on an AOI with the pan/select tool to
activate it. The active AOI is indicated by the control points, which are hidden for
inactive AOIs. Cuts will only be applied to the active AOI.
All operation on AOIs can be reverted using the Undo/Redo buttons. The Undo/Redo
buttons in the Edit menu will indicate what changes can be undone/redone.
Chapter 5
Calibration
Calibration can be accomplished either through a stereo calibration where intrinsic and extrinsic
parameters are calculated together, or a separate calibration where the intrinsic parameters are
determined for each camera separately and the relative orientation of the cameras is determined
from a common view.
For most applications, stereo calibration is used. The calibration target is imaged simultane-
ously in both cameras, and the synchronized target images are used to fully calibrate the system
in one step.
In certain applications, a stereo calibration with a conventional full-size target is not practical,
e.g., when the field of view is very large. In such cases a separate calibration method can be
used.
In this method, each camera acquires target images separately. These images are used to
calculate intrinsic parameters for the cameras. A static speckle image is then used to establish
the camera orientation. For this method, the speckle image must contain markers or fiducial
points with a known distance between them.
Cases where separate calibration will be useful include:
39
40 CHAPTER 5. CALIBRATION
Once image analysis is complete, the calibration will be computed. If the score is higher than
optimal, any outlying images will be discarded and the calibration computed again. The final
score (in pixels, lower is better) is displayed in the bottom right.
Clicking Accept will close the dialog and set the calibration for the current project.
Coordinate system selection can be used for creating a reference frame for strain and
displacement, or quickly establishing a roughly common coordinate system between
multiple camera pairs. This step may also be used to determine a common view for
external camera calibration.
5.1.2 Recalibrating
I the Automatically recalibrate box is checked, when a calibration setting is changed a new
calibration will be automatically computed with the new option applied after a brief delay
for other changes. To make multiple changes without recalibrating, clear this box and click
Recalibrate as necessary. If complex imaging systems (see below) are in use, the recalibration
may be time consuming and clearing the Automatically recalibrate box may be helpful in
avoiding long pauses.
42 CHAPTER 5. CALIBRATION
5.1.4 Recalibrating
Vic-3D will attempt to remove any outliers while leaving good images present. However, it will
sometimes be necessary to manually remove images, or return automatically removed images.
A certain image pair may be removed by right-clicking in the results table and selecting
Remove row. Multiple rows may also be selected for removal. If the Automatically recali-
5.1. STEREO CALIBRATION 43
brate box is checked, the calibration will be immediately recomputed. Otherwise, Recalibrate
may be clicked as necessary.
If an image pair has been removed, the table may be right-clicked and the Extract row
option clicked to re-extract. Multiple rows may also be selected and re-extracted.
on the Edit button in the lower left-hand corner of the calibration dialog. The imaging system
dialog is shown in Fig. 5.5.
You can add or remove a system by clicking the + or - buttons. The following parameters
may be set for each system:
• Name: this is a friendly name for the system; for example, “Schneider 17mm” or “Under-
water test”.
• Standard systems: this system models a typical imaging lens in free air.
– Fixed aspect ratio: enforces a known aspect ratio rather than calibrating for it.
– Allow skew: if this box is cleared, a skew parameter of 0 is used.
– High magnification: this option forces the Center parameters to the geometric center
of the sensor.
– Radial distortion: this is the order of the radial component of the Seidel distortion.
– Prismatic distortion: this is the order of the thin prism component of the Seidel
distortion.
– Tangential distortion: this is the order of the tangential, or decentering, component
of the Seidel distortion.
• Complex distortion: should be selected when optical interfaces additional to the Seidel
lens are present. This introduces a Variable Ray Origin calculation which allows correction
for varying refraction across the sensor surface.
5.2. HYBRID CALIBRATION 45
– Type: Typically, the 4th order VRO model is sufficient. A 5th order model is
provided for extreme conditions. For these types of use cases, it is recommended to
pay particular attention to the calibration image sequence and ensure that a grid of
proper size is used and sufficiently large tilt angles of the target are recorded during
calibration.
The selected imaging system can be set as teh starting default by clicking Set default.
Clicking Finished will close the imaging systems dialog.
• Grid points and rigid speckle: this method requires a set of images of a rigid object
undergoing motion. The data points from the grid images are combined with points from
the 3D correlation results. This method should be used if the speckled object is known
to be rigid, but the motions of the object are insufficient for complete calibration. For
instance, if only a few small translations and/or tilts of the object are available, this method
can provide improved results versus using only the calibration dots from the traditional
calibration target.
• Grid points and deforming speckle: this method will work with any image set,
including images of the (deforming) test article itself. In essence, this method computes an
optimal triangulation for the calibration points and point correspondences found by DIC
for an entire dataset together.
Note that for all calibration methods, it is generally required to have a calibration object that
fills the entire field of view. Additionally, for the hybrid methods it is required that the stereo
configuration remains the same between the acquisition of dot calibration target and speckle
images.
After pressing the Calibrate button, a text window will be displayed to report information
about the progress and results of the calibration. Note that the calibration can take some time
to complete, particularly when a large number of points is used in combination with complex
camera models (prismatic and decentering distortions or non-pinhole models).
When the calibration is complete, the calibration results and confidence margins are displayed.
5.2. HYBRID CALIBRATION 49
Noise and Projection Error: The average noise estimate and projection error displayed
near the bottom of the dialog should be similar in magnitude, and the distribution of the
5.2. HYBRID CALIBRATION 51
projection error should be random throughout the entire image. If this is not the case, it
normally indicates a problem with the calibration. There are a number of reasons why the
projection error might be significantly higher than the noise estimate:
• The camera model cannot accurately capture the distortions. This normally results in a
distinctive pattern in the spatial distribution of the projection error that remains similar
for all data sets. It may be possible to correct such errors by selecting higher order or
different types of distortions in the imaging systems dialog during the initial calibration.
• Heat waves often do not affect the noise estimate significantly but produce enough apparent
displacement to increase the projection error. The spatial distribution of the projection
error typically shows bands of increased error that vary from data set to data set. This
problem should be addressed during image acquisition.
• If the object used for calibration is assumed to be rigid but deforms during calibration, a
bias will result. This is difficult to distinguish from the following two cases. Repeating the
calibration using the third method may provide further insight into whether the object is
deforming or not.
• If the orientation of the cameras relative to each other changes during calibration, e.g.,
due to vibration, the projection error may increase.
• Synchronization problems have similar symptoms as the previous two error sources. As-
suming that the calibration images of the dot target are similarly affected by this error as
the speckle images, synchronization issues can be revealed by comparing errors from single
camera calibration to the errors from stereo calibration. Such errors are normally flagged
by the regular stereo calibration dialog.
• In situations where the errors are very low, e.g., 0.001 pixels, one of the errors may be two
or three times higher than the other, and this often changes from image to image.
• Objects with significant curvature, surface discontinuities, defocus as well as very high tilt
angles can also produce similar symptoms, but this is normally obvious when looking at
the plots.
Displacement and Strain Distribution: The displacements (U, V and W) are shown
with rigid body motion removed. Since the calibration object is rigid for the first two calibra-
tion methods, the resulting distributions should be random. Any distinctive patterns in the
distributions of (residual) displacement or strain point to problems with the calibration.
Sensitivity: The (noise) sensitivity indicates how noise in the image matches impacts the
measurement results. The sensitivity for the Z-direction is typically three to five times higher
than for the inplane directions, depending on the stereo angle. The noise sensitivity is typically
lowest in the center of the image and increases towards the boundaries.
! If the noise sensitivity is significantly higher at the boundary than near the image
center, the stereo angle and/or focal length may be too low. This can result in
excessive noise in all measurements.
52 CHAPTER 5. CALIBRATION
• Fixed baseline: This option assumes that the distance between the cameras has not changed
(very much).
Note: the autocorrect feature (selected from the calibration menu) utilizes the fixed
baseline method in conjunction with the disparity data from the reference file by default.
• Point distance: A line between two points can be drawn in the shaded area of the image.
The software will determine the distance between the two end points from the data, but it
can be manually overwritten if the distance is known.
• Markers: If markers with a known distance are available, they can be extracted in the
Marker Editor and used to set the scale.
To perform this operation, select Calibrate. . . Calibrate camera orientation. Select the Fixed
Baseline scale option, and click the Calculate button. A calibration score will be displayed; to
proceed, click Accept.
! Correcting the camera orientation in this manner should generally be avoided, partic-
ularly for setups with a low stereo angle and/or high magnification. If possible, it is
recommended to acquire a speckle image pair after calibration and analyze it before
proceeding with the experiment to ensure the projection errors are at acceptable
levels.
• The calibration grid used must show contrast in both the DIC calibration images and the
external calibration image. For the case of an IR camera, this means using a grid that
shows contrast in both the visible and IR spectrum. It does not matter if light and dark
are reversed in the IR camera images compared to the stereo system.
Calibration of the external camera is performed by clicking Calibrate. . . Calibrate External
Camera from the main menu. A file selection dialog will appear.
In this dialog, the set of calibration images for the external camera must be selected followed
by clicking the Open button. In the following dialog, a camera ID must be assigned to the
external camera.
Multiple external cameras can be calibrated; select an ID, or when using a single external
camera, simply click OK. A single-camera calibration dialog will appear.
the same orientation selected to define the coordinate system. If an image with the same grid
orientation is not available, the technique described in Section 5.5 must be used.
Once the calibration is complete, click Accept. To proceed with mapping the external data,
run the correlation, and then use the Map external data postprocessing tool.
5.5. ALIGNING AN EXTERNAL CAMERA 59
In Vic-3D 10 it is possible to calibrate the stereo cameras with one grid and the IR
camera with another, as long as there is a single image of the same grid in both
cameras. For instance, this method could be used to calibrate high-resolution cameras
with a high-resolution grid; calibrate the IR camera with a low-resolution grid; and
then complete the alignment with an image of the low-resolution grid. For more
information, see Section 5.5.
The stereo calibration image pair may be chosen by clicking Select stereo images. Then
60 CHAPTER 5. CALIBRATION
a stereo image may be selected from the file dialog; the corresponding pair image will also be
added.
Clicking Select IR image brings up a file dialog which will allow picking the associated IR
camera image. The image must be of the same grid in the same pose as the stereo images.
The image filenames will be displayed in the image tabs and shown in green if the images
are properly loaded. Each image may be viewed by clicking the corresponding tab. If a coded
calibration target is found, the target will be automatically filled in the Target: selector;
otherwise, the correct target can be chosen from the pulldown. Targets may be added (+),
removed (-), or edited (Edit), exactly as in the main calibration dialog. Click Extract to
extract the grid points.
The points will be displayed on each image tab and may be checked as needed. The analysis
can be performed by clicking Analyze; the estimated camera position will be displayed in the
log window.
Clicking Accept will close the dialog and set the alignment in the current project. The
dialog can be canceled by clicking Cancel; if a valid calibration has already been computed, a
confirmation will be displayed before discarding the calibration.
if a dog-bone sample is used, it can be advantageous to reduce the size of the image in the
short dimension of the sample. This can lead to images that are only a few tens of pixels in one
dimension, and it is practically impossible to image a calibration target in this case.
For such applications, it is best to calibrate the camera at the full resolution of the sensor
and only crop the images during the test. The crop dialog seen in the figure below permits
adjustment of the calibration in such cases.
The dialog permits the user to enter the top-left corner of the image section with respect to
the calibration images for both cameras.
• If a reference image is loaded during calibration with a different size than the calibration
images, the adjustment dialog is automatically shown.
62 CHAPTER 5. CALIBRATION
• The default values for the offsets are computed so that they are correct for most modern
high-speed cameras that crop from the center of the sensor.
• For images taken with Vic-Snap, the correct values will be read from the TIFF metadata.
New calibration parameters for camera 1 and 2 will change after clicking OK (the
transformation parameters will not change). Please note that this task must only be
performed once. After the calibration adjustment has been applied correctly, a much
lower (and correct) projection error will result during the analysis.
To generate a new project with a calibration from an existing project, it can be more
convenient to use the Project->New from template function.
Chapter 6
In this version, Vic-3D, initial guesses will be needed very rarely due to the efficient auto-guess
algorithm. Some instances where they may still be necessary include:
In the absence of these conditions, a correlation will generally be successful when initiated
immediately after selecting an AOI. If the correlation fails, a warning will appear and an initial
guess may be needed.
Even if an initial guess is not required, placing a start point in an appropriate location
(see below) can make the analysis faster. This is the case even if the start point
location is not pre-computed for all images before correlation analysis.
63
64 CHAPTER 6. INITIAL GUESS SELECTION
Generally, it is best to place a start point in the area of the image that undergoes
the least amount of motion during the test. For instance, if a specimen is tested in
a tensile frame, the start point should be placed as close to the stationary grip as
possible. Placing the seed point this way will help ensure fully automatic correlation.
If a specimen is expected to fail or crack, it may help to put start points on either
side of the specimen so that once failure occurs there will still be a start point on
both surfaces.
For very large transformations or rotations, it can be very helpful to place fiducial
marks on the surface. This can be integrated into a printed pattern or simply drawn
on the surface with a marker. These marks may be located much more easily than
the random pattern especially if, i.e., one image is rotated 180 degrees from the other.
on an easily identifiable image feature, e.g. the center of a speckle. Up to three points can be
added, as indicated in Fig. 6.4.
The control point locations are automatically shown in the deformed views based on the
current guess parameters. These points may be dragged to the correct location by clicking on
them and then dragging the mouse while keeping the button pressed. Note that Vic-3D will not
allow points that are too close together, or too close to colinear. Control points may be deleted
by first clicking and then clicking on the point to remove.
In most cases where a manual initial guess is required, a stereo guess (for the initial
reference pair) will be sufficient to initialize the correlation. After a stereo guess is
provided, the software can normally determine initial guesses for deformed images
automatically during the correlation process. This works best if the translations and
deformations are kept small between successive images. To that end, it is beneficial
to use a high sampling frequency and to place start points in lower-motion areas (e.g.,
near the fixed grip in a tensile test) as described above.
The correlation may be started by selecting the Run Correlation entry from the Data menu, or
pressing the button on the tool bar. The correlation can also be started with the keyboard
shortcut CTRL+R.
69
70 CHAPTER 7. RUNNING THE CORRELATION
from the locations. Because of this, the pattern may be completely different from one image to
the next.
In projected speckle mode, in-plane motions will not be recognized, because the speckle
pattern does not stay with the surface. All displacements will come from shape change.
Differential mode can be used for continuously moving surfaces that leave the frame,
e.g., a rotating tire.
7.2. THE OPTIONS TAB 71
7.2.4 Interpolation
To achieve sub-pixel accuracy, the correlation algorithms use gray value interpolation, representing
a field of discrete gray levels as a continuous spline. Either 4-, 6-, or 8-tap splines may be selected
here.
Generally, more accurate displacement information can be obtained with higher-order splines.
Lower-order splines offer faster correlation at the expense of some accuracy.
7.2.5 Criterion
There are three correlation-criteria to choose from:
Time 1
Time 2
Time 3
Alternately, both left and right images from any point in the sequence may be compared to
the left reference image. Checking the “left stereo reference” box will cause this latter behavior,
as illustrated on the right-hand side in Fig. 7.5.
! While the right stereo reference normally provides better results for deformation
analysis due to the better similarity between images taken by the same camera, there
are situations where artifacts can arise, particularly at the boundary. After the stereo
correspondence has been determined for the reference image, the software always
uses a square subset in the right reference image located at the center point found
in the disparity analysis. It is possible that this subset overhangs the object at the
boundary if the perspective transformation results in significant compression of the
subset between left and right camera, which is the case, e.g., at the edges of cylinders.
In such situations, it is best to trim the AOI to avoid the overhang or to use the left
stereo reference.
be thought of as a limit on the projection error. High projection error may be caused by motion
blur, synchronization issues, a poor calibration or cameras which are not rigidly mounted.
Multi-System Correlation
This check-box is used to enable and disable multi-system mode.
Calibration
Click to select the project file containing the deformed calibration.
78 CHAPTER 7. RUNNING THE CORRELATION
This window also contains a preview of the output data. This data may be viewed in 2D and
3D and manipulated as with a standard plot.
The default settings for the plot shown in the analysis dialog may be adjusted in the
Global Preferences dialog.
When the analysis is complete, a summary of the above data for all images analyzed can be
viewed by clicking on the View Report button, see Fig. 7.10 for an example. The report may be
saved as a CSV by right-clicking and selecting Save Report.
• An initial guess is needed: Vic-3D will attempt to automatically determine a good start
point and to find the match in the other stereo image. This algorithm usually works well
but if the pattern is dark or indistinct, or if the calibration is imperfect, it may fail. In
this case, you can manually place a start point using the AOI tools. Often, simply placing
the start point on a clear, recognizable feature will be enough; if it is not, you can provide
a manual initial guess.
• Thresholds are set too low: The amount of data removed may be controlled using the
Thresholding tab of the Analysis dialog. The defaults are generally good, but in some
cases they may remove all data. A common case would be that the calibration has been
80 CHAPTER 7. RUNNING THE CORRELATION
disturbed, and this is causing the Epipolar Threshold to remove all data. Thresholds may
be raised or disabled until the desired data is seen.
• Image is too dark: Vic-3D can work with images which are fairly dim but a bright image -
just on the edge of being overdriven, but not quite - will give the best results. The area
of interest should be bright and even in both camera images. An initial guess should be
provided, if necessary.
• Image is defocused: Severe defocus can cause correlation to fail; the image should be sharp
across the entire area of interest, in both cameras. An initial guess may be necessary.
Chapter 8
To batch process multiple project files, the Batch Analysis entry in the File menu can be used.
This will display the dialog shown in Fig. 8.1. This dialogallows queueing of multiple projects
along with optional report templates for analysis.
81
82 CHAPTER 8. BATCH PROCESSING DIALOG
not present in the recent files menu, the folder icon can be pressed to select the project file via a
file dialog.
An optional report template can be added in the same manner. After all images in a project
have been analyzed, the report template is used to generate a report.
Projects can be removed from the queue by selecting them in the listbox and pressing Delete
or Backspace.
Once all projects have been queued, the analysis can be started by pressing the Run button.
The coordinate system in which the measured data is presented can be selected in a variety of
ways. If no user selection is made, the default coordinate system is determined from the stereo
transformation between the cameras. The origin is placed at the mid-point of the stereo rig’s
baseline and the X-axis coincides with the baseline. A common transformation is to use an
automatic plane fit to the reference image, which can be enabled in the post-processing options
of the analysis dialog (see Section 7.4.1 for details).
! The auto-plane fit option results in a data-dependent coordinate system. If the data
has to be registered to other data, e.g., a second stereo system, finite element data or
a world coordinate system established externally, the auto-plane fit option must be
turned off.
The following tools are available for establishing coordinate systems and applying them to
data sets:
83
84 CHAPTER 9. COORDINATE SYSTEMS AND TRANSFORMATIONS
• Compute cylinder transformation - select a polar coordinate system, for nearly cylin-
drical surfaces
• Apply cylinder transformation - apply a saved polar coordinate transform
• Multi-view registration from rigid motions - register two or more Vic-3D systems
into a common coordinate system based on rigid motions of a speckled object.
• Coordinate system from markers - determine a coordinate system from known fiducial
points.
A new coordinate system may be chosen by selecting Data. . . Coordinate tools. . . Select
coordinate system from the main menu bar.
The dialog in Fig. 9.1 will appear.
Selecting this option allows the designation of the coordinate origin as well as the x-axis. After
selecting, the first point clicked in the image becomes the coordinate origin. The second point
clicked indicates the direction of the positive x-axis. The direction of the z-axis will be determined
from the best plane fit, and the new y-axis will be normal to both.
This transformation is useful when both a specific origin point and an orientation
are desired; for instance, the origin could be a crack tip and the axis could be the
direction of the crack opening.
This is a convenience function, identical to the above except that the Y-axis is chosen.
86 CHAPTER 9. COORDINATE SYSTEMS AND TRANSFORMATIONS
The transformation will be saved under the name entered. At this point a prompt appears,
allowing immediate application of the transformation.
1. If there is no transformation stored in the project, a prompt is displayed that gives the
option to use a transformation stored in a different project file. If this option is confirmed,
a file dialog is displayed to select the project file that contains the desired transformation.
2. If the project contains coordinate transformations or after a different project file has been
selected in step one above, a dialog is displayed to select the coordinate transformation
that is to be set as the new project coordinate system.
9.2. APPLYING COORDINATE TRANSFORMATIONS 87
Once the coordinate system has been selected, it is then applied to the camera extrinsic
parameters so that future correlation analysis and retriangulations will produce data in the
selected coordinate system.
! This method does not apply a transformation to any data that already exists in
the project. To retriangulate existing data in the new coordinate system, the Re-
store/Retriangulate post-processing function can be used as described in Section 10.5.
Displacements only is checked, the translation components will be applied as well, altering the
displacement vectors’ magnitude.
! If strains are present in the input data, a warning will appear indicating that they
will not be transformed. It will be necessary to recalculate strain for the x and y
components to be correctly aligned with the new coordinate system.
A polar cylindrical origin in Z and Theta may be selected by clicking in the blue data region
of the image. If a reference coordinate other than (T heta = 0, Z = 0) is desired, values may be
entered in the Reference Point box.
A cylindrical fit will be automatically determined by the software. An initial radius guess
may be entered in the R [mm] box; this radius may be forced by clicking Use fixed radius.
The fit will normally succeed without entering a radius. If the data is very sparse or
ill-formed, entering a radius may become necessary.
The calculated radius and standard deviation are displayed. Click OK to name the transfor-
mation, and optionally apply it to the data.
New variables R, Z (cylinder), and Theta as well as dR, dZ (cylinder), and dTheta will be
added to the results. These indicate the radius (distance from the polar axis), axial coordinate,
and rotation angle (in radians).
The first method uses a sequence of images where a rigid object that is visible in all systems
that are to be registered is translated and rotated. This is similar to a sequence of regular
calibration images. There does not need to be any overlap in the field of view of the systems,
but a speckle pattern must be visible in all systems that need to be registered. This method
provides the best accuracy and the analysis procedure is no more difficult or time consuming
than the second method.
The second method, using overlapping regions between adjacent Vic-3D systems, has the
advantage that a single image is sufficient and no object motions are required. This comes at
the expense of accuracy and only works if the systems have a sufficiently large overlap. The
analysis requires that a correlation be performed from one system to the other, and finding an
intial guess for this analysis can sometimes be challenging.
The third method, using known marker locations, only requires a single image in which
the markers are visible and the image analysis is straightforward, particularly if the marker
locations are available in a text file already. Due to the limited accuracy of this method, it is
only recommended for registering data to external coordinate systems, e.g., finite element data.
The following sections describe each of the methods in more detail. The most common
mistake when registering coordinate systems is to forget to turn off the auto plane-fit mode when
analyzing the data, see Section 7.4.1.
1. Set up Vic-Snap for multi-system acquisition or, if not using Vic-Snap, name the image
files with an identifier -sysN- before the image number, where N is the system number.
2. Acquire calibration images for each system.
3. Acquire synchronized images of a rigid object with a speckle pattern visible in each system.
This sequence should contain the maximum rotations possible within the depth-of-field.
4. Create a project for each system and perform a calibration and an analysis of the motion
sequence and ensure that auto plane-fit is turned off.
5. Use the multi-view registration dialog to determine the coordinate transformations between
the systems.
9.4. COORDINATE SYSTEMS REGISTRATION 91
6. For each system, set the coordinate system found in the previous step as the default system
and store the project.
More details of the experimental procedure can be found in an application note. This section
addresses only the last two steps of the analysis process.
1. The menu entry Data.. Coordinate Tools.. Set Coordinate System can be used to set the
correct transformation as the default coordinate system.
2. A prompt appears asking whether to import a transformation from a project file for all
systems except the reference configuration. After accepting, the reference project file should
be selected in the file dialog shown.
9.4. COORDINATE SYSTEMS REGISTRATION 93
3. The correct transformation has to be selected from the list that appears, which is typically
labeled System N unless the prefix was changed when computing the transformations.
4. The project file should be saved so it can be used as a template for analyzing the displace-
ment data from the test article.
The project files created in this manner will contain the calibration for each system and the
camera orientations are set such that the data will automatically be in the correct coordinate
system when processing speckle images. There is no need for further coordinate transformations.
For further details, see Section 9.2.1.
• By far the most common mistake is to leave the auto-plane option enabled for analysis,
see Section 7.4.1 for details.
• Outliers or sparse data for one of the orientations can create large errors in the transfor-
mations. The input data for the computation should always be checked to ensure the
correlation data is accurate.
• Insufficient rotations when acquiring the rigid body motion sequence can cause poorly
estimated translation components in the coordinate system transformations. The image
sequence should maximize rotation angles within the depth of field.
While this process seems straightforward, there are a number of pitfalls that should be
avoided, particularly when registering a series of adjacent systems, e.g., a series of systems placed
around the circumference of a cylinder. It is recommended to consider using the rigid motion
based method described in Section 9.4.1 above whenever practical as it is more accurate and
more convenient. If this is not an option, however, the following suggestions might help:
• By far the most common mistake is to leave the auto-plane option enabled for analysis,
see Section 7.4.1 for details.
94 CHAPTER 9. COORDINATE SYSTEMS AND TRANSFORMATIONS
• The second most common mistake is to accidentally overwrite data files before computing
the orientations. It is recommended to create a new directory for each analysis between
neighboring systems and copy the required image and project files (with the calibrations
for the relevant systems) into that folder. A convenient structure is
project/
registration/
sys1-sys2/
sys2-sys3/
...
sysN-sys1/
Using this file structure avoids overwriting data files and ensures that errors can be traced
back to where they occurred.
• Another possible error source is insufficient overlap between the adjacent systems. This
can lead to high uncertainty in the computed transformations, and for a cylinder, might
lead to a visible gap between the last and first system in the chain.
1. The markers are first extracted in the marker editor (see Chapter 16) and labeled appro-
priately.
2. The marker coordinate system fit dialog is used to compute the transformation.
The most convenient method is to store the marker locations in a text file, which contains an
entry for each label in the following format:
label,X,Y,Z
9.4. COORDINATE SYSTEMS REGISTRATION 95
If the markers are assigned corresponding labels when they are extracted in the marker editor,
the registration can be performed with just a few mouse-clicks.
The marker coordinate system fit dialog can be shown by selecting the menu entry Data..
Markers.. Coordinate system fit. The dialog is shown in Fig. 9.10. The dialog has the following
three group boxes.
Markers
Lists the markers by their labels.
Coordinates
Lists coordinates by their labels.
New coordinate
Contains editor fields to create new coordinates or delete existing coordinates. The following
controls are available:
For the coordinate fit to work properly, markers have to be connected to coordinates, i.e.,
the correspondence between markers and coordinates has to be explicitly defined. This is
accomplished by selecting a marker and its corresponding coordinate and then pressing the
Connect button. This has to be done for all marker/coordinate pairs that are participating in
the coordinate system estimation. A connection between marker and coordinate can be broken
by using the Break button. After a connection is broken, the marker will no longer be used in
computing the transformation, unless it is connected again.
As previously mentioned, points can also be imported from a file. This can be accomplished
by pressing the Import points button and selecting the file in the file dialog that appears. If the
file contains coordinates with names matching the markers, the user is prompted whether to
make automatic connections based on marker names.
The coordinates can also be saved using the Save points button. This will store the coordinates
in a format that can later be used to re-import them.
Once at least three connections between markers and points have been made, the Calculate
button can be used to compute the transformation. This will display a dialog showing the
residuals of the fit and the triangulation errors as illustrated in Fig. 9.11. The transformation
can then be assigned a label and stored in the project file.
9.4. COORDINATE SYSTEMS REGISTRATION 97
Postprocessing Tools
Once the initial position and displacement fields are calculated, several tools are available for
processing the data.
99
100 CHAPTER 10. POSTPROCESSING TOOLS
10.1.2 Preview
The effects of the calculation for a single data file may be viewed by highlighting the file and
clicking the Preview button. The resulting plot may be viewed in 2D or 3D by right-clicking, as
with a standard plot.
C = FT · F
which is computed from the deformation gradient tensor F.
Lagrange
This is the default strain tensor and is given by
1
E= (C − I)
2
Hencky
The Hencky strain, also called logarithmic or true strain, is given by
1
EH = ln (C)
2
Euler-Almansi
The Euler-Almansi tensor is given by
1
e= I − F−T · F−1
2
Logarithmic Euler-Almansi
The logarithmic Euler-Almansi strain is computed according to
1
el = ln F · FT
2
102 CHAPTER 10. POSTPROCESSING TOOLS
Engineering
In order to avoid non-sensical strains due to rigid body rotations, the engineering strain
6 dU/dX. To
is not computed directly from the derivatives of the displacement, i.e., x =
access the plain derivatives, see Section 10.1.8 above. To make the strains insensitive to
arbitrary rigid-body motion, the engineering strains are computed from the Lagrange strain
tensor in the following manner:
q
x = (1 + 2Exx ) − 1
q
y = (1 + 2Eyy ) − 1
2Exy
xy = sin −1 √
(1+2Exx )(1+2Eyy )
Biot
The Biot strain tensor is given by
EB = C1/2
Material model definitions are stored in the current user’s Documents folder, under
VIC\MaterialModels, as .json files. Additional models may be added or exchanged
with other users by placing them in this folder.
Models may be added or deleted from the store by clicking the + or - buttons. Clicking
Copy will duplicate the currently highlighted model, after which point it may be modified.
Models displayed in red have invalid parameters and must be corrected before use. For more
details on editing models, see Section 10.2.4.
10.2.3 Timestep
Certain material models are time-dependent and require a time variable.
• Selecting Constant time step will use a fixed interval for the inter-image time.
• Selecting Constant frame rate allows entry of a fixed frame rate, in 1/s.
• Selecting Time from file will cause the timestamps from an analog data file to be used.
An Isotropic Hardening Model may also be selected from None, Bilinear, or Multilinear.
The parameters are entered below. For the multilinear model each stress/strain inflection point
may be entered.
The Kinematic Hardening Model may also be selected, and the associated parameters
will be displayed and may be entered.
Strain Calculation
Note that these transformations will not affect calculated strain, nor are they necessary
in order to correctly calculate strain; the strain algorithm is, by nature, insensitive to
rigid-body displacements.
its equations. When a function is selected, the corresponding constants are displayed next to
their current values. Some constants may contain pre-defined options for the value. Selecting
any of the options in the value combo-box will set the constant to that value.
Double-clicking on any item in the list will open the respective wizard for editing.
108 CHAPTER 10. POSTPROCESSING TOOLS
10.4.3 Preview
The effects of the calculation on a single data file may be previewed by highlighting the file and
clicking the Preview button. You may view the plot in 2D or 3D as with a standard data plot.
The next page is where the actual equations are entered. There can be multiple equations and
they are separated by a new line; each should be in the form (variable)=(function definition).
Double click on a variable at left to insert it at the cursor.
After you enter your equations and click Finish, any errors will be announced and corrections
will be required before proceeding. For details on the equation syntax and built-in math functions,
please refer to Section 10.4.6.
Every function must have at least one output variable. The output variable is the information
that is stored in the data files of the project. To add one, simply click Add an output. . . There
are two things to be entered for each output. The first is the actual variable itself as used in
equations. The second is a brief description of the variable - this will be displayed in plot context
menus. The ‘X’ icon is the delete button. Clicking it will delete the associated output.
The table below lists the binary operators available in Vic-2D and Vic-3D in order of priority
(higher values mean higher priority).
10.5.2 Postprocessing
This tab contains the same postprocessing options as the initial Run dialog. The plane fit,
confidence margin option, and strain calculation may be selected here.
To complete the operation, click Start to restore the data.
114 CHAPTER 10. POSTPROCESSING TOOLS
Please note that this function returns values of 1/D and not 1/r. This will
result in a factor of 2 difference from the conventional measure.
116 CHAPTER 10. POSTPROCESSING TOOLS
10.7.2 Preview
The effects of the calculation on a single data file may be previewed by highlighting the file and
clicking the Preview button. You may view the plot in 2D or 3D as with a standard data plot.
This function computes the in-plane rotation around the local surface normal. To
compute rigid-body rotation angles for the entire data set or selected areas (Vic-3D
only), see Section 13.9.1.
10.8.4 Preview
To view the effects of the calculation for a single data file, highlight the file and click the Preview
button. Note that the context menu of the plot can be used to switch between 2D and 3D
plotting modes.
10.9.2 Preview
The effects of the calculation for a single data file may be displayed by highlighting the file and
clicking the Preview button. The resulting plot may be viewed in 2D or 3D (for Vic-3D) as with
a standard data plot.
10.10. MAPPING EXTERNAL DATA 119
By default, 3D plots display deformed data - the sum of each point’s X,Y,Z location
and its U,V,W displacement. Because of this, creating a smooth plot of 3D data like
the one above requires smoothing both Z and W.
coordinate system, at least one of the calibration target images must be acquired in the same
orientation and chosen as the reference during the calibration process. See camera calibration
for details.
The process of mapping externally acquired area data onto a data sequence is initiated by
selecting Data. . . Postprocessing options. . . Map external data from the main menu or clicking
on the toolbar.
10.10.3 Camera ID
The camera ID that was assigned during calibration of the external area sensor should be selected
here. If there is only one external camera, this should be Camera 2.
10.10. MAPPING EXTERNAL DATA 121
10.10.4 Equation
The values read from the data or image file acquired by the external sensor are passed through
an equation. The value read from the data file can be accessed through the variable v in the
equation. The default equation is simply v, i.e., the values read from the file are used unmodified.
Aside from the value, the angle between the surface normal and the camera’s optical axis can be
accessed as theta, the location of the point can be accessed through the variables X, Y and Z,
and finally, the distance of the point from the camera’s pinhole point is available as D.
For details on the equation syntax and built-in math functions, please refer to Section 10.4.6.
10.10.7 Update
The Update button can be used to verify that the files from the external sensor can be located
properly. When the update button is clicked, the software will populate the list box to the
right of the data file list box with the corresponding image file names from the external camera.
Existing files will be shown in green, while missing files are shown in red.
10.10.9 Preview
The effects of the calculation for a single data file may be viewed by highlighting the file and
clicking the Preview button. The plot may be viewed in either 2D or 3D as with a standard
data plot.
! Use this functionality with caution. Once removed, variables cannot be restored other
than by reprocessing.
To remove variables from data files, select Data. . . Postprocessing tools. . . Delete variables
from the main menu.
Only user-generated variables such as strain, velocity, etc. may be deleted. Displace-
ment, position, etc., may not be removed.
It is helpful to place at least one inspector point prior to opening the dialog; this will
give a visualization of the filtering effect. If no inspectors are placed there will be no
graphical feedback.
124 CHAPTER 10. POSTPROCESSING TOOLS
10.12.1 Validation
On startup, the time filter dialog validates the data files in the project. A progress bar in the
bottom left corner indicates the progress of this operation. For projects with a large number of
data files, this process may take some time to complete.
10.12.2 Preview
The time filter dialog can provide a preview that is updated in real time. This preview is
available if inspector points, discs or rectangles have been added to any of the contour plots in
the project. Note that the preview only becomes available after validation of the input files and
after a variable for filtering has been selected.
10.12.3 Variables
In the variable box, one or more variables can be selected to which the filters are applied. The
Replace variables check box can be used to overwrite the existing variables with the filtered
results instead of creating new variables. The Add filter names to variable check box indicates
whether the variable names of the filtered data should contain a description of the filter chain or
not.
10.12. TIME FILTER 125
This functionality is designed to work with data which has been acquired in a specific way:
for each specimen state, n image pairs should be acquired. For instance, 10 images taken at the
reference state, 10 images taken at the first load step, etc. Next, the data including all images
should be analyzed as usual.
Once the data is calculated from the speckle images, clicking Data. . . Postprocessing tools. . .
Time Average Data on the main menu will open the dialog as shown in Fig. 10.26.
10.13.1 Options
If the First group as reference box is checked, the first set of data will be averaged to create
a new reference configuration; then, this reference configuration will be subtracted from later
groups, in effect re-referencing all of the data to a new, averaged meta-reference image.
The Group size indicates the number of images taken at each stage. Only divisors of the
data file count may be selected so it is important that the correct number of input data files are
present (an even multiple of n from above).
The new data files are prefixed with the selected Output prefix.
128 CHAPTER 10. POSTPROCESSING TOOLS
10.13.3 Results
Once the computation is finished, a new set of averaged data files will appear in the project
panel under Other data as illustrated in Fig. 10.27. These data files contain the time averaged
(and re-referenced, if selected) data. For plotting purposes, each averaged file is linked to a single
input image so that 2D plots will display correctly.
of the n images to avoid any bias; ideally, the only thing changing within an image set is the
relevant noise.
This dialog operates on all data files present in the project. Additional data files may
be added prior to opening the dialog by selecting Project. . . Data files from the main
menu.
10.14.2 Preview
An individual file may be viewed by clicking the file in the Data files list box. A combined set
may be previewed by clicking the file in the tree view below that.
10.14.3 Options
The combine data dialog provides options that control how the data files are combined and
how file names are generated for the combined data files. The options are found in the bottom
left-hand corner of the dialog.
10.14. COMBINING DATA 131
Group by Index
By default, the files are grouped by index (sequence number). Clearing this check will
cause all data to be combined into one file.
Combined prefix
This field controls the name of the new data files. When files are grouped by index, the
sequence number will be added; otherwise, this will be the entire filename.
Output directory
The folder icon may be clicked to select a new output path for the files.
A much more powerful tool for applying general functions to data is available in
the Apply Function Dialog and is generally recommended for math operations that
operate on a single input data file.
10.15.2 Operation
Choose Add, Subtract, Multiply, or Divide to perform the specified operation.
10.15.3 Arguments
The Variable box is used to select the variable to operate on. Any variable in the data set may
be selected.
For a constant argument, the Constant radio button shoudl be selected; the constant is
entered below. For example, the selections in Fig. 10.32 will multiply the W-displacement value
from each data file by 10.
Data from a given output file may be used by clicking Data and selecting a data file. For
example, the selections in images_postprocessing_math_data_ss_expansion will subtract the
Z shape from the first data file, from all data files.
Clicking Start will begin; the progress bar will indicate completion. For each strain and
displacement variable in the dataset, a derivative in time will be added and can be viewed as a
contour overlay.
134 CHAPTER 10. POSTPROCESSING TOOLS
Exporting Data
Calculated position and displacement data, along with transformed and post-processed variables,
can be exported via several different options:
When viewing exported data, keep in mind that X, Y, and Z are the reference position
of each point. In Vic-3D, these values are displayed as changing through time for
visualization, but in exported data, these values will be constant through time.
135
136 CHAPTER 11. EXPORTING DATA
Comma-Separated Variable
Data entries are separated by commas. This format is understood by most spreadsheet
programs and plotting packages. Variable names are stored in the data file as comma-
separated strings in quotation marks. Exported files will have the extension csv.
Tecplot
Used for plotting the data with Amtec’s (www.amtec.com) plotting program Tecplot(TM).
Exported files will have the extension dat.
Plain ASCII
This format is plain, space-delimited ASCII text data with one data point per line. Note:
There are no variable names in the data file, and data from different AOIs is concatenated.
Exported files will have the extension txt.
STL Format
This format provides a triangulated surface compatible with many CAD programs.
11.2. EXPORTING GRID-BASED DATA 137
Matlab V4
This format provides compatibility with Matlab and many other programs capable of
reading Matlab files. Note that if multiple AOIs are present in a datafile, unique names for
each of the matrices are generated by appending increasing numbers to the variable names.
For instance, the X-coordinate for the first AOI will appear as X in the matlab file, and
for the second AOI it will appear as X_0 and so forth.
If none of the available file formats fit your needs, please contact sup-
port@correlatedsolutions.com to discuss implementation either inside Vic-3D or using
a Python script.
11.2.2 Options
To change the sample interval in pixels, adjust the Sample step value. A value of 1 will sample
every pixel; higher values will result in a sparser data set.
To export blank values to the output file, with a value of 0, check the Export blanks box. If
this box is cleared, blank data points will not be present in the output file.
11.3.3 Variables
The desired output variables may be selected here.
Single file
This option writes all data in a single file. There are two choices for the arrangement of
the data:
140 CHAPTER 11. EXPORTING DATA
• Data in columns: Each data point is in a separate column, i.e., the rows can be
thought of as the time axis. For this data arrangements, the analog data from the
project can be added as additional columns.
• Data in rows: Each data point is written to a separate row and consecutive data
files are separated by the number of blank lines specified in the spin box.
11.4.1 Statistics
The deesired measures may be checked or cleared to include or exclude them from the statistics
file.
11.4.2 Variables
In this section the desired variables may be selected. By default, all metric variables are included,
while correlation and pixel variables are excluded.
11.4.4 Exporting
The calculation can be executed by clicking Ok. A file dialog will appear, and the data will be
exported to the selected .CSV file.
142 CHAPTER 11. EXPORTING DATA
VDI target analysis may be initiated by clicking Data. . . Analyze VDI targets. A stereo
calibration is required for this process.
After clicking, the following dialog will appear.
Any VDI target definition files found in the folder will automatically be populated in the
VDI Targets list. Additional targets may be added by clicking the + button; extra targets may
be removed by clicking -.
VDI target images may be added by clicking Add files at the lower left.
As soon as the target images are added, AOI definition will begin. Successfully extracted
images are marked in green; images where extraction failed are marked as red. The subset size
will be auto-selected, if more flexibility is required this can be overridden with the checkbox and
spinwheel selection.
Once all images have been processed, the Start analyis button will be enabled; clicking
it will cause analysis to begin. A log window will appear to show the process of initial guess
generation and speckle analysis.
Analysis may require several minutes. Once it is complete, the calculated VDI 2626 values
are displayed in the log window. If remove VDI out files is checked, the temporary data files will
be deleted after completion of the target analysis.
The resulting residual strains, displacements, and projection error may be visualized by
clicking the Plot tab.
The VDI analysis results are also added to the current project as CSV files. The data
contained therein may be referenced in report templates.
143
144 CHAPTER 12. VDI TARGET ANALYSIS
Plotting Data
There are two main facilities to visualize and work with DIC data in the software. For interactive
inspection, 2D plots and 3D plots can be used in the main workspace to visualize data as a
three-dimensional plot with or without color contour overlay, or as a two-dimensional contour
plot overlayed over the speckle image. The two-dimensional plot provides facilities for extracting
data from sequences, as well as extracting slices of data.
3D Plot 2D Plot
151
152 CHAPTER 13. PLOTTING DATA
• exx [1] - strain in the X-direction. Positive numbers indicate tension; negative numbers
indicate compression.
• eyy [1] - strain in the Y-direction.
• exy [1] - shear strain.
• e1 [1] - the major principal strain.
• e2 [1] - the minor principal strain.
• gamma [1] - the principal strain angle in radians, measure counterclockwise from the
positive X-axis.
Velocity Variables
• dU/dt [mm/s] - the rate of change of the U-displacement; that is, the velocity of a given
point in the X direction.
• dV/dt [mm/s] - velocity in the Y direction.
13.4. THE PLOT TOOLBOX 153
Curvature Variables
Rotation Variables
If Show pixel info is checked, an inset will display data when the mouse is moved over the
plot contents.
Three Range types may be selected for the Contour variable and the Axis range:
• Fixed range uses a static range that may be selected with the tool buttons above (global
or current) or entered manually.
• Expanding adjusts to each image but will only get larger.
• Local range adjusts to each image.
The Page aspect ratio can also be controlled here, while the Background color picker
sets the color of the page background.
When viewing a 2D plot, the Inspector tools shown in Fig. 13.2 will be present.
The Outlier suppression pulldown allows scaling to include or remove outliers; the Auto
selection will use the full scale unless outliers are present.
Material color sets the base color for the surface plot. Winding determines the direction
of the mesh winding, for shading.
The Speckle image may be toggled and the selected image and image brightness may be
controlled.
If Show contour is checked the data will be overlaid on the surface; the opacity is adjustable
as well.
Display of the material mesh can be toggled with Show wireframe mesh, and the color
and radius of the mesh are adjustable.
The Show nodes control causes data nodes to be displayed; the color and radius of the
nodes is also user-adjustable.
Minor and major strain direction vectors may be displayed, as well as displacement
vectors. Various vector parameters may be adjusted here.
If Prevent rescaling is checked, the axis limits will not be automatically adjusted when
the sequence is updated (e.g., by reprocessing the data).
Controls are also avaiable to set the size of the Axis amrgin; to control the color of the
axes and planes; and to adjust the lighting intensity for each source.
The Variable and Unit (inches, mm, etc) may be selected here. If Custom is selected from
the pulldown, a custom unit name and factor may be entered. The custom factor is in terms of
the original unit [mm].
The Range bar has draggable controls for adjusting the contour limits; clicking the # button
allows direct entry of the limits.
If Prevent rescaling is checked, the contour limits will not be automatically adjusted when
the sequence is updated.
Controls are available for the opacity of the overlay as well as the color map choice and
number of color levels to render.
13.4. THE PLOT TOOLBOX 157
Controls are also available to toggle the display of isolines and set their thickness and color,
as well as to set the appearance of the legend bar. The font and color of the text as well as the
number format are set with the controls at bottom.
The Range may be set with the range bars, or numerically by clicking #.
Controls are available for the number and labeling of the ticks; there are also controls for the
font and style of the axis title. If the Automatic label checkbox is cleared, an editor appears
and custom text may be entered.
158 CHAPTER 13. PLOTTING DATA
If the Attach to pulldown is set to Parent, the indicator will move when the plot is
repositioned. If the pulldown is set to Page, it will remain where it was placed when the plot is
moved.
The exact position and appearance may be set using these controls. If the Border corner
width is above zero then the inset box will have rounded corners.
13.5. 3D PLOTS 159
13.5 3D Plots
Three-dimensional plots of analyzed data may be displayed in Vic-3D in both the analysis
workspace and the iris workspace.
In the analysis workspace, a 3D plot may be displayed by double-clicking on a data file in
the Data tab of the project bar. In the iris workspace, a 3D plot is added by clicking the 3D
button in the top toolbar and clicking within a page to add.
A plot will be displayed in the workspace as shown in Fig. 13.11.
• The Contour variable submenu can be used to select the variable to display.
• Select Show 2D Plot from the context menu will switch to a 2D view; the 2d main toolbar
(see Section 2.10).
• The 3D View Angle submenu is used to select a perfectly planar view or to revert to the
default view.
• The Show axis planes option toggles the display of the three background planes.
• Clicking Change legend orientation toggles between a horizontal and vertical legend.
• The Tools submenu duplicates the scaling and alignment tools in the Plot tools.
• Copy copies the current plot to the clipboard; Save allows saving a screenshot of the plot
as an image file.
• The Export options allow exporting a PDF, image, or video; more details can be found in
Section 13.7.
13.6. 2D PLOTS 161
Clicking Detach will keep this plot static, rather than updating it, each time a new data file
is clicked in the Data panel (see Section 3.3.2 for details).
To change other plot parameters, such as axis ranges, contour line display, contour levels,
etc., controls are provided in the Plot toolbox; see Section 13.4 for details.
13.6 2D Plots
In the analysis workspace, a 2D plot of the data can be displayed by double-clicking on a data
file in the list view to the left of the workspace, and then clicking 2D in the main toolbar or
clicking Show 2D plot in the plot context menu. In iris, a 2D plot may be added by clicking the
2D button in the toolbar and then clicking within a page.
A plot will be displayed as shown below.
• The Contour variable submenu can be used to select the variable to display.
• The plot may be switched to a 3D plot by selecting Show 3D Plot from the context menu,
or by clicking 3D in the main toolbar.
• Clicking Show camera 2 will change the underlying speckle image to the other camera
view.
162 CHAPTER 13. PLOTTING DATA
• The Show min. value and Show max. value options will flag the minimum and maximum
valued data points with small labels.
• By default, data is displayed in the deformed location on the deformed image. If Show
reference data is clicked, the same contour data will be overlaid on the reference image.
• Clicking Change legend orientation will toggle between a horizontal and vertical legend.
• Clicking Statistics will display a summary of data for the current image, for the currently
selected contour variable.
• Copy copies the current plot to the clipboard; Save allows saving a screenshot of the plot
as an image file.
• The Export options allow exporting a PDF, image, or video; more details can be found in
Section 13.7.
• Clicking Detach will keep this plot static, rather than updating it, each time a new data
file is clicked in the Data panel (see Section 3.3.2 for details).
To change other plot parameters, such as axis ranges, contour line display, contour levels,
etc., controls are provided in the Plot toolbox; see Section 13.4 for details.
• Inspect point: selecting this tool allows placement of a probe by clicking in the plot. The
value for the currently selected contour variable, at the chosen point, will be displayed.
• Inspect line: after selection of this tool, a line may be drawn by clicking the start and end
points in the plot. The value will be displayed at each node.
13.7. EXPORTING VIDEOS 163
• Inspect polyline: when this tool is selected, clicking in the plot will add a polyline point,
and double-clicking will complete the polyline. The value will be displayed at each node.
• Inspect polygon: when this tool is selected multiple points may be clicked to define a
polygon. Values will be displayed at each node; the average will be extracted.
• Inspect circle: this tool allows clicking to define a center and again to define the radius of
a disc. The average value will be displayed at the center node.
• Inspect rectangle: the rectangle tool allows clicking of two points to define the corners of a
rectangle. The average value will be displayed at the center node..
• Extensometer: after selection of this tool, two points may be clicked to define a virtual
extensometer between the two points.
The second row of tools contains: - Pan: the pan tool allows dragging of the plot within the
window, or adjustment of existing control points by clicking and dragging. - Delete: when the
delete tool is selected, inspector items may be clicked to delete. - Virtual Strain Gauge: when a
Line inspector item is selecting, clicking this icon opens the Virtual Strain Gauge Extraction
dialog. - Extract: a simple click opens an Extraction Plot. A long press provides a menu with
additional options; see Section 13.9 for details.
extraction plot can be generated even if no inspector items are present. In this case, only the
average values will be available for plotting. Depending on the types of inspector items that
have been added to the contour plot, different plot types will be available:
A long press on the ( ) button will allow selection of Complex plot extraction
• Average corresponds to the average value from the entire data set.
• P0, R0, C0, etc. are the values corresponding to inspector tools (points, rectangles, circles
etc).
• Analog data corresponds to CSV data added to the project. This is normally a file generated
by Vic-Snap.
After the variables for X or Y have been selected from the menus, the apply button on the
right must be pressed to apply the changes. Note that the change applies to all X/Y pairs
selected in the list box.
To delete an X/Y pair, the item must first be selected in the list box, followed by pressing
the Delete button.
New X/Y data pairs can be added to the plot by first selecting the New item in the list box
at the top. Then, the data source and variables can be selected from the drop-down menus and
the new X/Y pair is finally created by clicking the Add button.
To export plot data, the Export button can be pressed to bring up the Export data wizard.
166 CHAPTER 13. PLOTTING DATA
• Cursor: select from axis indicators for X, Y, or both axes; select Snap Cursor to display
the value reading closest to the cursor.
• Copy: copies the plot to the clipboard.
• Save: select to save the plot as a graphics file.
• X/Y axis scale: submenus allow changing between linear and logarithmic axis scaling.
• Settings: click to access the plot settings.
• Quick help: display a brief overview of the plot navigation controls.
of the extraction tool box as illustrated in Fig. 13.24. If both points and extensometers are
present, the entry Points and extensometers will also be available to show extensometer and
point extraction data in a single plot.
The strain displayed here will not necessarily match the strain computed in the Strain
dialog, depending on the tensor you have selected. The extensometer strain is a simple
length calculation and does not account for bending, etc.
• Graph style: select from lines, points, or both. If Points is selected, you can use the snap
cursor to evaluate values at specific locations in the plot. With Lines selected, the snap
cursor will give an interpolated value.
• Show legend: click to show or hide the legend.
• Legend position: select the location of the displayed legend on the plot.
13.8. EXTRACTION PLOTS 171
The second tab applies to time extraction only. You can select whether to highlight the
currently displayed data file; and select which data files to plot. All are plotted by default.
The third tab applies to line slice extractions only.
Under Mode, you can choose to display lines for the current file and the select files; only the
current file; or only the selected files (select files from the list below). You can also adjust the
style of the non-selected lines as well as the color for them.
Select the files to be extracted from the list at the bottom.
By default, 200 points are created along the extracted line. Since the line does not necessarily
pass through exact data points, data points are interpolated at equidistant intervals along the
line. The number of sample points can be changed by pressing the Change button. This will
display an spin box control where the desired number of points can be selected. Note that
changing the number of points results in the data being extracted again. The progress of this
operation is indicated in a progress bar at the bottom of the plot window.
• Ordering: select row index to have a row for each file (most common), or column index to
have a column for each file (useful for making waterfall type plots).
• Coordinates: if you select reference coordinates, the XYZ values will not change over time.
Select deformed coordinates to add UVW deformation to the XYZ values, making them
change with time.
Holding the button will allow selection of Complex plot extractions via a dialog box.
While the simple extraction is limited to average values, complex extractions allow selection
of statistical functions (minimum, maximum, mean, median, standard deviation) with the
Statistics group.
The Data Files group allows selecting a subset of data.
13.9. COMPLEX PLOT EXTRACTIONS 173
Extracting a limited number of data files can improve extraction speed when accessing
a slow or networked drive.
cos(β) cos(γ) sin(α) sin(β) cos(γ) − cos(α) sin(γ) cos(α) sin(β) cos(γ) + sin(α) sin(γ)
R = cos(β) sin(γ) sin(α) sin(β) sin(γ) + cos(α) cos(γ) cos(α) sin(β) sin(γ) − sin(α) cos(γ)
− sin(β) sin(α) cos(β) cos(α) cos(β)
174 CHAPTER 13. PLOTTING DATA
The translation component of the rigid body transformation can be computed from the location
of the area’s centroid X0 , Y0 , Z0 and the average displacement as follows:
Ū
X0
X0
T = V̄ + Y0 − R Y0
W̄
Z0
Z0
Note that the transformation given by R and T transforms reference coordinates into the
deformed state.
Check Add deformation to shape to add the variables Xd, Yd and Zd to the data set.
These are the deformed values (X +U ), (Y +V ) and (Z +W ).
The dialog may be opened by clicking the icon in the Inspector Tools. One or
more line inspectors must be present to enable the tool.
176 CHAPTER 13. PLOTTING DATA
The VSG tool generates data extractions along an inspection line for a specific data file. The
line may be chosen with the Extraction line pulldown at the top left, and the data file may be
specified with the Data file pulldown.
The strain computation tensor type can be selected, as well as the minimum and maximum
filter sizes. The Filter step size sets the increment between analyzed filter sizes for the waterfall
13.10. THE VIRTUAL STRAIN GAUGE DIALOG 177
plot. Additional strain variables (Tresca strain, von Mises strain, raw gradients) can also be
incorporated into the extractions using the relevant checkboxes.
Some correlation parameters (subset size and step size) are shown and available to edit as
well. These parameters are important for determining the the final VSG size. For simple AOIs,
the parameters shown by default will be the ones used in data analysis. However, when there is
more than one AOI, or there are AOIs with different subset size and step size, the controls should
be enabled and the values should be edited to match the paramters of the specific relevant AOI.
The extraction process generates a series of graphs for the chosen inspection line and file,
with each graph corresponding to a filter size within the selected range, using the chosen step. A
preview of the extracted data can be viewed by pressing the preview button. The user can select
the displayed strain variable by right clicking on the preview plot and using the strain variable
menu.
The legend on the plot displays the VSG size in pixels. If the average pixel magnification is
available, it will also indicate the size in millimeters.
178 CHAPTER 13. PLOTTING DATA
Anaysis settings may be adjusted and the result viewed by clicking Preview. Once the
settings are finalized, clicking OK will genereate a plot and display it in the analysis workspace.
The plot data may also be viewed in the iris workspace.
The VSG plot may easily be duplicated in iris by using the Multi. . . tool in the line
plot controls.
Chapter 14
The iris visualization framework provides a workspace for generating both static and animated
plots of DIC and imported data, e.g., FE meshes. Some of the features include:
• High resolution rendering for bitmap content and scalable fonts and graphics for publication-
quality output
• Most properties can be animated, e.g., position, opacity, rotation, viewing angles etc.
• Motion-tweening with a variety of easing functions
• Adaptive motion blurring for realistic video output
• Data can be interpolated in time to provide smooth high framerate video output from
sparse data
• Document and page templates
• Main toolbar - has controls for inserting new objects like plots and images; alignment
controls; and buttons for exporting PDF and video.
179
180 CHAPTER 14. DATA VISUALIZATION IN IRIS
• Text boxes
• 2D plots
• 3D plots
• Extraction plots
• Static images
• Image sequences
the stationary object, i.e., all other objects in the selection are aligned to the last object selected.
The align menu is shown in Fig. 14.4.
• Center horizontally - Centers the selected objects horizontally with respect to the page
• Center vertically - Centers the selected objects vertically with respect to the page
• Align left - Aligns the left side of the selected objects
• Align center horizontally - Centers the selected objects horizontally with each other
If pressing a shortcut key does not have any effect, the editor does not have keyboard
focus. You can briefly zoom in and out with the wheel to give focus to the editor.
14.2.1 Pages
All elements in the iris editor are displayed on Pages. Through the use of multiple pages,
elements like plots and images can be made to come and go from the document. All iris projects
consist of one or more pages. Each page contains an independent set of elements and timelines.
To add, edit, and remove pages, right-click on the page in the page navigator to bring up the
context menu seen in Fig. 14.5. Selecting “Page Up” or “Page Down” on the keyboard will allow
users to quickly navigate through pages.
A single blank page may also be added by clicking the icon in the toolbar.
Pages may be reordered by dragging them to the new desired position between two existing
pages or before/after the first/last page.
14.2.1.1 Transitions
Transition properties for individual pages may be accessed by selecting the page in the navigator
and editing the Page Transition settings in the sidebar at the right of the workspace.
184 CHAPTER 14. DATA VISUALIZATION IN IRIS
Default options for transitioning from one page to the next are accessed through the Document
Properties. The duration of an empty page may also be selected there; for non-blank pages, the
duration ends after the last keyframe.
The time within the page (for preview display only) may be edited with the Time control in
the right sidebar.
14.2.2 Templates
Templates are used to simplify reproduction of iris documents for new data. Right-click on the
page in the template menu to bring up the context menu seen in Fig. 14.6.
To begin using templates, click the icon on the main toolbar with no existing iris document
to view the template chooser. For more information, see Working with Templates.
14.2. PAGES, TEMPLATES AND BACKGROUNDS 185
14.2.3 Backgrounds
Backgrounds are fundamentally identical to pages, except that they are static and do not have a
timeline. Backgrounds can be used to give a consistent appearance to videos through headers,
logos, background graphics, etc. Backgrounds may be manipulated by right-clicking on the
background in the navigator to show the context menu, illustrated in Fig. 14.7.
Selecting Set as default will make the chosen background the default for new pages. To
apply the selected background to all existing pages or template pages, select Set for all pages
or Set for all templates.
Once a template document is chosen, the templates from the document will be displayed
under Templates in the navigator view at left. The navigator pane is shown in Fig. 14.9.
To use templates, right-click in the Pages navigator at left to bring up the pages context
menu shown in Fig. 14.10.
Selecting Insert template displays a submenu of available templates shown in Fig. 14.11.
Clicking a template will cause it to be added as a page.
Multiple pages may be inserted by holding the icon in the toolbar, this selection is shown
in Fig. 14.12.
Single-clicking on a thumbnail will add it to the document; pressing Escape or clicking outside
the menu will close it.
The template may be given a descriptive name using the Name field in the Base tools,
shown in Fig. 14.14.
Editing templates is functionally identical to editing pages in most cases. For text boxes, the
toolbar will contain a Use as template checkbox which can be seen in Fig. 14.15.
When this box is checked, the entered text becomes a placeholder, and the text will not be
included in iris output unless edited.
The placeholder text may be used for tips to the template user, e.g., “Double-click to
edit Title” or “Enter sample ID here”.
To copy an existing page for reuse as a template, right-click on the page in the Pages
14.2. PAGES, TEMPLATES AND BACKGROUNDS 189
navigator and select Copy to templates. The page is added to the template navigator and
can then be chosen within the project.
To save the templates from a project as a reusable template file, select Save as iris template
from the Iris Tools menu.
Templates should be saved in the folder chosen by iris for easy access from the
Template Chooser.
• 2D plots
• 3D plots
• Image sequences
• Extraction plots
• Text boxes
• Static images and masks
• Mesh data sequences
• Ellipses, rectangles and polylines
• The Base tool controls positioning, alignment, scale, rotation, and depth.
• The Data tool controls data sources, time, and interpolation.
• The Legend tool sets contour variables and settings and legend settings and fonts.
• The Variable tool allows control of data sources and extractions.
• The Axis tool controls placement, format, and style of the x- and y-axes on various plots.
192 CHAPTER 14. DATA VISUALIZATION IN IRIS
14.3.3 2D Plots
To insert a 2D plot in iris, click the icon, and then click once in the document workspace
to insert a 2D plot box. The 2D plot can be edited by clicking on the image once to move the
position of the entire plot and double clicking to move the image in the 2D plot window. Clicking
on the 2D plot will also bring up the 2D plot properties, which can be adjusted in the sidebar.
14.3.4 3D Plots
To insert a 3D plot in iris, click the icon, and then click once in the document workspace
to insert a 2D plot box. The 3D plot can be edited by clicking on the image once to move the
position of the entire plot and double clicking to move the image in the 3D plot window. Clicking
on the 3D plot will also bring up the 3D plot properties, which can be adjusted in the sidebar.
To add a sequence of images, click the icon on the main toolbar. Import an image sequence
from any source to use in iris animations.
The image sequence properties are set using the data tool in the sidebar. Predefined image
sources (speckle images, calibration images) may be selected; an arbitrary image list may be
chosen by selecting Add Image Sequence from the Iris Tools menu, or by using the sequence
manager.
If you are selecting images from a DIC experiment, only one camera’s images should
be added for a smooth sequence.
The size and appearance of the image sequence and axes are set using the shared all tools,
while the position and rotation of the image sequence are set using the base tool.
The 2D plot’s X and Y-Axis properties can be set by using the common x- and y- axis tools.
14.3. GRAPHIC ELEMENTS 193
The x/y axis display is off by default because an image sequence only contains pixel
coordinates, not metric data.
• Average corresponds to the average value from the entire data set.
• P0, R0, C0, etc. are the values corresponding to inspector tools (points, rectangles,
circles etc).
• Analog data corresponds to CSV data added to the project. This is normally a file
generated by Vic-Snap.
After the variables for X or Y have been selected from the menus, the apply button on the
right must be pressed to apply the changes. Note that the change applies to all X/Y pairs
selected in the list box.
To delete an X/Y pair, the item must first be selected in the list box, followed by pressing
the Delete button.
To add multiple X/Y pairs, select the Multi. . . button. Once selected, the Options for New
Plots dialog will appear with selectable options and extraction objects, shown in Fig. 14.17.
New X/Y data pairs can be added to the plot by first selecting the New item in the list box
at the top. Then, the data source and variables can be selected from the drop-down menus and
the new X/Y pair is finally created by clicking the Add button.
Selecting an X/Y data pair plotted will expand he Charts window to customize the color,
line style, line width, and markers placed, as seen in Fig. 14.18.
If Automatic Name is selected the name will be chosen based on the data; if this is cleared
a name may be entered manually and edited with the style tools. If Show in legend is selected
the name will also be displayed in the plot legend.
The interpolation control selects the interpolation (linear or nearest neighbor) used when
the plot is animated.
194 CHAPTER 14. DATA VISUALIZATION IN IRIS
Line and marker colors, size, and style may be edited with the associated Line and Marker
tools. Markers may be disabled, shown everywhere, or shown only at the end of the plot. If
Running plot is selected, the plot will be displayed up to the current Time, allowing the plot
to be animated. If Use deformed variables is checked, the position variables X, Y, and Z will
have deformation (U, V, and W) added before plotting.
For line slice plots, additional time controls are displayed as shown in Fig. 14.19. If Animate
Graph is checked the graph time will be the time selected or animated via the all tools. If this
box is cleared, the plot will be displayed for the static time selected in Graph time.
The default color for the legend background has an Alpha (opacity) of 0. To make
the background color visible, increase the Alpha value in the color chooser. An Alpha
value of 255 corresponds to fully opaque.
14.3.6.3 All
The height and width of the extraction plot within the plot window as well as the appearance of
the plot and axes are controlled with the shared all tools.
The text may then be edited by double clicking on the text box. Entering a ‘#’ at the beginning
of a line will automatically create a numbered list. Entering ‘-’ or ‘*’ at the beginning of a line
will automatically create a bullet list.
Text box properties may be adjusted using the sidebar tools, as shown in Fig. 14.21.
The width and font size can be adjusted here, as well as the text justification.
198 CHAPTER 14. DATA VISUALIZATION IN IRIS
Select text within the box by holding Shift and using the arrow keys. When text
is selected, font and style options will apply to selected text only; when no text is
selected, the entire text box will be modified.
The Time control refers to the position within the data, when numerical data is present. The
time control is animatable.
If Use deformed variables is checked, the position variables X, Y, and Z will have
deformation (U, V, and W) added before display.
• To add an ellipse or rectangle, click the or icon in the main toolbar. Click and then
drag in the workspace to draw the shape. Properties can be adjusted with the View tool
in the toolbar shown in Fig. 14.24.
• Rectangles give one additional option for rounded corners, allowing you to adjust the radius
shown in Fig. 14.25.
The Line Color controls the color of the outline; the Brush Color controls the fill color.
The thickness of the outline is controlled by the Line Width.
• To add a polyline or polygon, click the icon. Click once in the workspace to define the
first point; click additional points to add, and then double click to finish. Properties are
adjusted with the View tool shown in Fig. 14.26.
To force the polyline segment to 45 degree angles, hold Shift while drawing.
A polygon may be created by selecting Closed to join the first and last point. Checking the
Fill box will cause the interior area of the polyline to be filled with the brush color. An arrow
style and size may also be selected.
14.3. GRAPHIC ELEMENTS 201
• The before and after effect of clipping can be seen in Fig. 14.28 and Fig. 14.29.
• When clipping objects the scale and the position are animatable.
The clipped object can be animated to show or hide objects as well as bring
focus to certain areas within a 3D plot.
202 CHAPTER 14. DATA VISUALIZATION IN IRIS
Winding refers to the direction in which faces are defined and is used to determine
the illuminated face. Vic-3D data and most mesh data is clockwise wound. If the
direction is unknown, selecting Ignore usually gives a good result.
Show speckle image displays the speckle image along with the contour variable, unchecking
this will show only the color gradient. The Brightness/Contrast slider allows you to adjust
the top slider to control the minimum brightness, and the bottom slider to adjust the minimum
and maximum grey values. Show contour enables or disables the contour variable on the 3D
plot.
If Show wireframe mesh is checked, a mesh of data points will be displayed. The radius
and color of the wireframe may also be adjusted. The Contour opacity control sets the opacity
of the contour coloring applied to the wireframe
204 CHAPTER 14. DATA VISUALIZATION IN IRIS
When Show nodes is checked, individual data points will be individually drawn as spheres.
The radius and color controls below affect the display of the nodes. The Contour opacity
control adjusts the opacity of the color overlay.
A variety of vectors may be displayed on the plot. The Show minor strain direction and
Show major strain direction checkboxes toggle the display of minor and major strain direction
ticks. Checking Show displacement vectors will show arrows indicating displacement of the
data points.
For these vectors, the Vector skip control adjusts the density of displayed vectors; a value
of 1 displays a vector at every data point. The radius (thickness) of the vector may be adjusted;
the Head size and Head length adjust the appearance of the arrowheads on displacement
vectors. The Length multiplier control scales the overall length of the displayed vector. THe
color and contoour opacity are also selectable.
14.3. GRAPHIC ELEMENTS 205
Properties for a single marker may be edited by selecting the marker in the Markers list
and clicking Edit. This will display the Marker Properties dialog.
Show markers displays the markers on the ends of each connection. Marker radius
adjusts the size of the markers on the ends of each connection. Show marker contour enables
or disables the contour overlay on displayed markers, while Show marker labels toggles the
display of the associated marker name.
When marker labels are disaplyed, the Label controls affect their appearance and font.
Show connections enables or disables the connections between the markers. Show con-
nection contour enables or disables the contour variable on the connections between the
markers. Marker color is the color of the 3D markers. Connection color is the color of the
connection between the markers. Connection radius adjusts the size of the connection between
the markers. Number of tracers adds phantom tracers in for the locations of the marker
throughout time. Tracer opacity and tracer cut-off time adjust the opacity of tracers and
the length of time they remain.
206 CHAPTER 14. DATA VISUALIZATION IN IRIS
• For image sequences, a sequence source can be chosen. The Speckle and Calibration image
sets are always available. An arbitrary image set can be made available by choosing Add
Image Sequence from the Iris Tools menu or by using the sequence manager. The
image set will then appear in the Data source pulldown.
When project speckle images are the data source, a Camera Id control appears to allow
display of images from camera 0 or 1.
To call on a variable from the variable tool, double click the text box and replace the text
with ${. . . }, making sure to put the number corresponding with the variable being recalled from
the variable tool. Once the text has been replaced, click outside the text box to confirm. The
data from the called variable will now appear in the text box.
In order to add or use a variable in the variable tool, the user must first create an
extraction in the 2D workspace.
Sequences may be added by selecting “New”. Once a sequence is added to the iris project,
it may be selected as a data source for the relevant element (images for image sequences,
triangulated data for 3D plots, etc.)
Sequences may be imported from a different iris project file by clicking Import from other
project file.
Where data has been recalculated or processed, Force update sequence will cause the
data to be reloaded and new scaling applied.
In cases where sequences have a differing number of frames (e.g., if data was only run for
every other image), the Sync: pulldown may be used to synchronize the animation. The relevant
sequences should be synchronized to the sequence with the fewest frames. When objects based
on the synchronized sequences are added to the workspace and given the same keyframes and
easing, they will be synchronized to each other in time.
Once the sequence name is given, the dialog window shown in Fig. 14.37 will appear.
Prompting the user for additional information regarding the data source. If “Coordinates are
deformed” is selected, then the displacement variable selection will be disabled.
To insert a 3D VTK plot in iris, click the icon, and then click once in the document
workspace to insert a 3D plot box. The 3D plot can be edited by clicking on the image once
to move the position of the entire plot and double clicking to move the image in the 3D plot
window.
The data source of the 3D plot may be changed in the plot properties.
14.4.1.2 View
The visual appearance of the 3D plot and axes are set using the shared view tool.
14.5. WORKING WITH KEYFRAMES 211
If a property value is specified at two or more keyframes, iris will smoothly interpolate the
value between keyframes to create an animation of text moving, a graphic zooming in, a plot
animating through time, etc. The Interpolation can be linear, or easing options can be selected
for more natural appearing transitions.
Every value or attribute that can be animated using keyframes is indicated with an icon
next to the relevant control, and these attributes are referred to as animatable in this manual.
212 CHAPTER 14. DATA VISUALIZATION IN IRIS
A keyframe indicator will appear in the timeline at the bottom of the workspace, shown in
Fig. 14.39.
The keyframe is indicated by time (here, 0 seconds) as well as the element and keyed property
(3D plot, data/time). The entire timeline can be scrolled by clicking and dragging the times at
the top. The current position within the timeline can be adjusted by dragging the small square,
shown in Fig. 14.40:
On returning to the Time control, the key attribute has been disabled because the timeline
is not currently at a keyframe, shown in Fig. 14.41:
To insert another keyframe at the new position in the timeline, the icon can be clicked
again and Add keyframe selected. The time attribute becomes editable; here, it has been set to
1.00, shown in Fig. 14.42:
The new keyframe also appears on the timeline, shown in Fig. 14.43. A line connects any
consecutive keyframes of the same attribute and its color indicates the interpolation or easing
effect used for the transition.
14.5. WORKING WITH KEYFRAMES 213
The document now contains a single element: an animation of a 3D plot of the test data,
from the first frame to the last, with a duration of 5 seconds.
When exporting video, the animation will always begin at the first keyframe regardless
of its position on the timeline. If the first keyframe is placed at 10 seconds, the video
will start immediately there rather than being blank for 10 seconds. Blank video and
transitions may be managed with the Page Transition settings.
Clicking on the play button on the top left corner plays through the animation for the
current page. Clicking on the stop button or pressing the K key stops the animation.
The animation speed can be adjusted using the slider next to the play/stop button or
by pressing the J and L keys. The J and L keys will respectivelly lower and increase
the animation speed, setting it at some predefined value.
All the attributes of the same drawable are grouped under the drawable’s name. Clicking on
the drawable name collapses or expands the list of animated attributes for the drawable. When
the list is collapsed, a black line with a diamond at each end point is shown, indicating the time
span of all animated attributes for the drawable as shown in Fig. 14.46. The collapsed timeline
cannot be edited.
Clicking on an animated attribute will open the editor for the selected attribute and adjust
the highlight for its timeline as shown in Fig. 14.47. When an attribute is selected, pressing the
14.5. WORKING WITH KEYFRAMES 215
Left and Right arrow keys will move the time to the closest keyframe for that attribute in the
selected direction.
Objects which are invisible or behind other items may be easily selected in this way.
• For data plots, a simple forward, reverse, or forward-then-reverse animation of the data can
be selected. For instance, “Forward 5s” repeats the operation described above to animate
a 3D plot over 5 seconds, with a single click.
• For most position and miscellaneous attributes, a simple placement of keyframes at common
time intervals can be selected. The values must be adjusted manually.
• For the opacity control, there are predefined fade-in and fade-out settings.
The shortcuts will not overwrite or interfere with existing keyframes; if not enough
blank space is available on the timeline, a warning will be displayed and the timeline
will remain unchanged.
Easing options may be selected by right-clicking the keyframe indicator at the end of the
relevant animation and choosing from the Easing submenu. Six main categories of predefined
easing options are available:
Linear - motion uses linear interpolation only (no easing).
Quad - quadratic curves for motion.
Cubic - cubic curves for motion.
Elastic - ‘spring’ effects.
Bounce - ‘bounce’ effects with rebound.
Back - adds an overshoot.
Each easing option can affect the beginning motion (In), the end motion (Out), both
(InOut), or work from the center out (OutIn).
Selecting Customize allows further customization of the exact parameters of the easing
curve, as well as being a convenient way to preview the nature of each easing curve.
14.6.3 Grid
A grid can be overlaid on the main workspace by checking Show grid, or pressing the “#” key
on the keyboard. Grid spacing and appearance is set by using the controls shown in Fig. 14.51.
If the checkbox to the left of a property is clear, a global default will be used. If it is checked,
the value entered will be used for the property for new objects.
14.7.1 Output
A filename and folder may be chosen by clicking the folder icon.
The resolution of the output is selected from the Video format pulldown; Frame rate
allows selection from standard frame rates for video, and Quality controls the compression
factor and resulting video quality.
220 CHAPTER 14. DATA VISUALIZATION IN IRIS
Higher resolutions and frame rates will take longer to render and result in larger file
sizes.
The Adaptive motion blur checkbox enables a motion blur for realistic appearing motion.
This is calculated by interpolating a number (Max. blur samples) of frames between each
existing frame. The blurring will be applied when motions greater than the Min. blur length
are present anywhere in the frame.
The number of processes used for rendering is controlled by the Threads selection.
14.7.3.2 Settings
The Settings box in the export window allows export of All pages, the Current page, or the
current Selection. The resolution for export (in dots per inch) can also be found here.
222 CHAPTER 14. DATA VISUALIZATION IN IRIS
By default, the output will be generated for the current time set for each page. It is also
possible to automatically sweep the timeline on each page and generate one page for each time
step. The number of time steps can be controlled via the spin box labeled Time steps.
When Selection is chosen, a scalable SVG file may be created by checking Generate svg
file.
SVG files are scalable and are the best choice for inclusion in Word® documents, etc.
To omit any background present in the page, check Omit background. For SVG export
and when Selection is chosen, the background is always omitted.
If Include children in selection is checked any child objects of the selected object will
also be exported (e.g., contour legends for a data plot.)
224 CHAPTER 14. DATA VISUALIZATION IN IRIS
Report Generation
Vic-3D can generate reports from template documents. Special tags are used in the documents
as placeholders for project-specific data such as calibration values, analysis settings, images or
plots. During report generation, Vic-3D fills in the template with the data from the current
project and writes a new document to the hard drive.
You can add to the template library by placing new templates in this folder. Click on a
template to continue, or click Other to select any other file.
Important note: if a tag is broken up by formatting, revision tracking, or spell checking, it
will not be processed. It is usually best to turn off all change tracking and spelling/grammar
checking in your word processor.
• Screen: for plots/images, uses the same resolution as the display, for viewing on screen.
• Print: upscales images for a better printed image.
Scaling:
225
226 CHAPTER 15. REPORT GENERATION
• In Print image resolution, choose nearest neighbor (faster) or smooth (better quality).
Video settings:
To open the report after completion, leave the checkbox selected. Click Ok to begin; the
document will be filled out, replacing tags with quantities, images, tables, and videos. For more
detail on available tags, consult the Report Template Tags reference.
15.3. TEMPLATE TAG REFERENCE 227
List indeces:
Any time a list index idx is present, you may specify integer values starting from 0, or
negative values to count down from the end; e.g., -1 refers to the last element. Alternatively,
indeces can be specified as a percentage, e.g., 33.33%. If indeces are specified as percentages, the
closest integer value is used.
Example: {@VIC_ADATA, idx=100%, col=B, fmt=‘f’, prec=1} shows the second column
(normally Time_0) from the analog data file for the last image in the test, floating point, 1
digit of precision.
Example: {@VIC_ADATA, idx=10, col=H} shows the 8th column (i.e., Load, in a given
setup) from the 10th image in the test.
VIC_CSV_DATA
Used to insert data from external csv files. Can be used either to look up spreadsheet cell
entries (e.g., cell=B3) or for key-value pair lookups. In the latter usage, one column in
the csv file is used as the key column and should hold unique descriptors of the values in
the value column. For instance, the key column could have entries ‘modulus’, ‘poisson’,
’sample_id" and the value column would contain the numerical values for the elastic
modulus, the poisson ration and the sample’s identification number.
15.3. TEMPLATE TAG REFERENCE 229
VIC_CAM_CX, VIC_CAM_CY
x/y center coordinates (pixels)
VIC_CAM_FX, VIC_CAM_FY
x/y focal length (pixels)
VIC_CAM_S
skew factor
VIC_CAM_K1, VIC_CAM_K2, VIC_CAM_K3
distortion coefficients
VIC_CAM_MAG_AVG, VIC_CAM_MAG_MIN, VIC_CAM_MAG_MAX
average, minimum and maximum magnification (pixels/mm)
VIC_CAM_ERROR
residual error for calibration (pixels); use cam=-1 for the rig error.
Example: {@VIC_CAM_CX, cam=1, ‘f’, 2} shows the center (x) for camera, floating point,
2 digits of precision.
Example: {@VIC_CAM_ERROR} - shows the error score for camera 0 with no formatting.
Example: {@VIC_CAM_ERROR, cam=-1} – shows the overall error score for the rig.
The external camera calibration values support the following options:
Example: {@VIC_SUBSET SIZE} – show the subset size for the analysis.
15.3.6 Plots
@VIC_PLOT_2D
Inserts a 2D plot. 2D plots support the following options:
@VIC_PLOT_3D
Inserts a 3D plot. 3D plots support the following options:
@VIC_IMG_EXTERNAL
Inserts an arbitrary image. External images support the following option:
@VIC_IMG_REFERENCE
Inserts the reference speckle image. The reference image tag supports the following options:
@VIC_IMG_SPECKLE
Inserts a speckle image. The speckle image tag supports the following options:
@VIC_IMG_AOI
Inserts the reference image with the AOI overlaid. The AOI image tag supports the
following options:
• subset: set “subset=true” to show the subset grid overlaid on the AOI.
• startpoints: set “starpoints=true” to show start points overlaid on the AOI.
Chapter 16
Marker Tracking
To enter the marker tracking mode in Vic-3D, click the button in the main toolbar, or select
Project. . . Marker editor from the main menu. The marker tracking toolbox will appear at the
top right:
To switch between different image views, you can click the buttons to view the
camera 1 image, camera 2 image, or both at once in a horizontal or vertical tile. Markers may
initially only be placed on the camera 1 image.
233
234 CHAPTER 16. MARKER TRACKING
using the tool). Click the (associate marker) tool, and click the matching marker in the
camera 2 view. If the Show epipolar line box is checked, a green constraining line will be
displayed in the matching image to help identify your choice. The marker should snap to the
detected image marker, as illustrated in Fig. 16.3.
To place more markers, continue to add markers in the “1” image and associate them in the
“2” image. If desired, a marker can be labeled with alternate text by selecting the marker, and
then entering the label in the Label field in the marker tool box. The labels will be shown in
the images, as shown in Fig. 16.4.
16.2 Tracking
To begin tracking markers, select (Track all) to track all placed markers. Then, use the
Animation tools to either step through images one at a time, or play through all images. Vic-3D
will attempt to find the new marker positions in each image.
In some cases of large motion or closely placed markers, Vic-3D will be unable to track the
marker and you must provide an initial position. When this happens, the marker will be flagged
with a “?”:
To correct the position, use the tool to drag the marker close to the center. Vic-3D will
lock on to the new position and you can continue tracking through images.
If Vic-3D cannot find the marker automatically, it may be necessary to force a position. To
16.2. TRACKING 235
do this, use the (place manually) tool. This will give less accuracy than the subpixel marker
matching algorithm within Vic-3D so it should be used only when the marker cannot be found
automatically.
When many manual positions are required, it may be more convenient to turn tracking off
for some or all points. To select a different tracking mode, click to track no markers, or to
track only the selected marker.
Once all marker positions have been tracked, you can export the marker data.
Once all markers have been placed and tracked, select the icon to open the triangulation
settings dialog shown in Fig. 16.7.
Selecting options you can calculate velocity and acceleration from inputting a constant time
step, frame rate, or time from file. Selecting Coordinate system you can change the coordinate
238 CHAPTER 16. MARKER TRACKING
system or apply a plane fit using the markers that have been placed and tracked, at the bottom
of this dialog window you can provide a reference frame for the transform. Selecting displacement
removal you can set a marker as fixed and remove the rigid motion of this marker.
If the Export marker data menu option is not present, you will need to need to first
triangulate the data.
The Files list allows selection of files to process for export. By default, locations are exported
for each file, but you may select any number of files. Right-click in the list to modify your
selection or select preset intervals.
If Export frame Id is checked, a variable called frame_id will be prepended to the exported
data; this variable contains the image number.
This tab lists the markers and allows you to select which ones to export data for. Select one
or more, or right-click to select a range or interval.
FFT Analysis
Vic-3D incorporates a module for transforming time-domain displacement and strain into the
frequency domain. Using a known time step, each component of the calculated time-domain
data is transformed with a Fast Fourier Transform to create a full set of frequency-domain data
for plotting and analysis. If input data is available, frequency response metrics may also be
calculated.
The data can be analyzed using the FFT Dialog. After analysis, the data can be viewed,
probed, and exported from the FFT Workspace.
241
242 CHAPTER 17. FFT ANALYSIS
The available data set is displayed on the right. The default FFT analysis window is displayed
as a box; the area may be redefined by clicking and dragging within the data plot. The mouse
wheel is used to zoom; holding the SHIFT key will toggle pan mode.
• The relevant analog channel(s) to be used as an input for response calculation may be
selected in the Analog data group. The data must be present in the project, and can be
added by clicking Project. . . Analog data in the main menu.
17.2. FREQUENCY WORKSPACE 243
• If one or more files are to be excluded they may be unchecked in the Data files group. This
is standard Vic-3D file list and multiple items may be selected and toggled; a right-click in
the list allows detailed selections.
! When selecting files to analyze, there must be a consistent time step between every
file and the next, or the FFT calculation will give incorrect results.
When the Save FFT Data box is checked (default), the FFT data will be saved to disk. A
custom filename may also be specified. If this box is cleared, the analysis will need to be re-run
to recreate the data again. When multiple different output files are created, they may be added
to the project using the Sequence Manager.
Additional or fewer variables may be selected for extraction in the Variables list. Selecting
more variables will use more memory.
When the settings are correct, clicking the Start button will start the analysis (this can be
time consuming for large data sets). After the data has been processed, the frequency workspace
will be displayed.
• The FRF Mode may be selected from Output, Output over input, or Input over output.
246 CHAPTER 17. FFT ANALYSIS
• The FRF input variable may be selected from among the variables included during
analysis.
• The Unit control may be usd to select a custom unit for the input. The name of the
Custom unit and the multiplying Custom unit factor may be entered directly below.
• Mode - this control allows selection of the component to be plotted. Amplitude displays
the calculated amplitude for the current frequency, and Phase displays the calculated
phase at the current frequency. Modulated amplitude plots the amplitude as an animatable
modulated value which will change then the Play button is clicked in the FFT toolbox
• Z-axis - in FFT plots, the Z-axis may be replaced with the out-of-plane displacement by
selecting W, or by the currently selected contour variable by selecting Contour.
Selecting Shape plots the standard deformed shape.
• Count - this control speficies the number of full-phase (360°) cycles plotted with each
animation.
• X/Y/Z multiplier - for ease of visualization, the displacement in each axis will be
multiplied by this factor, exaggerating (or attenuating) the motion.
17.2. FREQUENCY WORKSPACE 247
Probe points can be removed by clicking the button in the FFT tools, and then clicking
on the point.
A reference point (which will become the point where phase=0) may be specified by clicking
the button, and then on the reference point. The extract lines in the phase plot at the lower
right will re-reference to this point.
In many situations a logarithmic axis scale will be most useful for locating interesting
frequencies. Axis scales may be selected by right-clicking in the plot and choosing X
axis scale or Y axis scale.
Amplitude, phase, or both may be selected for export. Exposure time and window correction
may also be applied at this time.
If inspection points have been added, they will be available in the points selection box;
otherwise, only the average will be given. Relevant variables may also be selected or cleared
17.2. FREQUENCY WORKSPACE 251
from the variables box. Clicking OK allows selection of an output file name and completion of
the export.
The desired variables for export can be selected in the Variables list box. The following UFF
data set types are supported for export:
In addition, a header (data set 151) is always exported with the data. The dialog offers the
option to skip data points through increasing the Sample step in order to reduce file size. Note
that the node IDs remain the same if this option is used.
Chapter 18
Real-Time Analysis
Real-time mode may be started by first starting Vic-Snap, and then starting the real-time server
(see Vic-Snap documentation for details). Then, Vic-3D can be started and File. . . Mode. . .
Real-time 3D Analysis should be selected.
A dialog will appear and allow entry of a server and port, or selection of a recent server and
port combination, as shown in Fig. 18.1.
If Vic-Snap is running on the local PC, localhost should be selected; if Vic-Snap is running
remotely, the IP address of the acquisition PC can be entered. The Port setting should be left
at the default unless there is conflict.
Vic-3D will attempt to connect to the image server; when the connection is established, a
live view will appear in the workspace, and the real-time tools will be displayed, as illustrated in
Fig. 18.2.
253
254 CHAPTER 18. REAL-TIME ANALYSIS
• The data analyzed in real-time mode is displayed but not saved. To allow later
processing and storage of data, be sure to store the images in Vic-Snap as usual
(timed capture, manual capture, etc.)
• To obtain the best frame rates in Real-time mode, select a large step size; this
will result in fewer points being analyzed and more total updates per second.
• Select a desktop PC with many cores for maximum analysis speeds. With a fast
PC and a larger step size, frame rates of 5-10 per second can be realized.
• Real-time mode is available with an optional module.
Chapter 19
When using a stereo-microscope, regular camera models cannot accurately capture the distortions.
To obtain optimal results, it is best to select the Stereo Microscope system type from the File
menu. This activates the distortion correction functionality required to accurately compensate
for complex distortions.
There is no need to repeat the calibration process for multiple tests that all use the
same calibration. Once the microscope has been calibrated and the project file has
been saved, the calibration can either be imported (see Section 5.7) or the project can
be used as a template (see Section 3.2).
257
258 CHAPTER 19. STEREO MICROSCOPE ANALYSIS
Vic-3D has a batch processing mode for running one or more project files without user intervention.
The batch processing mode mode can be used by starting Vic-3D from the command line with
the following arguments:
Vic3D -R filename1 [filename2] [...]
This will create or append to a log in the home directory (typically c:\users\login_name)
folder called Vic3D_batch_log.txt. Alternatively, a different log file name can be specified on
the command line using the -L switch
Vic3D -R filenames -L logname
To automatically output a report with results, one or more report templates and output files
can be specified. The number of output files must match the number of project files to process.
Vic3D -R filenames -L logname -T templatename -O outputnames
In batch processing mode, a Vic-3D icon will appear in the system tray to show progress and
allows cancelling the analysis. Right-clicking on the tray icon brings up a pop-up window with
progress information and an option to cancel.
For each project analyzed, the log file will contain information on start and stop times, points
processed, projection error, and any associated warnings or errors. If applicable, report generator
output will also be logged.
263
Chapter 21
In Vic-3D, options and plot template defaults may be set with the Global Preferences dialog.
The dialog is accessed by selecting Edit. . . Global Preferences from the main menu.
The default position pulldown is used to select the position of the tool area (left or right).
265
266 CHAPTER 21. THE GLOBAL PREFERENCES DIALOG
• HDF5 file - this is a single hierarchical data file containing all output data for enhanced
speed and portability.
21.4 Colormaps
This tab, pictured in Fig. 21.5, may be used to create, edit, and import custom colormaps for
data visualization.
• A new colormap can be created by clicking Create New and selecting a name.
• Colormaps have two or more control points at specified indices. Colors are linear interpolated
between control points in either RGB or HSV color space. The color at each control
point can be selected by clicking on the Color sample to show the color chooser dialog
(Fig. 21.6).
21.5. STRAIN DEFAULTS 267
Colors may be selected using the Basic colors palette or from the HSV chooser to the
right. Clicking Pick Screen Color will allow the sampling of a color from anywhere on
the screen. Color values may be entered directly using HSV, RGB, or hex color codes.
Clicking OK will finalize the color selection.
• Stored colormaps in JSON format may be loaded using the Load from File button.
• When a colormap has been used in a project file, it may be imported using the load from
Project button and selecting the project.
22.1.1 Sequences
The Sequences control allows selection from existing data sources (triangulated data, extraction
locations) for display. This control is only available in the iris workspace; in the analysis
workspace, each plot has fixed source data.
22.1.2 View
The 2D View group pictured in Fig. 22.2 controls the basic parameters of a 2D plot.
The current plot Time is controlled with a spin box and is animatable.
For reference, the frame associated with the selected time is displayed immediately below.
The Interpolation pulldown allows selection of Nearest, which will cause display of the data
from the frame closest to the selected decimal time, or Linear, which will result in a data overlay
that is interpolated from the data before and after the selected time.
271
272 CHAPTER 22. APPENDIX: CONTROLS AND ELEMENTS
The Camera Id control allows selection of the background image view. If Show deformed
data is checked, the background image will be of the current frame; otherwise, it will be of the
reference frame.
22.1.3 All
The All controls shown in Fig. 22.3 are used to adjust the size and appearance of plot elements
in 2D plots.
The width and height set the overall width and height of the plot (not including the legend).
The background color will be shown anywhere in the plot area not occupied by plot data
(if the range is larger than the plot).
The Line color is the color used for all outlines, grid lines, and tick marks. The Line width
sets the thickness of the background grid lines, and the Outline width controls the width of
the plot border.
22.1. 2D PLOT CONTROLS 273
The background, grid, and ticks will only be visible if the plotted data does not fill
the plot area.
The tick width and length for major and minor ticks can be adjusted here; tick spacing is
set with the axis tools.
Selecting Hide axis decoration will hide the displayed range values.
Hide grid hides the grid displayed in the background along major tick lines.
Hide ticks hides the plot outline and all tick marks.
22.1.4 Axes
The 2D plot’s X and Y-Axis properties can be set by using the common x- and y- axis tools.
22.1.5 Scale
For each 2D plot a visual scale indicator, as pictured in Fig. 22.4, is displayed by default:
The Scale tab pictured in Fig. 22.5 contains controls for the appearance of the indicator.
The length units may be specified with the pulldown. A complete set of controls for the
positioning and appearance of the scale bar and label are also available.
22.2.2 View
The view properties shown in Fig. 22.7 control the visual appearance of the 3D plot and axes.
Frame time can be adjusted using the Time control, with values ranging from 0 to 1. The
frame time is animatable.
The frame associated with the selected time is displayed immediately below.
If the data needs to be displayed at a time that lands between two sequential data sets,
Interpolation will be used to calculate intermediate values. The control allows for linear
interpolation as well as disabling interpolation (nearest neighbor). Interpolation is used for
triangulated data (plots, VTK data) but not for images.
The Length units pulldown may be used to select the unit for the axis scales.
The overall size of the plot may be set with the Size control.
The axis direction indicator may be enabled or disabled with the Show 3D axis checkbox.
Checking Show coordinate system will cause the axis planes and scales to be displayed.
The rotation angles for the plot about the X, Y and Z axes are set with the α, β, and γ
controls, respectively. They may also be set by double-clicking in the plot and then clicking and
dragging. The rotation angles are animatable as a group.
If Prevent rescaling is checked, the plot’s scale will be maintained when the underlying
data changes.
Changing the Axis margin affects the distance between the boundaries of the plot and the
axis planes.
The color of the axis grid may be set with the Axis color control, and the color of the axis
background planes with the Plane color control.
Lighting intensity may be adjusted for the Ambient source (the amount of light everywhere
in the scene), the Diffuse source (a diffuse light source pointed at the surface), and the Specular
source (a direct light which creates shine on the surface).
276 CHAPTER 22. APPENDIX: CONTROLS AND ELEMENTS
The material color is only visible if the contour overlay and speckle image display are
disabled. To view only the object without any overlaid data, disable the contour,
speckle, isolines, and coordinate system.
22.2.3 Axes
The range and appearance of each axis is adjusted with the X/Y/Z Axis groups.
The range of the axis is set with the Range controls. Clicking the # icon allows direct entry
of the minimum and maximum values; clicking again returns the sliders with the newly entered
limits.
The Ticks label margin control sets the distance of the labels from the axis boundary.
The number of Major Ticks may be set here, as well as the Font, Color, and Number
Format. The Label alignment and Label margin control the position of the main axis label.
There is also a checkbox to Hide the label and font controls.
If Automatic label is checked, a label such as “X [mm]” is applied. If it is cleared, a text
box appears below, and a custom label may be entered.
22.2.4 3D Axis
For each 3D plot, a Cartesian axis indicator as pictured in Fig. 22.9 is displayed by default:
The appearance of the indicator may be controlled either by clicking on the indicator (iris
workspace) or selecting the 3D Axis tab (analysis workspace).
The size and radius of the 3D arrows may be controlled here, as well as each arrow’s color.
The label display may be set to Off, On, or Auto (each label will only be displayed if it is not
obscured.) The font and color of the label text is also adjustable.
The 3D Axis tab also contains a base tool which allows position, rotation, scaling, and
animation.
22.3. CONTOUR LEGEND PROPERTIES 277
Clicking the relevant legend will highlight it with a black border; settings shown in Fig. 22.12
may then be edited using the toolbar at the side of the work area.
The size of the color scale bar in the legend is controlled by the Bar length and Bar width.
The format, color, and font of the contour legend labels are set with Number format, Font,
and Font color.
The contour variable name dispayed near the legend is an editable text box and may
contain variable tags or custom text.
A new data series may be added by selecting New and choosing extraction nodes and
components for each axis. A Custom unit and associated multiplying factor may also be
applied, if desired. The style for the new series can be picked with the Default Styles control.
Finally, clicking Add will add the series to the list above.
22.4. LINE PLOT CONTROLS 281
An existing data series may be edited by clicking on it to select and then adjusting the
parameters below. To apply any changes, click the ←- button to the right.
An individual series may be deleted with the Delete button; clicking Clear removes all data
series.
Clicking Fit Content will automatically fit the boundaries of the chart area to fit all plotted
data.
Clicking the Multi. . . button will enable the addition of multiple data series or multiple
objects at once, using the dialog pictured in Fig. 22.14.
• For the case of line extraction, a Temporal and Spatial tab are available. The Temporal
tab has controls for the number of waterfall lines displayed and the interpolation method;
the Spatial tab has selections for the lines to extract from and the desired variables to
plot. Data series options are shown below; each of these properties is individually described
in the data series controls section.
• For the case of point (or disc, rectangle, etc.) extraction, the dialog in Fig. 22.15 is
displayed. The desired extraction elements are selectable to the right, and other plot
options to the left.
The selected series may be included in or omitted from the plot legend by toggling the Show
in legend checkbox.
If Interpolation is set to linear, time data will be computed between existing data points
with linear interpolation. If it is set to nearest, the nearest data point will be used.
The color, width, and style of the line may be set below, or the line may be hidden by
clearing the Show line checkbox.
Controls are also available for the shape, outline width, outline color, fill color, and size
of the data markers. The Show markers pulldown may be used to select between showing all
markers; showing no markers; showing a marker only at the end of the plot (for running plots);
and showing the marker at the plot time (selected from the time control in the base tool, or
animated.)
If Running plot is selected the plot will end at the base time.
Checking Use deformed variables will add deformation to the X/Y/Z variables, when
present in the plot.
The Time control in the base control may be used to create animated plots, either
by using running plots or by using the At plot time marker selection.
The Corner pulldown allows placement of the legend in any of the four corners of the plot.
The legend may be placed either inside or outside the plot by changing the Position along
axis control.
The position of the legend relative to the selected corner may be increased or reduced with
the Axis offset property.
The colors for the background and border of the legend are selectable below.
The legend outline may be given rounded corners by increasing the Border corner radius.
The thickness of the outline is set with the Border width property.
The inside margins of the legend box are set with Horizontal margin and Vertical margin.
Spacing between each item is set with Item spacing.
A font and text color may also be chosen for the legend.
The Graph icon width property controls the size of the examplar for each series; the Icon
position adjusts the location of the examplar with respect to the text.
The Range control sets the axis ranges. For extraction plots, this will be in data units; for
2D plots, the value is in pixels.
To reverse the given axis, check Invert axis.
The Ticks label margin adjusts the distance between the plot and the numbered tick
labels.
The Major ticks and Minor ticks boxes control the number of major ticks for the entire
range, and the number of minor ticks between each major tick.
The Tick font, tick font size pulldown, and Tick font color controls affect the numbers
displayed alongside each tick.
Formatting of numerical values is selected with the Ticks number format control; select
Scientific notation, Number for positional notation, or Best to select based on data. Precision
can be selected with the adjoining pulldown.
The Label position pulldown allows top/bottom or left/right placement of the tick label
depending on axis.
The Label alignment pulldown allows the option of left, right, or center alignment for the
label along the axis.
The Label margin control adjusts the margin between the numbered tick labels and the
axis label.
Checking Hide label hides the axis label.
If Automatic label is selected, the label will match the data. A custom label can be entered
by clearing the checkbox and entering the text in the text edit at the bottom of the axis control.
22.5. COMMON CONTROLS 285
The Label font, font size pulldown, and Label font color controls affect the appearance
of the associated axis label. Controls are also available for text formatting and symbol entry,
when using a custom label.
The x and y controls set the object location within the page.
The Rotation control adjusts the rotation angle of the object, in degrees.
The Scale tool scales the object, using the object’s Width and Height settings as a base.
The Depth controls the z-order within the page, determining which objects are displayed on
top of others.
The Opacity control allows objects or background to be seen through the selected object, if
set to less than 1.00. For a fully transparent (invisible) object the value should be set to 0.00.
The Origin controls are used to set the origin of the local coordinate system of the element.
This is the fixed anchor within the element position, rotation, and scaling. Note that changing
the origin will result in a movement of the object and it is recommended to set the origin before
any animation of the object position is created. The default origin is different from the top-left
corner for some objects. For instance, 3D plots use the center of the plot as the default origin to
facilitate smooth interactive rotation of the plot.
All properties except depth and origin may be animated.
Since the Depth control is not animatable, clipping of an element may be used to
allow elements behind it to be seen in an animation
286 CHAPTER 22. APPENDIX: CONTROLS AND ELEMENTS
For templates to work well with different data and images, it is best to set the object
origin to center on the template pages before positioning the object. This ensures that
the object remain in a reasonable position when the template is applied to different
data with, e.g., different image aspect ratios or data ranges.
At the top left is a palette of basic colors. Clicking Pick Screen Color will allow a second
click anywhere on the screen to detect and use the color at that location.
Colors may be selected directly via their Hue/Saturation/Value definition or via
Red/Green/Blue values. An alpha channel (transparency) is also available and applies to certain
graphic elements. Alternately, the HTML color code may also be entered directly.
Once a color is selected it may be saved to a set of favorites by clicking Add to Custom
Colors.
When selection is complete, clicking OK will apply the color to the relevant control.
Chapter 23
The VicPy python module permits loading and saving of Vic-3D data files in python. This
allows custom post-processing and data reduction algorithms to be implemented very quickly
and efficiently. Since the python module can write results in Vic-3D’s native output format, the
post-processing results can then be used in Vic-3D for visualization.
23.1 Installation
The easiest method to install the VicPy method is to use the Anaconda® platform from
Continuum Analytics, Inc.
4. Run the Anaconda console (“Anaconda Prompt” from the Start menu). If you installed
for “All Users” above, you may have to right-click and Run as administrator.
6. The VicPy module is now installed. All VicPy programs must be run from the Anaconda
console.
7. If you’d like to test the module, install the examples from this link: Python Examples. A
short instruction file is in the ZIP.
287
288 CHAPTER 23. APPENDIX: VICPY PYTHON MODULE
23.2 Example
To illustrate what can be done with the VicPy module, here is a very simple example that loads
a data file, computes the magnitude of the displacement for all data points, and saves the data
file under a new filename.
import math
import sys
The beginning of the script imports the VicPy module into python so that its classes become
available for use. The math module is imported so that the square-root function can be used, the
sys module provides access to the command-line arguments and the exit function is imported
from the os module.
if len(sys.argv) != 3:
print("Usage: %s infile.out outfile.out\n" % sys.argv[0])
exit(-1)
data = VicDataSet()
if (data.load(sys.argv[1]) == False):
print("Could not load data set\n", file=sys.stderr)
exit(-1)
The program checks that an input and output file are specified on the command line and
displays a usage message if not and then exits. If two arguments are given, a VicDataSet is
created and the script attempts to read the specified input file. If an error occurs, the program
displays an error message and exits.
Here, a new variable is created for the displacement magnitude. Since all variable names in
Vic data files must be unique, the name of the created variable is stored. Furthermore, a list of
variables is created that is later used to find the inputs for the calculation.
for i in range(d.matrixSize()):
values = d.values(i, var_ids)
r = 0.0
if values[0] >= 0:
u = values[1]
v = values[2]
w = values[3]
r = math.sqrt(u * u + v * v + w * w)
d.setValue(i, r_idx, r)
The script then loops over all AOIs in the data set and retrieves the variable indeces for
the input and output variables. Then, a second loop iterates over the data points in the AOI,
computes the displacement magnitude and stores it in the result variable.
if data.save(sys.argv[2]) == False:
print("Could not save the dataset\n\n")
exit(-1)
Finally, the script saves the data set in the output file specified on the command line.
Applys the transformation on the supplied point, both the translation and the
rotation.
Args: point(tuple/list) : A tuple or a list of size 3 representing a point.
Returns: tuple/list : A tuple or list of size 3 representing the point after the applied
transformation.
def invert(self)
def rotation(self)
def translation(self)
Args:
radians(bool) : Should the angles be in radians or degrees?
Defaults to false.
Returns:
Tuple : Returns a tuple of the Cardan/Bryant angles.
Applys a transformation around the supplied point based on the angles in the rotation
object.
Args: point(tuple/list) : A tuple or list, with a size of 3, that acts as a point in a
coordinate system.
Returns: Depending on whether a tuple or a list was passed in, returns either a tuple
or a list of the point after the applied transformation.
def loadIdentity(self)
def matrix(self)
Args:
alpha(double) : Rotation around x
Returns: bool, list : Success status and list of the values found.
def clear(self)
def matrixSize(self)
def numColumns(self)
def numRows(self)
def numVariables(self)
Return a numpy array for the variables for all AOIs. Note that the triang() function
returns indices into this array.
Args: vars: List of variable names.
Returns: A numpy array containing the requested data values.
def deformedImage(self)
def numData(self)
def referenceImage(self)
Licenses
Our software includes several open source libraries that are used under a variety of different
licenses.
24.1 Qt License
The Qt library is used under the terms of the GNU LGPL License, Version 3]. If you
would like to receive a copy of the source code of the Qt library, please contact us at sup-
port@correlatedsolutions.com.
0. Additional Definitions.
299
300 CHAPTER 24. LICENSES
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
Version.
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
0. Additional Definitions.
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
a) under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
a) Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
24.2. FFMPEG LICENSE 305
b) Accompany the object code with a copy of the GNU GPL and this license
document.
4. Combined Works.
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
a) Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
b) Accompany the Combined Work with a copy of the GNU GPL and this license
document.
5. Combined Libraries.
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
a) Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Permission to use, copy, modify, distribute, and sell this software and
its documentation for any purpose is hereby granted without fee, provided
that (i) the above copyright notices and this permission notice appear in
all copies of the software and related documentation, and (ii) the names of
Sam Leffler and Silicon Graphics may not be used in any advertising or
publicity relating to the software without the specific, prior written
permission of Sam Leffler and Silicon Graphics.
3. Neither name of Ken Martin, Will Schroeder, or Bill Lorensen nor the
names of any contributors may be used to endorse or promote products
derived from this software without specific prior written permission.
1. The origin of this software must not be misrepresented; you must not
claim that you wrote the original software. If you use this software
in a product, an acknowledgment in the product documentation would be
appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be
misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.
*/
24.6. MUPARSER LICENSE 309