[otb-users] [otb-developers] Orfeo ToolBox 6.6.0 Release Candidate

2018-05-23 Thread Antoine Regimbeau

Dear all,

We are pleased to announce that the Release Candidate 6.6.0-rc1 is 
available for testing.


You can try binary packages here:

   https://www.orfeo-toolbox.org/packages/

or compile the sources:

   git clonehttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb.git  OTB
   cd OTB
   git checkout -q --detach 6.6.0-rc1

You can give your feedback and report issues on the Gitlab. 



Regards,

OTB DevTea

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


[otb-users] Windows : install OTB with Python

2018-05-23 Thread swiky aquilla
Hi all,


I am trying installing the otbApplication on Python but it is not working…I 
want to use the \otbcli_LargeScaleMeanShift.bat
file. 
I follow all the discussion on this subject on otb-users group, without 
success.

I have downloaded OTB-6.4.0-Win64.zip (binary package) here : 
https://www.orfeo-toolbox.org/download/ 


I Added 6 paths on the environment variables (System Properties > 
Environment Variables > System variables), on PATH : (see the attached file)
C:\Users\asi\Downloads\OTB-6.4.0-Win64\bin
C:\Users\asi\Downloads\OTB-6.4.0-Win64\lib\python3
C:\Users\asi\Downloads\OTB-6.4.0-Win64\lib\otb\applications
C:\Users\asi\Downloads\OTB-6.4.0-Win64
C:\Users\asi\Downloads\OTB-6.4.0-Win64\bin\otbcli_LargeScaleMeanShift.bat


I change the PYTHONPATH of the otbenv file 
(C:\Users\asi\Downloads\OTB-6.4.0-Win64\otbenv.bat) 
set CURRENT_SCRIPT_DIR=%~dp0
set PATH=%CURRENT_SCRIPT_DIR%bin;%PATH%
set GDAL_DATA=%CURRENT_SCRIPT_DIR%share\data
set GEOTIFF_CSV=%CURRENT_SCRIPT_DIR%share\epsg_csv
set PYTHONPATH=%CURRENT_SCRIPT_DIR%lib\python3;%PYTHONPATH%
set OTB_APPLICATION_PATH=%CURRENT_SCRIPT_DIR%lib\otb\applications
set GDAL_DRIVER_PATH=disable
:: Set numeric locale to C
set LC_NUMERIC=C


I work on jupyter Notebook, with Anaconda (version : conda 4.5.4), and 
Python 3.6.5.
When I enter : 
import otbApplication
the error is :
ModuleNotFoundError   Traceback (most recent call last)
 in ()
> 1 import otbApplication

ModuleNotFoundError: No module named 'otbApplication'


I Don't know what to do to fix it.

Can someone help me or have an idea ?

Thank you very much in advance !!

-- 
-- 
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] Question about OrthoRectification

2018-05-23 Thread Michel Julien
Yes, you can create it by hand with any text editor, provided that you comply 
with the format (which I believe is x y lat lon h).

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de felicia monti
Envoyé : mercredi 23 mai 2018 10:54
À : otb-users 
Objet : Re: [otb-users] Question about OrthoRectification


Hi,
Sorry for the insistence, but I'm still trying to solve my problem. I would 
like to use the refinesensormodel application using some points detected with 
gps.
I wouldn't use the homologouspointsextraction application. Is there a way to 
create the text file directly from orfeo?
Thanks
Felicia
--
--
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] Re: KMeansClassification error with nodata value

2018-05-23 Thread Michel Julien
Hi,

-vm parameter should do the trick (only non-zero values will be used to 
estimate the k-means). You can build the mask with the ManageNoData 
application. If this does not work, I encourage you to open an issue in gitlab.

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de Julien
Envoyé : mercredi 23 mai 2018 10:14
À : otb-users 
Objet : [otb-users] Re: KMeansClassification error with nodata value

Hi,

I would like to repost my question about processing nodata values ​​in the 
different otb functions, unsupervised classifications in particular. How to 
assign specific values ​​to nodata pixels, and exclude them from treatments? is 
the use of masks the right solution?

