Hello,
You can try the "BandMath" application, e.g. in command line :
otbcli_BandMath -il input.tif -out output.tif -expr "im1b1 == 41 ? 40 :
im1b1"
to replace value 41 by 40 and leave other values unchanged.
PS: this mailing list will soon be removed, please use the forum instead
(https://forum.orfeo-toolbox.org/)
Cédric
On 05/06/2019 14:57, michel M wrote:
Hello ,
Which is the function in orfeo tool box to replace some values raster
by other
For example i want to change the values 41 by 40 and 42 by 40 etc ...
many thanks
Michel
--
This mailing will be abandoned soon in favor of a more friendly forum:
https://forum.orfeo-toolbox.org
Thanks to visit it for any question related to Orfeo Toolbox (OTB)
usage, or to check the OTB FAQ:
http://www.orfeo-toolbox.org/FAQ.html
---
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 otb-users+unsubscr...@googlegroups.com
<mailto:otb-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/otb-users/0cc4ea97-e701-4a28-8e28-5754362fc6fe%40googlegroups.com
<https://groups.google.com/d/msgid/otb-users/0cc4ea97-e701-4a28-8e28-5754362fc6fe%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
This mailing will be abandoned soon in favor of a more friendly forum:
https://forum.orfeo-toolbox.org
Thanks to visit it for any question related to Orfeo Toolbox (OTB) usage, or to
check the OTB FAQ:
http://www.orfeo-toolbox.org/FAQ.html
---
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 otb-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/otb-users/20ba7093-2bee-0345-ccc9-99dfa2ac30f3%40c-s.fr.
For more options, visit https://groups.google.com/d/optout.