Hi, can you post the logs of the upper left tile for case 1 and also the
complete logs for case 2 ?
A ReadImageInfo on both would also be helpful.
Thanks,
Julien
Le 19/08/2016 à 15:18, André Stumpf a écrit :
...just realized that the GIF doesn't seem to work after the upload,
so here two PNGs attached.
On Friday, August 19, 2016 at 3:13:17 PM UTC+2, André Stumpf wrote:
Hello,
I noticed a small offset between orthoimges generated from
individual tiles and mosaics. Not sure if this is a bug or a
feature...
I have a SPOT 6 image delivered in four separate tiles:
|
IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.JP2
IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R2C1.JP2
IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R2C2.JP2
IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C2.JP2
|
...and its respective DIMAPV2 file:
|
DIM_SPOT6_PMS_201505020447120_SEN_1285949101.XML
RPC_SPOT6_PMS_201505020447120_SEN_1285949101.XML
|
One strategy would be an orthorectification of each tile indivually...
|
otbcli_OrthoRectification
-io.in"PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_PMS_001_A/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.JP2"-io.out"PROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES"uint16
-map utm -map.utm.zone 45-outputs.spacingx 2-outputs.spacingy
-2-outputs.mode autosize -elev.dem ../SRTM30 -opt.ram 1000
2016Aug1912:44:01:Application.logger
(INFO)Elevationmanagement:setting defaultheight above ellipsoid to
0meters
2016Aug1912:44:02:Application.logger
(INFO)Elevationmanagement:usingDEM directory (../SRTM30)
2016Aug1912:44:02:Application.logger (INFO)Generatingoutput
withsize =[11061,13789]
2016Aug1912:44:02:Application.logger (INFO)Generatingoutput
withpixel spacing =[2,-2]
2016Aug1912:44:02:Application.logger (INFO)Generatingoutput
withorigin =[273642,3.13359e+06]
2016Aug1912:44:02:Application.logger (INFO)Areaoutside input image
bounds will have a pixel value of [0,0,0,0]
2016Aug1912:44:02:Application.logger (INFO)Usinga deformation grid
witha physical spacing of 4
2016Aug1912:44:02:Application.logger (INFO)Usinga deformation grid
of size [5530,6894]
WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:0%[WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:2%[*WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:4%[**WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:6%[***WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:8%[****WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:10%[*****WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:12%[******WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:14%[*******WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:16%[********WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:18%[*********WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:20%[**********WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:22%[***********WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:24%[************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:26%[*************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:28%[**************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:30%[***************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:32%[****************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:34%[*****************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:36%[******************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:38%[*******************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:40%[********************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:42%[*********************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:44%[**********************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:46%[***********************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:48%[************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:50%[*************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:52%[**************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:54%[***************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:56%[****************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:58%[*****************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:60%[******************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:62%[*******************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:64%[********************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:66%[*********************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:68%[**********************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:70%[***********************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:72%[************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:74%[*************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:76%[**************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:78%[***************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:80%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:82%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:84%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:86%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:88%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:90%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:92%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:94%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:96%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:98%[****************************************WritingPROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_R1C1.tif?&gdal:co:TILED=YES...:100%[**************************************************](2e+02seconds)
|
...the other (better?) strategy would be to fuse with
otbcli_TileFusion:
|IMG_SPOT6_PMS_201505020447120_SEN_1285949101.tif|
|
|...and then orthorectify the mosaic:
|
otbcli_OrthoRectification
-io.in"IMG_SPOT6_PMS_201505020447120_SEN_1285949101.tif"-io.out"PROD_SPOT6_001/IMG_SPOT6_PMS_201505020447120_SEN_1285949101_ortho.tif?&gdal:co:TILED=YES"uint16
-map utm -map.utm.zone 45-outputs.spacingx 2-outputs.spacingy
-2-outputs.mode autosize -elev.dem ../SRTM30 -opt.ram 1000
|
In their overlap area both orthos have an sytematic offset of
about one pixel (see attached GIF). Unfortunately I lack a
reference to evaluate which of the orthos is more correct but in
any case I guess this should not happen since the input RPCs are
the same in both cases?
Cheers,
André
--
--
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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
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.