Re: [otb-users] introduction of negative DNs in otb

2019-01-14 Thread Antoine Regimbeau

Hi Gabrielle,

Actually OTB does not support half precision floating point... It will 
be read as a 32bits floating point.


The negative value can come from a No Data in your images, as you are 
interpolating values...


As a workaround you can try to use DynamicConvert (to be sure that it is 
not the conversion from 16 to 32 bits that is not done correctly), and 
then use a mask to avoid taking No Data into account (for instance set a 
No Data Value to -99, with the ManageNoData app, and threshold the 
result once interpolated to only keep positive values).


Hope it works, and don't hesitate if you have more questions!

Antoine


On 11/01/2019 16:30, Gabrielle Hoelzle wrote:

I have not been using command line but a script. I will attach.

On Friday, January 11, 2019 at 10:11:54 AM UTC-5, Julien Michel wrote:

Hi,

Can you post more details, such as command-lines ?

Regards,

Julien

*De :*otb-...@googlegroups.com 
> *De la part de* Gabrielle
Hoelzle
*Envoyé :* vendredi 11 janvier 2019 16:05
*À :* otb-users >
*Objet :* [otb-users] introduction of negative DNs in otb

I am having an issue with both Worldview and Pleaides when I run
(at minimuim) any of these steps : superimpose, pansharpening,
orthorectification. During the process, the 16bit float raw inputs
are being upgraded 32 bit and negative values are being
introduced. I am hoping someone is aware of a workaround for this.
Or an explanation of why this is happening. Thanks

-- 
-- 
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 otb-...@googlegroups.com

To unsubscribe from this group, send email to
otb-users+...@googlegroups.com 
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 otb-users+...@googlegroups.com .
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com 
.

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.
For more options, visit https://groups.google.com/d/optout.


[otb-users] Welcome to Discourse!

2019-01-14 Thread Sébastien Dinot
Dear all,

As announced in November, we have just deployed a Discourse instance:

https://forum.orfeo-toolbox.org/

This forum now replaces the otb-developers@ and otb-users@ mailing lists
that will be closed within a few weeks.

*We therefore invite you to create an account on Discourse right now.*

If you are a regular user or developer of Orfeo Toolbox, we highly
suggest you to configure your account to enable the mailing list mode as
this is explained on ITK forum:

https://discourse.itk.org/t/using-discourse-as-a-mailing-list/32

Please notice that the "Reply by mail" function is not available yet. It
will be activated soon.

Have a nice day!

Sébastien


-- 
Sébastien Dinot
Free Software Expert
CS SI - Space BU - Payload, Data & Applications
Parc de la Grande Plaine - 5, rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - France
+33 (0)5 61 17 64 48 - sebastien.di...@c-s.fr

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [otb-users] Uninstall OTB

2019-01-14 Thread Efi Konstantinidou
Hello Victor,

Thank you replying. Indeed I installed the OTB windows package, as you
mention. I asked the question because I did not find an uninstall utility.
I will try what you suggest (just delete the folder).
I want to try an older version because there is an issue with the Vector
Classifier tool (see topic " vector classification, specifying parameters "
in OTB users group) and a colleague suggested I try an older version of
OTB. Hope it will work.

Regards,
Liten

On Mon, Jan 14, 2019 at 11:12 AM Poughon Victor 
wrote:

> Hi Efi,
>
>
>
> You need to tell us how you installed it in the first place. If you're
> using the windows package from the website, you can just delete the
> extracted folder.
>
>
>
> Can I ask why you need to use an older OTB?
>
>
>
> Victor Poughon
>
>
>
> *De :* otb-users@googlegroups.com  *De la
> part de* Efi
> *Envoyé :* vendredi 11 janvier 2019 11:29
> *À :* otb-users 
> *Objet :* [otb-users] Uninstall OTB
>
>
>
> Hello All,
>
>
>
> I'd like to remove the current OTB installation from my machine in order
> to install an older version, what would be the best way to proceed?
>
> Thank you in advance,
>
>
>
> Liten
>
> --
> --
> 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 otb-users@googlegroups.com
> To unsubscribe from this group, send email to
> otb-users+unsubscr...@googlegroups.com
> 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 otb-users+unsubscr...@googlegroups.com.
> 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 otb-users@googlegroups.com
> To unsubscribe from this group, send email to
> otb-users+unsubscr...@googlegroups.com
> 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 otb-users+unsubscr...@googlegroups.com.
> 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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [otb-users] introduction of negative DNs in otb

2019-01-14 Thread Michel Julien
Hi,

You can set the output encoding with :

https://www.orfeo-toolbox.org/PythonDoc/stubs/otbApplication.Application.html#otbApplication.Application.SetParameterOutputImagePixelType

SetParameterOuptutImagePixelType(“out”, 2) should set it to unsigned int (16 
bits).

Regards,

Julien

De : otb-users@googlegroups.com  De la part de 
Gabrielle Hoelzle
Envoyé : vendredi 11 janvier 2019 16:31
À : otb-users 
Objet : Re: [otb-users] introduction of negative DNs in otb

I have not been using command line but a script. I will attach.

On Friday, January 11, 2019 at 10:11:54 AM UTC-5, Julien Michel wrote:
Hi,

Can you post more details, such as command-lines ?

Regards,

Julien

De : otb-...@googlegroups.com 
> De la part de Gabrielle Hoelzle
Envoyé : vendredi 11 janvier 2019 16:05
À : otb-users >
Objet : [otb-users] introduction of negative DNs in otb

I am having an issue with both Worldview and Pleaides when I run (at minimuim) 
any of these steps : superimpose, pansharpening, orthorectification. During the 
process, the 16bit float raw inputs are being upgraded 32 bit and negative 
values are being introduced. I am hoping someone is aware of a workaround for 
this. Or an explanation of why this is happening. Thanks

--
--
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 otb-...@googlegroups.com
To unsubscribe from this group, send email to
otb-users+...@googlegroups.com
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 otb-users+...@googlegroups.com.
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 
otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 
otb-users+unsubscr...@googlegroups.com.
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [otb-users] Uninstall OTB

2019-01-14 Thread Poughon Victor
Hi Efi,

You need to tell us how you installed it in the first place. If you're using 
the windows package from the website, you can just delete the extracted folder.

Can I ask why you need to use an older OTB?

Victor Poughon

De : otb-users@googlegroups.com  De la part de Efi
Envoyé : vendredi 11 janvier 2019 11:29
À : otb-users 
Objet : [otb-users] Uninstall OTB

Hello All,

I'd like to remove the current OTB installation from my machine in order to 
install an older version, what would be the best way to proceed?
Thank you in advance,

Liten
--
--
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 
otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 
otb-users+unsubscr...@googlegroups.com.
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [otb-users] OTB for Mac

2019-01-14 Thread Michel Julien
I think you need to make it executable (wtih chmod u+x for instance) and run it 
with  ./ prefix.

De : otb-users@googlegroups.com  De la part de 
Samuel Pearce
Envoyé : dimanche 13 janvier 2019 19:17
À : otb-users 
Objet : [otb-users] OTB for Mac

Hiya,

I'm following a QGIS tutorial that uses OTB. I have downloaded the binary 
package for Mac but how do I now open the .run file?

Thanks,
Sam
--
--
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 
otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 
otb-users+unsubscr...@googlegroups.com.
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 otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
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 otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.