Skip to content
Snippets Groups Projects
Commit 077f1363 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

MOdifs necessaires pour radarsat

parent 977ac2cf
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,10 @@ public:
const double& heightEllipsoid,
ossimGpt& worldPoint) const;
void lineSampleToWorld(const ossimDpt& image_point,
ossimGpt& worldPoint)
const;
/**
* @brief This function optimizes the model according to a list of Ground Control Points.
* An inverse localization of each ground GCP is performed. The mean shift between localized GCPs and actual image coordinates
......
......@@ -168,6 +168,9 @@ bool ossimRadarSatTileSource::open()
* On construit le chemin du Leader file
*/
ossimFilename leaderFilePath = tempFilename.setFile("LEA_01");
if (!leaderFilePath.exists())
leaderFilePath = tempFilename.setFile("lea_01");
// ossimFilename leaderFilePath = tempFilename.setFile("LEA_01");
if (leaderFilePath.exists())
{
if(traceDebug())
......@@ -371,4 +374,4 @@ bool ossimRadarSatTileSource::getImageGeometry(ossimKeywordlist& kwl,const char*
int t;
t = 10;
return true;
}
\ No newline at end of file
}
......@@ -102,6 +102,13 @@ void ossimRadarSatModel::lineSampleHeightToWorld(const ossimDpt& image_point, co
worldPoint.hgt = heightEllipsoid ;
}
void ossimRadarSatModel::lineSampleToWorld(const ossimDpt& image_point,
ossimGpt& worldPoint)
const
{
this->lineSampleHeightToWorld(image_point, 0.0, worldPoint);
}
bool ossimRadarSatModel::loadState(const ossimKeywordlist &kwl, const char *prefix)
{
if(!InitPlatformPosition(kwl, prefix))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment