|
OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
This class allows for direct localisation and indirect localisation using the RadarSat2 sensor model. More...
#include <ossimRadarSat2Model.h>
Public Member Functions | |
| ossimRadarSat2Model () | |
| default constructor More... | |
| ossimRadarSat2Model (const ossimRadarSat2Model &rhs) | |
| copy constructor More... | |
| virtual | ~ossimRadarSat2Model () |
| Destructor. More... | |
| virtual ossimString | getClassName () const |
| Method to return the class name. More... | |
| virtual ossimObject * | dup () const |
| Returns pointer to a new instance, copy of this. More... | |
| virtual double | getSlantRangeFromGeoreferenced (double col) const |
| This function associates an image column number to a slant range when the image is georeferenced (ground projected) More... | |
| bool | open (const ossimFilename &file) |
| Method to intantial model from a file. More... | |
| virtual bool | saveState (ossimKeywordlist &kwl, const char *prefix=0) const |
| Method to save object state to a keyword list. More... | |
| virtual bool | loadState (const ossimKeywordlist &kwl, const char *prefix=0) |
| Method to the load (recreate) the state of the object from a keyword list. More... | |
| virtual std::ostream & | print (std::ostream &out) const |
Public Member Functions inherited from ossimplugins::ossimGeometricSarSensorModel | |
| ossimGeometricSarSensorModel () | |
| default constructor More... | |
| ossimGeometricSarSensorModel (const ossimGeometricSarSensorModel &rhs) | |
| copy constructor More... | |
| virtual | ~ossimGeometricSarSensorModel () |
| Destructor. More... | |
| virtual double | getSlantRange (double col) const |
| This function associates an image column number to a slant range. More... | |
| virtual JSDDateTime | getTime (double line) const |
| This function associates an image line number to an azimuth time. More... | |
| virtual bool | getPlatformPositionAtLine (double line, vector< double > &position, vector< double > &speed) |
| This function associates an image line number to a platform position and speed. More... | |
| virtual void | lineSampleHeightToWorld (const ossimDpt &image_point, const double &heightEllipsoid, ossimGpt &worldPoint) const |
| This function is able to convert image coordinates into world coordinates the geometric model of SAR sensors. More... | |
| virtual bool | optimizeModel (const std::list< ossimGpt > &groundCoordinates, const std::list< ossimDpt > &imageCoordinates) |
| This function optimizes the model according to a list of Ground Control Points. More... | |
| virtual void | clearGCPlist () |
| Clears _optimizationGCPsGroundCoordinates and _optimizationGCPsImageCoordinates attributes Updates the optimisation factors and bias. More... | |
| virtual void | getGCPlist (std::list< ossimGpt > &groundCoordinates, std::list< ossimDpt > &imageCoordinates) |
| Returns _optimizationGCPsGroundCoordinates and _optimizationGCPsImageCoordinates attributes. More... | |
| virtual bool | useForward () const |
| double | get_optimizationFactorX () const |
| Accessors to the optimization parameters. More... | |
| double | get_optimizationFactorY () const |
| double | get_optimizationBiasX () const |
| double | get_optimizationBiasY () const |
| ossimRefPtr< ossimCoarseGridModel > | getReplacementOcgModel () |
| virtual void | lineSampleToWorld (const ossimDpt &image_point, ossimGpt &gpt) const |
| void | set_platformPosition (PlatformPosition *platformPosition) |
| Accessors to the plateform, sensor parameters and reference point. More... | |
| void | set_sensorParams (SensorParams *sensorParams) |
| void | set_refPoint (RefPoint *refPoint) |
| PlatformPosition * | get_platformPosition () const |
| SensorParams * | get_sensorParams () const |
| RefPoint * | get_refPoint () const |
Public Member Functions inherited from ossimSensorModel | |
| ossimSensorModel () | |
| ossimSensorModel (const ossimSensorModel ©_this) | |
| ossimSensorModel (const ossimKeywordlist &geom_kwl) | |
| const ossimSensorModel & | operator= (const ossimSensorModel &rhs) |
| assignment operator More... | |
| virtual ossimObject * | getBaseObject () |
| virtual const ossimObject * | getBaseObject () const |
| virtual ossimGpt | origin () const |
| virtual ossimDpt | getMetersPerPixel () const |
| virtual const double & | getNominalPosError () const |
| Returns the estimated Absolute horizontal position error (CE90) of the sensor model. More... | |
| virtual const double & | getRelativePosError () const |
| Returns the estimated RELATIVE horizontal position error (CE90) of the sensor model. More... | |
| virtual void | setNominalPosError (const double &ce90) |
| Assigns the absolute image position error uncertainty (abs CE90) More... | |
| virtual void | setRelativePosError (const double &ce90) |
| Assigns the relative image position error uncertainty (rel CE90) More... | |
| virtual void | worldToLineSample (const ossimGpt &world_point, ossimDpt &image_point) const |
| virtual void | imagingRay (const ossimDpt &image_point, ossimEcefRay &image_ray) const |
| void | setRefImgPt (const ossimDpt &pt) |
| Sets the center line sampe of the image. More... | |
| void | setRefGndPt (const ossimGpt &pt) |
| Sets the center latitude, longitude, height of the image. More... | |
| void | setImageRect (const ossimDrect &imageRect) |
| void | setGroundRect (const ossimGpt &ul, const ossimGpt &ur, const ossimGpt &lr, const ossimGpt &ll) |
| ossimDpt | imageSize () const |
| void | setImageSize (const ossimDpt &size) |
| virtual void | adjustableParametersChanged () |
| virtual void | updateModel () |
| virtual bool | insideImage (const ossimDpt &p) const |
| virtual bool | operator== (const ossimProjection &proj) const |
| const ossimString & | getImageID () const |
| Access methods: More... | |
| const ossimDrect & | getImageClipRect () const |
| virtual ossim_uint32 | degreesOfFreedom () const |
| virtual bool | needsInitialState () const |
| needsInitialState() More... | |
| virtual double | optimizeFit (const ossimTieGptSet &tieSet, double *targetVariance=0) |
| virtual ossimDpt | getForwardDeriv (int parmIdx, const ossimGpt &gpos, double hdelta=1e-11) |
| virtual ossimGpt | getInverseDeriv (int parmIdx, const ossimDpt &ipos, double hdelta=1e-11) |
| virtual ossimSensorModel::CovMatStatus | getObsCovMat (const ossimDpt &ipos, NEWMAT::SymmetricMatrix &Cov, const ossim_float64 defPointingSigma=0.5) const |
| Gives 2X2 covariance matrix of observations. More... | |
| virtual bool | isAffectedByElevation () const |
| Implementation of pure virtual ossimProjection::isAffectedByElevation method. More... | |
| void | computeGsd () |
| This method computes the ground sample distance(gsd) and sets class attributes theGSD and theMeanGSD by doing a lineSampleHeightToWorld on four points and calculating the distance from them. More... | |
| virtual bool | getImageGeometry (const ossimString &, const ossimString &, ossimKeywordlist &) const |
| Extracts geometry info from a non-ossim key,value pair to an ossim keyword list. More... | |
Public Member Functions inherited from ossimProjection | |
| ossimProjection () | |
| virtual | ~ossimProjection () |
| virtual ossimDpt | forward (const ossimGpt &wp) const |
| virtual ossimGpt | inverse (const ossimDpt &pp) const |
| virtual void | getRoundTripError (const ossimDpt &imagePoint, ossimDpt &errorResult) const |
| virtual void | getRoundTripError (const ossimGpt &groundPoint, ossimDpt &errorResult) const |
| virtual void | getGroundClipPoints (ossimGeoPolygon &gpts) const |
| virtual bool | isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const |
| virtual bool | operator!= (const ossimProjection &projection) const |
Public Member Functions inherited from ossimObject | |
| ossimObject () | |
| virtual | ~ossimObject () |
| virtual ossimString | getShortName () const |
| virtual ossimString | getLongName () const |
| virtual ossimString | getDescription () const |
| virtual RTTItypeid | getType () const |
| virtual bool | canCastTo (ossimObject *obj) const |
| virtual bool | canCastTo (const RTTItypeid &id) const |
| virtual bool | canCastTo (const ossimString &parentClassName) const |
| virtual void | accept (ossimVisitor &visitor) |
Public Member Functions inherited from ossimReferenced | |
| ossimReferenced () | |
| ossimReferenced (const ossimReferenced &) | |
| ossimReferenced & | operator= (const ossimReferenced &) |
| void | ref () const |
| increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | unref () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unref_nodelete () const |
| decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| int | referenceCount () const |
Public Member Functions inherited from ossimErrorStatusInterface | |
| ossimErrorStatusInterface () | |
| virtual | ~ossimErrorStatusInterface () |
| virtual ossimErrorCode | getErrorStatus () const |
| virtual ossimString | getErrorStatusString () const |
| virtual void | setErrorStatus (ossimErrorCode error_status) const |
| virtual void | setErrorStatus () const |
| virtual void | clearErrorStatus () const |
| bool | hasError () const |
Public Member Functions inherited from ossimOptimizableProjection | |
| ossimOptimizableProjection () | |
| ossimOptimizableProjection (const ossimOptimizableProjection &source) | |
| virtual | ~ossimOptimizableProjection () |
| virtual ossimOptimizableProjection & | operator= (const ossimOptimizableProjection &source) |
| virtual bool | setupOptimizer (const ossimString &setup) |
| setupFromString() Derived classes should implement as needed. Initialize parameters needed for optimizeFit and degreesOfFreedom More... | |
Public Member Functions inherited from ossimAdjustableParameterInterface | |
| ossimAdjustableParameterInterface () | |
| ossimAdjustableParameterInterface (const ossimAdjustableParameterInterface &rhs) | |
| virtual | ~ossimAdjustableParameterInterface () |
| void | newAdjustment (ossim_uint32 numberOfParameters=0) |
| void | setAdjustmentDescription (const ossimString &description) |
| ossimString | getAdjustmentDescription () const |
| ossimString | getAdjustmentDescription (ossim_uint32 adjustmentIdx) const |
| Returns adjustmentDescription of specific adjustmentInfo. More... | |
| void | setCurrentAdjustment (ossim_uint32 adjustmentIndex, bool notify=false) |
| bool | setCurrentAdjustment (const ossimString &description, bool notify=false) |
| Sets the current adjustment to the adjustment with a matching description. More... | |
| void | eraseAdjustment (bool notify) |
| void | eraseAdjustment (ossim_uint32 idx, bool notify) |
| virtual void | initAdjustableParameters () |
| void | resetAdjustableParameters (bool notify=false) |
| void | copyAdjustment (ossim_uint32 idx, bool notify) |
| void | copyAdjustment (bool notify=false) |
| void | keepAdjustment (ossim_uint32 idx, bool createCopy) |
| virtual void | keepAdjustment (bool createCopy=true) |
| const ossimAdjustableParameterInterface & | operator= (const ossimAdjustableParameterInterface &rhs) |
| void | removeAllAdjustments () |
| ossim_uint32 | getNumberOfAdjustableParameters () const |
| double | getAdjustableParameter (ossim_uint32 idx) const |
| virtual void | setAdjustableParameter (ossim_uint32 idx, double value, bool notify=false) |
| virtual void | setAdjustableParameter (ossim_uint32 idx, double value, double sigma, bool notify=false) |
| double | getParameterSigma (ossim_uint32 idx) const |
| void | setParameterSigma (ossim_uint32 idx, double value, bool notify=false) |
| ossimUnitType | getParameterUnit (ossim_uint32 idx) const |
| void | setParameterUnit (ossim_uint32 idx, ossimUnitType unit) |
| void | setParameterUnit (ossim_uint32 idx, const ossimString &unit) |
| void | setParameterCenter (ossim_uint32 idx, double center, bool notify=false) |
| double | getParameterCenter (ossim_uint32 idx) const |
| double | computeParameterOffset (ossim_uint32 idx) const |
| void | setParameterOffset (ossim_uint32 idx, ossim_float64 value, bool notify=false) |
| ossimString | getParameterDescription (ossim_uint32 idx) const |
| void | setParameterDescription (ossim_uint32 idx, const ossimString &descrption) |
| ossim_int32 | findParameterIdxGivenDescription (ossim_uint32 adjustmentIdx, const ossimString &name) const |
| ossim_int32 | findParameterIdxContainingDescription (ossim_uint32 adjustmentIdx, const ossimString &name) const |
| bool | isParameterLocked (ossim_uint32 idx) const |
| void | setParameterLockFlag (ossim_uint32 idxParam, bool flag) |
| bool | getParameterLockFlag (ossim_uint32 idx) const |
| void | lockAllParametersCurrentAdjustment () |
| void | unlockAllParametersCurrentAdjustment () |
| void | lockAllParameters (ossim_uint32 idxAdjustment) |
| void | unlockAllParameters (ossim_uint32 idxAdjustment) |
| void | resizeAdjustableParameterArray (ossim_uint32 numberOfParameters) |
| void | setAdjustment (const ossimAdjustmentInfo &adj, bool notify=false) |
| void | setAdjustment (ossim_uint32 idx, const ossimAdjustmentInfo &adj, bool notify=false) |
| void | addAdjustment (const ossimAdjustmentInfo &adj, bool notify) |
| void | getAdjustment (ossimAdjustmentInfo &adj) const |
| void | getAdjustment (ossim_uint32 idx, ossimAdjustmentInfo &adj) const |
| ossim_uint32 | getNumberOfAdjustments () const |
| ossim_uint32 | getCurrentAdjustmentIdx () const |
| void | setDirtyFlag (bool flag=true) |
| void | setAllDirtyFlag (bool flag=true) |
| bool | hasDirtyAdjustments () const |
| virtual void | saveCurrentAdjustmentOnly (ossimKeywordlist &kwl, const ossimString &prefix=ossimString("")) |
| Saves the current active adjustment to the KWL file. More... | |
| bool | saveAdjustments (ossimKeywordlist &kwl, const ossimString &prefix=ossimString("")) const |
| Save all adjustments to the KWL file. More... | |
| bool | loadAdjustments (const ossimKeywordlist &kwl, const ossimString &prefix=ossimString("")) |
| std::ostream & | print (std::ostream &out) const |
| Dumps the currently active adjustment to ostream. More... | |
Private Member Functions | |
| virtual bool | InitPlatformPosition (const ossimKeywordlist &kwl, const char *prefix) |
| Initializes the Platform Position from a projection keywordlist. More... | |
| virtual bool | InitSensorParams (const ossimKeywordlist &kwl, const char *prefix) |
| Initializes the Sensor Params from a projection keywordlist. More... | |
| virtual bool | InitRefPoint (const ossimKeywordlist &kwl, const char *prefix) |
| Initializes the Reference Point from a projection keywordlist. More... | |
| virtual bool | InitRefNoiseLevel (const ossimXmlDocument *xmlDocument) |
| virtual bool | InitLut (const ossimXmlDocument *xmlDocument, RadarSat2NoiseLevel &noise) |
| virtual bool | InitSRGR (const ossimKeywordlist &kwl, const char *prefix) |
| Initializes the Slant Range to Ground Range data sets : _srgr_update,_SrGr_R0,_SrGr_coeffs_number,_SrGr_coeffs,_nbCol, _pixel_spacing. More... | |
| int | FindSRGRSetNumber (JSDDateTime date) const |
| Finds the SRGR data set which update time is the closest to the center scene time. More... | |
| bool | initSRGR (const ossimXmlDocument *xdoc, const ossimRadarSat2ProductDoc &rsDoc) |
| bool | initPlatformPosition (const ossimXmlDocument *xdoc, const ossimRadarSat2ProductDoc &rsDoc) |
| bool | initSensorParams (const ossimXmlDocument *xdoc, const ossimRadarSat2ProductDoc &rsDoc) |
| bool | initRefPoint (const ossimXmlDocument *xdoc, const ossimRadarSat2ProductDoc &rsDoc) |
| Method to initialize RefPoint object from RadarSat "product.xml" file. More... | |
| bool | setModelRefPoint (const std::list< ossimGpt > &groundGcpCoordinates, const std::list< ossimDpt > &imageGcpCoordinates) |
| Sets ossimSensorModel members theRefImgPt and theRefGndPt from tie points. More... | |
Private Attributes | |
| int | _n_srgr |
| Slant Range FOR EACH Ground Range (SRGR) number of coefficients sets. More... | |
| std::vector< double > | _srgr_update |
| Slant Range FOR EACH Ground Range coefficient sets update times. More... | |
| std::vector< double > | _SrGr_R0 |
| Slant Range FOR EACH Ground Range Projection reference point. More... | |
| std::vector< std::vector< double > > | _SrGr_coeffs |
| Slant Range FOR EACH Ground Range Projection coefficients. More... | |
| std::vector< RadarSat2NoiseLevel > | _noiseLevel |
| noise level values More... | |
Additional Inherited Members | |
Public Types inherited from ossimSensorModel | |
| enum | CovMatStatus { COV_INVALID = 0, COV_PARTIAL = 1, COV_FULL = 2 } |
| enum | DeriveMode { OBS_INIT =-99, EVALUATE =-98, P_WRT_X = -1, P_WRT_Y = -2, P_WRT_Z = -3 } |
Static Public Member Functions inherited from ossimSensorModel | |
| static void | writeGeomTemplate (ostream &os) |
Static Public Attributes inherited from ossimplugins::ossimGeometricSarSensorModel | |
| static const char * | CREATE_OCG_PREF_KW = "geometric_sar_sensor_model.create_ocg" |
Protected Member Functions inherited from ossimplugins::ossimGeometricSarSensorModel | |
| bool | createReplacementOCG () |
| Creates replacement coarse grid model if user requested via ossim preferences keyword "geometric_sar_sensor_model.create_ocg: <bool>". More... | |
Protected Member Functions inherited from ossimSensorModel | |
| virtual | ~ossimSensorModel () |
| virtual ossimDpt | extrapolate (const ossimGpt &gp) const |
| virtual ossimGpt | extrapolate (const ossimDpt &ip, const double &height=ossim::nan()) const |
| void | buildNormalEquation (const ossimTieGptSet &tieSet, NEWMAT::SymmetricMatrix &A, NEWMAT::ColumnVector &residue, NEWMAT::ColumnVector &projResidue, double pstep_scale) |
| NEWMAT::ColumnVector | getResidue (const ossimTieGptSet &tieSet) |
| NEWMAT::ColumnVector | solveLeastSquares (NEWMAT::SymmetricMatrix &A, NEWMAT::ColumnVector &r) const |
| NEWMAT::Matrix | invert (const NEWMAT::Matrix &m) const |
| stable invert stolen from ossimRpcSolver More... | |
Protected Member Functions inherited from ossimReferenced | |
| virtual | ~ossimReferenced () |
Protected Member Functions inherited from ossimAdjustableParameterInterface | |
| bool | paramChanged (ossim_uint32 param_idx) const |
| Returns true if specified parameter has been modified since last setAllChangeFlag(false) call. More... | |
| void | setAllChangeFlags (bool areChanged) |
| Sets all the change flags to the boolean indicated to indicate parameters are changed (TRUE) or not (FALSE). More... | |
| void | initChangeFlags () |
| Initializes the change flags to TRUE. More... | |
Protected Attributes inherited from ossimplugins::ossimGeometricSarSensorModel | |
| PlatformPosition * | _platformPosition |
| Handle the position of the platform. More... | |
| SensorParams * | _sensor |
| RefPoint * | _refPoint |
| SarSensor * | _sarSensor |
| bool | _isProductGeoreferenced |
| True iff the product is ground range. More... | |
| std::list< ossimGpt > | _optimizationGCPsGroundCoordinates |
| List Ground Control Points used by the optimization. More... | |
| std::list< ossimDpt > | _optimizationGCPsImageCoordinates |
| double | _optimizationFactorX |
| Optimization result : linear error correction in both dimensions. More... | |
| double | _optimizationFactorY |
| double | _optimizationBiasX |
| double | _optimizationBiasY |
| ossimFilename | _imageFilename |
| ossimFilename | _productXmlFile |
| ossimRefPtr< ossimCoarseGridModel > | _replacementOcgModel |
Protected Attributes inherited from ossimSensorModel | |
| ossimIpt | theImageSize |
| ossimDpt | theSubImageOffset |
| ossimString | theImageID |
| ossimString | theSensorID |
| ossimDpt | theGSD |
| ossim_float64 | theMeanGSD |
| ossimGpt | theRefGndPt |
| ossimDpt | theRefImgPt |
| ossimPolygon | theBoundGndPolygon |
| ossimDrect | theImageClipRect |
| ossim_float64 | theRelPosError |
| ossim_float64 | theNominalPosError |
| ossimDpt | theParWRTx |
| Partials for current point. More... | |
| ossimDpt | theParWRTy |
| ossimDpt | theParWRTz |
| ossimDpt | theObs |
| Observations & residuals for current point. More... | |
| ossimDpt | theResid |
| ossimRefPtr< ossimProjection > | theSeedFunction |
| Used as an initial guess for iterative solutions and a guess for points outside the support bounds. More... | |
| bool | theExtrapolateImageFlag |
| bool | theExtrapolateGroundFlag |
Protected Attributes inherited from ossimErrorStatusInterface | |
| ossimErrorCode | theErrorStatus |
This class allows for direct localisation and indirect localisation using the RadarSat2 sensor model.
Definition at line 45 of file ossimRadarSat2Model.h.
| ossimplugins::ossimRadarSat2Model::ossimRadarSat2Model | ( | ) |
default constructor
Definition at line 49 of file ossimRadarSat2Model.cpp.
Referenced by dup().
| ossimplugins::ossimRadarSat2Model::ossimRadarSat2Model | ( | const ossimRadarSat2Model & | rhs | ) |
copy constructor
Definition at line 58 of file ossimRadarSat2Model.cpp.
|
virtual |
|
virtual |
Returns pointer to a new instance, copy of this.
Implements ossimProjection.
Definition at line 76 of file ossimRadarSat2Model.cpp.
References ossimRadarSat2Model().
|
private |
Finds the SRGR data set which update time is the closest to the center scene time.
Definition at line 663 of file ossimRadarSat2Model.cpp.
References _n_srgr, _srgr_update, ossimplugins::JSDDateTime::get_decimal(), and ossimplugins::JSDDateTime::get_second().
Referenced by getSlantRangeFromGeoreferenced().
|
virtual |
Method to return the class name.
Reimplemented from ossimObject.
Definition at line 71 of file ossimRadarSat2Model.cpp.
Referenced by loadState().
|
virtual |
This function associates an image column number to a slant range when the image is georeferenced (ground projected)
| col | Column coordinate of the image point |
Implements ossimplugins::ossimGeometricSarSensorModel.
Definition at line 81 of file ossimRadarSat2Model.cpp.
References _n_srgr, ossimplugins::ossimGeometricSarSensorModel::_refPoint, ossimplugins::ossimGeometricSarSensorModel::_sensor, _SrGr_coeffs, FindSRGRSetNumber(), ossimplugins::SensorParams::get_col_direction(), ossimplugins::RefPoint::get_distance(), ossimplugins::RefPoint::get_ephemeris(), ossimplugins::RefPoint::get_pix_col(), if(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimSensorModel::theGSD, and ossimDpt::x.
|
privatevirtual |
Definition at line 997 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_productXmlFile, ossimString::begin(), ossimString::clear(), ossimFilename::dirCat(), ossimFilename::exists(), ossimFilename::expand(), ossimXmlDocument::findNodes(), ossimplugins::RadarSat2NoiseLevel::get_incidenceAngleCorrectionName(), ossimXmlDocument::openFile(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimFilename::path(), ossimplugins::RadarSat2NoiseLevel::set_gain(), ossimplugins::RadarSat2NoiseLevel::set_offset(), ossimErrorStatusInterface::setErrorStatus(), and ossimString::toFloat64().
Referenced by InitRefNoiseLevel().
|
privatevirtual |
Initializes the Platform Position from a projection keywordlist.
Implements ossimplugins::ossimGeometricSarSensorModel.
Definition at line 408 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_platformPosition, ossimKeywordlist::find(), and ossimplugins::ossim::iso8601TimeStringToCivilDate().
|
private |
Definition at line 770 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_platformPosition, ossimplugins::ossimRadarSat2ProductDoc::initPlatformPosition(), ossimNotify(), and ossimNotifyLevel_DEBUG.
Referenced by open().
|
privatevirtual |
Definition at line 1097 of file ossimRadarSat2Model.cpp.
References _noiseLevel, ossimString::begin(), ossimString::clear(), ossimXmlDocument::findNodes(), InitLut(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimplugins::RadarSat2NoiseLevel::set_incidenceAngleCorrectionName(), ossimplugins::RadarSat2NoiseLevel::set_noiseLevelValues(), ossimplugins::RadarSat2NoiseLevel::set_numberOfNoiseLevelValues(), ossimplugins::RadarSat2NoiseLevel::set_pixelFirstNoiseValue(), ossimplugins::RadarSat2NoiseLevel::set_stepSize(), ossimplugins::RadarSat2NoiseLevel::set_units(), and ossimErrorStatusInterface::setErrorStatus().
Referenced by open().
|
privatevirtual |
Initializes the Reference Point from a projection keywordlist.
Implements ossimplugins::ossimGeometricSarSensorModel.
Definition at line 507 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_isProductGeoreferenced, ossimplugins::ossimGeometricSarSensorModel::_platformPosition, ossimplugins::ossimGeometricSarSensorModel::_refPoint, ossimplugins::ossimGeometricSarSensorModel::_sensor, distance(), ossimKeywordlist::find(), ossimplugins::SensorParams::get_col_direction(), ossimplugins::CivilDateTime::get_decimal(), ossimplugins::SensorParams::get_lin_direction(), ossimplugins::SensorParams::get_prf(), ossimplugins::CivilDateTime::get_second(), ossimplugins::PlatformPosition::Interpolate(), ossimplugins::ossim::iso8601TimeStringToCivilDate(), ossimplugins::ossimGeometricSarSensorModel::optimizeModel(), ossimplugins::CivilDateTime::set_decimal(), ossimplugins::RefPoint::set_distance(), ossimplugins::RefPoint::set_ephemeris(), ossimplugins::RefPoint::set_pix_col(), ossimplugins::RefPoint::set_pix_line(), ossimplugins::CivilDateTime::set_second(), ossimSensorModel::theGSD, ossimSensorModel::theImageClipRect, ossimSensorModel::theImageSize, ossimIpt::x, ossimDpt::x, and ossimIpt::y.
|
private |
Method to initialize RefPoint object from RadarSat "product.xml" file.
| xdoc | Opened product.xml file. |
Definition at line 841 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_isProductGeoreferenced, ossimplugins::ossimGeometricSarSensorModel::_platformPosition, ossimplugins::ossimGeometricSarSensorModel::_refPoint, ossimplugins::ossimGeometricSarSensorModel::_sensor, distance(), ossimplugins::SensorParams::get_col_direction(), ossimplugins::CivilDateTime::get_decimal(), ossimplugins::SensorParams::get_lin_direction(), ossimplugins::SensorParams::get_prf(), ossimplugins::CivilDateTime::get_second(), ossimplugins::ossimRadarSat2ProductDoc::getSlantRangeNearEdge(), ossimplugins::ossimRadarSat2ProductDoc::getZeroDopplerTimeFirstLine(), ossimplugins::ossimRadarSat2ProductDoc::initTiePoints(), ossimplugins::PlatformPosition::Interpolate(), ossimplugins::ossim::iso8601TimeStringToCivilDate(), ossimplugins::ossimGeometricSarSensorModel::optimizeModel(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimplugins::CivilDateTime::set_decimal(), ossimplugins::RefPoint::set_distance(), ossimplugins::RefPoint::set_ephemeris(), ossimplugins::RefPoint::set_pix_col(), ossimplugins::RefPoint::set_pix_line(), ossimplugins::CivilDateTime::set_second(), setModelRefPoint(), ossimSensorModel::theGSD, ossimSensorModel::theImageSize, ossimSensorModel::theRefImgPt, ossimString::toDouble(), ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
Referenced by open().
|
privatevirtual |
Initializes the Sensor Params from a projection keywordlist.
Implements ossimplugins::ossimGeometricSarSensorModel.
Definition at line 347 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_sensor, ossimKeywordlist::find(), ossimplugins::SensorParams::Left, ossimplugins::SensorParams::Right, ossimplugins::SensorParams::set_col_direction(), ossimplugins::SensorParams::set_lin_direction(), ossimplugins::SensorParams::set_nAzimuthLook(), ossimplugins::SensorParams::set_nRangeLook(), ossimplugins::SensorParams::set_prf(), ossimplugins::SensorParams::set_rwl(), ossimplugins::SensorParams::set_semiMajorAxis(), ossimplugins::SensorParams::set_semiMinorAxis(), ossimplugins::SensorParams::set_sf(), and ossimplugins::SensorParams::set_sightDirection().
|
private |
Definition at line 806 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_sensor, ossimplugins::ossimRadarSat2ProductDoc::initSensorParams(), ossimNotify(), and ossimNotifyLevel_DEBUG.
Referenced by open().
|
privatevirtual |
Initializes the Slant Range to Ground Range data sets : _srgr_update,_SrGr_R0,_SrGr_coeffs_number,_SrGr_coeffs,_nbCol, _pixel_spacing.
Implements ossimplugins::ossimGeometricSarSensorModel.
Definition at line 615 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_isProductGeoreferenced, _n_srgr, _SrGr_coeffs, _SrGr_R0, _srgr_update, ossimKeywordlist::find(), ossimplugins::CivilDateTime::get_decimal(), ossimplugins::CivilDateTime::get_second(), and ossimplugins::ossim::iso8601TimeStringToCivilDate().
|
private |
Definition at line 685 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_isProductGeoreferenced, _n_srgr, _SrGr_coeffs, _SrGr_R0, _srgr_update, ossimXmlNode::findFirstNode(), ossimXmlDocument::findNodes(), ossimplugins::CivilDateTime::get_decimal(), ossimplugins::CivilDateTime::get_second(), ossimplugins::ossimRadarSat2ProductDoc::getProductType(), ossimXmlNode::getText(), ossimplugins::ossim::iso8601TimeStringToCivilDate(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimString::split(), ossimString::toDouble(), and ossimRefPtr< T >::valid().
Referenced by open().
|
virtual |
Method to the load (recreate) the state of the object from a keyword list.
Return true if ok or false on error.
Reimplemented from ossimplugins::ossimGeometricSarSensorModel.
Definition at line 1325 of file ossimRadarSat2Model.cpp.
References _n_srgr, _noiseLevel, ossimplugins::ossimGeometricSarSensorModel::_productXmlFile, _SrGr_coeffs, _SrGr_R0, _srgr_update, ossimPolygon::clear(), ossimKeywordlist::find(), getClassName(), ossimplugins::ossimGeometricSarSensorModel::loadState(), open(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimNotifyLevel_WARN, ossimSensorModel::theBoundGndPolygon, ossimString::toBool(), ossimString::toDouble(), ossimString::toInt(), ossimString::toString(), and ossimKeywordNames::TYPE_KW.
| bool ossimplugins::ossimRadarSat2Model::open | ( | const ossimFilename & | file | ) |
Method to intantial model from a file.
Attempts to find the required xml file.
| file |
Definition at line 118 of file ossimRadarSat2Model.cpp.
References ossimplugins::ossimGeometricSarSensorModel::_imageFilename, ossimplugins::ossimGeometricSarSensorModel::_productXmlFile, ossimSupportFilesList::add(), ossimplugins::ossimGeometricSarSensorModel::createReplacementOCG(), ossimFilename::dirCat(), ossimString::downcase(), ossimFilename::exists(), ossimFilename::expand(), ossimFilename::ext(), ossimplugins::ossimRadarSat2ProductDoc::getAcquisitionType(), ossimplugins::ossimRadarSat2ProductDoc::getBeamModeMnemonic(), ossimplugins::ossimRadarSat2ProductDoc::getImageId(), ossimplugins::ossimRadarSat2ProductDoc::getSatellite(), ossimplugins::ossimRadarSat2ProductDoc::initGsd(), ossimplugins::ossimRadarSat2ProductDoc::initImageSize(), initPlatformPosition(), InitRefNoiseLevel(), initRefPoint(), initSensorParams(), initSRGR(), ossimSupportFilesList::instance(), ossimFilename::isFile(), ossimplugins::ossimRadarSat2ProductDoc::isRadarSat2(), ossimplugins::ossimGeometricSarSensorModel::lineSampleToWorld(), ossimDrect::ll(), ossimDrect::lr(), ossimFilename::NIL, ossimXmlDocument::openFile(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimFilename::path(), ossimSensorModel::setGroundRect(), ossimSensorModel::theGSD, ossimSensorModel::theImageClipRect, ossimSensorModel::theImageID, ossimSensorModel::theImageSize, ossimSensorModel::theMeanGSD, ossimSensorModel::theSensorID, ossimSensorModel::theSubImageOffset, ossimDrect::ul(), ossimDrect::ur(), ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
Referenced by ossimplugins::ossimRadarSat2TiffReader::getInternalImageGeometry(), and loadState().
|
virtual |
METHOD: print() Fulfills base-class pure virtual. Dumps contents of object to ostream.
Reimplemented from ossimplugins::ossimGeometricSarSensorModel.
Definition at line 294 of file ossimRadarSat2Model.cpp.
References _n_srgr, _SrGr_coeffs, _SrGr_R0, _srgr_update, and ossimplugins::ossimGeometricSarSensorModel::print().
|
virtual |
Method to save object state to a keyword list.
| kwl | Keyword list to save to. |
| prefix | added to keys when saved. |
Reimplemented from ossimplugins::ossimGeometricSarSensorModel.
Definition at line 1237 of file ossimRadarSat2Model.cpp.
References _n_srgr, _noiseLevel, ossimplugins::ossimGeometricSarSensorModel::_productXmlFile, _SrGr_coeffs, _SrGr_R0, _srgr_update, ossimKeywordlist::add(), ossimString::c_str(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimplugins::ossimGeometricSarSensorModel::saveState(), and ossimString::toString().
|
private |
Sets ossimSensorModel members theRefImgPt and theRefGndPt from tie points.
| groundGcpCoordinates | Ground tie points. |
| imageGcpCoordinates | Image tie points. |
Definition at line 1519 of file ossimRadarSat2Model.cpp.
References ossimIpt::hasNans(), ossimNotify(), ossimNotifyLevel_DEBUG, ossimSensorModel::theImageSize, ossimSensorModel::theRefGndPt, ossimSensorModel::theRefImgPt, ossimIpt::x, ossimDpt::x, ossimIpt::y, and ossimDpt::y.
Referenced by initRefPoint().
|
private |
Slant Range FOR EACH Ground Range (SRGR) number of coefficients sets.
Definition at line 170 of file ossimRadarSat2Model.h.
Referenced by FindSRGRSetNumber(), getSlantRangeFromGeoreferenced(), InitSRGR(), initSRGR(), loadState(), print(), and saveState().
|
private |
noise level values
Definition at line 190 of file ossimRadarSat2Model.h.
Referenced by InitRefNoiseLevel(), loadState(), and saveState().
|
private |
Slant Range FOR EACH Ground Range Projection coefficients.
Definition at line 185 of file ossimRadarSat2Model.h.
Referenced by getSlantRangeFromGeoreferenced(), InitSRGR(), initSRGR(), loadState(), print(), and saveState().
|
private |
Slant Range FOR EACH Ground Range Projection reference point.
Definition at line 180 of file ossimRadarSat2Model.h.
Referenced by InitSRGR(), initSRGR(), loadState(), print(), and saveState().
|
private |
Slant Range FOR EACH Ground Range coefficient sets update times.
Definition at line 176 of file ossimRadarSat2Model.h.
Referenced by FindSRGRSetNumber(), InitSRGR(), initSRGR(), loadState(), print(), and saveState().
1.8.14