[otb-users] migration of threadedGenerateData with OTB 4

2014-02-27 Thread Julien Radoux
Hello, I have several filters that make use of ThreadedGenerateData . However, there seems to be some changes in the new version. Is there a place where I can find the best practice for multithreaded filters (it was not in the Migration Guide). Thank you. MultiThreader(0x42cc0e0): Exception

[otb-users] Re: [otb-developers] OTB 4.0 Release Candidate

2014-02-27 Thread Julien Radoux
On Wednesday, February 26, 2014 10:05:46 AM UTC+1, Mickaël Savinaud wrote: Dear all, We are pleased to announce the first *Release Candidate* of OTB *4.0*. The major change of this release is the support of ITK 4.5 and higher (note that previous versions of ITK are no longer

[otb-users] image size

2014-07-02 Thread Julien Radoux
Hello, This is a very basic question, but I don't find how to get the number of rows and columns from an otbImage. Something like the size in gdalinfo. Thanks, Julien -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to

[otb-users] Re: image size

2014-07-02 Thread Julien Radoux
juillet 2014 08:59:20 UTC+2, Julien Radoux a écrit : Hello, This is a very basic question, but I don't find how to get the number of rows and columns from an otbImage. Something like the size in gdalinfo. Thanks, Julien -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You

[otb-users] Compile with OpenCV on Linux

2014-09-04 Thread Julien Radoux
I am trying to compile the latest release (pulled the first september) of OTB with opencv on Linux. I have a compile error when it comes to the train classifier application : a lot of files are missing in the opencv2 directory (from opencv2.4.9). I could not find those file, but maybe it is

[otb-users] Re: Compile with OpenCV on Linux

2014-09-04 Thread Julien Radoux
Thanks Rashad, Thanks for you answer. Any idea of the configuration of opencv to install all modules ? Julien PS ctest does not work for me. Le jeudi 4 septembre 2014 09:23:22 UTC+2, Julien Radoux a écrit : I am trying to compile the latest release (pulled the first september) of OTB

[otb-users] Re: Compile with OpenCV on Linux

2014-09-04 Thread Julien Radoux
just in case, here are my config files Julien Le jeudi 4 septembre 2014 09:23:22 UTC+2, Julien Radoux a écrit : I am trying to compile the latest release (pulled the first september) of OTB with opencv on Linux. I have a compile error when it comes to the train classifier application

[otb-users] Re: Multiple output writer

2014-10-24 Thread Julien Radoux
Hello again, Someone kindly provided a solution for OTB 3, but since we moved to OTB 4 it doesn't work anymore. Is there a multiple output writer implemented somewhere in the ocre of OTB 4. thanks, Julien On Thursday, November 7, 2013 2:14:43 PM UTC+1, Julien Radoux wrote: Hello

[otb-users] Re: otbcli_OpticalCalibration app returns Inputs do not occupy the same physical space for some images

2015-01-26 Thread Julien Radoux
I have the same problem with another filter. Also negative spacing in X. The projection is UTM, so this is quite a standard one. The image was generated with gdalwarp. Image general informations: Number of bands : 4 Start index : [0,0] Size : [18952,12946]

[otb-users] Re: otbcli_OpticalCalibration app returns Inputs do not occupy the same physical space for some images

2015-01-28 Thread Julien Radoux
I still have the problem even after modifying the geotransform to have only positive values for the pixel sizes. I've checked that the two images have exactly the same number of row and column, and that the origins are exactly the same. Furthermore, it works with some images but not for all

[otb-users] Re: missing projection in output of ImageClassifier in otb 4.2 and 4.4 in Ubuntu (not in Windows)

2015-03-13 Thread Julien Radoux
I have the same problem with some projection. My workaround is to define the projection using gdal_edit.py -a_srs yourimage just after processing, with the EPSG code. It takes only one more line and less than a second... On Wednesday, March 11, 2015 at 2:37:45 PM UTC+1, CedricL wrote: Hi,

[otb-users] Re: Select bands with Extended File Names

2015-05-04 Thread Julien Radoux
note that OTB also supports vrt file, so you could use gdalbuildvrt instead of gdal_translate. The new file will be a small xml. On Tuesday, December 16, 2014 at 1:09:10 PM UTC+1, alobo wrote: How would I select bands 1 to 5 with the extended filenames convention? I've tried

[otb-users] manage ram at runtime

2015-10-27 Thread Julien Radoux
Hello, what is the best way to manage ram used by my applications ? With the OTBapplication, there is a -ram argument which define the max ram used at runtime. I would like to do the same with my application, or to understand beter the way a new "home made" application will manage the RAM if

[otb-users] Re: Compilation error with CUDA

2015-10-30 Thread Julien Radoux
Hi Manuel, Thank you for your help. deactivating CUDA and OpenCL solved my problem. I hope that opencv will solve their CUDA issue so that I can use my graphic card, but for now I am quite happy that it compiled ! Best regards, Julien On Tuesday, October 13, 2015 at 11:27:09 AM UTC+2, Julien

[otb-users] Compilation error with CUDA

2015-10-13 Thread Julien Radoux
I am trying to compile OTB on ubuntu with OpenCV ON (OTB 5, superbuild). It works when I disable OpenCV, but I have a CUDA error when I enable it. [ 76%] Performing build step for 'OPENCV' [ 59%] Built target IlmImf [ 60%] Built target opencv_core_pch_dephelp [ 62%] Built target

[otb-users] Re: orthorectification of Pleiades images

2015-08-31 Thread Julien Radoux
I also tried -opt.rpc 10 (because 10 is the default...) On Monday, August 31, 2015 at 11:37:19 AM UTC+2, Julien Radoux wrote: > > I am trying to orthorectify Pleiades images with otbcli_Orthorectification > . The file is a JP2 with a DIM and a RPC file in XML. I read fro

[otb-users] Re: orthorectification of Pleiades images

2015-08-31 Thread Julien Radoux
On Monday, August 31, 2015 at 11:37:19 AM UTC+2, Julien Radoux wrote: > > I am trying to orthorectify Pleiades images with otbcli_Orthorectification > . The file is a JP2 with a DIM and a RPC file in XML. I read from the doc > that the ancillary files are seamlessly used, but the resu

[otb-users] Re: superbuild wrong MD5 has for muparser on Linux Mint 17.1

2015-09-24 Thread Julien Radoux
I have the same kind of issue, but after checking the path there is still a prblem with muparser 69%] Performing patch step for 'MUPARSER' [ 69%] No update step for 'MUPARSER' [ 69%] Performing configure step for 'MUPARSER' loading initial cache file

