VrApplyCam
|
ON-LINE REFERENCE DOCUMENTATION CARDINAL SYSTEMS, LLC 386-439-2525 |
VR APPLY CAMERA CALIBRATION (vrapplycam.exe) |
Type: Stand-alone Batch Application
Current Release: 1.0
Batch Apply Camera Calibration Application.
This is a stand-alone program that apply camera calibration parameters to correct for lense distortion. This is useful for removing radial distortions from raw images without running through a full image orientation. A standard VrTwo camera file must be available before using this program. If a .vim file already exist for an input image, it will be used for interior orientation parameters, otherwise a corner interior orientation will be used. VrApplyCam can be operated from the command-line without any user interaction by using appropriate input arguments. Type VrApplyCam –h for a list of command-line options. If started without any arguments, VrApplyCam will prompt for input parameters.
Using VrApplyCam
Without any parameters passed, VrApplyCam will start by asking for a camera file.

After selecting the camera file, a dialog will be displayed allowing the input images to be selected.

After the input images have been selected, processing will begin. A new image will be created for each input image. The new image names will be the same as the input images with an “_adj” postfix.
Command-line options
It is possible to run VrApplyCam from the command-line for non-interactive processing of images. The current command-line options are as follows (typing vrapplycam –h will always display the most recent command-line options).
VrApplyCam
[options] camera_file [image(s)]
where
options are:
-c camera_file Name of .cam file to apply. Will be prompted
for if not provided.
-p Pixel Size Ouput pixel size. (Default = 1.0)
-r near Use nearest
neighbor resampling. (Default = Bilinear)
-r bilinear Use bilinear resampling.
-r bicubic Use bicubic resampling.
-m Maximum Memory Use Maximum allowed memory use (in megabytes).
If not specified, then
all available memory will be
used to process the
input images.
images Optional names of images to
process. Will display
dialog to select
images if none are passed in.
Example:
vrapplycam -p 1.0 -r bicubic test.cam image1.tif
Resample image1.tif to image1_adj.tif
using bicubic mode
with pixel size of 1.0.
NOTE:
If a .vim file exist for the image it will be used for interior orientations,
otherwise a corner orientation will be applied.