Skip to content
Snippets Groups Projects
Commit 582d466e authored by Romain Garrigues's avatar Romain Garrigues
Browse files

Prise en compte de la variable height (auparavant commentée), car elle permet...

Prise en compte de la variable height (auparavant commentée), car elle permet de générer les valeurs d'une image DEM dans l'exemple de Miary
parent d52c10ba
No related branches found
No related tags found
No related merge requests found
......@@ -265,10 +265,10 @@ geoPoint= utmprojection->TransformPoint(outputpoint);
otbMsgDevMacro(<< "Le point gographique correspondant est: ("<< geoPoint[0]<< ","<< geoPoint[1]<< ")");
//on calcule son altitude
//height=otbElevManager->GetHeightAboveMSL(geoPoint);
height=otbElevManager->GetHeightAboveMSL(geoPoint);
//On calcule les coordonnes pixeliques sur l'image capteur
inputpoint = model->TransformPoint(geoPoint/*, height*/);
inputpoint = model->TransformPoint(geoPoint);
otbMsgDevMacro(<< "Les coordonnes en pixel sur l'image capteur correspondant ce point sont:" << std::endl
<< inputpoint[0] << ","<< inputpoint[1] );
inputimage->TransformPhysicalPointToIndex(inputpoint,pixelindex);
......
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