[otb-users] Re: superbuild wrong MD5 has for muparser on Linux Mint 17.1

2015-09-25 Thread Julien Radoux
Hello Manuel, Thank you for the tips. Unfortunately it is still not working. I've downoaded the superbuild tar, changed the download path while configuring, and started a new compilation from scratch, but I stil have this strange error message. I've also tried to manually download muparser

[otb-users] Re: maximum number of class in KMean application limited to 255

2016-02-10 Thread Julien Radoux
Thanks Julien for the quick fix: it worked perfectly. Regards, Julien -- -- Check the OTB FAQ at http://www.orfeo-toolbox.org/FAQ.html You received this message because you are subscribed to the Google Groups "otb-users" group. To post to this group, send email to

[otb-users] maximum number of class in KMean application limited to 255

2016-02-09 Thread Julien Radoux
I've tried KMean application with 500 classes, and it seems to be internally limited to 255 classes. Is there a way to increase the number of classes (the number of classes was set to 500, and the output is in uint16, so this should be OK) -- -- Check the OTB FAQ at

Re: [otb-users] Re: Extended filename for band selection

2017-02-27 Thread Julien Radoux
x 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, &

[otb-users] Re: How to deal with big Pleiades data

2017-04-19 Thread Julien Radoux
I would try building a mosaic based with gdalbuildvrt, then use the vrt as input for OTB. Size of image is not a problem in your case. From the metadatada, you could extract the useful information from the xml files, which are valid for all tiles. Le mercredi 19 avril 2017 02:16:46 UTC+2, Léo

