Can you post the result of gdalinfo on your input image, as well as the .geom files associated with them ?
Thanks, Regards, Julien De : [email protected] [mailto:[email protected]] De la part de [email protected] Envoyé : mercredi 10 janvier 2018 15:30 À : otb-users <[email protected]> Objet : [otb-users] Re: error orthorectifying pleiades imagery Just redid the optical calibration for panchromatic and multispectral images and got some strange outputs. Here is the image_info for multispectral: F:\JordanData\RemoteSensingGAH>otbcli_ReadImageInfo -in calibration\OPT_CAL\2015\MUL_OPT_CAL.tif 2018 Jan 10 14:21:55 : Application.logger (INFO) Image general informations: Number of bands : 4 Start index : [0,0] Size : [2064,5028] Origin : [1,1] Spacing : [4,-4] Estimated ground spacing (in meters): [8.96253,9.28282] Image acquisition informations: Sensor : PHR 1A Image identification number: 1534717101-002 Acquisition time : 2015-06-05T08:21:00 Country : Jordan Town : Al ß©¿ad─½thah Image footprint coordinates: Upper left corner (latitude, longitude) = [31.3909,35.51] Upper right corner (latitude, longitude) = [31.3873,35.5583] Lower left corner (latitude, longitude) = [31.2863,35.5101] Lower right corner (latitude, longitude) = [31.2829,35.5583] Image default RGB composition: [R, G, B] = [0,1,2] Ground control points information: Number of GCPs = 0 GCPs projection = Output parameters value: indexx: 0 indexy: 0 sizex: 2064 sizey: 5028 spacingx: 4 spacingy: -4 originx: 1 originy: 1 estimatedgroundspacingx: 8.962534904 estimatedgroundspacingy: 9.282822609 numberbands: 4 sensor: PHR 1A id: 1534717101-002 time: 2015-06-05T08:21:00 ullat: 31.39094353 ullon: 35.50995255 urlat: 31.38734818 urlon: 35.55825806 lrlat: 31.2828598 lrlon: 35.55826187 lllat: 31.28630066 lllon: 35.51011276 town: Al ß©¿ad─½thah country: Jordan rgb.r: 0 rgb.g: 1 rgb.b: 2 projectionref: keyword: gcp.count: 0 gcp.proj: gcp.ids: gcp.info: gcp.imcoord: gcp.geocoord: Here is the same for panchromatic: F:\JordanData\RemoteSensingGAH>otbcli_ReadImageInfo -in calibration\OPT_CAL\2015\PAN_OPT_CAL.tif 2018 Jan 10 14:26:29 : Application.logger (INFO) Image general informations: Number of bands : 1 Start index : [0,0] Size : [8253,20108] Origin : [1,1] Spacing : [1,-1] Estimated ground spacing (in meters): [0,0] Image acquisition informations: Sensor : PHR 1A Image identification number: 1534717101-001 Acquisition time : 2015-06-05T08:21:00 Image footprint coordinates: Upper left corner (latitude, longitude) = [0,0] Upper right corner (latitude, longitude) = [0,0] Lower left corner (latitude, longitude) = [0,0] Lower right corner (latitude, longitude) = [0,0] Image default RGB composition: [R, G, B] = [0,1,2] Ground control points information: Number of GCPs = 0 GCPs projection = Output parameters value: indexx: 0 indexy: 0 sizex: 8253 sizey: 20108 spacingx: 1 spacingy: -1 originx: 1 originy: 1 estimatedgroundspacingx: 0 estimatedgroundspacingy: 0 numberbands: 1 sensor: PHR 1A id: 1534717101-001 time: 2015-06-05T08:21:00 ullat: 0 ullon: 0 urlat: 0 urlon: 0 lrlat: 0 lrlon: 0 lllat: 0 lllon: 0 town: Not available country: Not available rgb.r: 0 rgb.g: 1 rgb.b: 2 projectionref: keyword: gcp.count: 0 gcp.proj: gcp.ids: gcp.info: gcp.imcoord: gcp.geocoord: anyone know why orfeo is failing to pick up the coordinates of the panchromatic image? On Wednesday, January 10, 2018 at 2:15:26 PM UTC, [email protected]<mailto:[email protected]> wrote: I am trying to orthorectify an already optically calibrated and pan-sharpened pair of pan and multispectral pleiades A images from 2015 using the code posted in this topic: https://groups.google.com/forum/#!topic/otb-users/a00urdG0qEM however, I keep getting this error log: F:\JordanData\RemoteSensingGAH>call otbcli_OrthoRectification -io.in<http://io.in> calibration\PANSHARPENED\2015\OPT_CAL_PS.tif -io.out calibration\ORTHO\2015\OPT_CAL_PS_OR.tif -elev.dem DEMs\SRTM\dem_otb 2018 Jan 10 14:07:52 : Application.logger (CRITICAL) Wrong value : negative size : (0 , 0) 2018 Jan 10 14:07:52 : Application.logger (INFO) Elevation management: setting default height above ellipsoid to 0 meters 2018 Jan 10 14:07:52 : Application.logger (INFO) Elevation management: using DEM directory (DEMs\SRTM\dem_otb) 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with size = [0, 0] 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with pixel spacing = [-1.#IND, 1.#QNAN] 2018 Jan 10 14:07:52 : Application.logger (INFO) Generating output with origin = [-1.#IND, 1.#QNAN] 2018 Jan 10 14:07:52 : Application.logger (INFO) Area outside input image bounds will have a pixel value of [0, 0, 0, 0] 2018 Jan 10 14:07:52 : Application.logger (INFO) Using a deformation grid with a physical spacing of 4 2018 Jan 10 14:07:52 : Application.logger (INFO) Using a deformation grid of size [0, 0] 2018 Jan 10 14:07:52 : Application.logger (FATAL) Deformation grid degenerated (size of 0). You shall set opt.gridspacing appropriately. opt.gridspacing units are the same as outputs.spacing units 2018 Jan 10 14:07:52 : Application.logger (FATAL) The following error occurred during application execution : C:\Users\jmalik\Dashboard\src\OTB-5.0.0\Modules\Applications\AppProjection\app\otbOrthoRectification.cxx:707: itk::ERROR: Fatal error caught. Aborting... I'm not sure why this is, any explanations? cheers, Rob -- -- 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]<mailto:[email protected]> To unsubscribe from this group, send email to [email protected]<mailto:[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. -- -- 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.
