Re: [otb-users] Orthorectification models
Hi, Most of the sensors supported in OTB use a RPC based model (used during orthorectification). Notable exceptions are Spot5 and Sentinel 1 which use a more rigorous model. Regards, Guillaume PS: feel free to use the new OTB forum On 1/29/19 11:14 AM, felicia monti wrote: Hi! I use OTB for orthorectification of satellite images ... but I have a question about orthorectification models. Does OTB allow to perform orthorectification with the RPC model or even with the rigorous model? Thank you -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@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] gap filling Filled data with 0
Hi, You are referring to the "Image Time Series Gap Filling" right ? Does your output carry a no-data information reported by gdalinfo ? Regards, Guillaume PS: feel free to use the new OTB forum On 1/16/19 8:57 AM, Resnow wrote: Hi, I recently changed of computer. In my old one I installed OTB 6.6.0 on my centos machine with the procedure described here : https://www.orfeo-toolbox.org/CookBook/Installation.html. When a was running the Gap Filling operator it was OK, no problem to report. On my New Centos machine, OTB was already installed probably with the same procedure as before, and the version is 6.4. Now, when I 'm running the Gap Filling operator (with same inputs as on my old machine), I have strange results, and it seems that masked values (defined by the mask) are converted to 0 value in the output. I don't know if the problem come from the version, so i tried to uninstall the 6.4 version and to re-install the more recent version 6.6.1, but the result is the same. Any idea ? Thanks in advance for your help. -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@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] Otb on Python
Hi, I posted a reply on Gitlab issue #1826 It is worth mentioning that you use Python through a Jupyter notebook. Regards, Guillaume On 1/29/19 9:24 AM, Sim Yee Fei wrote: Hi I'm a newbie to python, how do I import otbApplication to python? It doesn't seem to work for me... Thank you -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@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] Stereo processing
Maybe check your disparity range. Note that the settings minhd, maxhd, minvd maxvd are disparities from left to right: right_position = left_position + disparity For instance, horizontal disparities are expected to be negative in a classic stereo-bench : objects on the ground are expected with a high disparity (around 0 pixels) while objects higher than the ground are expected with a negative disparity. Regards, Guillaume On 11/22/18 6:51 AM, Ramya Mns wrote: I executed as per your instructions but still the problem exists. Can you suggest something else? On Monday, November 19, 2018 at 10:07:08 PM UTC+5:30, Guillaume Pasero wrote: I think you have an error in last the parameters: space between '-' and 'bm.medianfilter.radius' there are no 'map' parameters in this application Regards, Guillaume Pasero On 11/15/2018 05:36 AM, Ramya Mns wrote: I am getting an error while stereo processing of Demois-2 stereo pair at block matching step. Command I used "otbcli_BlockMatching -io.inleft input_epipolar.tif -io.inright right_epipolar.tif -io.out ele2/disparity_10_250_2_7.tif -bm.minhd 10 -bm.maxhd 250 -bm.minvd 2 -bm.maxvd 7 -mask.nodata 0 -bm.metric ncc -bm.subpixel dichotomy - bm.medianfilter.radius 5 the error I got is "(FATAL): itk::ERROR: MultiThreader(0245F0EF21C0): Exception occurred during SingleMethodExecute" . Please help me to solve the problem. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaum...@c-s.fr -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPAC
Re: [otb-users] Pleiades product don't have ID metadata
Hi, The ID should appear in the output from otbcli_ReadImageInfo, for instance I get output like: sensor: PHR 1A id: 1978464101-001 time: 2016-06-28T10:54:00 Can you show the output you get from this application? Guillaume On 12/6/18 6:39 AM, SadeWizz wrote: Hi everyone, I try to take the ID information from my Pleiades image with otbcli_readimageinfo. But there is no "Image identification number" on the metadata of my image. However, on the DIM file, the ID exist. The image is a Ortho processing level. Has anyone ever had the same problem ? Thank you for your help. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Segmentation for classification
Hi, I am not sure to understand your question. Do you mean classification of homogeneous regions (as opposed to pixel-wise classification)? If yes, then you can use the Segmentation application to produce a vector data layer with homogeneous regions as polygons. Then use the classification framework described here: https://www.orfeo-toolbox.org/CookBook/recipes/pbclassif.html#feature-classification-and-training Regards, Guillaume On 11/28/18 12:12 PM, Gustavo Ferreira de Souza wrote: Hello everybody In OTB it is possible to classify by homogeneous regions based on the follow-up? How can I do this? thanks -- Gustavo Ferreira de Souza Geotecnologias & Tecnologia Agrícola Mobile / WhatsApp: +55 31 9609 6377 e-mail: gustavosalom...@gmail.com Skype: gustavosalomoni CREA-MS 12252/D -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 6.6.1 TrainingImageClassifier issue on new images
The purpose of the shapefile is to select some polygons and tag them with class labels, so that the application knows where to pick pixels to train itself. If you want a shapefile of the whole image footprint, you can use the output of ImageEnvelope application. About projections, maybe have a look at tools such as gdalinfo and ogrinfo they are great to have relevant information on images and shapefiles. If you want a reference about projections, you can check http://epsg.io/ Regards, Guillaume On 12/20/18 5:51 PM, bogdanul2003 wrote: Hi, I've tried different shapefiles with dimensions rangeing from a small part of the image to the entire image. I'm actually interested to consider the entire image as one class so I'm actually interested in a shapefile with 100x100 dimension which is the actual size of the image. 1. Is there a posibility to consider the entire image without using shapefiles ? In other words, can the framework be used without considering geospatial information, which in my case is irelevant ? 2. I'm a noob using tif files and shapefiles so for me the projections concept is unknown. I've attached all the files generated when I created the shapefile with QGIS. Can you please point me to a projections for dummies tutorial with QGIS ? On Wednesday, December 19, 2018 at 6:03:19 PM UTC+1, Guillaume Pasero wrote: Hi, Have you checked that your shapefile and image properly overlap ? Your image doesn't have any projection. Does your shapefile has one ? Regards, Guillaume Quoting bogdanul2003 <bogdan...@gmail.com>: > Hi, > > I'm trying to run this app with one tif image and one shape file (I > attached both) but I get the fallowing error "No samples found in the > inputs!". This is not happening if I use the examples in the Classification > folder. I'm new to this framework and kind of stuck and don't know what is > causing this, I tried to look in the source code and can't figure out why > noSamples is never set to false. I generated the shapefile using QGIS and > also I'm interested in the single class SVM classification. > > Thank you, > Bogdan > > -- > -- > 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
Re: [otb-users] Import otbApplication in python for QGIS
Have you added the bin path of OTB binaries to your PATH variable ? Regards Guillaume On 11/13/2018 02:32 PM, sampathyeti...@gmail.com wrote: Hi, I am trying to import OTB application into python console of QGIS but i am getting the following error(s). import otbApplication Traceback (most recent call last): File "", line 1, in File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "E:\Amrut\software\OTB\lib\otb\python\otbApplication.py", line 21, in _otbApplication = swig_import_helper() File "E:\Amrut\software\OTB\lib\otb\python\otbApplication.py", line 20, in swig_import_helper return importlib.import_module('_otbApplication') File "C:\PROGRA~2\QGIS2~1.18\apps\Python27\lib\importlib\__init__.py", line 37, in import_module __import__(name) File "C:/PROGRA~2/QGIS2~1.18/apps/qgis/./python\qgis\utils.py", line 607, in _import mod = _builtin_import(name, globals, locals, fromlist, level) ImportError: DLL load failed: %1 is not a valid Win32 application. i am using QGIS 2.18 and OTB 5.8 if possible, please help me out. with Thanks and Regards, Sampath -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Stereo processing
I think you have an error in last the parameters: space between '-' and 'bm.medianfilter.radius' there are no 'map' parameters in this application Regards, Guillaume Pasero On 11/15/2018 05:36 AM, Ramya Mns wrote: I am getting an error while stereo processing of Demois-2 stereo pair at block matching step. Command I used "otbcli_BlockMatching -io.inleft input_epipolar.tif -io.inright right_epipolar.tif -io.out ele2/disparity_10_250_2_7.tif -bm.minhd 10 -bm.maxhd 250 -bm.minvd 2 -bm.maxvd 7 -mask.nodata 0 -bm.metric ncc -bm.subpixel dichotomy - bm.medianfilter.radius 5 the error I got is "(FATAL): itk::ERROR: MultiThreader(0245F0EF21C0): Exception occurred during SingleMethodExecute" . Please help me to solve the problem. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Advice on Raster algebra with OTB
Hi Agustin, The BandMath tool only processes the images of equal sizes. So I would go with creating an image with repeated lines, and I think the VRT format can do that. After a quick search here, I think you can create : a VRT with the size of A, put inside a single 'SimpleSource' which is your one-line image B set the 'DstRect' parameter to the full dimension, it will stretch the one-line image to fit the full image you tell GDAL to use nearest neighbor interpolation : Regards, Guillaume On 11/05/2018 06:40 PM, Agustin Lobo wrote: In order to calculate reflectance from a multi-spectral radiance image acquired with a linear scanner, I also have a 1-row array of white reference values, that is: multi-spectral image A: x rows, y cols, z bands multi-spectral white reference image B: 1 row, y cols, z bands I would need to divide each row of A by B. In a simple notation: res <- a for(i in 1:nrow(a)){ res[i,,] <- a[i,,]*b } I'd like to this for relatively large images (x=969, y=640, z=224), avoiding any loop if possible. The most obvious strategy would be to create a b2 image by repeating the row of b x times and then use the otb raster arithmetic for a/b2. But is there an otb way to create such a b2? or perhaps another approach (I.e using the BandMath tool?) Thanks Agus -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Count of the plant stand.
Hi, Interesting challenge, maybe you could provide a link to a small sample dataset so that other OTB users can try it. OTB provides algorithms for segmentation, OBIA, edge extraction, ... Regards, Guillaume On 11/04/2018 04:40 PM, Hermano José RibeiroHenriques wrote: Good morning, we have little experience with the Orfeo ToolBox. We need to count the number plants them soybean with RGB images extracted from drones. The processing must be in batch, where photos clipping of this mosaic should be analyzed for the count of the plants. We ask the community help to solve this challenge. Kind regards. Hermano. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Stereo processing using OTB for DEMOIS-2
Hi, It looks like the subsets you used don't have a correct localisation. What did you use to make the subsets? To enhance the disparity map, you can try the median filtering option. When you convert the disparity map into a DEM, you should also keep in mind that setting a DEM pixel size larger than the original sampling distance will allow to compute elevation at each pixel using several 3D points. If you set the DEM pixel size to exactly the resolution of the input image, you will have a lot of cells with 1 or 0 3D point inside. Regards, Guillaume On 11/03/2018 06:45 AM, Ramya Mns wrote: Hello Sir, I am trying to stereo process the stereo pair using OTB. The actual elevation of the area ranges between 300-600 m. When I processed stereo for full image I got the same elevation ranges. but for subset Im getting very low values between 20-100m. Actually stereo processing for full image taking lot of time approx 24 hrs. Which makes difficult to analyse different parameters. Please suggest better option to analyse. The DEM is having lot of no data values after converting disparity to elevation map. Is there any technique in OTB to fill the data. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Orthorectification for WV3/4 ?
Hi, Basically, if OTB is able to read the RPC coefficient on your WV3/4 product, you can use Orthorectification. You can check this with application ReadImageInformation. I don't have a sample sensor product yet. Regards, Guillaume On 11/01/2018 11:28 AM, Jens Oldeland wrote: Dear colleagues, I am curious if the orthorectification module already works or World View 3 and/or 4? In the documentation it states only that WV2 is supported, but I read on github that WV3/4 should be feasible. Is there any update? best regards, Jens -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 error with Pleiades
Hi, Could you check the output of OTB application ReadImageInfo on the MS and PAN datasets ? The error seems linked to a wrong spacing. Regards, Guillaume On 10/11/2018 07:04 PM, Gabrielle Hoelzle wrote: I am getting a strange error when pansharping Pleiades bundle. I have never gotten this error before. I am curious if it could be a co-registration error or if airbus has changed their metadata format. ERROR 1 Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /usr/include/ITK-4.9/itkImageToImageFilter.hxx:250: itk::ERROR: BayesianFusionFilter(0x2a1dc90): Inputs do not occupy the same physical space! InputImage Spacing: [4.000e+00, -4.000e+00], InputImage_2 Spacing: [1.000e+00, -1.000e+00] Tolerance: 4.000e-06 ERROR 2 Exception thrown in otbApplication Application_ExecuteAndWriteOutput: /build/otb-Y8aCHH/otb-6.0.0+dfsg/Modules/IO/IOGDAL/src/otbGDALImageIO.cxx:435: itk::ERROR: GDALImageIO(0x28192e0): Error while reading image (GDAL format) '/media/sf_hostmachine/Georgia_Power/3342675101/IMG_PHR1A_MS_002/IMG_PHR1A_MS_201810021637378_SEN_3342675101-2_R1C1.TIF' : GetBlockRef failed at X block offset 0, Y block offset 1 -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Paramétrage d"OTB dans QGIS 2.18.2
Hi, Could you send the content of the error message ? Regards, Guillaume On 10/26/2018 01:57 PM, Constantin JOSEPH wrote: Bonjour, S'il vous plait, j'ai besoin de paramétrer les applications OTB dans QGIS 2.18.2, j'ai essaye de remplacer les chemins d’aces des fichiers d'application et du BIN, mais cela m’envoie un message d'erreur. Est ce que quelqu'un peut m'aider a résoudre ce problème? Constantin Constantin JOSEPH,Ing. Agronome, Msc Spécialiste en Géomatique et Environnement, Enseignant Chercheur -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] how to use OTB in Spyder(WIN10+Anaconda3+python3)
.. @ cs.fr -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Orfeo toolbox's Monteverdi :No kwl Metadata error on KMeans Classification
Hi, Although it is confusing, the "No kwl metadata" message is not an error. It is just informative logging. Could you show what the input image looks like ? It seem like it is a binary mask, so only 2 clusters are found. Regards, Guillaume On 10/15/2018 09:25 AM, jayant wrote: I'm using Monteverdi to do KMeans classification. It gives No kwl Metadata error and shows only 2 classes instead of the 7 classes I have input. Can you please solve this? -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] otbcli_BundleToPerfectSensor is generating an invalid image
image which seems to be invalid, when I try to load the image on QGIS I get std::bad_alloc. I have ubuntu 14.04 server where I installed otb-bin 5.4.0+dfsg-1~trusty2 and used the following command to generate the image: otbcli_BundleToPerfectSensor -ram 4096 -inp input_pan_image -inxs input_multispectral_image -out pansharpened_image uint16 Am I missing something? Any help will be appreciated. Pritimoy -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] how to use OTB in Spyder(WIN10+Anaconda3+python3)
Hi, I think there is a mistake in your PYTHONPATH, for python 3 you should use "C:\OTB\lib\python3". It should work with Python 3.5 Regards, Guillaume On 09/25/2018 04:33 AM, 781633...@qq.com wrote: Dear All, I set system paths of OTB (In System Properties > Environment Variables > System variables, 1. PYTHONPATH > C:\OTB\lib\python2. Path > C:\OTB\bin3. OTB_APPLICATION_PATH > C:\OTB\lib\otb\applications),but still cannot import OTB correctly.I have a question that when I use 'import otbApplication' in Spyder, Import Error will appear like these: Traceback (most recent call last): File "", line 1, in import otbApplication File "C:\OTB\lib\python3\otbApplication.py", line 21, in _otbApplication = swig_import_helper() File "C:\OTB\lib\python3\otbApplication.py", line 20, in swig_import_helper return importlib.import_module('_otbApplication') File "C:\Users\78163\Anaconda3\lib\importlib\__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) ImportError: DLL load failed I have no ideas how to deal with this question.what can I do to make 'import otbApplication' run correctly? All ideas are welcome! -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: Trouble with building Mac Build Error QT-5 Error
qsomani/OTB/install/lib/libz.dylib /Users/shaffiqsomani/OTB/build/QT5/src/QT5/qtbase/src/network/access/qnetworkaccessdebugpipebackend_p.h:0: Note: No relevant classes found. No output generated. ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../lib/libqtharfbuzz.a(hb-warning.o) has no symbols /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: ../../../lib/libqtharfbuzz.a(hb-warning.o) has no symbols ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/shaffiqsomani/OTB/install/lib/libpng.dylib ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib ld: warning: linking against a dylib which is not safe for use in application extensions: /Users/shaffiqsomani/OTB/install/lib/libz.dylib /Users/shaffiqsomani/OTB/build/QT5/src/QT5/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm:833:20: error: qualified reference to 'QFixed' is a constructor name rather than a type in this context return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont))); ^ 1 error generated. make[7]: *** [.obj/qfontengine_coretext.o] Error 1 make[6]: *** [sub-fontdatabases-make_first] Error 2 make[5]: *** [sub-platformsupport-make_first] Error 2 make[4]: *** [sub-src-make_first] Error 2 make[3]: *** [module-qtbase-make_first] Error 2 I see that that you can turn off the QT installation, by using the command -DOTB_USE_QT=OFF to cmake, and I was wondering if I can link it to the application binary. If I can, how do I turn off the QT. Is that just an adjustment to the cmake text file, or would it be done in terminal. Thanks so much for your assistance, Shaffiq -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Error message (otbApplication)
Hi, I think the OTB packages on osgeo4w are obsolete, and they will not work with Python 3. You should rather try the standalone OTB package for windows : https://www.orfeo-toolbox.org/download/ With OTB 6.6, you should be able to use Python 2.7 and Python 3.5 Regards, Guillaume On 08/17/2018 11:32 AM, Rad chrt wrote: Hello, I installed otb from osgeo4w with python 2.7, I updated python to 3.6 with the "py3_env" command. When I test import otbApplication from osgeo shell, this error message is displayed C:\>python3 Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import otbApplication Traceback (most recent call last): File "", line 1, in File "C:\OSGEO4~2\apps\orfeotoolbox\python\otbApplication.py", line 28, in _otbApplication = swig_import_helper() File "C:\OSGEO4~2\apps\orfeotoolbox\python\otbApplication.py", line 24, in swig_import_helper _mod = imp.load_module('_otbApplication', fp, pathname, description) File "C:\OSGEO4~2\apps\Python36\lib\imp.py", line 242, in load_module return load_dynamic(name, filename, file) File "C:\OSGEO4~2\apps\Python36\lib\imp.py", line 342, in load_dynamic return _load(spec) ImportError: Module use of python27.dll conflicts with this version of Python. >>> Can you please solve this problem 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Zonal stats: updating polygons of a vector file by adding fields computed from a raster
Hi, I don't see anything in OTB that does exactly what you need. The approach you propose seems the right one. I see two other ways : Build a new filter using the Sampling framework. You may re-implement the ThreadedGenerateData() to use your thread pool. ImageSampleExtractorFilter is a good starting point. Using existing OTB filters. Iterate over polygons, for each one : copy it alone in a in-memory OGRDataSource extract an ROI of the image over the polygon extent rasterize the polygon in a binary mask over the input image ROI with ManageNoData, apply the binary mask as a no-data on the input image ROI use ComputeImagesStatistics with the background value corresponding to no-data store the results in the current polygon. My 2 cents, Guillaume On 08/03/2018 05:34 PM, Jordi Inglada wrote: Hi, Given an image (raster) and a vector file containing polygons, I need to compute a series of values for each polygon like the mean of a particular band of the raster, etc. and then produce a new (or update the) vector file with new fields. I think these are called zonal statistics. It looks like the LSMSVectorization application does that, but it uses a raster segmentation instead of an input vector file. Given that my polygons cover only a small fraction of the input raster, I don't think than rasterizing the vector file to use this application will be efficient. An besides, I would have to link back the attributes to the original polygons, which is an additional step. Is there any other way to do that with existing OTB applications? Maybe gdal command line tools can do that? I have been looking around and it seems that this is usually done the way LSMSVectorization does it (burn the vector to raster, then compute using rasters only). Do you have any advice on how to proceed if I need to write my own application for that? I guess I will have to if I want to be able to compute other features than mean and variance of the raster bands. By the way, my images and vector data are huge, so streaming and multi-threading will be needed. I was thinking about the following approach: 1. Read in a set of polygons until a total surface is reached (so that we can associate that with the RAM needed for the total number of raster pixels to keep in memory). 2. Project the polygons onto the raster geometry and read in the pixels 3. Parallel computation of the stats (either with an OpenMP loop or a simple thread pool [1]) 4. Write the geometries and the stats to the output file 5. Release the memory and go back to 1 Any comments on that? Thanks. Jordi [1] https://jordiinglada.net/wp/2015/05/13/a-simple-thread-pool-to-run-parallel-prosail-simulations/ -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Error 4, in the Segmentation toolbox.
Hi, It looks like OTB can't write an image on your disk: Is your disk full? Do you have write permission in the output directory? What is your current working directory? Regards, Guillaume On 01/30/2018 04:39 PM, omar alvear wrote: Hi alls, When I use the tool "exact large-scale mean-shif segmentation, step 2. I get the following error: ERROR 4: Attempt to create new tiff file `elpasosegmento_0_0_SEG.tif' failed: Permission denied 2018-01-30 13:20:25 (INFO): Number of tiles: 2 x 1 2018-01-30 13:20:25 (INFO): Tile shifting ... 2018-01-30 13:20:26 (FATAL): itk::ERROR: GDALImageIO(022A6C5F8FE0): Attempt to create new tiff file `elpasosegmento_0_0_SEG.tif' failed: Permission denied Could someone explain why this happens? thank Omar Alvear -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] DEM file in training for classification
Hi, In fact the DEM is not always used. It can be used if your input image and training vectors are not in the same projection. For instance, if you use a sensor image and training vectors projected in WGS84, the application will have to convert the polygon coordinates from WGS84 to your sensor frame, hence the need of a DEM. Regards, Guillaume On 01/23/2018 03:52 PM, Hristo Nikolov wrote: Dear all, Since while I'm wondering why DEM is needed in training for classification procedures. I hope I read the OTB documentation, but no reason was stated. Even the link set for the geoid file is broken. Any idea why this is happening? Regards. Hristo -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Orfeo ToolBox 6.4.0 Release Candidate
Dear all, We are pleased to announce that the Release Candidate 6.4.0-rc1 is available for testing. You can try binary packages here: https://www.orfeo-toolbox.org/packages/ or compile the sources: git clone http://g...@git.orfeo-toolbox.org/git/otb.git OTB cd OTB git checkout -q --detach 6.4.0-rc1 You can give your feedback and report issues on the bug tracker Regards, OTB DevTeam -- -- 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] Java Wrapper - Bad allocation (on Windows)
I recently updated to XDK 6.4, but it was also working with the previous version I guess. Guillaume On 01/19/2018 10:07 AM, Baptiste Lafabregue wrote: Hi Guillaume, Thank you for your feedback. Yes I already add it to the PATH. But since it works on your test I will try on another windows machine. Maybe it is a problem with my installation. Which XDK version do you use ? Baptiste On Thursday, January 11, 2018 at 6:25:31 PM UTC+1, Guillaume Pasero wrote: Hi Baptiste, I enabled Java wrappings on the windows platforms from the Dashboard. Tests are running fine, for instance : https://dash.orfeo-toolbox.org/testDetails.php?test=65717422=305063 Here is the corresponding Java test file : https://git.orfeo-toolbox.org/otb.git/blob/HEAD:/Modules/Wrappers/SWIG/test/java/JavaSmoothingTest.java On Windows there is a specific action done in the CMakeLists.txt : if (WIN32) set( PATH_SEPARATOR ";") # on windows, loading the module _otbApplication requires the otbossimplugins*.dll # which is in the 'bin' folder set(TEST_DRIVER ${TEST_DRIVER} --add-before-env PATH ${OTB_BINARY_DIR}/bin) endif() If you add ${OTB_BINARY_DIR}/bin to your PATH, does it work better ? Regards, Guillaume On 11/19/2017 06:41 PM, Baptiste Lafabregue wrote: Hello, I compiled OTB on windows, the otb applications are working perfectly fine. But when I want to access to the list of the application or load a given application from the java wrapper, the program raise the following exception : Exception in thread "main" java.lang.RuntimeException: bad allocation at org.otb.application.otbApplicationJNI.Registry_CreateApplicationInternal(Native Method) at org.otb.application.Registry.CreateApplicationInternal(Registry.java:45) at org.otb.application.Registry.CreateApplication(Registry.java:36) ... The strangest thing about this, is that I don't have any problem with the linux version that I'm using. Is there any known issues about it ? Best Regards, Baptiste -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaum...@c-s.fr -- -- 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" g
Re: [otb-users] No remote modules in 6.2 binaries
Hi, Yes they are official remote modules, but their addition requires the integration of GSL in binary packages. Next release 6.4 should contain GSL and Temporal GapFilling. You can compile these modules separately, using the OTB 6.2 package you have : clone the sources of the remote module, go to a build directory and configure CMake using this clone, you may choose the standalone mode if I remember correctly, you will have to set the OTB_DIR to the installed 6.2 package (.../install/OTB-6.2.0-Linux64/lib/cmake/OTB-6.2) Regards, Guillaume On 01/17/2018 03:03 PM, Nicolas K wrote: Hello, I am on ubuntu 16.4, and I download OTB 6.2 (https://www.orfeo-toolbox.org/packages/OTB-6.2.0-Linux64.run). Everything works fine, except I don't find any remote module I was looking for. No phenotb, nor Image Time Series (Temporal Gap-Filling). Aren't they official remote modules ? And should they not have been built ? "otbcli_" returns 106 possibilites. Is there a manipulation to compile them anyway ? Thanks for your help, Nicolas Karasiak -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Java Wrapper - Bad allocation (on Windows)
Hi Baptiste, I enabled Java wrappings on the windows platforms from the Dashboard. Tests are running fine, for instance : https://dash.orfeo-toolbox.org/testDetails.php?test=65717422=305063 Here is the corresponding Java test file : https://git.orfeo-toolbox.org/otb.git/blob/HEAD:/Modules/Wrappers/SWIG/test/java/JavaSmoothingTest.java On Windows there is a specific action done in the CMakeLists.txt : if (WIN32) set( PATH_SEPARATOR ";") # on windows, loading the module _otbApplication requires the otbossimplugins*.dll # which is in the 'bin' folder set(TEST_DRIVER ${TEST_DRIVER} --add-before-env PATH ${OTB_BINARY_DIR}/bin) endif() If you add ${OTB_BINARY_DIR}/bin to your PATH, does it work better ? Regards, Guillaume On 11/19/2017 06:41 PM, Baptiste Lafabregue wrote: Hello, I compiled OTB on windows, the otb applications are working perfectly fine. But when I want to access to the list of the application or load a given application from the java wrapper, the program raise the following exception : Exception in thread "main" java.lang.RuntimeException: bad allocation at org.otb.application.otbApplicationJNI.Registry_CreateApplicationInternal(Native Method) at org.otb.application.Registry.CreateApplicationInternal(Registry.java:45) at org.otb.application.Registry.CreateApplication(Registry.java:36) ... The strangest thing about this, is that I don't have any problem with the linux version that I'm using. Is there any known issues about it ? Best Regards, Baptiste -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Python 3 compatibility
Hi, I the current state, you can work with Python3 if you compile OTB from sources (in the CMake options, you will be able to specifiy a Python3 interpreter, include dir, library, and also the numpy version corresponding to your Python3). Otherwise, in the next release 6.4, there should be 2 python wrappers available, for Python versions 2.7 and 3.5. Regards, Guillaume On 11/29/2017 06:22 AM, shubham sharma wrote: Hello Everyone, May I know when can I expect the Python 3 compatible OTB as Python is rapidly shifting to Python 3. Is there anyway I can still work with python 3 and OTB. As I am a novice in this field,kindly guide. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] sample data set
Hi, They are mock names, but you can find sample data to run the application here : https://git.orfeo-toolbox.org/otb-data.git/tree/HEAD:/Input/Classification You can run the application with QB_1_ortho.tif as "support image" and VectorData_QB1.shp as "vec". Otherwise there is a complete recipe on the CookBook : https://www.orfeo-toolbox.org/CookBook/recipes/pbclassif.html#pixel-based-classification Regards, Guillaume On 11/21/2017 02:44 PM, VP PP wrote: I would like to learn using otb thanks to the sample data set. In the example of use of the polygon class statistics below, it is mentioned the "support_image.tif" and the "variousVectore.sqlite" as inputs but they are not present in the sample data set. Is there any way to get this data or are they just mock names ? If so which data of the sample data set could be conveniently used? Thanks for your reply -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] efficient use of hardware resources by OTB
Hi, First thing to know is that during TrainImagesClassifier, some parts of the processing are mono-threaded (only 1 CPU used). This is a design limitation. However, the multi-threaded parts of this application should be able to use all the CPUs available. About the memory consumption, the RAM parameter in the application should set the maximum RAM amount to be used. I think that in the case of TrainImagesClassifier, this setting is difficult to derive because it depends on the polygon density in your training/validation vector layer. If you use an other application that is more like an "image to image" processing, you should see the expected behaviour more clearly. Regards, Guillaume On 11/24/2017 11:23 AM, Hristo Nikolov wrote: Hello, I'd like to share my opinion on using the standalone version of OTB namely otbcli_TrainImagesClassifier. On workstation with 8 core processor and 48GB RAM what I see is that only one of the cores is used at 100% and only small amount of RAM is used. Is there way to set the number of cores to be used during this processing as well as the amount of RAM. 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Requesting advice on SAR image coregistration
Only two images. Guillaume On 11/08/2017 11:35 AM, Preethi Balaji wrote: Thanks very much. Just one more question on this - the FineRegistration works between multiple images or only two images? Regards Preethi On Wed, Nov 8, 2017 at 9:39 AM, Guillaume Pasero <guillaume.pas...@c-s.fr> wrote: Hi, This would be a nice feature for ConcatenateImages application, but the coregistration is not performed here. You have to use an other application to estimate the registration shift between images, such as FineRegistration of even BlockMatching. However, please note that these application were written assuming optical images, I am not sure it will work efficiently on SAR images. Regards, Guillaume On 11/08/2017 10:11 AM, preet.balaji20 wrote: Hi all, I am using multi temporal Sentinel-1 images for change detection of forests. As Coregistration is an important step in SAR pre-processing, I wanted to obtain a pixel to pixel coregistration between the temporal images. I used otb image concatenation for this. Does image concatenation application in otb perform pixel coregistration? Or is there any other approach in otb to do it? 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+unsubscribe@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+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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+unsubscribe@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 emai
Re: [otb-users] Requesting advice on SAR image coregistration
Hi, This would be a nice feature for ConcatenateImages application, but the coregistration is not performed here. You have to use an other application to estimate the registration shift between images, such as FineRegistration of even BlockMatching. However, please note that these application were written assuming optical images, I am not sure it will work efficiently on SAR images. Regards, Guillaume On 11/08/2017 10:11 AM, preet.balaji20 wrote: Hi all, I am using multi temporal Sentinel-1 images for change detection of forests. As Coregistration is an important step in SAR pre-processing, I wanted to obtain a pixel to pixel coregistration between the temporal images. I used otb image concatenation for this. Does image concatenation application in otb perform pixel coregistration? Or is there any other approach in otb to do it? 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Segmentation of raster stacks with Orfeo toolbox
Hi, In OTB, segmentation algorithms use multi-channel images to perform the segmentation. The similarity between pixels is computed based on a spectral distance (taking into account all the stacks, as spectral bands). It doesn't compute a mean layer. Hope it helps, Guillaume On 11/02/2017 04:35 PM, Wruke wrote: Hi, I want to ask how the segmentation algorithms (meanshift, large scale meanshift and watershed) segment raster stacks. Do they calculate the mean from all layers and then segment this mean-layer? Best, Wruke -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] How to control the level of parallelism
Hi, There is an environment variable that can be used to specify the default number of threads to use : ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS Regards, Guillaume On 10/31/2017 04:51 PM, davidmichea.unis...@gmail.com wrote: Hi, I'm pretty new to OTB. I'm currently building a platform for the rapid processing of Sentinel products on HPC. During tests, I have seen that the otbcli_* commands are using all available processors on a compute node. My question is: Is there a way to limit / set the number of processes / threads used by the OTB programs ? Best regards, David -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] ITK configuration file for cmake (Windows compilation)
Hi, Depending on your install of ITK, you can set the variable ITK_DIR in the OTB build configuration. This variable should contain the path to the folder containing ITKConfig.cmake. For instance, if you use OTB binary package, it should be something like : .../OTB-6.2.0-Win64/lib/cmake/ITK-4.12 Regards, Guillaume On 10/30/2017 10:01 AM, Baptiste Lafabregue wrote: Hello, I'm trying to compile OTB on windows (on a 64b machine). I followed the steps from the wiki, but when I want to configure the build it stops with the following message : CMake Warning at Modules/ThirdParty/ITK/otb-module-init.cmake:103 (find_package): By not providing "FindITK.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ITK", but CMake did not find one. Could not find a package configuration file provided by "ITK" with any of the following names: ITKConfig.cmake itk-config.cmake Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR" to a directory containing one of the above files. If "ITK" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMake/OTBModuleEnablement.cmake:394 (include) CMakeLists.txt:326 (include) From what I understood FindITK.cmake is no more provided with cmake 3.0 and above. On the other hand ITK comply to cmake 3.0+ only with version 4.0+. Is there a way to solve this ? Thank you, Baptiste -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] OTB 6.2.0 Released
Dear all, We are pleased to announce that Orfeo ToolBox 6.2.0 is out ! As usual, ready-to-use binary packages are available for Windows, Linux and Mac OS X: You can also checkout the source directly with git: git clone https://g...@git.orfeo-toolbox.org/git/otb.git OTB -b release-6.2 We welcome your feedback and requests, and encourage you to join the OTB community and mailing list. If you think you face a bug, please report it on Mantis. As we made an exception to our 3 months release schedule (OTB 6.0 is now 6 months old), we know that you are all looking forward to updating your favorite tool. And there is indeed a lot of new things in this new version. In addition, a total of 47 reported bugs have been fixed. You can check the Release Notes . Better help, doc and logs Thanks to RFC 91, errors have been made clearer everywhere in OTB. For instance, when OTB 6.0 used to say: 2017 May 16 18:07:49 : Application.logger (CRITICAL) Invalid image filename blabla.tif. 2017 May 16 18:07:49 : Application.logger (FATAL) The following error occurred during application execution : /home/otbval/Dashboard/src/OTB/Modules/Wrappers/ApplicationEngine/include/otbWrapperInputImageParameter.txx:79: itk::ERROR: InputImageParameter(0x2158710): No input image or filename detected... OTB 6.2 now says: 2017-05-16 18:07:49 (FATAL): Cannot open file blabla.tif. The file does not exist. RFC 96 takes care of improving the display of help in command-line mode. There is now a -help switch that allows to display the same help as in the documentation tab of GUI applications, and this switch also allows to get help for parameters: $ ./bin/otbcli SampleSelection -help instats sampler vec MISSING -instats Input Statistics (mandatory) Input file storing statistics (XML format) -sampler Sampler type [periodic/random] (mandatory, default value is periodic) Type of sampling (periodic, pattern based, random) MISSING -vec Input vectors (mandatory) Input geometries to analyse Meanwhile, we started a background task for improving the content of the documentation itself. With a single sprint of one day, we already improved greatly the documentation of 19 applications, which can are listed in RFC 103. We are planning to continue this work in future releases until all applications have been screened for documentation improvements. Other improvements in this section includes the logging for composite application (RFC 105), and an explicit open-source licence for the Cookbook (RFC 94). Improvements and refactoring of several applications We re-factor several applications following discussions during last OTB User Days: KMeansClassification: now a composite application of sampling/classification applications which use internally the KMeans implementation available in the Shark library ExtractROI: allow to define different types of ROI (coordinates in latitude/longitude), give point of interest and a radius, use a reference vector… All in one LSMS segmentation application: new composite application LargeScaleMeanShift which combines all steps of Large Scale Segmentation in one application! Convert : new RGB mode to select input bands (can be read also automaticcally from the metadata) PixelValue: Add new way to input pixel position DownloadSRTMTiles: complete revamp of the application which allows to define tiles area from images/vector/list of tiles, better handling of corner cases Improved build, superbuild, and packages There is now only one binary packages per platform which includes: All in one: All OTB applications, Monteverdi and all official remote modules which are now packaged in the same archive (no more distinction between OTB and OTB-Contrib package) OTB XDK: OTB package contains now headers and development files which allows to compile and link your source code with OTB. Moreover, superbuilds now contains the latest OpenJpeg, Gdal and NetCDF5. Welcome to Daniel McInerney We’ve got one new committer to OTB! Daniel is a researcher working for Coillte Teoranta – the Irish State Forestry Board and a user of OTB for a long time. His first pull request includes a lot of great improvements in the documentation. I encourage anybody interested to get more involved in OTB to join discussions and become part of the team. Orfeo ToolBox Graduates OSGeo incubation! OTB has graduated in July from incubation and is now a full fledged OSGeo project! Graduating
[otb-users] OTB 6.2.0 release candidate
Hi, The OTB Developer Team is pleased to announce that the version 6.2.0 Release Candidate is out ! For this release the delivered binaries contain : OTB binaries : monteverdi, mapla, OTB libraries and applications, applications launchers, python wrapping, ... The dependency stack (GDAL, ITK, ...) The necessary headers to use the package as an XDK : you will find OTB headers as well as dependencies headers Some official remote modules are included in the package, like the previous "-contrib" packages. Now there is a single flavour containing all. The binaries are available at the usual place : https://www.orfeo-toolbox.org/packages/ Please note that the Linux binaries require a recent platform. This is a known issue and for the final release we plan to deliver binaries with a better compatibility. If you want to get the sources : git clone http://g...@git.orfeo-toolbox.org/git/otb.git OTB cd OTB git checkout -q --detach 6.2.0-rc1 Feel free to give your feedback, report bugs and strange behaviours : https://bugs.orfeo-toolbox.org OTB-DevTeam -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Installation (begginers doubt)
Hi, It seems that your installation path "/home/blabla/Documentos/orfeo toolbox/OTB-6.0.0-Linux64/bin/" has a space character, which is not supported. Can you try to install OTB in a different path, let say : /home/blabla/Documentos/orfeo_toolbox Guillaume On 09/04/2017 08:46 AM, nobeea...@gmail.com wrote: Hi everybody, sorry for this simple question, but its better to ask, instead of living with the doubt. I have tried to install Orfeo toolbox, but I'm unnable to run it in QGIS, and also not able to run the GUI (Monteverdi). Any help wll be very welcome The computer is running Linux (Debian Jessie). Thanks Daniel PD. When I try to run meanshift segmentation in QGIS I get the following message: "Algorithm Segmentation (meanshift) starting... /home/blabla/Documentos/orfeo toolbox/OTB-6.0.0-Linux64/bin/ otbcli_Segmentation -in "/home/blabla/Escritorio/temppp/orfeotoolbox/imagen2.png" -filter meanshift -filter.meanshift.spatialr 5 -filter.meanshift.ranger 15 -filter.meanshift.thres -0.9 -filter.meanshift.maxiter 100 -filter.meanshift.minsize 100 -mode vector -mode.vector.outmode ulco -mode.vector.neighbor true -mode.vector.stitch true -mode.vector.minsize 1 -mode.vector.simplify 0.1 -mode.vector.layername layer -mode.vector.fieldname DN -mode.vector.tilesize 1024 -mode.vector.startlabel 1 -mode.vector.ogroptions None -mode.vector.out "/tmp/processinge9560ccbad854df397f37a7e55dd1e8e/3f167459bea34ee0acd545dd1af54061/mode.vector.out.shp" /home/blabla/Documentos/orfeo toolbox/OTB-6.0.0-Linux64/bin/otbcli_Segmentation: 20: /home/blabla/Documentos/orfeo toolbox/OTB-6.0.0-Linux64/bin/otbcli_Segmentation: /home/blabla/Documentos/orfeo: not found Converting outputs Loading resulting layers The following layers were not correctly generated. Output vector file You can check the log messages to find more information about the execution of the algorithm" -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] OTB6.1, openCV and RandomForest
Hi, The file "otb_opencv_api.h" is generated from "otb_opencv_api.h.in" when compiling the OTB : if you use opencv 3 then OTB_OPENCV_3 is defined, otherwise, the file is empty. Could you give some details on how you compile OTB? Your working model file seems to be generated by OpenCV 2. Guillaume On 08/18/2017 12:17 PM, Julien Radoux wrote: Hello, I have an unexpected segmentation fault with random forest classifier in OTB6.1. I had an error compiling RF forest classifier due to the compiler not finding otb_opencv_api.h. It could be solved by adding the path of the include dir with ccmake, but I wonder what is the purpose of this file: it seems to set a variable OPENCV_3, but it is not actually checking if open_cv v3 is there (in my case, I use an external open_cv3). Now it gives me a systematic segmentation fault (on previous version, I had sometimes a segmentation fault, but not always, and I was hoping that the next version would solve the problem). The problem seems to come from my training step: I can run the models of my previous version with otbcli_ImageClassifier, but it doesn't work with the new models (which has a different structure, see below) NOT working %YAML:1.0 opencv_ml_rtrees: is_classifier: 1 var_all: 5 var_count: 4 ord_var_count: 4 cat_var_count: 1 training_params: use_surrogates: 0 max_categories: 10 regression_accuracy: 9.997764825821e-03 max_depth: 15 min_sample_count: 25 cross_validation_folds: 0 nactive_vars: 0 global_var_idx: 1 var_idx: [ 0, 1, 2, 3 ] var_type: [ 0, 0, 0, 0, 1 ] cat_ofs: [ 0, 0, 0, 0, 0, 0, 0, 0 ] class_labels: [ 1, 6, 7, 12, 13, 17, 19, 22, 24 ] missing_subst: [ 0., 0., 0., 0., 0. ] oob_error: 2.4000992032737081e-01 ntrees: 75 WORKING %YAML:1.0 my_random_trees: !!opencv-ml-random-trees nclasses: 9 nsamples: 88071 nactive_vars: 2 oob_error: 2.4195188071840054e-01 ntrees: 75 is_classifier: 1 var_all: 4 var_count: 4 ord_var_count: 4 cat_var_count: 0 training_params: use_surrogates: 0 max_categories: 10 max_depth: 15 min_sample_count: 25 cross_validation_folds: 0 priors: !!opencv-matrix rows: 1 cols: 9 dt: d data: [ 1., 1., 1., 1., 1., 1., 1., 1., 1. ] var_type: [ 0, 0, 0, 0 ] cat_count: !!opencv-matrix rows: 1 cols: 1 dt: i data: [ 9 ] cat_map: !!opencv-matrix rows: 1 cols: 9 dt: i data: [ 1, 6, 7, 12, 13, 17, 19, 22, 24 ] trees: -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 uns
Re: [otb-users] Region growing for tree canopy detection
Hi, I don't think the region growing is exposed in an application. You can try to look into applications : ConnectecComponentSegmentation : there is a mathematical _expression_ for the connected component but also for and OBIA _expression_ Segmentation: proposes several segmentation algorithms. Hope it helps, Guillaume On 06/08/2017 03:45 PM, Alexander Bruy wrote: Hi, I'm looking for a way to delineate tree canopies from hight resolution raster. Input data include RGB and hyperspectral rasters and point shapefile with points represeting individual tree crown center. Desired output is a polygon vector containing a individual tree crown limits, raster output also ok if it can be used for vectorization. As I understand, this task can be solved by using "region growing" segmentation. OTB Software Guide [0] and OTB API docs [1] reference this algorithm, but I can find it among command-line tools. Is it available only via API? Maybe I can also use some other algorithms? Sample of the desired output attached. Blue dots are tree top points, red polygons represent each tree canopy. [0] https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech16.html [1] https://www.orfeo-toolbox.org/doxygen/group__RegionGrowingSegmentation.html Thanks -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] bug tracker will not register new account
Hi, I can confirm that your account is created on the Mantis bug tracker: User : woodbri mail : imapto...@gmail.com I just made an update on your "real name". It should send you a notification. If you want I can reset your password, this will send the confirmation URL via email. Regards, Guillaume On 06/22/2017 02:29 AM, Stephen Woodbridge wrote: Hi, Can someone look into the bug tracker account registration? I tried to register a new account for user woodbri and it said it would send me an email. I got no email, its not in spam bucket. Tried to signup again using same user and email, and it not says that account it in use, so it is obviously waiting for me to verify the email, but using the email I never received. Thanks, -Steve -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] SPOT 6/7 orthorectification
Hi, To my knowledge, Spot 6/7 is supported. The geometric model is based on the RPC coefficients from the DIMAP. You could try to investigate if the bad accuracy comes from DEM settings : run Orthorectification without any DEM run Orthorectification using standard SRTM tiles (.hgt files) Just a note on the opt.gridspacing parameter : it corresponds to the step of the resampling grid, expressed in the units of the output projection system (if you are using the default UTM projection : it means 4 meters). Regards, Guillaume On 06/20/2017 04:40 PM, jerome maxant wrote: Hi, I'm trying to perform a Spot 6 orthorectification with OTB application. It is running but the geometric accuracy of the result is not acceptable. Are Spot 6/7 data supported by OTB Orthorectification app ? I guess as it's the same dimap format as Pleiades. My parameters hereafter : -io.in the jp2 file in the dimap folder + extended filename skipcarto=true -io.out output tif file -elev.dem directory of the geotiff DEM file (EPSG:4326) -opt.gridspacing 4 I tryied also to play with rpc option parameter but unsuccessfully. It should work better, I get reliable results from a commercial software (also based only on RPC coefficients and without GCP). How can I improve the result ? Best regards Jérôme OTB On The Beach -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Problem cmake
Hi, It looks like OpenThreads headers and library are not detected. You can try to set them manually : OPENTHREADS_INCLUDE_DIR = /opt/OTB-5.4.0-xdk-Linux64/include OPENTHREADS_LIBRARY = /opt/OTB-5.4.0-xdk-Linux64/lib/libOpenThreads.so Guillaume On 03/25/2017 02:39 AM, Facundo Castello wrote: I'm starting to use OTB and i've install osgeo live to do it... now im following this intructions: https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Linux#Prerequisites and when i run this command: cmake /opt/OTB/source -DCMAKE_PREFIX_PATH=/opt/OTB-5.4.0-xdk-Linux64 i've got this error CMake Warning at CMake/FindOpenThreads.cmake:92 (message): OpenThreads/Version not found ! Call Stack (most recent call first): Modules/ThirdParty/OpenThreads/otb-module-init.cmake:21 (find_package) CMake/OTBModuleEnablement.cmake:395 (include) CMakeLists.txt:323 (include) CMake Error at /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:148 (message): Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR) Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE) CMake/FindOpenThreads.cmake:138 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) Modules/ThirdParty/OpenThreads/otb-module-init.cmake:21 (find_package) CMake/OTBModuleEnablement.cmake:395 (include) CMakeLists.txt:323 (include) -- Configuring incomplete, errors occurred! See also "/root/CMakeFiles/CMakeOutput.log". See also "/root/CMakeFiles/CMakeError.log". root@facundo-System-Product-Name:~# OPENTHREA i would like if somebody know how to solve it... 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] itk errors in python script
age 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: I can't start otbApplication. AttributeError: 'NoneType' object has no attribute 'GetParametersKeys'
In the Linux standalone packages, you can find a file "otbenv.profile". There is a few lines specific to the standalone package (such as the section "OTB_USE_SYSTEM_GTK"). The variables GDAL_DATA and GEOTIFF_CSV are there because the package uses a specific GDAL build (should not be needed with a system GDAL). The PYTHONPATH and OTB_APPLICATION_PATH are used to properly setup python wrapping and application path. In your case, modifying the PATH should not be necessary if you install OTB under /usr or /usr/local. Guillaume On 04/24/2017 04:18 PM, Stephen Woodbridge wrote: Hi Guillaume, That would be great. What is the name of the script? You should also communicate this to the OS packaging people as they have post install hooks that could automatically call this script. I installed otb on Unbuntu Xenial via the apt-get install and this should automatically call the setup script but did not so the packager's may not know about the script. Thanks, -Steve On 4/24/2017 6:00 AM, Guillaume Pasero wrote: Hi, I will try to enhance the documentation on this topic. In fact, when using standalone OTB installers, you just need to call a script to setup environment and it should setup properly PYTHONPATH, OTB_APPLICATION_PATH,... Guillaume On 04/18/2017 08:24 PM, Stephen Woodbridge wrote: To answer my own question, I was able to solve this, setting the OTB_APPLICATION_PATH environment variable. I decided to set it in the application rather than in the user environment with: | otbpath =os.environ.get('OTB_APPLICATION_PATH',None) ifotbpath isNone: os.environ['OTB_APPLICATION_PATH']='/usr/lib/otb/applications/' | Obviously you would need to improve on this if you needed it to work on Windows also. On Monday, April 17, 2017 at 9:29:39 PM UTC-4, Stephen Woodbridge wrote: I having the same problem on Ubuntu 16.04 where I installed it via apt-get install python-otb libotb monteverdi otb-bin and when it installed it did not add /usr/lib/otb/python to the site python path, so I'm guessing that some other initialization on install was not done. Anyone know how to fix this? On Tuesday, April 4, 2017 at 6:09:28 AM UTC-4, M E C wrote: Hi there, So I am trying to use otb from Python in Windows 7 and I'm not able to do it. I guess it must be an installation error. I copied the example from https://www.orfeo-toolbox.org/CookBook/OTB-Applications.html#using-the-python-interface , that starts with the lines: from sys import argv import otbApplication print "Available applications : " print str( otbApplication.Registry.GetAvailableApplications() ) app = otbApplication.Registry.CreateApplication("Smoothing") print app.GetParametersKeys() It prints "Available applications :" but then only "()" And I get the following error: Traceback (most recent call last): File "C:\Users\user\Desktop\Soils\Exampleotb.py", line 21, in print app.GetParametersKeys() AttributeError: 'NoneType' object has no attribute 'GetParametersKeys' It must be something simple but I don't see it. Any clue, please? I am using OTB 10.1 and Linux 2.7.13 for win64 Thank you! -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You re
Re: [otb-users] Re: I can't start otbApplication. AttributeError: 'NoneType' object has no attribute 'GetParametersKeys'
Hi, I will try to enhance the documentation on this topic. In fact, when using standalone OTB installers, you just need to call a script to setup environment and it should setup properly PYTHONPATH, OTB_APPLICATION_PATH,... Guillaume On 04/18/2017 08:24 PM, Stephen Woodbridge wrote: To answer my own question, I was able to solve this, setting the OTB_APPLICATION_PATH environment variable. I decided to set it in the application rather than in the user environment with: otbpath = os.environ.get('OTB_APPLICATION_PATH', None) if otbpath is None: os.environ['OTB_APPLICATION_PATH']='/usr/lib/otb/applications/' Obviously you would need to improve on this if you needed it to work on Windows also. On Monday, April 17, 2017 at 9:29:39 PM UTC-4, Stephen Woodbridge wrote: I having the same problem on Ubuntu 16.04 where I installed it via apt-get install python-otb libotb monteverdi otb-bin and when it installed it did not add /usr/lib/otb/python to the site python path, so I'm guessing that some other initialization on install was not done. Anyone know how to fix this? On Tuesday, April 4, 2017 at 6:09:28 AM UTC-4, M E C wrote: Hi there, So I am trying to use otb from Python in Windows 7 and I'm not able to do it. I guess it must be an installation error. I copied the example from https://www.orfeo-toolbox.org/CookBook/OTB-Applications.html#using-the-python-interface, that starts with the lines: from sys import argv import otbApplication print "Available applications : " print str( otbApplication.Registry.GetAvailableApplications() ) app = otbApplication.Registry.CreateApplication("Smoothing") print app.GetParametersKeys()It prints "Available applications :" but then only "()" And I get the following error: Traceback (most recent call last): File "C:\Users\user\Desktop\Soils\Exampleotb.py", line 21, in print app.GetParametersKeys()AttributeError: 'NoneType' object has no attribute 'GetParametersKeys' It must be something simple but I don't see it. Any clue, please? I am using OTB 10.1 and Linux 2.7.13 for win64 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] traitement d'image avec OTB 5.10
Hi Jérôme, This mailing list is in english so my answer will be in english as well. I guess every one has its own recipes to select training areas. Your goal is to have training areas that are pure (only 1 class per region), and that show enough diversity to characterize your classes all over the scene. After doing the training step, you can validate the model with a ground truth and compute the confusion matrix. See OTB applications like TrainImagesClassifier and ComputeConfusionMatrix. Also more information here : https://www.orfeo-toolbox.org/CookBook/recipes/pbclassif.html#validating-the-classification-model Regards, Guillaume On 04/19/2017 12:55 PM, Jérôme Loukou wrote: Bonjour a tous je voudrais avoir des orientations sur comment choisir les sites d'entrainement et avoir les différents statistiques (séparabilité, matrice de confusion) -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] In memory connection with SlitImage
You could try with ExtractROI application (parameter -cl to choose the first band). It has InputImage and OutputImage parameters so in-memory connection should be possible. Guillaume On 04/11/2017 09:54 AM, Poughon Victor wrote: Hi all, Is there a way to connect applications in memory when one wants to use SplitImage? Let's say I have a two band image as output of App1, and I want to use the first band as an input to App2. Any way to do that without writting to disk? Maybe with the new extendend filename? The problem is that SplitImage works with filename strings. Thanks! Victor Poughon -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Simple geometry tools in OTB?
Hi, On 03/21/2017 09:18 AM, Agustin Lobo wrote: I guess the second. Examples: http://geog.uoregon.edu/amarcus/geog418/Labs/Lab06_rectification.htm The polynomial can be fit and applied using gdal_translate to incorporate the GCPs and then gdalwarp r near order 2 to apply the transformation but the way of introducing the GCPs is kind of inconvenient. This problem is more about sensor model fitting. You have an image in sensor geometry and you try to ortho-rectify it on ground based on a set of GCPs. The OTB already has an application to assess a RPC sensor model based on GCPs. The polynomial model is a particular case of rational model, maybe setting the denominator coefficients to [1,0,0,...,0] will do the trick. Guillaume Yes, I agree. But can this be done in practice? Also, is there a tool in OTB to actually fit such a rational polynomial with prescribed denominators? No, at the moment there is no way to estimate a polynomial transform based on GCPs. If the transform is already computed, it can be fed into a *.geom file to act as a RPC model with denominator coefficients set like proposed. Anyway, please consider also my suggestion of including the method described in Pala, V., and X. Pons. 1995. “Incorporation of Relief in Polynomial-Based Geometric Correction.” Photogrametrics Engineering & Remote Sensing 61: 935–44. https://www.researchgate.net/publication/244485309_Incorporation_of_relief_polynomial-based_geometric_corrections The sensor models in OTB (RPC based or physical) should already take into account elevation. The inverse localization function is modeled like : (row,col) = F_inv(x,y,z) -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Simple geometry tools in OTB?
Hi, Would this polynomial transformation be : a new type of sensor model (to be used during ortho-rectification) ? or an arbitrary transform that can be applied to any image (such as the rigid transforms) ? The polynomial model is a particular case of rational model, maybe setting the denominator coefficients to [1,0,0,...,0] will do the trick. Guillaume On 03/17/2017 04:56 PM, Agustin Lobo wrote: Is it possible to fit and apply a simple polynomial (not rational) for geometry correction with OTB? Is it possible to apply such a polynomial using x,y,z coordinates as suggested in Pala, V., and X. Pons. 1995. “Incorporation of Relief in Polynomial-Based Geometric Correction.” Photogrametrics Engineering & Remote Sensing 61: 935–44. https://www.researchgate.net/publication/244485309_Incorporation_of_relief_polynomial-based_geometric_corrections ? The later is a simple approach that works well with relatively coarse imagery (i.e. 10-30 m resolution). Agus -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: readlink: illegal option -- f in otbcli_LSMSSegmentation (OTB-5.10.1)
This is a difference between BSD and GNU implementations of readlink command. I will try to find a more portable solution. This comes from the file otbenv.profile , line 9 : You can replace it by : OTB_APPLICATION_PATH=$(cd "$OTB_APPLICATION_PATH" 2>/dev/null && pwd -P) The behavior of pwd -P is the same on linux and MacOS. Regards, Guillaume On 03/14/2017 09:52 AM, Agustin Lobo wrote: Thanks. I get that this is a Mac peculiarity, but does ti have any effect on the result? I will compare to the results on a linux machine as soon as I can. Agus On Tue, Mar 14, 2017 at 9:02 AM, Rashad <mohammedrasha...@gmail.com> wrote: On Tuesday, March 14, 2017 at 8:59:56 AM UTC+1, Rashad wrote: On Monday, March 13, 2017 at 5:59:43 PM UTC+1, alobo wrote: When I run: $ /Users/agustinlobo/Downloads/OTB-5.10.1-Darwin64/bin/otbcli_LSMSSegmentation -in filtered_range100b.tif -inpos filtered_spat.tif -out segmentation.tif uint32 -ranger 5 -spatialr 5 -minsize 0 I get: readlink: illegal option -- f usage: readlink [-n] [file ...] Then the process continues and complete. This message is not printed by $ /Users/agustinlobo/Downloads/OTB-5.8.0-Darwin64/bin/otbcli_LSMSSegmentation What does the readlink message mean? is the result correct despite the message? can you tell where this readlink message comes from. the shell scripts must be in posix and readlink shouldn't be there. SO has a better explanation for your error and here it is.. http://stackoverflow.com/questions/1055671/how-can-i-get-the-behavior-of-gnus-readlink-f-on-a-mac Thanks 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 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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_TrainImageClassifier
Hi, The number of samples used is by default clamped to the smallest class. If you want more samples, you can disable the "sample.bm" option. Regards, Guillaume On 03/09/2017 03:21 PM, Nafissa Sfaksi wrote: Hello, I am a new user of OTB application and I have some problems with my model training. The sampling is limited to about 5500 sample per class while I have put as parameter for sample.mt 25000 sample (having a big image to classify, I need a big set of training samples) So I didn't understand why the sampling is finaly limited to 5500 samples? I pricise also that the shape with the data used for sampling count over than 4 sample per class. Thank you all for your anwsers Nafissa -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] OTB 5.10.1 released !
Dear all, We are pleased to announce that a minor release OTB 5.10.1 is out ! It contains a few patches and also an upgrade of GDAL in our binary packages (version 2.1.3). Binary packages for 5.10.1 are available now for Linux, Mac OS and Windows! https://www.orfeo-toolbox.org/Download/ You can also checkout the source directly with git: git clone https://g...@git.orfeo-toolbox.org/git/otb.git OTB --branch release-5.10 We welcome your feedback and request, and encourage you to join the OTB community and mailing list. If you think you face a bug, please report it on Mantis. Full release notes : Packaging : Upgrade to GDAL 2.1.3, compatible with new format of Sentinel 2 products Upgrade of SertitObject external module with bugfixes Bugfixes : 0001364: Crash of Mapla.app v5.10.0 on MacOSX El Captain 10.11.5 0001365: Python wrapper OTB-5.8.0: @rpath problem on MacOSX El Captain 10.11 0001367: Monteverdi from the OTB standalone package for Mac OS X fails to run 0001366: OTB 5.10 : can't use extract ROI using bindings python Happy remote sensing! OTB Team -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Fw: build 5.10
Hi, would it help if you add the folder 'E:/Dspr/SWD/OTB/OTB-5.10.0-xdk-win64/bin' to the PATH variable ? Regards, Guillaume On 02/28/2017 09:31 AM, Surya Prakash wrote: Note: Forwarded message attached -- Original Message -- From: "Surya Prakash"ds_prak...@rediffmail.com To: julien.mic...@cnes.fr Subject: build 5.10 -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: Extended filename for band selection
Dear Julien, Thanks for your feedback. It is true that current syntax is somewhere in-between different standards. About the use of "band[]" as general syntax, it would not be consistent with other extended filenames : we always use "keyword=value". So, it should be something like "band=[]". Regards, Guillaume On 02/25/2017 10:41 AM, Julien Radoux wrote: Dear Guillaume, This would be usefull, thanks. I don't care about band or bands. for the syntax, Python-like is nice, but then it is confusing not to start with band 0 for the first band. maybe using [] would also make things clear. To be more "pythonic", I would rather use bands[] with the python indices but this is probably more difficult to parse. Also, in python, [2:4] would mean bands with index 2 and 3 (not the 4), so this is not consistent. To conclude, Python-like is fine, but it would be very confusing if there are too many differences. In your example, it makes me think of Matlab indexing, which is fine but should be stated as such in the help (then use "end" instead of -1 for the last band) For the last question, I do have some home made scripts that could benefit from band selection in the extended filename. One application with a standard filter would be the use of Meanshift segmentation where you only want the smoothed mean value for one of the output bands (e.g. a NDVI band) but you want to use more than one band as input for the mean shift segmentation. Le vendredi 24 février 2017 17:25:37 UTC+1, Guillaume Pasero a écrit : Dear users, A new feature is in development to provide an extended filename for input band selection (see extended_band). A simple use-case is when you have a multi-channel image, and you want to process only the second band of this image using an OTB Application. With this feature you could do it like this : otbcli_MyApplication -in "my_image.tif?band=2" -out output.tif The current syntax (inspired by Python syntax) has already been implemented : band=r1,r2,...,rn where each 'ri' is a generic range A generic range can be : A single band index : '1' is the first band, for negative numbers the numbering is backward ( '-1' is the last band) A range of bands, using the character ':' between optional start and end indexes : '3:' means the 3rd band until the last one ':-2' means the first band until the second to last '2:4' means bands 2, 3 and 4 We would like to have your feedback on several points : We will likely change the keyword "band" to plural "bands", no objection ? Is the syntax clear / convenient / confusing ? There can be a debate between 0-based and 1-based indexing for band numbers. At the moment, it is not uniform in OTB but we think that 1-based indexing should be the convention exposed to the user. It is also possible to implement it on image writers, would it help ? What would be your use-cases ? Thanks for your feedback, Guillaume -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaum...@c-s.fr -- -- 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] Extended filename for band selection
Dear users, A new feature is in development to provide an extended filename for input band selection (see extended_band). A simple use-case is when you have a multi-channel image, and you want to process only the second band of this image using an OTB Application. With this feature you could do it like this : otbcli_MyApplication -in "my_image.tif?band=2" -out output.tif The current syntax (inspired by Python syntax) has already been implemented : band=r1,r2,...,rn where each 'ri' is a generic range A generic range can be : A single band index : '1' is the first band, for negative numbers the numbering is backward ( '-1' is the last band) A range of bands, using the character ':' between optional start and end indexes : '3:' means the 3rd band until the last one ':-2' means the first band until the second to last '2:4' means bands 2, 3 and 4 We would like to have your feedback on several points : We will likely change the keyword "band" to plural "bands", no objection ? Is the syntax clear / convenient / confusing ? There can be a debate between 0-based and 1-based indexing for band numbers. At the moment, it is not uniform in OTB but we think that 1-based indexing should be the convention exposed to the user. It is also possible to implement it on image writers, would it help ? What would be your use-cases ? Thanks for your feedback, Guillaume -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] NDVI at 0
Hi, I don't quite understand what you want to do : train a classifier at each date using either landsat bands or (landsat bands + ndvi) ? If yes the normal process would be to compute the NDVI of each L8 image and stack it to the corresponding L8 image, so that you have a time series of (L8+ndvi) images. But you can also stack all the dates together and then use the right field names to perform training. The band numbers to compute NDVI should correspond to the band order of your L8 images (for otbcli_RadiometricIndices, first band is band 1). It seems correct. What are the values of variables ${bands} and ${ndvi} ? In the stack 'alldates2014_avignon_landsat.TIF', you should compute correctly the field names to use. Guillaume On 02/15/2017 11:05 AM, michel M wrote: many thanks Guillaume , see my code below ... The number of the channels are good ? if yes , i don't see my error see you Michel otbcli_ConcatenateImages.bat -il LAND*.TIF -out alldates2014_avignon_landsat.TIF uint16 for f in LAND*.TIF; do otbcli_RadiometricIndices.bat -channels.blue 2 -channels.green 3 -channels.red 4 -channels.nir 5 -in "$f" -out "NDVI_$f" -list Vegetation:NDVI; done (good number ???) otbcli_ConcatenateImages.bat -il NDVI*.TIF -out alldates2014_avignon_landsat_nvdi.TIF uint16 otbcli_ConcatenateImages.bat -il alldates2014_avignon_landsat.TIF alldates2014_avignon_landsat_nvdi.TIF -out alldates2014_avignon_landsat_bandes_et_nvdi.TIF uint16 otbcli_PolygonClassStatistics.bat -in alldates2014_avignon_landsat.tif -vec training_range_rpg.shp -field "code" -out test.xml otbcli_SampleSelection.bat -in alldates2014_avignon_landsat.tif -field code -vec training_range_rpg.shp -out training_samples.sqlite -instats test.xml -strategy smallest otbcli_SampleExtraction.bat -in alldates2014_avignon_landsat.tif -vec training_samples.sqlite -outfield prefix -outfield.prefix.name band_ -field code otbcli_SampleExtraction.bat -in alldates2014_avignon_landsat_nvdi.TIF -vec training_samples.sqlite -outfield prefix -outfield.prefix.name ndvi_ -field code for i in $(seq 1 7); do var=date$i; otbcli_TrainVectorClassifier.bat -io.vd training_samples.sqlite -cfield code -classifier rf -classifier.rf.max 20 -io.out model.rf -feat ${bands} | grep Kappa; done OK for i in $(seq 1 7); do var=date$i; otbcli_TrainVectorClassifier.bat -io.vd training_samples.sqlite -cfield code -classifier rf -classifier.rf.max 20 -io.out model.rf -feat ${bands} ${ndvi} | grep Kappa; done -- pas de NDVI pas de ndvi Le mercredi 9 novembre 2016 15:17:40 UTC+1, Guillaume Pasero a écrit : Hi, When you want to perform the training, the "feat" parameter should be fed with field names from training_samples.sqlite on which you want to train. In your pipeline, you should concatenate your NDVI images into one stack ( otbcli_ConcatenateImages) then use this stack to extract the samples values (otbcli_SampleExtraction). Regards, Guillaume On 11/09/2016 11:08 AM, michel M wrote: hello , I have a little question I have 7 images (7 months) Landsat 8 (for a year) i use this fonction for f in LAND*.TIF; do otbcli_RadiometricIndices.bat -channels.blue 2 -channels.green 3 -channels.red 4 -channels.nir 5 -in "$f" -out "NDVI_$f" -list Vegetation:NDVI; done after i do ndvi=`for i in $(
Re: [otb-users] Stereo Rectification Grid Generator
Hi, This "epi.step" is the step at which the deformation grid (to resample into epipolar) is computed. The computation of these grids are not streamed nor multi-threaded, the whole grid will be allocated in memory (sadly there are still some filters like this in OTB). I don't think the mpirun will help in this particular case. For large images, it is advised to use a step larger than 1. If you use a smooth or low-resolution DEM, the transform between sensor and epipolar space will be quite regular, so you can afford computing this transform 1 pixel every 5. Regards, Guillaume On 02/01/2017 03:32 PM, M. Jahanzeb Malik wrote: Hi, I have just started using OTB 5.8.0 on ubuntu 16.04 LTS. I am exercising examples in the cook book. But, now I am stuck with otbcli_StereoRectificationGridGenerator. I am running the grid generator with -epi.step 1 (which is default value) on a world view 2 pan image as: otbcli_StereoRectificationGridGenerator -io.inleft image1.tif -io.inright image2.tif -epi.step 1 -io.outimage1 outimage1_grid.tif -io.outright outimage1_grid.tif But, the command hanged/stuck while writing outimage1_grid.tif. The command worked very slow and did not utilize all cores on my PC. I will be grateful if some let me know following: How does the grid generator make the transformation grid (algorithm ?), why it is so computationally expensive? Can I run the grid generator using mpirun -np 4 otbcli_StereoRectificationGridGenerator -io.inleft image1.tif -io.inright image2.tif -epi.step 1 -io.outimage1 outimage1_grid.tif -io.outright outimage1_grid.tif? I also noted that the grid generator worked nicely with -epi.step 5. But the issue is I want to process the data at the full resolution (i.e., all pixels in the raw image). How can I do that? -- Kind Regards M. Jahanzeb Malik -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] statistics
Hi, If you only have 1 sample in some classes, it will be difficult to perform the SampleSelection using the modes "smallest" or "constant". However, since your total number of samples is not huge, you could select "all" the available samples. As you proposed, you can also remove these small classes from your shapefile (or maybe fuse them with similar classes). Regards, Guillaume On 02/02/2017 04:54 PM, michel M wrote: hello, I calculated the statistics . the crops code "key " is RPG ( graphic parcellair census in france) So must i delete the crops code with a low value "1" in my shape file ? (Key 3 , key 5 , 24 ) many thanks otbcli_PolygonClassStatistics.bat -in alldates2014_av_landsat.tif -vec centroid_training_sans_code_diver.shp -field "code" -out test.xml -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: segmentation watershed
Hi, The segmentation filter tries to identify homogenous regions. In otbcli_Segmentation , the image first goes into a gradient magnitude filter before watershed filter. The watershed filter itself is documented here: https://itk.org/Doxygen48/html/classitk_1_1WatershedImageFilter.html. You should try to use it directly. Hope it helps, Guillaume On 01/25/2017 07:31 PM, Giuseppe Amatulli wrote: FIGURE 2 Le mercredi 25 janvier 2017 13:28:58 UTC-5, Giuseppe Amatulli a écrit : Hi I'm trying to segment this image (figure 1) using the watershed segmentation algorithm but I do not get what I need. The input image has been created by a cost function ( https://grass.osgeo.org/grass72/manuals/r.cost.html ) starting from the dark pixel in Figure 1. The delineation of the different watershed should be located on the higher value of the cost around each dark pixel. In other words I would like to obtain something similar to Figure 2. I tried to change the -filter.watershed.level and -filter.watershed.threshold, the polygons size/shape change but I do not get the delineation of each watershed. Do you have any idea? wget https://dl.dropboxusercontent.com/u/29337496/cost_neg.tif otbcli_Segmentation -in cost_neg.tif -mode vector -mode.vector.out SegmentationVector.shp -filter watershed -filter.watershed.level 0.5 Thanks Giuseppe Figure 1 Figure 2 -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Local contrast filter
Hi I don't think it is implemented in OTB nor in ITK. It would be a nice algorithm for visualization though. The current local contrast tool doesn't do AHE, it uses local min/max. Guillaume On 01/23/2017 09:05 AM, Agustin Lobo wrote: Is there a way to perform a local stretching with OTB using an slicing window as in e.g http://imagej.net/Enhance_Local_Contrast_(CLAHE) ? This is as if the recent interactive tool in Monteverdi could be systematically applied to the entire image. Thanks Agus -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Band Importance in Multi-band Raster Image Classification
Hi, This approach look like dimensionality reduction. The idea is to reduce the number of components based on redundant information. You can have a look at the application DimensionalityReduction. Guillaume On 01/24/2017 05:33 PM, Jake Shermeyer wrote: Hi all, I'm presently using the Gradient Boosting Tree classifier as part of the TrainImagesClassifier tool. I have a vector training dataset and a multi-band raster that serves as my input. I've been successfully outputting models and cal/val confusion matrices. I then use these matrices as verification data to optimize my classifier, adjust parameters, and tweak the bands I use as inputs. As part of this process, I've been adding and removing bands included in my input raster and I would like to see which bands are contributing or are weighted the most in the classification. For example the classifier makes decisions and groups pixels into specific classes based on each band x% of the time: Band 1- 10% Band 2- 25% Band 3- 50% Band 4- 15% Having this information will allow me to remove less valuable bands and ensure I'm using the strongest set of data that will be the most effective. Is this a possibility? Or is there a comparable work-around if not? 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 5.9 otbcli_TrainImagesClassifier
Hi Arthur, At the moment, the temporary files are stored on disk but removed at the end of processing (option "cleaning") In order to connect "in-memory" the different applications used (PolygonClassStatistics, SampleSelection, ...), OTB would need significant development on the OGRDataSource wrappers (at least 1 or 2 releases time). It is possible to change the default directory, this could be integrated for next release. Regards, Guillaume On 01/24/2017 11:21 AM, Arthur Vincent wrote: I'm trying to use otbcli_TrainImagesClassifier from OTB 5.9 and I have a request of new features : This application seems to use some other applications : PolygonClassStatistics, SampleSelection and SampleExtraction and all of these outputs are generated next to the output model. Is it possible to add a new feature to remove all this temporary files ? or/and where generate them ? The genereation of temporary files may cause a lot of disk access 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Rasterization with python bindings
The standalone OTB build uses its own GDAL version (2.1.0, even if you don't call otbenv.profile) so the GDAL_DATA has to be set accordingly. Yes I advise you to source otbenv.profile every time you use python binding, otherwise GDAL will try to read data files on the system (somewhere in /usr/share/...) that don't match its version. Guillaume On 01/11/2017 05:58 PM, Marc Lang wrote: Yes it is standalone OTB 5.8 build. I lauched my IDE after I source "otbenv.profile" and it worked so that's great =) But I don't understand why. Does it mean that when I don't use the otbenv.profile environment or when I use it, otb python bindings try to use different gdal versions ? Should I source "otbenv.profile" every time I want to use otb python bindings ? Thank you, Marc Le mercredi 11 janvier 2017 16:53:37 UTC+1, Guillaume Pasero a écrit : Hi, I think that command line and Python don't have the same environment. Maybe look at the GDAL_DATA variable. Is it a standalone OTB 5.8 build ? Regards, Guillaume On 01/11/2017 04:47 PM, Marc Lang wrote: Hi everyone, i'm trying to use the rasterization application with python bidings. In command line I did : otbcli_Rasterization -in 'myshape.shp' -out 'myrst.tif' -im 'myimref.tif' -mode.attribute.field 'num' and it worked well. But with python : Rasterization = otbApplication.Registry.CreateApplication("Rasterization") # The following lines set all the application parameters: Rasterization.SetParameterString("in", 'myshape.shp') Rasterization.SetParameterString("out", 'myrst.tif') Rasterization.SetParameterString("im", 'myimref.tif') Rasterization.SetParameterString("mode.attribute.field", 'num') Rasterization.ExecuteAndWriteOutput() I've got this error message : ERROR 1: No PROJ.4 translation for destination SRS, coordinate transformation initialization has failed. Apparently it's an error message relative to GDAL. Why is this error in python and not in command line ? Any suggestions to fix it ? I'm working on ubuntu 14.04, OTB 5.8.0 and GDAL 1.11.2 if it can help. Thank you, Marc -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
Re: [otb-users] Rasterization with python bindings
Hi, I think that command line and Python don't have the same environment. Maybe look at the GDAL_DATA variable. Is it a standalone OTB 5.8 build ? Regards, Guillaume On 01/11/2017 04:47 PM, Marc Lang wrote: Hi everyone, i'm trying to use the rasterization application with python bidings. In command line I did : otbcli_Rasterization -in 'myshape.shp' -out 'myrst.tif' -im 'myimref.tif' -mode.attribute.field 'num' and it worked well. But with python : Rasterization = otbApplication.Registry.CreateApplication("Rasterization") # The following lines set all the application parameters: Rasterization.SetParameterString("in", 'myshape.shp') Rasterization.SetParameterString("out", 'myrst.tif') Rasterization.SetParameterString("im", 'myimref.tif') Rasterization.SetParameterString("mode.attribute.field", 'num') Rasterization.ExecuteAndWriteOutput() I've got this error message : ERROR 1: No PROJ.4 translation for destination SRS, coordinate transformation initialization has failed. Apparently it's an error message relative to GDAL. Why is this error in python and not in command line ? Any suggestions to fix it ? I'm working on ubuntu 14.04, OTB 5.8.0 and GDAL 1.11.2 if it can help. Thank you, Marc -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Quicklook application introduces a shift
I think it is a separate problem. The filter used in Quicklook is a "decimation" filter. There is a "TODO" about using the center of the cell. The fix may cause that the initial image and its quicklook don't have exactly the same footprint. You can fill a bug report. Guillaume On 01/04/2017 04:16 PM, Poughon Victor wrote: Related but probably separate: https://bugs.orfeo-toolbox.org/view.php?id=1320 Victor Poughon De : otb-users@googlegroups.com [otb-users@googlegroups.com] de la part de Jordi Inglada [jordi.ingl...@cesbio.eu] Envoyé : mercredi 4 janvier 2017 16:09 À : otb-users Objet : [otb-users] Quicklook application introduces a shift Hi, I am not sure this should be considered a bug, but here it goes : I am using the Quicklook application to sub-sample a Sentinel-2 image from 10 m to 30 m resolution in order to stack it over a Landsat-8 image. Both images have been ortho-rectified to the same projection beforehand. Having a look at the images in Monteverdi, I have found that there is a shift of about 15 m in both X and Y (half a pixel) between the original S2 image and the quicklook. I remember the "origingate" controversy from some years ago when it was discovered that ITK and gdal did not follow the same convention for the image origin. I understand that this issue was solved. Therefore, I don't understand what is happening here. I have used the RigidTransformResample application instead of the Quicklook and the shift is not present. Thank you. Jordi -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] How to use the vector from segmentation to classify an image?
Hi, You should use TrainVectorClassifier instead of TrainImagesClassifier. This will train and produce a SVM model ("-io.out" output file). You will have to set (at least) : Input Vector Data (io.vd) Output model (io.out) Field names for training features (feat) Field containing the class id for supervision (cfield, in your case it will be "training") Classifier to use for the training (classifier = libsvm) However, before using this application, you will have to prepare a vector dataset with only your training polygons (polygons with a missing value in the field "training" will make the application crash). Once you have the output model file (simple text/xml file) you can use it to do the classification on the full dataset (using application OGRLayerClassification). Regards, Guillaume On 01/02/2017 11:54 PM, Geoffrey Balme wrote: I forgot to say that after the segmentation, I added a field in my vector attribute table named "training", and I gave some numeric values to few polygons based on the classes I want the segments to be classified in (3 classes) So now I'm with a few polygons having a training value, and most of the polygon having no training value, and I want to do the svm classification from this. Le lundi 2 janvier 2017 23:52:47 UTC+1, Geoffrey Balme a écrit : Hi Guillaume, I'm also trying to do supervised object-based classification. What I did so far is a meanshift segmentation on my satellite raster image. Then I did TrainImagesClassifier (svm) on the vector results of the segmentation. And at this point I'm not sure anymore what to do as there was no output on the previous step. Could you guide me from the segmentation to have an object-based classification using SVM ? (I tried to do OGRLayerClassification, but had no idea of what to put in the xml inputs etc..., the only input I have are my raster and my segmentation vector result) Thank you ! Le jeudi 24 novembre 2016 14:46:00 UTC+1, Guillaume Pasero a écrit : Hi Patricia, If I understand right, you want to perform object-based classification. In OTB-5.6.1 there is the application TrainVectorClassifier to train a classifier based on input geometries. You have to set several fields in the geometries you want to use for training : - one field to indicate the class of the geometry - several numeric fields to store the features attached to geometries. The fields can be extracted from a raster with LSMSVectorization and modified with QGis. After the training, you can either apply the model on the full set of geometries (with OGRLayerClassifier), or try to apply it on a raster (with ImageClassifier, but more difficult). Regards, Guillaume On 11/24/2016 02:09 PM, Patricia Lourenco wrote: Dear all, I am new with OTB-Monteverdi 5-6-1. I want to classify an image based on the segments created in the LSMVSVectorization (step 4 of the segmentation)using OTB/Monteverdi versions 5.6.1. However, I am not being able to do it. My questions are: 1. Which are the steps that I should take to do a classification based on segmentation? 2. Which OTB-Application should I use to select the segments for my classes? Thank you, in advance, for your help. Sincerely, Patricia -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html
Re: [otb-users] How to perform automatic contrast enhancement and color correction ?
Hi Léo, In OTB there is an application to perform basic conversion : otbcli_Convert. This applications allows to convert the dynamic of an image to an output pixels type (linear and log transform supported). It will compute min/max for each band and stretch this dynamic to the output range of your destination pixel type (i.e. 0-255 for uint8). By default, 2% of the histogram are cut on each side (can be tuned). You can also supply a mask to discard pixels during the histogram computation (can be useful for clouds). Regards, Guillaume On 12/12/2016 04:10 AM, Léo HUERTA wrote: Hi everybody, I 'm currently working on Pleiades Datasets, and i would like to perform automatic contrast enhancement and color correction, and i would like to know if anybody know a workflow to do that... I would like to reproduce a thing like "OVR" from Pleiades Data distributed by Airbus Defense & Space. I experimented software like Image magick with this kind of code: convert -monitor -modulate 100,130 -channel R -gamma 1 -channel G -gamma 0.95 -channel B -gamma 0.875 -channel RGB -sigmoidal-contrast 11x40% %OUT%BUNDLE_ORTHO_RGB.TIF -compress lzw %OUT%BUNDLE_ORTHO_RGB_CC.TIF It's not bad but, i spend lot of time trying to find the correct parameters... And i don't know how to calculate them automatically. A good software (but not open source) do a thing like that: Spectral discovery (by Geosage, an Australian company), this software perform L8 pre-processing (for data visualisation only): this soft read metada (MTL files, like DIMAP for pleiades), to estimate parameters for stretching, and scaling to produce a good looking L8 RGB tiff. I think it is possible to do that with the dimap but i don't know how... I have read a good paper about color correction for sat imagery: An Inquiry on Contrast Enhancement Methods for Satellite Images They speak about to very good algo: MSR (Multi Scale Retinex) and LCC (Local Color Correction), but i don't know how to aplly them on my Pleiades dataset. If anyone want to share about contrast enhancement and color correction, i am very happy to share my ressource. Thank you for your time Léo -- -- 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: Installation of OTB on Eclipse neon C++
Hi, Indeed, OTB uses CMake to compile libraries and executables. Here is the workflow : You give CMake all the details on your build : build type, path to dependencies, various compilation options,... CMake configures the build folder and generate standard makefiles (can vary depending on the platform and the chosen generator) run 'make' to compile. Maybe these pages can give you some hint : https://cmake.org/Wiki/CMake:Eclipse_UNIX_Tutorial http://sgpsproject.sourceforge.net/JavierVGomez/index.php/How_to_configure_a_C/C%2B%2B_project_with_Eclipse_and_CMake HTH Guillaume On 01/01/2017 11:48 AM, kipro31 wrote: Still need help if someone knows ... happy new year Le vendredi 30 décembre 2016 00:03:37 UTC+1, kipro31 a écrit : Hey guys, I am an IT student and I have a project about image segmentation and I have to exploit boost and OTB libraries ! I have successfully installed boost but I am doing exactly the same for OTB and it is not working (Project > Properties > and I am adding all the paths of 'libs' in the settings of eclipse). So I investigated on it and I heard that I need something called "CMake" for OTB and I have followed this tutorial : https://wiki.orfeo-toolbox.org/index.php/OTB_development_on_Windows , and I have no idea what to do with the project I now have in Eclipse (Cmake@OTB). If somebody could help me on this ! 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. -- Guillaume PASERO Responsable technique Business Unit ESPACE & GeoInformation - Département Payload Data & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 with bash under windows OSGEO4W
Hi, The correct order is "otbApplicationLauncherCommandLine $cmd $sopath $*" (maybe a typo). The second argument "$sopath" is used to find the directory containing the application dlls ("otbapp_MyApplication.dll" ... there is 1 dll for each OTB application). Do you still get the DLL error ? Guillaume On 11/21/2016 05:09 PM, pclastre.123...@gmail.com wrote: Hi, i'm trying to build a script which could be run in both environment (linux & windows) without editing it. My script runs fine on differents linux (Debian, ubuntu) box. According to the answer to this previous subject, i built the call to Windows OTB applications running in an OSGEO4W shell as follows: sopath="/e/programs/OTB-5.8.0-win64/lib/otb/applications" /e/programs/OTB-5.8.0-win64/bin/otbApplicationLauncherCommandLine $sopath $cmd $* Where $cmd contains an OTB application name $* contains all needed parameters for the application I'm not sure about what i should put in the sopath variable ... Anyway, i get an error on a windows 10 machine: "Le point d'entrée de procédure ?setAdjustableParameter@ossimAdjustableParameterInterface@@QEAAXIN_N@Z est introuvable dans la bibliothèque de liens dynamiques c:\OSGEO4~1\bin\otbossimplugins-5.0.dll " I guess this is related to the "sopath" variable, as it is looking for a DLL installed with OSGEO4W, but cannot figure out how to force the use of the last OTB version i installed in another directory. Many thanks for your help Philippe -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] How to update OTB in QGIS
Hi, Your QGis still has the definitions of applications from OTB 5.0. The definitions of 5.8 applications should be released soon. Regards, Guillaume On 11/17/2016 07:53 PM, JS wrote: Thanks, I think it worked. Took me a while to figure out how to change the path as it was not visible under Processing->Options->Providers->Orfeo Toolbox I had to go to the QGIS Settings->Options->Processing->Configuration... Is PolygonClassStatistics available from QGIS, I can't find it... On Thursday, November 17, 2016 at 12:03:21 PM UTC-4, alexbruy wrote: You can download standalone OTB package, install it and configure QGIS Processing toolbox to use it instead of version from OSGeo4W 2016-11-17 17:19 GMT+02:00 JS <jslauz...@gmail.com>: > HI, I'd like to use a more recent version of OTB than the 5.0 that comes > with the OSGeo4W on windows. > I've looked but can't seem to find out how to do that. > > Any help would be much appreciated! > > 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. -- Alexander Bruy -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: Using standalone binary for dev purposes (C++)
Hi, The standalone package just contains binaries. You can either use OTB SuperBuild to compile all dependencies, or you can also give a try to a Linux XDK : https://www.orfeo-toolbox.org/packages/xdk/OTB-5.9 It contains libraries and headers for all OTB dependencies, without OTB itself. Regards, Guillaume On 11/16/2016 10:41 AM, Elouan Keryell-Even wrote: After a little bit of thinking, I cannot find any header file in the standalone package, so it sure won't work. I'll stick with building OTB from source. Elouan Le mercredi 16 novembre 2016 10:23:14 UTC+1, Elouan Keryell-Even a écrit : Hi, I just took over a little C++ project, which makes use of built-from-source OTB. I run it on Linux. I was wondering, would it be possible to make it work with OTB standalone package instead? I'm trying to speed-up the installation of the project's development environment, and I'd be glad if I could avoid compiling OTB. Thanks for your attention, Elouan -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Error while monteverdi run on centos 7 OTB-5.8
Hi, Then I think you are facing a known issue with remote desktop environments (https://bugs.orfeo-toolbox.org/view.php?id=1278). We have a fix ready, but it has not been integrated for release 5.8 If monteverdi works fine with your Ubuntu 14.04 VM, it could be that the configuration of the graphics driver is different in VMWare. Maybe something to dig. Guillaume On 11/14/2016 02:28 PM, Yingshuang Liu wrote: hi, According to your suggestion, I loaded the plain white jpg file, but it doesn't work, and it seems that the monteverdi cant not display any images on my centOS 7。 as follows: the same image can be showed by monteverdi on ubuntu 14.04, but not on centOS 7. Screenshots are as follows: All my machines are virtual machines. I access the machines via the VMWare on the host. Regards, yingshuang liu 在 2016年11月14日星期一 UTC+8下午4:58:23,Guillaume Pasero写道: Hi, The log in the console doesn't show any problem, CentOS 7 should be supported. Is this happening on any image ? try loading a plain jpg file. Do you access the machine via a remote desktop connection (ssh, ...) ? Regards, Guillaume On 11/12/2016 09:15 AM, Yingshuang Liu wrote: hi i am trying to run monteverdi on centos 7 with loading the image, but it cannot show image on the dialog of OpenGL. Does it surpports centos 7 ? anyone encountered this problem? any ideals? thanks. yingshuangliu -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaum...@c-s.fr -- -- 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. -- Guillaume PASERO Responsable technique
Re: [otb-users] Error while monteverdi run on centos 7 OTB-5.8
Hi, The log in the console doesn't show any problem, CentOS 7 should be supported. Is this happening on any image ? try loading a plain jpg file. Do you access the machine via a remote desktop connection (ssh, ...) ? Regards, Guillaume On 11/12/2016 09:15 AM, Yingshuang Liu wrote: hi i am trying to run monteverdi on centos 7 with loading the image, but it cannot show image on the dialog of OpenGL. Does it surpports centos 7 ? anyone encountered this problem? any ideals? thanks. yingshuangliu -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] NDVI at 0
Hi, When you want to perform the training, the "feat" parameter should be fed with field names from training_samples.sqlite on which you want to train. In your pipeline, you should concatenate your NDVI images into one stack ( otbcli_ConcatenateImages) then use this stack to extract the samples values (otbcli_SampleExtraction). Regards, Guillaume On 11/09/2016 11:08 AM, michel M wrote: hello , I have a little question I have 7 images (7 months) Landsat 8 (for a year) i use this fonction for f in LAND*.TIF; do otbcli_RadiometricIndices.bat -channels.blue 2 -channels.green 3 -channels.red 4 -channels.nir 5 -in "$f" -out "NDVI_$f" -list Vegetation:NDVI; done after i do ndvi=`for i in $(seq 0 6); do printf "ndvi_$i "; done` and otbcli_TrainVectorClassifier.bat -io.vd training_samples.sqlite -cfield code -classifier rf -classifier.rf.max 20 -io.out model.rf -feat ${ndvi} and i have 2016 Nov 09 11:04:36 : Application.logger (INFO) Precision of class [28] vs all: 0.0697674 2016 Nov 09 11:04:36 : Application.logger (INFO) Recall of class [28] vs all: 1 2016 Nov 09 11:04:36 : Application.logger (INFO) F-score of class [28] vs all: 0.130435 2016 Nov 09 11:04:36 : Application.logger (INFO) Global performance, Kappa index: 0 there is no vegetation very strange is there the good numbers of channels ? many 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] otbcli_ComputeConfusionMatrix
: 0.068503 2016 Nov 09 11:37:58 : Application.logger (INFO) Precision of the different classes: [0, 0.0277383, 0.000797766, 0.0293912, 0.0065189, 0.00389222, 0, 0.0317806, 1, 0.0188679, 0, 0.0142544, 0.203209, 0.0224138, 0, 0.00188679, 0.134615, 0.012142, 0.575453] 2016 Nov 09 11:37:58 : Application.logger (INFO) Recall of the different classes: [0, 0.906977, 0.5, 0.033871, 0.83, 0.22807, 0, 0.565891, 0.000830565, 0.00335196, 0, 0.0110827, 0.0150794, 0.72, 0, 1, 0.00759631, 0.670886, 0.0364192] 2016 Nov 09 11:37:58 : Application.logger (INFO) F-score of the different classes: [0, 0.0538302, 0.00159299, 0.0314725, 0.0129366, 0.00765381, 0, 0.0601814, 0.00165975, 0.0056926, 0, 0.01247, 0.0280754, 0.0434783, 0, 0.00376648, 0.0143811, 0.0238524, 0.068503] 2016 Nov 09 11:37:58 : Application.logger (INFO) Kappa index: 0.00853711 2016 Nov 09 11:37:58 : Application.logger (INFO) Overall accuracy index: 0.0300729 -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Atmospheric correction of Landsat 8 thermal bands
Hi Agustin, In OTB, optical calibration is implemented to retrieve : luminance then TOA reflection then TOC reflection The last 2 levels don't apply to thermal bands, but if the metadata of TIRS product is read correctly (not tested ...) you should get the first level. There are also coefficients to translate into surface temperature I guess, this can be done with a BandMath and the right formula. Regards, Guillaume, On 09/21/2016 03:20 PM, Agustin Lobo wrote: Bonjour! Do we have procedures for atmospheric correction of Landsat 8 thermal bands in OTB? (p.e. split window) Thanks Agus -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Tutorial and MyFirstProcessing.sln
Hi Bruno, I can't find this file either. This is supposed to be a solution file that can be imported in MS Visual Studio. Maybe the information in this tuto is outdated. We recently added support for Visual 2015, I think the tutorial deserve some update. Regards, Guillaume On 10/23/2016 02:43 AM, Bruno Granger wrote: Hi everybody, I'm learning how to work with OTB, and I'm doing the tutorial of the OTB software Guide... I'm on Windows, so i'm in chapter 5.1.2 : https://www.orfeo-toolbox.org/SoftwareGuide/SoftwareGuidech5.html#x20-480005.1.2 It's writen : "5. into the OSGeo4W shell, open the MyFirstProcessing.sln" I've found the OSGeo4W shell but what is MyFirstProcessing.sln? I've crated all the dirctories, CMakeLists.txt, MyFirstProcessing.cxx, BuildMyFirstProcessing.bat... I've launch BuildMyFirstProcessing.bat And the answer was : You need to provide 3 arguments to the script: 1. path to the source directory 2. path to the build directory 3. path to the installation directory But where ? -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Error otbcli_ImageClassifier (floating-point vector with ..)
Hi, It seems that you trained you model 'model.rf' with a certain number of bands, but try to use it with on an image that has a different number of bands. You can check the parameter 'var_count' in your file 'model.rf' and compare it with the number of bands in alldates2014_landsat_bandes_et_nvdi.TIF Regards, Guillaume On 10/26/2016 09:46 AM, michel M wrote: Hello , I have an error on the command classifier otbcli_ImageClassifier.bat -in alldates2014_landsat_bandes_et_nvdi.TIF -out classif.tif uint8 -model model.rf i replaced uint8 by float but the result is the same 2016 Oct 26 09:35:21 : Application.logger (INFO) Loading model 2016 Oct 26 09:35:21 : Application.logger (INFO) Model loaded 2016 Oct 26 09:35:21 : Application.logger (INFO) Input image normalization de activated. Writing classif.tif...: 0% [ ]OpenCV Error: Bad argument (the input sample must be 1d floating-point vector with the same number of elements as the total number of variables used for training ) in predict, file /data/tools/mxe/tmp-opencv-i686-w64-mingw32.shared/opencv-2.4 .10/modules/ml/src/tree.cpp, line 3620 /data/tools/mxe/tmp-opencv-i686-w64-mingw32.shared/opencv-2.4.10/modules/ml/src/tree.cpp:3620: error: (-5) the input sample must be 1d floating-point vector wit h the same number of elements as the total number of variables used for training in function predict many many thanks for your help Michel -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] bug in Connected Components Segmentation/Vectorization?
Ok, then maybe it has something to do with vector simplification, or a bad rounding issue. I'll look into that. Guillaume On 09/29/2016 01:55 PM, André Stumpf wrote: Hi Guillaume, Thanks for your reply. The binary raster I try to vectorize is derived from a series of orthorectified images. So it is ground geometry (UTM). I guess using a DEM in the process would not solve the problem in this case, or? Here the gdalinfo on the binary GeoTiff I try to vectorize: gdalinfo VC_5_bin_close.tif Driver: GTiff/GeoTIFF Files: VC_5_bin_close.tif VC_5_bin_close.tif.aux.xml Size is 10980, 10980 Coordinate System is: PROJCS["WGS 84 / UTM zone 31N", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4326"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",0], PARAMETER["central_meridian",3], PARAMETER["scale_factor",0.9996], PARAMETER["false_easting",50], PARAMETER["false_northing",0], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["Easting",EAST], AXIS["Northing",NORTH], AUTHORITY["EPSG","32631"]] Origin = (699960.000,540.000) Pixel Size = (10.000,-10.000) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( 699960.000, 540.000) ( 5d32'33.47"E, 45d 7'31.89"N) Lower Left ( 699960.000, 4890240.000) ( 5d29'59.46"E, 44d 8'16.83"N) Upper Right ( 809760.000, 540.000) ( 6d56' 9.95"E, 45d 5' 9.45"N) Lower Right ( 809760.000, 4890240.000) ( 6d52'11.95"E, 44d 5'59.18"N) Center ( 754860.000, 4945140.000) ( 6d12'43.71"E, 44d36'51.95"N) Band 1 Block=10980x1 Type=Byte, ColorInterp=Gray Min=0.000 Max=1.000 Minimum=0.000, Maximum=1.000, Mean=0.341, StdDev=0.474 Metadata: STATISTICS_MAXIMUM=1 STATISTICS_MEAN=0.34128088806407 STATISTICS_MINIMUM=0 STATISTICS_STDDEV=0.47413947684861 Cheers, André On Wednesday, September 28, 2016 at 12:34:55 PM UTC+2, Guillaume Pasero wrote: Hi, It looks like errors when reprojecting the output vector data. The input image is in sensor geometry ? Have you tried to set an DEM (elev parameter) ? Regards, Guillaume On 09/19/2016 11:09 AM, André Stumpf wrote: Hello, I'm currently working on some simple Python wrappers around some OTB modules and got some strange results when trying to use the connected components application to vectorize a binary image. Using... subprocess.call([otbpath + "/otbcli_ConnectedComponentSegmentation", "-in", inputimage, "-expr", "distance<1", "-minsize", str(minsize), "-out", output_shapefile]) ... I get the attached results with strong artefacts at what seems to be the borders between individually process strips. Fur
[otb-users] Status of Ice and Monteverdi2 git repositories
Dear all, The source code from Ice and Monteverdi2 repositories is now integrated into OTB repository (see Modules/Visualization). These components will be maintained within the main OTB repository, which makes the previous repositories obsolete. If you are still using them, don't be afraid, they will not be removed right away. They are still needed to build OTB version 5.6 and older. If you are using the trunk of OTB and Monteverdi2, you have at least 2 options : Build OTB with monteverdi enabled (for this you need to switch on several third parties such as Qt4, Glew, OpenGL, Qwt). Then monteverdi & mapla will be compiled in OTB build directory. No need for a separate build of Monteverdi2 repo. Build OTB without monteverdi enabled, and compile Monteverdi2 as a separate build (this solution is experimental). Starting from next OTB release 5.8, monteverdi and mapla will be compiled from the main OTB repository. As they are now completely synchronised with OTB, their version number will also follow OTB version : OTB 5.6 -> Monteverdi 3.4 & Mapla 3.4 OTB 5.8 -> Monteverdi 5.8 & Mapla 5.8 If there is no strong objections, the nightly branch on Monteverdi2 repository won't be updated anymore. Regards, Guillaume -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 PostgreSQL API
Hi, In OTB, almost every image is opened using GDAL. If you manage to have GDAL reading from a PostGIS database, it should be transparent on OTB side. More information here: https://trac.osgeo.org/gdal/wiki/frmts_wtkraster.html The same goes for the shape->PostGIS, if you can directly output the vector segmentation in a PostGIS table, it should be faster. (http://www.gdal.org/drv_pg.html) About the LSMS Smoothing performance, there may be a way to improve the situation with the parameters exposed in the application. Regards, Guillaume On 07/28/2016 09:11 AM, Jiří Fejfar wrote: Hi all, I am performing segmentation on many Landsat8 scenes stored in PostgreSQL / PostGIS. I have a very sub-optimal work-flow (all is done in Python script on server side): export tiled raster from PostGIS to .tiff image perform 4 steps of LSMS segmentation using python API resulting in .shp with segments import this with shp2pgsql back to table in PostGIS. Although this is working it has several drawbacks I have found that first step of LSMS is not linear regarding elapsed time and amount of data (see attached image) ... I have found not possible to process with this step whole Landsat8 scene, so I am doing whole before-mentioned pipeline in cycle processing 5 rows (1 consists from tiles of the size 128 x 128 px) loosing advantage of artifacts free result. I believe it can be much faster. Because of that I am trying to find the way, how to pass tiled image from PostgreSQL directly to OTB... I have found http://wiki.orfeo-toolbox.org/index.php/OTB-PostGIS_Interface but it seems to be focused opposite way: expose PostGIS functionality to OTB. I would like to expose OTB functionality (actually only LSMS 4 steps) directly to PostGIS. Do you know such existing API? If there is no such API, I would like to contribute to that. I have experience creating API exposing C++ classes / functions to PostgreSQL like described in 35.9.13. Using C++ for Extensibility. Best regards, Jiří. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] qgis/remote sensing/OTB : needs & expectations ?
Hi, I use QGis occasionally and I am interested in OTB integration into QGis. My main expectations are on this integration : make it as close as possible to standalone OTB applications with GUI : currently some OTB applications cannot be integrated as such in QGis. They have to be split in several flavours because the parameters hierarchy in OTB applications cannot be reproduced in QGis. For instance there are 3 applications "EdgeExtraction (gradient)", "EdgeExtraction (sobel)", "EdgeExtraction (touzi)" instead of a single one in OTB. make it easy to use latest released OTB applications with an existing QGis install. Regards, Guillaume On 07/28/2016 02:01 PM, celati Laurent wrote: Good morning, As part of a mission project, I talk currently with a significant contributor to the development of qgis. We wonder about needs & expectations of the users and developers regarding remote sensing qgis interface (in particular, orfeo toolbox, wellknowed as OTB. So could you tell me, dear qgis and/or remote sensing software users and/or developpers your needs and expectations please? (creations and improvements) In advance, thank you to throw light for us and to give your opinion. This is a first and really important step in order to define and guide our possible contribution to the software. Kind regards. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Orthorectification process and No data Pixel
Hi, I also think it is a no-data management issue. The Orthorectification application uses a specific background value when there is no data for the resampled position (for instance, at the corners of the orthorectified image). This background value is set as a no-data flag in the output geotiff. By default this background value is 0 (you can set it with the parameter outputs.default). It could be that some pixels in the shadow regions also have a null value, so they behave as no-data. You can either change the background value, or remove the no-data flag from the output geotiff. Regards, Guillaume On 08/09/2016 11:49 AM, insight.ci...@gmail.com wrote: Hi all, i have a little problem problem to orthorectify my pleiade data with Orfeo toolbox: Orthorectification process generate some no data pixel into the pleiade data ( I joined a jpg to illustrate this) This is my workflow: - i open my bundle product (raw data) - I do an optical calibration on both Pan and MSI otbcli_OpticalCalibration -in %PAN% -out %OUT%PAN_TOC.TIF uint16 -level toc -milli 1 -ram 15000 otbcli_OpticalCalibration -in %MS% -out %OUT%MS_TOC.TIF uint16 -level toc -milli 1 -ram 15000 - i perform a bundle to perfect sensor otbcli_BundleToPerfectSensor -inp %OUT%PAN_TOC.TIF -inxs %OUT%MS_TOC.TIF -mode phr -out %OUT%BUNDLE.TIF uint16 -ram 15000 -elev.geoid %GEOID% -elev.dem %DEM4326% At this step my product is ok, with good radiometric values... and then i try to orthorectify -Orthorectification: otbcli_OrthoRecTIFication -io.in "%OUT%BUNDLE.TIF?=true" -io.out %OUT%BUNDLE_ORTHO.TIF uint16 -interpolator bco -interpolator.bco.radius 4 -outputs.mode auto -opt.ram 15000 -elev.dem %DEM3163% -elev.geoid %GEOID% -map.epsg.code %EPSG% My elevation data is ok, and i also try with SRTM data, but i had the same result... I think it's a problem with no data management, because all the no data pixel are situated in the shadowed part of hillshade. If someone have an idea to help me... Thank you very much -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] SVM oneclass classification error handling
uot;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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Monteverdi 3.2.0 displays images upside down and doesn't connect to applications
Hi, Have you used the .bat launcher to run Monteverdi ? When the image is opened, what is the projection mode displayed by Monteverdi ? It should be the EPSG code corresponding to your UTM image. Regards, Guillaume On 06/29/2016 12:20 PM, Brian Kuns wrote: Hello, I'm new to Monteverdi and to OTB. I have just downloaded the latest version of the standalone application Monteverdi 3.2.0 (64 bit), for my 64 bit Windows 10 machine. When I load an image, it is displayed upside down (it's a geotiff with UTM coordinates)! Also doesn't work. A blank window shows up. I would appreciate any advice you might have on getting Monteverdi to work properly. With best regards, Brian Kuns -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] matrix multiplication in Band Math?
Hi, Here is an example where I flip the component order of a 3-band image : > otbcli_BandMathX -il image.tif -out inv_image.tif -incontext context.txt Where the input context contains both the matrix and the _expression_ : > cat context.txt #M kernel1 { 0 , 0 , 1; 0 , 1 , 0; 1 , 0 , 0 } #E im1 * kernel1 Regards, Guillaume PS : the cookbook gives more details about BandMathX : https://www.orfeo-toolbox.org/CookBook/CookBookse14.html#CookBooksu56.html On 06/23/2016 08:33 AM, Agustin Lobo wrote: Also, cannot find the syntax for matrix multiplication in BandMathX Agus On Wed, Jun 22, 2016 at 3:26 PM, Agustin Lobo <alobolis...@gmail.com> wrote: Thanks, Regarding BandMathX, I understand I would do it through Monteverdi2 and inputing my parameters using "Import context" What format should that file have? In my example, just a 7x7 matrix with blank separated values? Can I also do it with otbcli_BandMathX ? Agus On Wed, Jun 22, 2016 at 10:27 AM, Guillaume Pasero <guillaume.pas...@c-s.fr> wrote: Hi Agustin, The BandMath only produces 1 output band. So you would have to use 7 formulas for each output channel, and concatenate bands. On the other hand, BandMathX should be able to do the job. You can set the 7x7 kernel in a constant file (incontext) Guillaume On 06/22/2016 10:03 AM, Agustin Lobo wrote: Can I apply a matrix of factors to a multi-spectral image using BandMath? i.e. ima %*% f where ima: multi-spectral image (i.e. 2000 x 900 x 7) f: matrix of coefficients, i.e. 7x7 matrix %*% matrix multiplication ima would be operated as a 180 x 7 matrix Thanks Agus -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] matrix multiplication in Band Math?
Hi Agustin, The BandMath only produces 1 output band. So you would have to use 7 formulas for each output channel, and concatenate bands. On the other hand, BandMathX should be able to do the job. You can set the 7x7 kernel in a constant file (incontext) Guillaume On 06/22/2016 10:03 AM, Agustin Lobo wrote: Can I apply a matrix of factors to a multi-spectral image using BandMath? i.e. ima %*% f where ima: multi-spectral image (i.e. 2000 x 900 x 7) f: matrix of coefficients, i.e. 7x7 matrix %*% matrix multiplication ima would be operated as a 180 x 7 matrix Thanks Agus -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Moving from CLI to C++
Hi, What you're asking is not clear to me : - the mail title said "moving to C++" but the content is about C - do you want to have a unique executable doing meanshift segmentation (instead of the current pair : application launcher + dynamic module) ? - is it in order to combine other libs with OTB application ? If so, you may have to use C++ Regards, Guillaume On 05/20/2016 10:05 AM, Ofer Zilberstein wrote: Hi, I am using the CLI or the python for some time mainly for classification & segmentation. I would like to implement a C program and to include the OTB functionality. Is the CLI programs such as mean-shift segmentation are ready to be used as C source program ? Ofer -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: Image tile fusion
Hi, Arthur is right. The number of tile columns and tile rows corresponds to the layout of the tiles you want to fuse. Let say you give 6 input tiles, you should use the rows & columns parameters to specify if the tile array is 2 columns by 3 rows , or 3 columns by 2 rows. Regards, Guillaume On 04/18/2016 09:42 AM, arthurd wrote: Hi, I don't use Monteverdi but I guess it's very similar to the command otbcli_TileFusion, where Nb of tile columns/rows refer to the way your images were delivered. For Pleiades for example, each tile has a suffix R1C1, R1C2, etc. This means Row 1 Column 1, Row 1 Column 2. The parameters you need are the total Nb of columns/rows. Le vendredi 15 avril 2016 12:25:27 UTC+2, ghanisen.g a écrit : Hello, I have great difficulties using the Image tile fusion module in OTB-Monteverdi because very little information on fusion parameters is given in the documentation tab of the Image fusion window and in the user manual of Monteverdi. My main problem is about the Number of tile columns and Number of tile rows. It is not clear what these parameters correspond to and how to find them. Does anybody have any detailed information about this? Any help shall be greatly appreciated. -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] shoreline extraction
Hi, I see 2 aspects in your problem : - the detection of moisture content : you can start with radiometric indices dedicated to water detection. I am not a specialist so other people may propose more efficient methods. - the extraction of the shoreline : this could be done using various methods : edge detection, segmentation, classification. For prototyping, using extracts is faster, but with OTB, you should be able to process full images. HTH, Guillaume On 04/08/2016 04:26 PM, Mary Divya wrote: Hi, I would like to extract shoreline i.e wet/dry line from aerial photo, quickbird, geoeye, worldview, landsat, lissiv and irs satellite images. What is the best method to get the moisture content so that I can able to get the shoreline? Right now with OTB I am using image segmentation. 1.Will it retrieve proper results? 2. If I subset the images into piecewise I am getting good results, how to process hundreds of images?? Regards, G.Mary Divya Suganya Scientist C GeoSpatial Science Division National Centre for Sustainable Coastal Management Koodal building AnnaUniversity Campus Guindy Chennai - 600 025 -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] SPOT6/7 support
> identified and only the most basic parameters are set. (DIM files > are > > present for both Pleiades and SPOT7.) > > > > Thanks for your feedback > > > > -- > > -- > > Check the OTB FAQ at > > http://www.orfeo-toolbox.org/FAQ.html > <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 > <_javascript_:> > > To unsubscribe from this group, send email to > > otb-users+...@googlegroups.com <_javascript_:> > > For more options, visit this group at > > http://groups.google.com/group/otb-users?hl=en > <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 <_javascript_:> > > <mailto:otb-users+...@googlegroups.com <_javascript_:>>. > > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > Manuel GRIZONNET > > -- > -- > 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 > <mailto:otb-users+...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- Manuel GRIZONNET -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- Check th
Re: [otb-users] Orthorectify the FORMOSAT-2 image
Hi, Yes OTB should be able to orthorectify an image with an RPC, even if the sensor is unknown. You could try creating a .geom file that goes with the image and contains the RPC coefficients (this file allows to define the geometric model parameters). You can check examples here : https://git.orfeo-toolbox.org/otb-data.git/blob/HEAD:/Input/IKONOS_BLOSSEVILLE_ROI_1000_100.geom You will probably have to change the "type" to ossimRpcModel, remove the support_data, and maybe choose a fake sensor name. There are extended filenames to specify a geom file to load with the image : "my_image.tif?=path_to_geom" Regards, Guillaume On 04/07/2016 05:12 AM, Bor-Chwan Chen wrote: Dear OTB-er: We try to promote the OTB to be used as an VGI-tool in Taiwan. One of the key step is to orthorectify the FORMOSAT-2 image. I've checked the documents and found out OTB does not support FORMOSAT-2 orthorectification directly. However, the alternative RPC approach seemed to be the right way. Am I correct? If so, does the .rpb comes with the Level 1a product is all I need? Could someone help me? Bo -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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: ANN produce not stable results
Hi, I think it is possible to get outputs from libSVM during processing. When I use this library, I get messages like : optimization finished, #iter = 113 nu = 0.038199 obj = -22.175591, rho = 0.331874 nSV = 38, nBSV = 28 Do you get these messages when running the command line application ? Guillaume On 02/03/2016 11:20 AM, Hristo Nikolov wrote: Dear Guillaume, Thank you for your suggestion. As I pointed above I use the GUI version of OTB. What I shall do is to follow your advice and move to CLI. Just a small addition - the libSVM runs for more than 7 days and still not finished. Is it possible to integrate some parameter that shows the convergence when running the learning phase of the modules in this library? By now the only way for me is to check the amount of memory used by this process which is not a good estimate for this purpose. Hristo On Friday, 29 January 2016 10:59:44 UTC+2, Guillaume Pasero wrote: Hi, In order to have stable results you should use the seed parameter, so that the Random Number Generator used during sample selection always gives the same samples : in the otbcli , it is the parameter key '-rand'. For the ANN, with the parameter "-classifier.ann.sizes", you can give multiple sizes to have several layers. HTH, Guillaume On 01/18/2016 05:41 PM, Hristo Nikolov wrote: One more observation - when using polynomial as kernel function I can not set the degree of the polynomial. On Wednesday, 13 January 2016 15:40:40 UTC+2, Hristo Nikolov wrote: Dear all, I have been experimenting with ANN provided from OTB for some months now. What I experienced is that as module in QGIS the ANN from OTB has limitation of creating only single layer networks, but the results produced remain the same under same initial parameters. Lastly I tried to the otbgui version provided by OSGeo4W, but it results that even the parameters in the dialog box are the same the output produced and more specifically the error matrix is different every time the training takes place. Could you advise? Thank you. Hristo -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaum...@c-s.fr
Re: [otb-users] Re: ANN produce not stable results
Hi, In order to have stable results you should use the seed parameter, so that the Random Number Generator used during sample selection always gives the same samples : in the otbcli , it is the parameter key '-rand'. For the ANN, with the parameter "-classifier.ann.sizes", you can give multiple sizes to have several layers. HTH, Guillaume On 01/18/2016 05:41 PM, Hristo Nikolov wrote: One more observation - when using polynomial as kernel function I can not set the degree of the polynomial. On Wednesday, 13 January 2016 15:40:40 UTC+2, Hristo Nikolov wrote: Dear all, I have been experimenting with ANN provided from OTB for some months now. What I experienced is that as module in QGIS the ANN from OTB has limitation of creating only single layer networks, but the results produced remain the same under same initial parameters. Lastly I tried to the otbgui version provided by OSGeo4W, but it results that even the parameters in the dialog box are the same the output produced and more specifically the error matrix is different every time the training takes place. Could you advise? Thank you. Hristo -- -- 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. -- Guillaume PASERO Responsable technique Business Unit E-SPACE & Geo Information - Département Image & Applications CS Systèmes d'Information Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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 Applications in Monteverdi 3 Windows 64 Bit
Hi Pieter, In your install folder for Monteverdi3, do you have an executable and a .bat file to launch monteverdi ? You should try the .bat launcher. It adds the necessary environment variable to locate the applications. Regards, Guillaume On 12/22/2015 06:42 PM, pjdupl...@zpanelcp.com wrote: > Hi guys > > I have just downloaded Monteverdi 3 for Windows 64 bit. (Standalone > installer) > > I am unable to load the OTB Apps in Monteverdi, I just get a blank > window inside of Monteverdi. > > In Mapla I get the apps. > > Any help? > > Pieter > > -- > -- > 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 > <mailto:otb-users+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- *Guillaume PASERO* Ingénieur d'études et développement *Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS* *CS Systèmes d'Information* Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] OTB 5.2 and Monteverdi 3.0 final release
Dear all, We are happy to announce the release of OTB 5.2 and Monteverdi 3.0 ! This release contains new features for image processing, such as : -> Machine learning : regression support in machine learning models and existing classification filters + two applications dedicated to regression training and prediction, confidence maps for classification. -> SAR imagery : basic support of Sentinel1 products, radiometric calibration updated, new SAR processing (polarimetry, decompositions, conversion of polarimetric matrices to each other) and related new applications. -> A better no-data support : Read, Manage, Write no-data in OTB. -> A richer Python wrapping : Numpy array support, new way of writing an application in Python The remote modules mechanism, introduced in version 5.0, has been a success, with 5 contributions received. Two of them are now official remote modules : -> Generic Region Merging (by Pierre Lassalle) : an application to perform multi-scale region-merging segmentation. -> Images mosaicking (by Rémi Cresson) : a mosaicking application with radiometric harmonization. This release is also the opportunity to introduce Monteverdi 3.0, the successor of Monteverdi2 (but the name has been reset to Monteverdi for more clarity). This version offers : -> a simple stack-layer model : display of several images together. -> the fast rendering of Ice library, with its shaders. All your feedbacks are welcome. If you think you face a bug, you can report it on Mantis : https://bugs.orfeo-toolbox.org You can find the source archives and binaries on Orfeo ToolBox website : https://www.orfeo-toolbox.org/download If you want to explore all the released material : https://www.orfeo-toolbox.org/packages A more detailed description is available on the blog : https://www.orfeo-toolbox.org/blog Best wishes for this end of year ! The OTB Dev Team -- *Guillaume PASERO* Ingénieur d'études et développement *Business Unit E-SPACE & Geo Information* *- Département APPLICATIONS* *CS Systèmes d'Information* Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] image conversion (Convert and Rescale)
Hi, What does your input image contain ? Decimal values between 0 and 255 ? For the Convert application, "-type none" means no rescaling, pixel values are just cast to the output type. Could you send the terminal output (for both Convert and Rescale)? Regards, Guillaume On 12/16/2015 02:05 PM, Raul ZM wrote: > > Hi there, > > we are trying to transform a float32 tiff image into a uint8 (so from > decimals to the interval 0 to 255). > For this we have tested Convert: > olbcli_Convert -in file1.tiff -out file2.tif uint8 -type linear (btw, > what would be type "none"?) > > and Rescale: > otbcli_Rescale -in file1.tiff -out file2.tif uint8 -outmin 0 -outmax 255 > (also tried without the last three parameters as these are the default > values) > > in both cases we get blank images or an stripped image that has nothing > to do with the original file. > Any idea/suggestion of what might be going on? > > Thanks > Raul > PS: we are calling the .bat files from DOS > > -- > -- > 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 > <mailto:otb-users+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- *Guillaume PASERO* Ingénieur d'études et développement *Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS* *CS Systèmes d'Information* Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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] Need help: Superbuild in Mac
Hi, SuperBuild on MacOS can be tricky because some system libs have dependencies that are also part of superbuild. In this case, it is curl that drags CFNetwork. As a first step, try to disable curl (OTB_USE_CURL=OFF). Regards, Guillaume On 12/16/2015 10:22 AM, Firman Hadi wrote: > Dear all, > > I have been trying to install Orfeo Toolbox in my Mac (Yosemite) using > Superbuild. > I think I have reached the final step of installation but it was failed. > It seems the error is related to dynamic link. > Please advise me on how to solve the problem. > I attach the error log for your reference. > > > Thanks. > > Best regards, > > Firman Hadi > Research Specialist > Geoinformatics Center > Asian Institute of Technology > > > > Scanning dependencies of target QT4 > [ 95%] Built target QT4 > Scanning dependencies of target OTB > [ 95%] Creating directories for 'OTB' > [ 96%] No download step for 'OTB' > [ 97%] No patch step for 'OTB' > [ 97%] No update step for 'OTB' > [ 97%] Performing configure step for 'OTB' > dyld: Library not loaded: /usr/lib/libsqlite3.dylib > Referenced from: > /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork > Reason: Incompatible library version: CFNetwork requires version 9.0.0 > or later, but libsqlite3.dylib provides version 0.0.0 > /bin/sh: line 1: 18065 Trace/BPT trap: 5 env > DYLD_LIBRARY_PATH=/usr/local/lib: > /usr/local/Cellar/cmake/3.2.3/bin/cmake > -C/Users/firmanhadi/OTB/OTB_SOURCE/Superbuild/build/OTB/tmp/OTB-cache.cmake > "-GUnix Makefiles" /Users/firmanhadi/OTB/OTB_SOURCE/Superbuild/.. > make[2]: *** [OTB/src/OTB-stamp/OTB-configure] Error 133 > make[1]: *** [CMakeFiles/OTB.dir/all] Error 2 > make: *** [all] Error 2 > > -- > -- > 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 > <mailto:otb-users+unsubscr...@googlegroups.com>. > For more options, visit https://groups.google.com/d/optout. -- *Guillaume PASERO* Ingénieur d'études et développement *Business Unit E-SPACE & Geo Information* <https://thor.si.c-s.fr/blogs/cs-blogs-business/>*- Département APPLICATIONS* *CS Systèmes d'Information* Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872 31506 Toulouse Cedex 05 - FRANCE +33 561 17 64 21 - guillaume.pas...@c-s.fr -- -- 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.