Thanks for your help



Regards,

Julien

Le mardi 10 avril 2018 11:40:03 UTC+2, Julien a écrit :
Hi,
I tried to perfom an unsupervised classification using Kmeans algorithm.
My first question is : is this algorithm uses all the bands in case of using it 
on a multispectral image? or does it use only the first band of the image?
I tried to use it on subset of my image extracted with gdalwarp. I decided to 
attribute nodata value to - during the process.
When I perform the kmeans classification, i can see that statistics parameters 
of my image used by the algorithm include no data value (so mean and stddev 
generated are false), and i can't avoid that.
I tried to use a mask (using -vm pathotoimagemask.tif), but it doesn't change 
anything.
Coud you help me?

Thanks

Regards,
Julien
--
--
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.


[otb-users] Re: KMeansClassification error with nodata value

2018-05-23 Thread Julien
Hi,

I would like to repost my question about processing nodata values ​​in the 
different otb functions, unsupervised classifications in particular. How to 
assign specific values ​​to nodata pixels, and exclude them from treatments? is 
the use of masks the right solution?
Thanks for your help

Regards,

Julien


Le mardi 10 avril 2018 11:40:03 UTC+2, Julien a écrit :
>
> Hi,
> I tried to perfom an unsupervised classification using Kmeans algorithm. 
> My first question is : is this algorithm uses all the bands in case of 
> using it on a multispectral image? or does it use only the first band of 
> the image?
> I tried to use it on subset of my image extracted with gdalwarp. I decided 
> to attribute nodata value to - during the process.
> When I perform the kmeans classification, i can see that statistics 
> parameters of my image used by the algorithm include no data value (so mean 
> and stddev generated are false), and i can't avoid that. 
> I tried to use a mask (using -vm pathotoimagemask.tif), but it doesn't 
> change anything.
> Coud you help me? 
>
> Thanks
>
> Regards,
> Julien
>

-- 
-- 
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] pansharpening of tiled P + MS Pleiades images

2018-05-23 Thread Michel Julien
Hi,

This should work fine … Can you open a bug report and post the gdalinfo output 
as well as geom files for both mosaics ?

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de anamaria.loghi...@gmail.com
Envoyé : jeudi 10 mai 2018 14:38
À : otb-users 
Objet : [otb-users] pansharpening of tiled P + MS Pleiades images



Hello

I have tiled Pleiades images (panchromatic and multispectral ) and tried to do 
pasharpening.
Firstly I have generated the mosaic image (merging the tiles), then used the 
Superimpose (setting the multi-spectral image to have the same extend and 
resolution as the panchromatic one), and then Pansharpening. But it doesn't 
work...it generates only for the upper part of the image...

I tried to do it for a single tile and it worked fine...but how can I use these 
approach on the mosaic?

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 
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] getting started

2018-05-23 Thread Michel Julien
Hi,

I think that you should not move the package. If you want to use OTB from 
jupyter, it is possible, you just need to launch it after running the otbenv.sh 
script to setup the proper environment variables, as explained here :

https://www.orfeo-toolbox.org/CookBook/Installation.html

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de Jessica Kong
Envoyé : samedi 5 mai 2018 01:28
À : otb-users 
Objet : [otb-users] getting started

Hello,

I'd like to use the vertex component analysis capabilities in this package.

It is unclear to me how to to use this package in a python environment like 
Jupyter Notebook or Spyder.

I downloaded the package and moved it to where my other packages are and am 
able to import the package by typing 'import OTB as otb." 'otb.Modules' does 
not work either.

However, I am not sure how to access any functionality of the package. I have 
tried following the instructions 
here
 but "Registry" is no longer a directory in the package.

Any guidance would be helpful.

Thanks,
Jessica




--
--
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] Re: Relative Spectral Response File To Use For WorldView-3 Optical Calibration Atmospheric Correction?

2018-05-23 Thread Michel Julien
Hi,

