Hi,

On 03/25/2015 09:38 AM, Jordi Inglada wrote:
Hi,

For the record, we (actually my student!) have written a script which uses 
ReadImageInfo to dump the GCPs and create the tie points file for 
GenerateRPCSensorModel and after that, we use the OrthoRectification 
application.

It seems to work (we have some artifacts in the generated image, but we are 
looking at that).

However, I am still wondering why the OrthoRectification application is not 
using the metadata in the initial image? I understand that what we have done 
can be useful if the image to be orthorectified does not have the GCPs and they 
are available elsewhere, but all the information is contained in our initial 
image:
That would be a nice feature, however the OrthoRectification application is already quite complex. Adding new features in it will maybe confuse the users. Maybe an improvement to do on GenerateRPCSensorModel so that it can directly read the GCP from an input image...


GCP Projection =
GEOGCS["WGS 84",
     DATUM["WGS_1984",
         SPHEROID["unnamed",6378137,298.257223560493,
             AUTHORITY["EPSG","4326"]],
         AUTHORITY["EPSG","6326"]],
     PRIMEM["Greenwich",0],
     UNIT["degree",0.0174532925199433],
     AUTHORITY["EPSG","4326"]]
GCP[  0]: Id=1, Info=
           (0,0) -> (3.35838036356165,44.0387571612464,573.503620014526)

Furthermore, the OrthoRectification application has an option -opt.rpc. What is 
the purpose of this?
Some sensor models use a physical model (for instance SPOT5), which makes the computation of inverse localization slower compared to a RPC model. This option allows to compute a RPC model using the current sensor model to speed up the computation.

Thank you.

Jordi


Julien Michel <[email protected]> wrote:
Le 24/03/2015 10:58, Jordi Inglada a écrit :
Guillaume Pasero<[email protected]>  wrote:
You have to rename the geom file with the same name as your sensor
image and place the file in the same folder. The OTB will
automatically read informations in this file.
In this case, you should say "automagically". Thank you!
Just for the record, you can also "attach" a geom file to an image
without copying it to the same location with the same name, by using
the "geom" extended filename keyword :

"myImage.tif?&geom=myGeom.geom"

see http://wiki.orfeo-toolbox.org/index.php/ExtendedFileName .

Regards,

Julien

--
Julien MICHEL
CNES - DCT/SI/AP - BPI 1219
18, avenue Edouard Belin
31401 Toulouse Cedex 09 - France
Tel: +33 561 282 894 - Fax: +33 561 283 109

--

--
<www.c-s.fr>      *Guillaume PASERO*
Ingénieur d'études et développement
*Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS*

*CS Systèmes d'Information*
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to