[otb-users] Re: cannot find -lOTBIO

2017-04-06 Thread Julien Radoux
Have just moved from an old OTB version to a recent one ? If yes, make sure that your CMakeList.txt use OTBLibraries instead of OTBCommon, OTBIO etc like in the old versions #TARGET_LINK_LIBRARIES(OTBexecutable ${OTB_LIBRARIES}) Le jeudi 6 avril 2017 13:02:19 UTC+2, Guilherme Cardim a écrit :

[otb-users] Re: problem with list Sample

2017-04-30 Thread Julien Radoux
SOLVED: I was simply omitting the SetMeasurementVectorSize() Sorry Le samedi 29 avril 2017 21:50:43 UTC+2, Julien Radoux a écrit : > > Hello, > > I am trying to build my own filter machine lerning training with a > specific sampling method. I've tried o start with an e

Re: [otb-users] OTB6.1, openCV and RandomForest

2017-08-20 Thread Julien Radoux
herwise, 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 wi

[otb-users] OTB6.1, openCV and RandomForest

2017-08-18 Thread Julien Radoux
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

[otb-users] problem with list Sample

2017-04-29 Thread Julien Radoux
Hello, I am trying to build my own filter machine lerning training with a specific sampling method. I've tried o start with an example, butI am no able to make it work. It is probably just missing one line to set the size of the measurement vector of the ListSample, but I don't fin it. Any one

[otb-users] reuse dimensionality reduction matrix

2017-09-08 Thread Julien Radoux
Hello, Is there a way to reuse the dimensionality reduction matrices through otb application on a new image or is it necessary to build some new tools ? -- -- 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] Re: OTB on gis.stackexchange

2018-03-05 Thread Julien Radoux
Hi Manuel, good to mention GIS SE. Note that there is also an *otb-application* tag (with a high proportion of unanswered questions) Le lundi 5 mars 2018 16:12:51 UTC+1, Manuel Grizonnet a écrit : > > Hi all, > > just to let you know that you can also find some answers to questions and >

[otb-users] Re: Processing time issues!? Image size limitation of OTB?

2018-03-05 Thread Julien Radoux
Hello, for large images, there is a four step process called "Large Scale Mean Shift segmentation. You can find a tutorial in here : https://www.orfeo-toolbox.org/CookBook/Applications/app_LargeScaleMeanShift.html Note that mean shift segmentation is very time consuming, so it is difficult

[otb-users] Re: using all cores with multithreaded filters

2018-10-03 Thread Julien Radoux
With the help of my colleague, we found a workaround to the problem. It seems to be linked with some libraries that force the use of a single library when it initialize. We did not identify the "guilty" library, but it seems to be linked with OpenCV. Anyway, here is our temporary solution for

[otb-users] Re: using all cores with multithreaded filters

2018-10-10 Thread Julien Radoux
Thanks for the link Rashad, If I understand well, there is at least one ITK header that will not be loaded with -Wl,-no-needed. Do you foresee other problems ? Note that it runs for me with and without the option, but my problem is that it only uses the equivalent of a single thread if I don't

[otb-users] using all cores with multithreaded filters

2018-09-13 Thread Julien Radoux
We have a few custom filters that use ThreadedGenerate data. We didn't realize immediately, but it seems that the parallel computing is not working properly with our new configuration : openSuse 15.0, OTB 6.7 (git), gcc 7.3.1 When we launch a filter with ThreadedGenerateData, the number of

[otb-users] tolerance of srs names with OTP applications

2019-01-25 Thread Julien Radoux
With some spatial reference system, the OTB application fail to run because the naming of vector and raster coordinate systems are not the same. I guess this comes from OGR/gdal differences, but I would like to know if it is possible to desactivate the check of identical srs (I know that it is

[otb-users] Re: Is there any way to make Band Math ignore NA values?

2019-01-31 Thread Julien Radoux
hi, the workaround is quite heavy but works most of the case : testing that you value are within a range: it wold be something like (((im1b1>-)and(im1b1<)?im1b1:0) + (((im2b1>-)and(im2b1<))?im2b1) + if this does not work straight aways, try first with a gdalbuildvrt