Yes it's possible! For all applications actually you can set the output data 
type like so, for example:

-out name.tif uint8

the list of supported types is:
uint8/uint16/int16/uint32/int32/float/double/cint16/cint32/cfloat/cdouble

you can see it in the command line help. The default is float. (i.e. float32).

However there is no support for half-precision unfortunately :( This comes from 
GDAL which does not support it for writing (and it comes from C++ which has no 
native type for it). See this discussion for example:

http://osgeo-org.1560.x6.nabble.com/gdal-dev-Support-for-Float16-and-CFloat16-td5359522.html

Best,

Victor Poughon
________________________________
De : [email protected] [[email protected]] de la part de 
Gabrielle Hoelzle [[email protected]]
Envoyé : vendredi 4 janvier 2019 18:50
À : otb-users
Objet : [otb-users] Re: 2 general suggestions for the Documentation

The new documentation is great! I have a question though for Orthorectification 
I saw you listed it as thus for parameters io.out image [dtype]
Is it possible to set the output datatype in this same step? If so how? I have 
WV data that needs to be orthoed and the data type keeps getting bumped from 
float 16 to float 32.

On Friday, January 4, 2019 at 9:29:26 AM UTC-5, alobo wrote:
Hi,

2 suggestions regarding the doc:
1. The tables for parameters lack a column with Default values
(e.g. Table in 
https://www.orfeo-toolbox.org/CookBook/Applications/app_DimensionalityReduction.html)

2. In general, a very simple case is provided as example, e.g.
otbcli_DimensionalityReduction -in cupriteSubHsi.tif -out
FilterOutput.tif -method pca
This is seldom useful, as simple cases are the ones everyone figures
out  how to do. A more comprehensive example using many parameters
would be much more interesting.
I understand this would be involved, perhaps some kind of
community-based effort could be organized. People could just provide
examples for those commands with which they have more experience.

Agus

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

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