20 static ossimTrace traceExec (
"ossimPointObservation:exec");
21 static ossimTrace traceDebug (
"ossimPointObservation:debug");
47 for (
int i=0; i<3; ++i)
theObsSigmas[i] = latLonHgtSigmas[i];
53 theScore(tpt.theScore)
69 <<
"DEBUG: ~ossimPointObservation(): returning..." << std::endl;
77 for (
int i=0; i<3; ++i)
93 const std::string& imgFile,
139 meas = NEWMAT::Matrix(1, 2);
147 cov = NEWMAT::Matrix(2,2);
157 cov = NEWMAT::Matrix(3,3);
163 cov(1,1) = stdrp*stdrp;
164 cov(2,2) = stdrl*stdrl;
183 resid = NEWMAT::Matrix(1, 2);
184 resid[0][0] = residual.
x;
185 resid[0][1] = residual.
y;
191 parPartials = NEWMAT::Matrix(
theNumPars[index], 2);
198 objPartials = NEWMAT::Matrix(3, 2);
209 os << std::setiosflags(std::ios::fixed) << std::setprecision(2);
216 os <<
"\t" <<
dynamic_cast<const ossimGpt&
>(*this);
std::vector< ossimFilename > theImageFiles
std::vector< int > theNumPars
virtual ossimImageHandler * open(const ossimFilename &fileName, bool trySuffixFirst=true, bool openOverview=true) const
open that takes a filename.
std::vector< ossimDpt > theMeas
void getParameterPartials(const int index, NEWMAT::Matrix &parPartials)
bool computeGroundToImagePartials(NEWMAT::Matrix &result, const ossimGpt &gpt, const ossimDpt3d &deltaLlh)
ossim_uint32 getNumberOfAdjustableParameters() const
void getObjSpacePartials(const int index, NEWMAT::Matrix &objPartials)
void getResiduals(const int index, NEWMAT::Matrix &resid)
virtual ossimAdjustableParameterInterface * getAdjustableParameterInterface()
void getObsCov(NEWMAT::Matrix &cov) const
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
void setImageGeom(const int index, ossimImageGeometry *imgGeom)
unsigned int ossim_uint32
std::vector< ossimRefPtr< ossimImageHandler > > theImageHandlers
std::ostream & print(std::ostream &os, ossim_uint32 precision=15) const
Container class that holds both 2D transform and 3D projection information for an image Only one inst...
ossimGpt & refGroundPoint()
void getMeasCov(const int index, NEWMAT::Matrix &cov) const
std::ostream & operator<<(std::ostream &os, const ossimPointObservation &pt)
void getMeasurement(const int index, NEWMAT::Matrix &meas) const
void addMeasurement(const ossimDpt &meas, const ossimFilename &imgFile, const ossimDpt &measSigma=ossimDpt(1.0, 1.0))
bool worldToLocal(const ossimGpt &world_pt, ossimDpt &local_pt) const
Exposes the 3D world-to-local image coordinate reverse projection.
ossimDpt metersPerDegree() const
unsigned int numMeas() const
static ossimImageHandlerRegistry * instance()
std::ostream & print(std::ostream &os) const
Generic print method.
std::vector< ossimDpt > theMeasSigmas
OSSIMDLLEXPORT std::ostream & ossimNotify(ossimNotifyLevel level=ossimNotifyLevel_WARN)
std::basic_ostream< char > ostream
Base class for char output streams.
ossimImageGeometry * getImageGeom(const int index)
bool isnan(const float &v)
isnan Test for floating point Not A Number (NAN) value.
bool computeImageToGroundPartialsWRTAdjParams(NEWMAT::Matrix &result, const ossimGpt &gpt, ossim_float64 paramDelta=1.0)