Hi, you can specify the output pixel type in all OTb applications (by default it is float).
To write in "int16" for example: otbcli_OpticalCalibration -in in.tif -out out.tif int16 Available pixel types are : [pixel=uint8/uint16/int16/uint32/int32/float/double] You can also translate pixel type using the convert application (or gdal_translate) Regards, Le 08/08/2014 09:16, Cyprien Alexandre a écrit : > Hi, > > I want to convert a Spot5 image in TOC to compare with an other TOC > image calculate by Kalideos. > OTB give me a 32b signed image. But I need to compare it with a 16b > unsigned image. > > Can someone give me a solution to convert a 32b signed to a 16b unsigned? > > Thank you! > -- > -- > 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. -- Manuel GRIZONNET CNES - DCT/SI/AP - BPI 1219 18, avenue Edouard Belin 31401 Toulouse Cedex 09 - France Tel: +33 561 282 630 - 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.
