110 int machine2Image(
double machineX,
double machineY,
double *imageX,
double *imageY);
114 int image2Machine(
double imageX,
double imageY,
double *machineX,
double *machineY);
Calculates a series of affine transformations from the measured coordinates of the up to 90 fiducial ...
void initialize()
Initilizes member variables in preparation for solving for the interior orientation affines.
double maxR
maximum residual vector length
FidObs obs[90]
array to hold all possible observations of fiducial marks
Affine2D affines[44]
an array of discreet affine transformations pertaining to regions of the image (there can never be mo...
int machine2Image(double *machineX, double *machineY)
This method does an in place (overwriting input) conversion of a cube coordinate (sample,...
int n
the number of affines used to model the image
struct Isis::ApolloPanIO::Affine2D Affine2D
C style structure for storing the calculation optimized parameters of a forward and reverse 2D affine...
double meanR
mean of residual vector lenghts
double maxResiduals()
Accessor for the mean (average) of the residual vector lenghts Call after computeInteriorOrienation()...
double stdevResiduals()
Accessor for the standard deviation of the residual vector lenghts Call after computeInteriorOrienati...
struct Isis::ApolloPanIO::FidObs FidObs
C Style structure for storing measured fiducial coordinates.
ApolloPanIO()
Constructs an ApolloPanIO object.
double meanResiduals()
Accessor for the mean (average) of the residual vector lenghts Call after computeInteriorOrienation()...
void calc_residual_stats()
This method calculates summary statistics for the residual vector lenths for all measured fiducial ma...
int image2Machine(double *imageX, double *imageY)
This method does an in place (overwriting input) conversion of an image coordinate into cube (machine...
~ApolloPanIO()
Destroys the ApolloPanObject.
int fiducialObservation(int fiducialNumber, double machine_x, double machine_y)
This method adds a measurement of the center of an apollo panoramic image fiducial mark for considera...
int clearFiducialObservation(int fiducialNumber)
This method removes a measurement of the center of an apollo panoramic image fiducial mark from consi...
double stdevR
standard deviation of residual vector lengths
int computeInteriorOrienation()
This method leverages all the fiducial obersatvions to caculate a series of affine transformations fo...
This is free and unencumbered software released into the public domain.
C style structure for storing the calculation optimized parameters of a forward and reverse 2D affine...
double rotI[2]
Coefficients to rotate Image coordinates so that the right edge of the region is vertical.
int indeces[2]
indeces of the first and last fiducial marks included in this region
double rotM[2]
Coefficients to rotate machine coordinates so that the right edge of the region is vertical.
double mI
max rotated image y coordinate in the region
double A2I[6]
transformation coefficients to go to image coordinates
double mM
max rotate machine y coordinate in the region
double A2M[6]
transformation coefficients to go to machine coordinates
C Style structure for storing measured fiducial coordinates.
int flag
flag to tell if the observation has been made
double image[2]
theoretically perfect image coordinates
double mach[2]
machine coordinates of the fiducial mark
double residuals[2]
residuals of the fiducial mark measurement in machine coordinates