Can you open a feature request for this ? So that we keep track of it.

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de Morgan Bond
Envoyé : mardi 22 mai 2018 00:46
À : otb-users 
Objet : [otb-users] Re: Relative Spectral Response File To Use For WorldView-3 
Optical Calibration Atmospheric Correction?

Craig,
Did you ever get this figured out? I am also interested in optical calibration 
of WV03 images. Also, the calibration factor and effective bandwidth are 
embedded into each of the .imd files that come with the imagery from Digital 
Globe. I don't know if these are ever updated in any way, but it seems like a 
good idea to pull them directly from the .IMD file for each image when it is 
imported.

e.g. (Coastal band: absCalFactor = 6.679371e -02; effectiveBandwidth = 
4.05e -02...etc.)

Morgan



On Monday, February 19, 2018 at 8:02:52 AM UTC-8, Craig wrote:
I would like to perform atmospheric correction on WorldView-3 8-Band VNIR MSI. 
I found a radiance response file here: 
https://git.orfeo-toolbox.org/otb-data.git/tree/HEAD:/Input/Radiometry/DigitalGlobe.
 However, I do not think it is in the correct format. I believe what is 
expected is for the first column to be wavelengths in microns (not nanometers), 
the second column should be solar irradiance (not provided in the file), and 
the next columns are the spectral responses for each band.  I think I can use 
the Thuillier 2003 spectral response curve listed here: 
https://dg-cms-uploads-production.s3.amazonaws.com/uploads/document/file/207/Radiometric_Use_of_WorldView-3_v2.pdf,
 but I'm not sure what order the bands should be listed. The provided file has 
PAN, C, B, G, Y, R, RE, N1, N2, S1, S2, S3, S4, S5, S6, S7, S8. I think since I 
have just the 8-band VNIR product that I should have them in  C, B, G, Y, R, 
RE, N1, N2 order with the others excluded from the file, but I'm not sure.  
Also, what units should the spectral response values be in?  The provided file 
has them as radiance values.

Thanks,

Craig
--
--
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] Apply geometric transformation based on pithc, roll and yaw

2018-05-23 Thread Michel Julien
I do not think there is anything like that yet. Do you mean pitch, roll and yaw 
of the sensor ?

> -Message d'origine-
> De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la 
> part de Agustin Lobo
> Envoyé : jeudi 17 mai 2018 13:41
> À : otb-users@googlegroups.com
> Objet : [otb-users] Apply geometric transformation based on pithc, roll and 
> yaw
> 
> Hi!
> Is it possible to use OTB to apply a geometric transformation based on pithc, 
> roll and yaw?
> 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-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] Worldview-2 .TIL files and OTB

2018-05-23 Thread Michel Julien
Here is something you can try :

Use otbcli_ReadImageInfo on one of the individual geotiff files (preferabily 
the upper left one, should be named R1C1 no ?) to write down a geom file 
containing the metadata. Then attach the geom file to the TIL file with 
extended filename : -in “mytil.TIL?=theGeomFile.geom”.

Also open a bug report because looking up the correct file from the TIL file 
instead of individual geotiff files should not be hard …

Regards,

Julien

De : otb-users@googlegroups.com [mailto:otb-users@googlegroups.com] De la part 
de Morgan Bond
Envoyé : mardi 22 mai 2018 18:10
À : otb-users 
Objet : [otb-users] Worldview-2 .TIL files and OTB

I have a large number of tiled Digital Globe Worldview-2 images that I would 
like to perform optical calibration on. As delivered from Digital Globe, each 
image strip is a folder that contains a .TIL file that arranges the individual 
geotiff files and aligns them into a single image. GDAL seems to handle these 
well, and they import fine (I am currently using Monteverdi for this). However, 
each of these folders also contains an .imd and .xml file. These files each 
contain much of the pertinent information for sensor bias, image date, sun 
angle, azimuth, etc. As far as I can tell OTB does not recognize or attempt to 
use these files. Has anyone attempted to perform these corrections with the 
tiled files from Digital Globe? Thanks,

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