Madagascar2011 - 06 - OTB geometry processing

1,495 views
1,375 views

Published on

Published in: Technology, Art & Photos
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,495
On SlideShare
0
From Embeds
0
Number of Embeds
422
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Madagascar2011 - 06 - OTB geometry processing

  1. 1. Orfeo ToolboxGeometric pre-processing Stéphane MAY stephane.may@cnes.fr orfeo-toolbox.org 1
  2. 2. Geometric correctionsGoal Orthorectify images ➢ Transform images from satellite referential to terrestrial referential Cartographic or geographic projection ➢ Use of the geometrical model Impact of the geometrical model precision Superpose images ➢ Superpose images for pan-sharpening, change detection OTB orthorectification works for : ➢ Spot 5, Ikonos, Quickbird, GeoEye, WorldView orfeo-toolbox.org 2
  3. 3. Geometric correctionsMenu Geometry > Reproject Image (1/2) orfeo-toolbox.org 3
  4. 4. Geometric correctionsMenu Geometry > Reproject Image (2/2) orfeo-toolbox.org 4
  5. 5. Use case 1 : Orthorectify an image without DEMMenu File > Open ./img_kalideos_reunion/2003-05-04/j_1a/1.0/IMAGERY.TIFMenu Geometry > Reproject image UTM / Linear User defined Parameters : ➢ Longitude : 55.612 Latitude : -21.290 Spacing X : 10, Spacing Y : -10 (m) Size X : 520, Size Y : 500File > Save dataset orfeo-toolbox.org 5
  6. 6. Use case 1 : Orthorectify an image without DEM orfeo-toolbox.org 6
  7. 7. Use case 2 : Orthorectify an image with DEMMenu File > Open ./img_kalideos_reunion/2003-05-04/j_1a/1.0/IMAGERY.TIFMenu Geometry > Reproject image UTM / Linear User defined Parameters : ➢ Longitude : 55.612 Latitude : -21.290 Spacing X : 10, Spacing Y : -10 (m) Size X : 520, Size Y : 500 DEM : enter the directory where .hgt files areFile > Save datasetVisualization > Viewer > Add 2 images and compare orfeo-toolbox.org 7
  8. 8. Use case 2b : Orthorectify an imageUse the command line tools gdalinfo image.tif otbObtainUTMZoneFromGeoPoint -lat -21.290 -lon 55.612 otbOrthoRectification-cli -in ./img_kalideos_reunion/2003-05- 04/j_1a/1.0/IMAGERY.TIF -out output.tif -ul 978771 7638749 -rpc 10 -size 500 520 -spacing 10 -10 -mapProj UTM 39 S -interp LINEAR otbConvertGeoToCartoPoint -lat -21.290 -lon 55.612 -mapProj UTM 39 S otbConvertCartoToGeoPoint -x 978771 -y 7638749 -mapProj UTM 39 S orfeo-toolbox.org 8
  9. 9. Monteverdi – Superimpose two imagesMenu Geometry > Superimpose two images Combination of geometrical models of the two images (note : works only with images with geometrical model) ➢ Image to be superimposed : use of the direct geometrical model to build Longitude/Latitude projection ➢ Combination with the inverse model of the reference image. ➢ Reprojection orfeo-toolbox.org 9
  10. 10. Monteverdi – Superimpose two imagesMenu Geometry > Superimpose two images orfeo-toolbox.org 10
  11. 11. Use case 3 : Superimpose an image orfeo-toolbox.org 11
  12. 12. Use case 3b : Superimpose an imageUse the command line tool otbSuperimpose-cli -inR img_geom1.tif -inM ../data_formation/img_kalideos_reunion/2004-08- 19/j_1a/1.0/IMAGERY.TIF -out output2.tif orfeo-toolbox.org 12
  13. 13. Monteverdi – Manual registrationMenu Geometry > Homologous points extraction orfeo-toolbox.org 13
  14. 14. Use case 4 : Manual registrationMenu File > Open Last 2 ortho imagesMenu Geometry > Homologous points extraction Select homologous pointsFile > Save datasetVisualization > Viewer > Add 2 images (2003 and 2004 registered) andcompare orfeo-toolbox.org 14
  15. 15. Orfeo Toolbox - RegistrationUse command line tools otbRigidTransformResample-cli -in output2.tif -out output2_tr.tif -tx 150 -ty -90 otbFineRegistration-cli -ref output.tif -sec output2.tif -w output2.tif -out disparity.tif -wo output2_reg.tif -er 10 10 -mr 9 9 -co 150 -90 -m CC -spa 0.5 -ssr 10 10 orfeo-toolbox.org 15
  16. 16. Monteverdi – Build a simple sensor modelMenu Geometry > GCP to sensor model orfeo-toolbox.org 16
  17. 17. Use case 5 : P+XS fusionMenu File > Open ./img_kalideos_reunion/2003-05-04/thr_1a/1.0/IMAGERY.TIF ./img_kalideos_reunion/2003-05-04/j_1a/1.0/IMAGERY.TIFMenu Geometry Orthorectification of PAN image over a selected ROI (Region of Interest)Menu Geometry > Superimpose 2 images Image to reproject : Reader1 (XS) Reference image : Projection>OutputImage Option : DEM : enter the directory where .hgt files areFiltering > Pan-sharpening > Simple RSC pan sharpeningFile > Save datasetFiltering > Pan-sharpening > Bayesian fusionFile > Save dataset orfeo-toolbox.orgVisualization > Viewer > Add 2 images (2 fusions) and compare 17
  18. 18. MonteverdiThank you for your attention ! orfeo-toolbox.org 18

×