<b>jigsaw</b> assumes <b>spiceinit</b> has been run on the input <def>cube</def>s so that
The <b>jigsaw</b>application assumes <b>spiceinit</b> has been run on the input <def>cube</def>s so that
<def>SPICE</def> is included in the Isis 3 <def>cube</def> labels in the Kernels group. In order to
run the program, the user must provide a list of input <def>cube</def>s, an input <def>control
net</def>, the name of an output <def>control net</def>, and the adjustment parameters.
<b>jigsaw</b> outputs a new <def>control net</def> that includes the initial state of the
points in the network and their final state after the adjustment. The initial state of
points in the network and their final state after the adjustment. The initial states of
the points are tagged as <def>a priori</def> in the <def>control net</def>, and their final
state as <def>adjusted</def>. The measured <def>sample</def>/<def>line</def> positions
states are tagged as <def>adjusted</def>. The measured <def>sample</def>/<def>line</def> positions
associated with the <def>control point</def>s in the net are not changed. <def>SPICE</def>
in the <def>cube</def> labels is updated at the end of the adjustment only
if the bundle converges and the <b>UPDATE</b> parameter is selected.
@@ -39,11 +39,11 @@
<p>
Optional output files can be selected to provide more information for analyzing the
results. <b>bundleout.txt</b> provides an overall summary of the bundle adjustment.
results. <b>BUNDLEOUT_TXT</b> provides an overall summary of the bundle adjustment.
It lists the user input parameters selected and tables of statistics for both the
images and the points. The image statistics can also be written to a separate
<b>CSV</b> file and likewise for the point statistics with the <b>output_csv</b>
option selected. <b>residuals_csv</b> provides a table of the measured image
<b>CSV</b> file and likewise for the point statistics with the <b>OUTPUT_CSV</b>
option selected. <b>RESIDUALS_CSV</b> provides a table of the measured image
coordinates and the final <def>sample</def>, <def>line</def>, and overall residuals
in both millimeters and pixels.
</p>
@@ -68,7 +68,7 @@
<blockquote>
<b>Running jigsaw with a control net containing <i>JigsawRejected</i>
flags may result in bundle failure</b>
<p>When running <b>jigsaw</b> with <i>Outlier Retection</i> turned on,
<p>When running <b>jigsaw</b> with <i>Outlier Rejection</i> turned on,
control points and/or control measures may be flagged as
<i>JigsawRejected</i> in the output control net file. If this output net
file is then used in a subsequent <b>jigsaw</b> run, these points and
@@ -79,7 +79,7 @@
<ol>
<li>Run jigsaw with <i>Outlier Rejection</i><b>off</b>.</li>
<li>Do not use the output control net file in subsequent jigsaw runs.</li>
<li>Convert the output control net file from binary to pvl and back using
<li>Convert the output control net file from binary to PVL and back using
<i><b>cnetbin2pvl</b></i> and <i><b>cnetpvl2bin</b></i>. This will
clear the <i>JigsawRejected</i> flags.</li>
</ol>
@@ -108,7 +108,8 @@
Changed category to Control Networks and corrected XML bugs
</change>
<changename="Debbie A. Cook"date="2007-10-05">
Revised iteration report to list the errors and sigmas from the same iteration. Previous version reported errors from previous iteration and sigmas from current iteration.
Revised iteration report to list the errors and sigmas from the same iteration. Previous
version reported errors from previous iteration and sigmas from current iteration.
If any of these keywords is missing, then their defaults will be used. There is
If any of these keywords are missing, then their defaults will be used. There is
an example template at $base/templates/jigsaw/SensorParameters.pvl that can be
used as a guide.
</description>
@@ -330,11 +340,11 @@
observation number as though they were a single observation. For
most missions, the default observation number is equivalent to the
<def>serial number</def> of the <def>cube</def>, and a single <def>cube</def>
is an observation. However, for the Lunar Orbiter mission an image has a defined
is an observation. However, for the Lunar Orbiter mission, an image has a defined
observation number that is a substring of its <def>serial number</def>. This
feature allows the three subframes of a Lunar Orbiter High
Resolution frame to be treated as a single observation when this
option is used. Otherwise each subframe is adjusted independently.
option is used; otherwise, each subframe is adjusted independently.
</description>
<type>boolean</type>
<default>
@@ -427,7 +437,7 @@
<groupname="Maximum Likelihood Estimation">
<parametername="MODEL1">
<type>string</type>
<brief>A maximum likelihood estimation model selection.</brief>
<brief>A maximum likelihood estimation model selection</brief>
<description> A maximum likelihood estimation model selection.
</description>
<default><item>NONE</item></default>
@@ -446,9 +456,9 @@
</exclusions>
</option>
<optionvalue="HUBER">
<brief>Huber: aproximates the L2 norm near 0, and the L1 norm therafter. Has one continuous derivative.</brief>
<brief>Huber: approximates the L2 norm near 0, and the L1 norm thereafter. Has one continuous derivative.</brief>
<description>
A highly recommend model, that works well in many situations.
A highly recommended model that works well in many situations.
</description>
<exclusions>
<item>REJECTION_MULTIPLIER</item>
@@ -459,7 +469,7 @@
<optionvalue="HUBER_MODIFIED">
<brief>Huber Modified: approximates the L2 norm near 0 and the L1 norm thereafter. Has two continuous derivatives.</brief>
<description>
An adaptation of the hignly recomended Huber model that has two continuous derviatives.
An adaptation of the highly recommended Huber model that has two continuous derivatives.
</description>
<exclusions>
<item>REJECTION_MULTIPLIER</item>
@@ -471,12 +481,12 @@
</parameter>
<parametername="MAX_MODEL1_C_QUANTILE">
<brief>Quantile of the |resiudual| distribution used to set the tweaking constant of the maximum likelihood estimation model.</brief>
<brief>Quantile of the |residual| distribution used to set the tweaking constant of the maximum likelihood estimation model</brief>
<description>
The tweaking constant has differenct meaning depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recomended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recomended quantile: 0.7
Chen model: Residuals whose absolute values is greater than the tweaking constant are total ignored. Recomend quantile: > 0.9
The tweaking constant has different meanings depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recommended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recommended quantile: 0.7
Chen model: Residuals whose absolute value is greater than the tweaking constant are totally ignored. Recommended quantile: > 0.9
</description>
<type>double</type>
<default>
@@ -488,7 +498,7 @@
<parametername="MODEL2">
<type>string</type>
<brief>A maximum likelihood estimation model selection.</brief>
<brief>A maximum likelihood estimation model selection</brief>
<description> A maximum likelihood estimation model selection.
</description>
<default><item>NONE</item></default>
@@ -505,28 +515,28 @@
</exclusions>
</option>
<optionvalue="HUBER">
<brief>Huber: aproximates the L2 norm near 0, and the L1 norm therafter. Has one continuous derivative.</brief>
<brief>Huber: approximates the L2 norm near 0, and the L1 norm thereafter. Has one continuous derivative.</brief>
<description>
A highly recommend model, that works well in many situations.
A highly recommended model that works well in many situations.
</description>
</option>
<optionvalue="HUBER_MODIFIED">
<brief>Huber Modified: approximates the L2 norm near 0 and the L1 norm thereafter. Has two continuous derivatives.</brief>
<description>
An adaptation of the hignly recomended Huber model that has two continuous derviatives.
An adaptation of the highly recommended Huber model that has two continuous derivatives.
</description>
</option>
<optionvalue="WELSCH">
<brief>Welsch: aprroximates the L2 norm near 0, but then decays exponentially to zero.</brief>
<brief>Welsch: approximates the L2 norm near 0, but then decays exponentially to zero.</brief>
<description>
This model reduces the significance of large residuals more agressively than Huber. Large residuals will have less influence than small residuals,
This model reduces the significance of large residuals more aggressively than Huber. Large residuals will have less influence than small residuals,
and they approach negligibility as they approach infinity. Measures can be effectively 'removed' by this method, which may cause singularities and/or islands.
</description>
</option>
<optionvalue="CHEN">
<brief>Chen: a highly aggresive method that intentionally removes the largest few percent of residuals</brief>
<brief>Chen: a highly aggressive method that intentionally removes the largest few percent of residuals.</brief>
<description>
This mehtod dramatically increases the influence of smaller residuals (beyond the L2 norm), while at the same time totally ignoring the largest few
This method dramatically increases the influence of smaller residuals (beyond the L2 norm) while simultaneously totally ignoring the largest few
percent of the residuals.
</description>
</option>
@@ -534,12 +544,12 @@
</parameter>
<parametername="MAX_MODEL2_C_QUANTILE">
<brief>Quantile of the |resiudual| distribution used to set the tweaking constant of the maximum likelihood estimation model.</brief>
<brief>Quantile of the |residual| distribution used to set the tweaking constant of the maximum likelihood estimation model</brief>
<description>
The tweaking constant has differenct meaning depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recomended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recomended quantile: 0.7
Chen model: Residuals whose absolute values is greater than the tweaking constant are total ignored. Recomend quantile: > 0.9
The tweaking constant has different meanings depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recommended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recommended quantile: 0.7
Chen model: Residuals whose absolute value is greater than the tweaking constant are totally ignored. Recommended quantile: > 0.9
</description>
<type>double</type>
<default>
@@ -551,7 +561,7 @@
<parametername="MODEL3">
<type>string</type>
<brief>A maximum likelihood estimation model selection.</brief>
<brief>A maximum likelihood estimation model selection</brief>
<description> A maximum likelihood estimation model selection.
</description>
<default><item>NONE</item></default>
@@ -566,40 +576,40 @@
</exclusions>
</option>
<optionvalue="HUBER">
<brief>Huber: aproximates the L2 norm near 0, and the L1 norm therafter. Has one continuous derivative.</brief>
<brief>Huber: approximates the L2 norm near 0, and the L1 norm thereafter. Has one continuous derivative.</brief>
<description>
A highly recommend model, that works well in many situations.
A highly recommended model that works well in many situations.
</description>
</option>
<optionvalue="HUBER_MODIFIED">
<brief>Huber Modified: approximates the L2 norm near 0 and the L1 norm thereafter. Has two continuous derivatives.</brief>
<description>
An adaptation of the hignly recomended Huber model that has two continuous derviatives.
An adaptation of the highly recommended Huber model that has two continuous derivatives.
</description>
</option>
<optionvalue="WELSCH">
<brief>Welsch: aprroximates the L2 norm near 0, but then decays exponentially to zero.</brief>
<brief>Welsch: approximates the L2 norm near 0, but then decays exponentially to zero.</brief>
<description>
This model reduces the significance of large residuals more agressively than Huber. Large residuals will have less influence than small residuals,
This model reduces the significance of large residuals more aggressively than Huber. Large residuals will have less influence than small residuals,
and they approach negligibility as they approach infinity. Measures can be effectively 'removed' by this method, which may cause singularities and/or islands.
</description>
</option>
<optionvalue="CHEN">
<brief>Chen: a highly aggresive method that intentionally removes the largest few percent of residuals</brief>
<brief>Chen: a highly aggressive method that intentionally removes the largest few percent of residuals.</brief>
<description>
This mehtod dramatically increases the influence of smaller residuals (beyond the L2 norm), while at the same time totally ignoring the largest residuals.
This method dramatically increases the influence of smaller residuals (beyond the L2 norm) while simultaneously totally ignoring the largest residuals.
</description>
</option>
</list>
</parameter>
<parametername="MAX_MODEL3_C_QUANTILE">
<brief>Quantile of the |resiudual| distribution used to set the tweaking constant of the maximum likelihood estimation model.</brief>
<brief>Quantile of the |residual| distribution used to set the tweaking constant of the maximum likelihood estimation model</brief>
<description>
The tweaking constant has differenct meaning depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recomended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recomended quantile: 0.7
Chen model: Residuals whose absolute values is greater than the tweaking constant are total ignored. Recomend quantile: > 0.9
The tweaking constant has different meanings depending on the model being used:
Huber models: The point at which the transformation motion from L2 to L1 norms takes place. Recommended quantile: 0.5
Welsch model: Residuals whose absolute value is twice the tweaking constant are approaching negligible significance. Recommended quantile: 0.7
Chen model: Residuals whose absolute value is greater than the tweaking constant are totally ignored. Recommended quantile: > 0.9
</description>
<type>double</type>
<default>
@@ -612,7 +622,7 @@
<groupname="Convergence Criteria">
<parametername="SIGMA0">
<brief>standard deviation of unit weight
<brief>Standard deviation of unit weight
</brief>
<description>
Converges on stabilization of Sigma0. Convergence occurs when the change
@@ -626,7 +636,7 @@
</parameter>
<parametername="MAXITS">
<brief> iterations
<brief>Maximum number of iterations
</brief>
<description>
Maximum number of times to iterate. The application stops iterating at
@@ -701,8 +711,8 @@
</option>
<optionvalue="ANGLES">
<brief>Solve for camera angles: right ascension, declination and optionally
twist
<brief>
Solve for camera angles: right ascension, declination and optionally twist
</brief>
<description>
Camera angles in each <def>cube</def> will be adjusted in the solution,
@@ -916,12 +926,10 @@
<brief>Enter target body parameters and a priori values using a PVL file</brief>
<description>
This option indicates that target body parameters are to be input via the PVL file specified
by TB_PARAMETERS. All of the following must be in the PVL file- values for coefficients of:
by TB_PARAMETERS. All of the following values for coefficients must be in the PVL file:
body pole RA and DEC; prime meridian; triaxial radii and/or mean radius. An example template
PVL file is located at $base/templates/jigsaw/TargetBodyParameters.pvl.
</description>
<exclusions>
</exclusions>
<inclusions>
<item>TB_PARAMETERS</item>
</inclusions>
@@ -938,12 +946,12 @@
File must be in PVL format. It should contain an object called TargetParameters.The
SpacecraftName and InstrumentId keywords in the Instrument group
of an image file are used to create the name of each group in the PVL file. The
group pertaining to each spacecraft/instrument should contain the keywords/value
group pertaining to each spacecraft/instrument should contain the keyword/value
pairs needed to process images taken with that sensor: CKDEGREE, CKSOLVEDEGREE,