Le 26/05/2014 10:43, Walid Bouceffa a écrit :
*I have many questions about OTB4,*
*
*
*I want to know if OTB4 can support SPOT6 images ?? I installed otb from synaptic and it seems that it doesn't support SPOT 6*

otbcli_OpticalCalibration -in small.tif -level toa -milli 1 -out small_toa.tif

2014 May 26 09:07:20 : Application.logger (FATAL) The following error occurred during application execution : /build/buildd/otb-4.0.0/Code/IO/otbOpticalDefaultImageMetadataInterface.h:63: itk::ERROR: OpticalDefaultImageMetadataInterface(0x9644f68): GetPhysicalGain not implemented in OpticalDefaultImageMetadataInterface, no captor type found Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!


*However when i tried with a version compiled from source code it works *

/home/walid/OTB-4/install/usr/local/bin/otbcli_OpticalCalibration -in small.tif -level toa -milli 1 -out small_toa.tif

2014 May 26 09:10:32  :  Application.logger  (INFO)
File: small.tif
Sensor detected: SPOT 6
Parameters extract from input image:
Acquisition Day: 2
Acquisition Month: 11
Acquisition Sun Elevation Angle: 35.5154
Acquisition gain (per band): 10.4416 9.529 8.5175 14.0063
Acquisition bias (per band): 0 0 0 0
Solar Irradiance (per band): 1540.49 1826.09 1982.67 1094.75

2014 May 26 09:10:32 : Application.logger (INFO) Compute Top of Atmosphere reflectance Writing small_toa.tif...: 100% [**************************************************] (0.3 seconds) Inconsistency detected by ld.so: dl-close.c: 759: _dl_close: Assertion `map->l_init_called' failed!

This has been implemented after OTB 4.0 release. So if you use synaptic, you will not get the support, while when building a trunk version, support is there.

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