An image bundle adjustment object. More...
#include <BundleAdjust.h>


Public Slots | |
| bool | solveCholesky () |
| Compute the least squares bundle adjustment solution using Cholesky decomposition. | |
| void | abortBundle () |
| Flag to abort when bundle is threaded. | |
| void | outputBundleStatus (QString status) |
| Slot for deltack and jigsaw to output the bundle status. | |
| ControlNetQsp | controlNet () |
| Returns a pointer to the output control network. | |
| LidarDataQsp | lidarData () |
| Returns a pointer to the output lidar data file. | |
| SerialNumberList * | serialNumberList () |
| Returns a pointer to the serial number list. | |
| QString | fileName (int index) |
| Return the ith filename in the cube list file given to constructor. | |
| QString | iterationSummaryGroup () const |
| Returns the iteration summary string. | |
| bool | isConverged () |
| Returns if the BundleAdjust converged. | |
| Table | cMatrix (int index) |
| Return the updated instrument pointing table for the ith cube in the cube list given to the constructor. | |
| Table | spVector (int index) |
| Return the updated instrument position table for the ith cube in the cube list given to the constructor. | |
| QString | modelState (int index) |
| Return the updated model state for the ith cube in the cube list given to the constructor. | |
| int | numberOfImages () const |
| Returns the number of images. | |
| double | iteration () const |
| Returns what iteration the BundleAdjust is currently on. | |
Signals | |
| void | statusUpdate (QString) |
| void | error (QString) |
| void | iterationUpdate (int) |
| void | pointUpdate (int) |
| void | statusBarUpdate (QString) |
| void | resultsReady (BundleSolutionInfo *bundleSolveInformation) |
| void | finished () |
Public Member Functions | |
| BundleAdjust (BundleSettingsQsp bundleSettings, const QString &cnetFile, const QString &cubeList, bool printSummary=true) | |
| Construct a BundleAdjust object from the given settings, control network file, and cube list. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, const QString &cnetFile, const QString &cubeList, const QString &lidarDataFile, bool printSummary=true) | |
| Construct a BundleAdjust object from the given settings, control network file, cube list, and lidar point data. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, QString &cnet, SerialNumberList &snlist, bool printSummary=true) | |
| Construct a BundleAdjust object with held cubes. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, Control &cnet, SerialNumberList &snlist, bool bPrintSummary) | |
| Constructs a BundleAdjust object using a Control object. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, ControlNet &cnet, SerialNumberList &snlist, bool printSummary=true) | |
| Constructs a BundleAdjust object using a ControlNet object. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, ControlNetQsp cnet, const QString &cubeList, bool printSummary=true) | |
| Constructs a BundleAdjust from an already created ControlNet within a shared pointer. | |
| BundleAdjust (BundleSettingsQsp bundleSettings, Control &control, QList< ImageList * > imgList, bool printSummary) | |
| Thread safe constructor. | |
| ~BundleAdjust () | |
| Destroys BundleAdjust object, deallocates pointers (if we have ownership), and frees variables from cholmod library. | |
| BundleSolutionInfo * | solveCholeskyBR () |
| Compute the least squares bundle adjustment solution using Cholesky decomposition. | |
| QList< ImageList * > | imageLists () |
| This method returns the image list used in the bundle adjust. | |
| bool | isAborted () |
| Returns if the BundleAdjust has been aborted. | |
An image bundle adjustment object.
BundleAdjust is used to perform a bundle adjustment on overlapping ISIS cubes. Using the collineariy condition, BundleAdjust can construct a system of normal equations and then using the CHOLMOD library, solve that system.
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| const QString & | cnetFile, | ||
| const QString & | cubeList, | ||
| bool | printSummary = true ) |
Construct a BundleAdjust object from the given settings, control network file, and cube list.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| cnetFile | The filename of the control network to be used. |
| cubeList | The list of filenames of the cubes to be adjusted. |
| printSummary | If summaries should be printed each iteration. |
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| const QString & | cnetFile, | ||
| const QString & | cubeList, | ||
| const QString & | lidarDataFile, | ||
| bool | printSummary = true ) |
Construct a BundleAdjust object from the given settings, control network file, cube list, and lidar point data.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| cnetFile | The filename of the control network to be used. |
| cubeList | The list of filenames of the cubes to be adjusted. |
| lidarDataFile | Lidar point dataset filename. |
| printSummary | If summaries should be printed each iteration. |
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| QString & | cnetFile, | ||
| SerialNumberList & | snlist, | ||
| bool | printSummary = true ) |
Construct a BundleAdjust object with held cubes.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| cnetFile | The filename of the control network to be used. |
| cubeList | The list of filenames of the cubes to be adjusted. |
| heldList | The list of filenames of the held cubes. Held cubes must be in both heldList and cubeList. |
| printSummary | If summaries should be printed each iteration. |
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| Control & | cnet, | ||
| SerialNumberList & | snlist, | ||
| bool | printSummary ) |
Constructs a BundleAdjust object using a Control object.
A new control network object will be created as a copy of the Control's control network.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| cnet | The Control object whose control network will be copied. The Control will not be modified by the BundleAdjust. |
| snlist | A serial number list containing the cubes to be adjusted. |
| printSummary | If summaries should be printed each iteration. |
References Isis::Control::fileName().
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| ControlNet & | cnet, | ||
| SerialNumberList & | snlist, | ||
| bool | printSummary = true ) |
Constructs a BundleAdjust object using a ControlNet object.
A copy of the ControlNet will be used.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| cnet | The ControlNet that will be copied. The original ControlNet will not be modified. |
| snlist | A serial number list containing the cubes to be adjusted. |
| printSummary | If summaries should be printed each iteration. |
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| ControlNetQsp | cnet, | ||
| const QString & | cubeList, | ||
| bool | printSummary = true ) |
Constructs a BundleAdjust from an already created ControlNet within a shared pointer.
| bundleSettings | QSharedPointer to the bundle settings to use. |
| cnet | QSharedPointer to the control net to adjust. |
| cubeList | QString name of list of cubes to create serial numbers for. |
| printSummary | Boolean indicating whether to print application output summary. |
| Isis::BundleAdjust::BundleAdjust | ( | BundleSettingsQsp | bundleSettings, |
| Control & | control, | ||
| QList< ImageList * > | imgLists, | ||
| bool | printSummary ) |
Thread safe constructor.
| bundleSettings | A shared pointer to the BundleSettings to be used. |
| control | The Control object whose control network will be copied. The Control will not be modified by the BundleAdjust. |
| snlist | A serial number list containing the cubes to be adjusted. |
| printSummary | If summaries should be printed each iteration. |
References Isis::Control::fileName(), and Isis::Image::fileName().
| Isis::BundleAdjust::~BundleAdjust | ( | ) |
Destroys BundleAdjust object, deallocates pointers (if we have ownership), and frees variables from cholmod library.
|
slot |
Flag to abort when bundle is threaded.
Flag is set outside the bundle thread, typically by the gui thread.
|
slot |
Return the updated instrument pointing table for the ith cube in the cube list given to the constructor.
This is only valid for ISIS camera model cubes
| i | The index of the cube |
|
slot |
Returns a pointer to the output control network.
|
signal |
|
slot |
Return the ith filename in the cube list file given to constructor.
| i | The index of the cube. |
|
signal |
Referenced by solveCholesky().
This method returns the image list used in the bundle adjust.
If a QList<ImageList *> was passed into the constructor then it uses that list, otherwise it constructs the QList using the m_serialNumberList
References _FILEINFO_, Isis::ImageList::append(), Isis::Image::closeCube(), and Isis::IException::Programmer.
| bool Isis::BundleAdjust::isAborted | ( | ) |
Returns if the BundleAdjust has been aborted.
|
slot |
Returns if the BundleAdjust converged.
|
slot |
Returns what iteration the BundleAdjust is currently on.
|
slot |
Returns the iteration summary string.
|
signal |
Referenced by solveCholesky().
|
slot |
Returns a pointer to the output lidar data file.
|
slot |
Return the updated model state for the ith cube in the cube list given to the constructor.
This is only valid for CSM cubes.
| i | The index of the cube to get the model state for |
References _FILEINFO_, Isis::Camera::Camera(), Isis::Camera::Csm, Isis::Camera::GetCameraType(), Isis::CSMCamera::getModelState(), Isis::IException::Programmer, and Isis::toString().
|
slot |
Returns the number of images.
|
slot |
Slot for deltack and jigsaw to output the bundle status.
| status | The bundle status string to output. |
References Isis::iApp.
Referenced by solveCholesky().
|
signal |
|
signal |
Referenced by solveCholesky().
|
slot |
Returns a pointer to the serial number list.
|
slot |
Compute the least squares bundle adjustment solution using Cholesky decomposition.
References _FILEINFO_, Isis::IException::errorType(), finished(), Isis::SurfacePoint::GetLatitude(), Isis::SurfacePoint::GetLongitude(), iterationUpdate(), Isis::SurfacePoint::Latitudinal, outputBundleStatus(), Isis::SurfacePoint::ResetLocalRadius(), resultsReady(), Isis::BundleSettings::Sigma0, statusBarUpdate(), and statusUpdate().
Referenced by solveCholeskyBR().
| BundleSolutionInfo * Isis::BundleAdjust::solveCholeskyBR | ( | ) |
Compute the least squares bundle adjustment solution using Cholesky decomposition.
References solveCholesky().
|
slot |
Return the updated instrument position table for the ith cube in the cube list given to the constructor.
This is only valid for ISIS camera model cubes
| i | The index of the cube |
|
signal |
Referenced by solveCholesky().
|
signal |
Referenced by solveCholesky().