madagascar2011 - 06 - otb geometry processing

18
1 orfeo-toolbox.org Orfeo Toolbox Geometric pre-processing Orfeo Toolbox Geometric pre-processing Stéphane MAY [email protected]

Upload: otb

Post on 27-Jan-2015

119 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Madagascar2011 - 06 - OTB geometry processing

1

orfeo-toolbox.org

Orfeo Toolbox Geometric pre-processing

Orfeo Toolbox Geometric pre-processing

Stéphane MAY

[email protected]

Page 2: Madagascar2011 - 06 - OTB geometry processing

2

orfeo-toolbox.org

Goal

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

Geometric correctionsGeometric corrections

Page 3: Madagascar2011 - 06 - OTB geometry processing

3

orfeo-toolbox.org

Menu Geometry > Reproject Image (1/2)

Geometric correctionsGeometric corrections

Page 4: Madagascar2011 - 06 - OTB geometry processing

4

orfeo-toolbox.org

Menu Geometry > Reproject Image (2/2)

Geometric correctionsGeometric corrections

Page 5: Madagascar2011 - 06 - OTB geometry processing

5

orfeo-toolbox.org

Menu File > Open

./img_kalideos_reunion/2003-05-04/j_1a/1.0/IMAGERY.TIF

Menu 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

File > Save dataset

Use case 1 : Orthorectify an image without DEMUse case 1 : Orthorectify an image without DEM

Page 6: Madagascar2011 - 06 - OTB geometry processing

6

orfeo-toolbox.org

Use case 1 : Orthorectify an image without DEMUse case 1 : Orthorectify an image without DEM

Page 7: Madagascar2011 - 06 - OTB geometry processing

7

orfeo-toolbox.org

Menu File > Open

./img_kalideos_reunion/2003-05-04/j_1a/1.0/IMAGERY.TIF

Menu 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 are

File > Save dataset

Visualization > Viewer > Add 2 images and compare

Use case 2 : Orthorectify an image with DEMUse case 2 : Orthorectify an image with DEM

Page 8: Madagascar2011 - 06 - OTB geometry processing

8

orfeo-toolbox.org

Use 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

Use case 2b : Orthorectify an image Use case 2b : Orthorectify an image

Page 9: Madagascar2011 - 06 - OTB geometry processing

9

orfeo-toolbox.org

Menu 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

Monteverdi – Superimpose two imagesMonteverdi – Superimpose two images

Page 10: Madagascar2011 - 06 - OTB geometry processing

10

orfeo-toolbox.org

Menu Geometry > Superimpose two images

Monteverdi – Superimpose two imagesMonteverdi – Superimpose two images

Page 11: Madagascar2011 - 06 - OTB geometry processing

11

orfeo-toolbox.org

Use case 3 : Superimpose an image Use case 3 : Superimpose an image

Page 12: Madagascar2011 - 06 - OTB geometry processing

12

orfeo-toolbox.org

Use 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

Use case 3b : Superimpose an image Use case 3b : Superimpose an image

Page 13: Madagascar2011 - 06 - OTB geometry processing

13

orfeo-toolbox.org

Menu Geometry > Homologous points extraction

Monteverdi – Manual registrationMonteverdi – Manual registration

Page 14: Madagascar2011 - 06 - OTB geometry processing

14

orfeo-toolbox.org

Menu File > Open

Last 2 ortho images

Menu Geometry > Homologous points extraction

Select homologous points

File > Save dataset

Visualization > Viewer > Add 2 images (2003 and 2004 registered) and compare

Use case 4 : Manual registrationUse case 4 : Manual registration

Page 15: Madagascar2011 - 06 - OTB geometry processing

15

orfeo-toolbox.org

Use 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 - RegistrationOrfeo Toolbox - Registration

Page 16: Madagascar2011 - 06 - OTB geometry processing

16

orfeo-toolbox.org

Menu Geometry > GCP to sensor model

Monteverdi – Build a simple sensor modelMonteverdi – Build a simple sensor model

Page 17: Madagascar2011 - 06 - OTB geometry processing

17

orfeo-toolbox.org

Menu 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.TIF

Menu 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 are

Filtering > Pan-sharpening > Simple RSC pan sharpening

File > Save dataset

Filtering > Pan-sharpening > Bayesian fusion

File > Save dataset

Visualization > Viewer > Add 2 images (2 fusions) and compare

Use case 5 : P+XS fusionUse case 5 : P+XS fusion

Page 18: Madagascar2011 - 06 - OTB geometry processing

18

orfeo-toolbox.org

Thank you for your attention !

Monteverdi Monteverdi