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:

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?

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

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