otb issueshttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues2023-10-13T13:33:37Zhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2332Improve and update docs for a working Python installation2023-10-13T13:33:37ZVincent DelbarImprove and update docs for a working Python installationToday I had to help a colleague who was having trouble running `import otbApplication`.
This is something I see a lot here in the Maison de la Télédétection with linux newbies / interns that needs OTB and are confused by the docs.
Th...Today I had to help a colleague who was having trouble running `import otbApplication`.
This is something I see a lot here in the Maison de la Télédétection with linux newbies / interns that needs OTB and are confused by the docs.
The CookBook is well updated regarding Python related caveats.
Nonetheless there are still missing recommendations for some specific cases and versions.
Especially regarding conda, since the latest package version updated there is 7.1. And it seems everyone is using conda (I believe this is hell).
We need a section about how to import the python API of a fresh binary installation, within a conda env.
May be I can create a MR - I still need to learn the the docs contribution workflow.
Here is what I suggest :
- May be update the FAQ section about the libpython3.5 symlink with current python versions, or both
- Warn that python-otb is missing in any recent ubuntu distributions (even in ubuntugis - is it fixable ?)
- Extend the conda section, add command line examples to create a working conda env (py37 or py38 + symlinks for libpython on Linux)
- Add a section about Jupyter / Google Colab environments
- I sometimes had to downgrade numpy in order to recompile bindings, I don't know about the state of this in v8.0, is there a max version number that we can provide ?
- Explain this "recompile python bindings" thing will not work every time
(this only work when using the python exe found in /usr - I was unable to use it for a conda env - using python > 3.8)
Regarding this last point, it would be really great to ease the process and also create a dedicated shell script, that support any PYTHON_EXE.
I really have a hard time to understand this ctest trick, and was unable to adapt it to my env needs.
And what about Windows ? For example if I want to run OTB with python 3.10, is this even possible ?https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2360OrthoRectification of Pleiades HR product using high resolution DSM (50 cm re...2023-10-05T08:44:17ZArnaud JouzeauOrthoRectification of Pleiades HR product using high resolution DSM (50 cm resolution) hangs on indefinitely when gridspacing is set to 50cmThe bug occurs on an HPC cluster (CNES). Even when setting walltime to 200 hours, OTB remains stuck with no output until the job is killed due to time limit reached.
I tried several RAM parameterization but there was no change in the res...The bug occurs on an HPC cluster (CNES). Even when setting walltime to 200 hours, OTB remains stuck with no output until the job is killed due to time limit reached.
I tried several RAM parameterization but there was no change in the result.
The DSM was generated using CARS from the same Pleiades perfect sensor image that is then to be orthorectified by OTB.
export GDAL_NUM_THREADS=44
export ITK_GLOBAL_DEFAULT_NUMBER_OF_THREADS=44
export ITK_USE_THREADPOOL=1
are set in the job script.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2359Maximum sample size in TrainImagesClassifier2023-09-20T08:01:31ZJulien OsmanMaximum sample size in TrainImagesClassifier### Description
This bug was reported [by a user on the forum](https://forum.orfeo-toolbox.org/t/maximum-sample-size-in-trainimagesclassifier/1651).
The *TrainImageClassifier* application has a mechanism to balance the class representa...### Description
This bug was reported [by a user on the forum](https://forum.orfeo-toolbox.org/t/maximum-sample-size-in-trainimagesclassifier/1651).
The *TrainImageClassifier* application has a mechanism to balance the class representation on the training and validation set. This mechanism should be deactivated when the user sets `sample.bm` to `0`.
The code related to this issue:
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/Applications/AppClassification/include/otbTrainImagesBase.hxx#L169
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/Applications/AppClassification/include/otbTrainImagesBase.hxx#L222
- https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/blob/develop/Modules/Applications/AppClassification/app/otbMultiImageSamplingRate.cxx#L226
### Steps to reproduce
Run *TrainImageClassifier* with options sampling.mt=-1, sampling.mv=-1, and sampling.bm=0. The log says:
> (INFO) TrainImagesClassifier: Sampling strategy : fit the number of samples based on the smallest class
The expected log is
> (INFO) TrainImagesClassifier: Sampling strategy : take all samples
### Configuration information
The user on the forum uses QGIShttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2358Set the proper WL/WB values for the different layers2023-09-19T08:06:19ZDamiano MissoniSet the proper WL/WB values for the different layersHi everyone.
OpticalCalibration misses a feature that can be useful to someone.
When performing atmospheric corrections on a non supported satellite image, it seems not possible to set the values of the wavelengths (or wavebands) of im...Hi everyone.
OpticalCalibration misses a feature that can be useful to someone.
When performing atmospheric corrections on a non supported satellite image, it seems not possible to set the values of the wavelengths (or wavebands) of image channels. otbcli_OpticalCalibration use the same selfdefined WL value for all the bands (i.e. 0.65 microns) and, therefore, the atmospheric correction is not correct.
It would be useful to add the possibility to set proper WL/WB values for every layer.
Also, Mapla GUI doesn’t have a box where indicates the image wavebands.
Link to the forum extended discussion: [Setting wavebands for atmospheric correction of non supported images - Usage - Orfeo Toolbox forum (orfeo-toolbox.org)](https://forum.orfeo-toolbox.org/t/setting-wavebands-for-atmospheric-correction-of-non-supported-images/1649)https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2357Generating slow epipolar grids with a DEM not in lon lat2023-09-11T14:32:14ZFlorian DouziechGenerating slow epipolar grids with a DEM not in lon lat### Description
Generating epipolar grids with a DEM
The application `StereoRectificationGridGenerator` application and the `epi.elevation.dem` parameter takes a very long time when dem is not in lon lat.
result of computing duration ...### Description
Generating epipolar grids with a DEM
The application `StereoRectificationGridGenerator` application and the `epi.elevation.dem` parameter takes a very long time when dem is not in lon lat.
result of computing duration on a small srtm file:
* with lon lat dem : 1.4 sec
* with utm dem : 16 sec
### Steps to reproduce
* geoid: https://github.com/CNES/cars/blob/master/cars/conf/geoid/egm96.grd
* inputs: https://github.com/CNES/cars/blob/master/tutorials/data_gizeh.tar.bz2
untar the file
* dem in lon lat
`srtm_dir/N29E031_KHEOPS.tif`
* dem in utm
```
gdalwarp -t_srs EPSG:32636 srtm_dir/N29E031_KHEOPS.tif dem.tif
```
* generating epipolar grids script
```
import otbApplication
app = otbApplication.Registry.CreateApplication("StereoRectificationGridGenerator")
app.SetParameterString("io.inleft", "data_gizeh/img1.tif")
app.SetParameterString("io.inright", "data_gizeh/img2.tif")
app.SetParameterString("io.outleft", "epi_grid1.tif")
app.SetParameterString("io.outright", "epi_grid2.tif")
app.SetParameterString("epi.elevation.dem", "dem.tif")
app.SetParameterFloat("epi.elevation.default", 0)
app.SetParameterString("epi.elevation.geoid","cars/conf/geoid/egm96.grd")
app.SetParameterInt("epi.step", 30)
app.ExecuteAndWriteOutput()
```
### Configuration information
* OTB 7.4.1 ubuntu 22.04
* install command
```
RUN cmake \
"-DBUILD_COOKBOOK:BOOL=OFF" "-DBUILD_EXAMPLES:BOOL=OFF" "-DBUILD_SHARED_LIBS:BOOL=ON" \
"-DBUILD_TESTING:BOOL=OFF" "-DOTB_USE_6S:BOOL=OFF" "-DOTB_USE_CURL:BOOL=ON" \
"-DOTB_USE_GLEW:BOOL=OFF" "-DOTB_USE_GLFW:BOOL=OFF" "-DOTB_USE_GLUT:BOOL=OFF" \
"-DOTB_USE_GSL:BOOL=OFF" "-DOTB_USE_LIBKML:BOOL=OFF" "-DOTB_USE_LIBSVM:BOOL=ON" \
"-DOTB_USE_MPI:BOOL=OFF" "-DOTB_USE_MUPARSER:BOOL=ON" "-DOTB_USE_MUPARSERX:BOOL=ON" \
"-DOTB_USE_OPENCV:BOOL=OFF" "-DOTB_USE_OPENGL:BOOL=OFF" "-DOTB_USE_OPENMP:BOOL=OFF" \
"-DOTB_USE_QT:BOOL=OFF" "-DOTB_USE_QWT:BOOL=OFF" "-DOTB_USE_SIFTFAST:BOOL=ON" \
"-DOTB_USE_SPTW:BOOL=OFF" "-DOTB_WRAP_PYTHON:BOOL=ON" "-DCMAKE_BUILD_TYPE=Release" \
"-DOTB_USE_SHARK:BOOL=OFF" "-DBUILD_EXAMPLES:BOOL=OFF" \
-DCMAKE_INSTALL_PREFIX="/usr/local/otb" -GNinja .. && \
ninja install && \
```https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2355activate box not visible for OTB provider plug-in QGIS 3.28.92023-08-29T17:27:29Zperlm22eactivate box not visible for OTB provider plug-in QGIS 3.28.9### Description
I have enabled the orfeo toolbox provider plug-in, and downloaded the most updated version of Orfeo toolbox, version 8.1.2, to my pc. But when I go to settings->options->processing->providers, the activate box is not visi...### Description
I have enabled the orfeo toolbox provider plug-in, and downloaded the most updated version of Orfeo toolbox, version 8.1.2, to my pc. But when I go to settings->options->processing->providers, the activate box is not visible.![Capture](/uploads/776b341fefb85a5791b7331c8e712dfb/Capture.PNG)
### Steps to reproduce
1.plugins->manage and install plugins->installed-> click checkbox for Orfeo Toolbox provider
2.Download Orfeo toolbox 8.1.2 for windows onto my computer
3. extract files
4. copy Orfeo toolbox 8.1.2 to file containing QGIS project
5. in QGIS, go to settings->options->processing->providers
6. expand OTB tab
### Configuration information
OS: Windows 64 bit, OTB version 8.1.2, QGIS Desktop 3.28.9https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2202Deprecated GDAL python scripts in OTB 7.3 binaries (Linux)2023-08-24T08:49:39ZYannick TANGUYDeprecated GDAL python scripts in OTB 7.3 binaries (Linux)### Description
As reported [here](https://forum.orfeo-toolbox.org/t/otb-7-x-and-osgeo-gdal-python-wrapper-lib/1097), it seems that OTB 7.3 binaries (at least on Linux) don't contain GDAL python scripts (gdal*.py).
The python scripts in...### Description
As reported [here](https://forum.orfeo-toolbox.org/t/otb-7-x-and-osgeo-gdal-python-wrapper-lib/1097), it seems that OTB 7.3 binaries (at least on Linux) don't contain GDAL python scripts (gdal*.py).
The python scripts indicate that they had been deprecated...
### Steps to reproduce
1. Install OTB 7.3 from the binary package
2. Source the environment file
3. Try to launch a GDAL script (for instance, gdalmove.py)
### Configuration information
Linux Ubuntu 18.04, OTB 7.3 (binaries)https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2Skipped Mantis Issue 22023-08-18T17:35:04ZSébastien DinotSkipped Mantis Issue 2_Skipped [Mantis Issue 2](https://bugs.orfeo-toolbox.org//view.php?id=2)__Skipped [Mantis Issue 2](https://bugs.orfeo-toolbox.org//view.php?id=2)_https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/1Skipped Mantis Issue 12023-08-18T17:35:04ZSébastien DinotSkipped Mantis Issue 1_Skipped [Mantis Issue 1](https://bugs.orfeo-toolbox.org//view.php?id=1)__Skipped [Mantis Issue 1](https://bugs.orfeo-toolbox.org//view.php?id=1)_https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2123Pleiades : improve OpticalCalibration (update gain/biases values, and correct...2023-08-07T07:57:06ZYannick TANGUYPleiades : improve OpticalCalibration (update gain/biases values, and correct some mistakes)OpticalCalibration performs Pleaides calibration (from DN to TOA and TOC reflectance), but there are some points to fix (see also [these messages](https://forum.orfeo-toolbox.org/t/inconsistency-between-gains-read-from-dimap-and-used-by-...OpticalCalibration performs Pleaides calibration (from DN to TOA and TOC reflectance), but there are some points to fix (see also [these messages](https://forum.orfeo-toolbox.org/t/inconsistency-between-gains-read-from-dimap-and-used-by-opticalcalibration/844/5)):
1. user should be able to choose between three modes when providing gain/biases values : read gain/biases from the product (ie : from the DIMAP file, if available), take hard-coded tabulated values, read them from a user file (txt file, with two lines for gains & bias)
2. when reading gain/bias from a file, the application should not display hard-coded values. In current versions, it displays these hard-coded values even when user provides a specific file, **but**, I guess the computation is correct, because output images are (slightly) different when we provide (or not) the gain/bias file.
3. the sun and viewing angles should be taken from the center of the image (see [user forum](https://forum.orfeo-toolbox.org/t/inconsistency-in-location-of-parameters-used-by-opticalcalibration/850))
4. when providing a DIMAP as input of OpticalCalibration, the application should have the same behaviour as when we provide the corresponding .tif or .jp2 file. In our tests, when we provide a DIMAP, OTB does not recognize the sensor and needs a gain/bias file, whereas when we set the image.jp2 as input, it recognizes the sensor and use hard coded gain/bias
The [Gain_PHR_ICC_20201001.xlsx](/uploads/f71732266ddd7ba464245e209dbeb4f6/Gain_PHR_ICC_20201001.xlsx) file gives gain values that should be used for PHR1A and PHR1B calibration. These values have been provided by the CNES / Pleiades calibration team.
Edit (2021-01-05) : as reported by Etienne [here ](https://forum.orfeo-toolbox.org/t/inconsistency-between-gains-read-from-dimap-and-used-by-opticalcalibration/844/8?u=yannick), the documentation should be improved to explain the expected order of the bands.Thibaut ROMAINThibaut ROMAINhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2265OTB 8 appears to be slower than 7.3.02023-08-02T07:20:19ZLaurențiu NicolaOTB 8 appears to be slower than 7.3.0At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brigh...At least on some operations. Notice the huge difference in user time:
```
# OTB 7.3.0
otbcli_ComputeImagesStatistics -il brightness.tif 83.91s user 2.12s system 899% cpu 9.568 total
# OTB 7.4.0
otbcli_ComputeImagesStatistics -il brightness.tif 89.18s user 1.92s system 936% cpu 9.732 total
# OTB 8.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 116.50s user 2.18s system 996% cpu 11.913 total
# bonus: OTB 5.0.0
otbcli_ComputeImagesStatistics -il brightness.tif 101.95s user 0.68s system 726% cpu 14.127 total
```
Image is an uncompressed 10980x10980x25 Int16 TIFF.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2095Consider switching to the C++11 GLIBC ABI2023-08-01T14:56:42ZLaurențiu NicolaConsider switching to the C++11 GLIBC ABIWe might want to enable the C++11 ABI (`-D_GLIBCXX_USE_CXX11_ABI=1`) in the Linux package for better compatibility with newer compilers.
See https://gitlab.orfeo-toolbox.org/s1-tiling/s1tilingsupportapplications/-/issues/4 for an example.We might want to enable the C++11 ABI (`-D_GLIBCXX_USE_CXX11_ABI=1`) in the Linux package for better compatibility with newer compilers.
See https://gitlab.orfeo-toolbox.org/s1-tiling/s1tilingsupportapplications/-/issues/4 for an example.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2213Recompiling Python bindings on the Ubuntu 18.04 packages2023-08-01T09:48:26ZCédric TraizetRecompiling Python bindings on the Ubuntu 18.04 packagesRecompiling the Python bindings on the CI package generated by the CI does not work:
On Ubuntu 20.04, using packages from release 7.4 rc1:
``` bash
wget https://www.orfeo-toolbox.org/packages/ci/staging/OTB-7.4.0-Linux64-glibc-2.27.run...Recompiling the Python bindings on the CI package generated by the CI does not work:
On Ubuntu 20.04, using packages from release 7.4 rc1:
``` bash
wget https://www.orfeo-toolbox.org/packages/ci/staging/OTB-7.4.0-Linux64-glibc-2.27.run
chmod +x OTB-7.4.0-Linux64-glibc-2.27.run
./OTB-7.4.0-Linux64-glibc-2.27.run
source otbenv.profile
ctest -S share/otb/swig/build_wrapping.cmake -VV
```
leads to the following errors:
```
otbApplicationPYTHON_wrap.cxx:(.text+0x222f): undefined reference to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)'
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o: in function `Application_SetImageFromUInt32NumpyArray_(otb::Wrapper::Application*, std::string, int, unsigned int*, int, int, int)':
otbApplicationPYTHON_wrap.cxx:(.text+0x25ef): undefined reference to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)'
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o: in function `Application_SetImageFromInt32NumpyArray_(otb::Wrapper::Application*, std::string, int, int*, int, int, int)':
otbApplicationPYTHON_wrap.cxx:(.text+0x29af): undefined reference to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)'
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o: in function `Application_SetImageFromUInt16NumpyArray_(otb::Wrapper::Application*, std::string, int, unsigned short*, int, int, int)':
otbApplicationPYTHON_wrap.cxx:(.text+0x2d6f): undefined reference to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)'
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o: in function `Application_SetImageFromCDoubleNumpyArray_(otb::Wrapper::Application*, std::string, int, std::complex<double>*, int, int, int)':
otbApplicationPYTHON_wrap.cxx:(.text+0x312f): undefined reference to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)'
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o:otbApplicationPYTHON_wrap.cxx:(.text+0x34ef): more undefined references to `otb::Wrapper::Application::SetParameterImageBase(std::string const&, itk::ImageBase<2u>*, unsigned int)' follow
/usr/bin/ld: CMakeFiles/PythonWrapperLib.dir/otbApplicationPYTHON_wrap.cxx.o: in function `Application_GetVectorImageAsCDoubleNumpyArray_(otb::Wrapper::Application*, std::string, std::complex<double>**, int*, int*, int*)':
[...]
```
Note that he Python bindings recompilation works on the Centos 7 package, which is the one that is deployed.https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2193otb-7.3.0 fails compilation with GCC102023-08-01T09:47:07ZFosco Veselyotb-7.3.0 fails compilation with GCC10### Description
I'm aiming at a "simple" (not super) build of OTB-7.3 in a link environment.
While the documentation explicit that to be a more painful approach, it better fits the surronding project, so I'm going that way.
I satisfied ...### Description
I'm aiming at a "simple" (not super) build of OTB-7.3 in a link environment.
While the documentation explicit that to be a more painful approach, it better fits the surronding project, so I'm going that way.
I satisfied the dependencies and use ITK-4.13.3 as provided in the superbuild compiled (with the same configuration obtained from the superbuild cmake, given that nothing but otb depends on it).
With gcc-10.2.0 I encontered this error while compiling otb-7.3.0 from sources. I used the sources for 7.3.0 published at www.orfeo-toolbox.org/packages/ .
```
/usr/lib/gcc/aarch64-unknown-linux-gnu/10.2.0/../../../../aarch64-unknown-linux-gnu/bin/ld: Modules/Wrappers/ApplicationEngine/src/CMakeFiles/OTBApplicationEngine.dir/otbWrapperApplicationRegistry.cxx.o: in function `otb::Wrapper::ApplicationRegistry::GetAvailableApplications[abi:cxx11](bool)':
otbWrapperApplicationRegistry.cxx:(.text+0xeb8): undefined reference to `itk::Directory::GetNumberOfFiles[abi:cxx11]()'
```
For what I get in previously rised bug (e.g. issue #2045), this behaviour was supposed solved since the 7.2.0 version.
After I downgraded to gcc-9.3.0 (and recompiled boost-1.75) the compilation of OTB worked just fine.
### Steps to reproduce
Compile OTB-7.3.0 sources with gcc-10.2.0
### Configuration information
```
distcc 3.3.3 aarch64-unknown-linux-gnu [enabled]
app-shells/bash: 5.0_p18::gentoo
dev-java/java-config: 2.3.1::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 3.7.10_p3::gentoo, 3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-util/cmake: 3.18.5::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.22::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.2::gentoo
sys-devel/gcc: 9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.2-r1::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
```https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2336Cannot activate OTB in QGIS 3.28.42023-07-26T09:37:14ZcstraffonCannot activate OTB in QGIS 3.28.4### Description
I have been trying to properly install OTB 8.1.1 in QGIS for Windows 10 Pro to no avail. It seems it is installed, but when I try to activate it in Process Toolbox settings there is no checkbox to activate the module and...### Description
I have been trying to properly install OTB 8.1.1 in QGIS for Windows 10 Pro to no avail. It seems it is installed, but when I try to activate it in Process Toolbox settings there is no checkbox to activate the module and when I enable the plugin I get an error message.
### Steps to reproduce
I installed QGIS 3.28.4 using OSGeo4W. I downloaded OTB 8.1.1. installation files and followed the instructions found here: https://docs.qgis.org/3.28/en/docs/user_manual/processing/3rdParty.html
I made sure the paths are correct in Process Toolbox settings, and I still cannot see the checkbox to activate.
![Process_Toolbox_settings](/uploads/218c5b8fb53e890cabf9c55dd87cf4a4/Process_Toolbox_settings.png)
When I try to enable the plugin in the installed complements window, I get the following message:
CRITICAL Traceback (most recent call last):
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 423, in _startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:\qgis-plugins\qgis-otb-plugin\otb\__init__.py", line 37, in classFactory
from .OTBPlugin import OTBPlugin
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\qgis-plugins\qgis-otb-plugin\otb\OTBPlugin.py", line 26, in
from .OTBAlgorithmProvider import OTBAlgorithmProvider
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\qgis-plugins\qgis-otb-plugin\otb\OTBAlgorithmProvider.py", line 39, in
from otb import OTBUtils
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "C:\qgis-plugins\qgis-otb-plugin\otb\OTBUtils.py", line 37, in
from processing.core.ProcessingLog import ProcessingLog
File "C:\OSGeo4W/apps/qgis-ltr/./python\qgis\utils.py", line 888, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
ModuleNotFoundError: No module named 'processing.core.ProcessingLog'
I have reinstalled QGIS, python libraries at least twice; tried to install OTB files directly to C: directory and changed paths accordingly, and even tried OTB 7.0.0 and still get the same error.
### Configuration information
Windows 10 Pro version 2009, OTB 8.1.1., QGIS 3.28.4, Anaconda prompt, Python 3.9.5, OTB Provider 2.12.99https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2342How to Residual registration in python by Otb8.12023-07-26T09:25:53Zyang162132How to Residual registration in python by Otb8.1I want to do Residual registration like https://www.orfeo-toolbox.org/CookBook/recipes/residual_registration.html by otb8.1 and python 3.8,but it's seem that no module RefineSensorModel.IS there a new way to do residual registration?I want to do Residual registration like https://www.orfeo-toolbox.org/CookBook/recipes/residual_registration.html by otb8.1 and python 3.8,but it's seem that no module RefineSensorModel.IS there a new way to do residual registration?https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2333Output of `otbcli_Segmentation -filter meanshift` and `otbcli_LargeScaleMe...2023-07-26T09:24:58ZaloboaOutput of `otbcli_Segmentation -filter meanshift` and `otbcli_LargeScaleMeanShift` are differentAs far as I understand:
`otbcli_Segmentation -filter meanshift`
should be identical to
`otbcli_LargeScaleMeanShift`
as both chain the 4 steps with ranger and spatialr values refering to the Meanshift smoothing and halved
for the LM...As far as I understand:
`otbcli_Segmentation -filter meanshift`
should be identical to
`otbcli_LargeScaleMeanShift`
as both chain the 4 steps with ranger and spatialr values refering to the Meanshift smoothing and halved
for the LMSS step.
Nevertheless, given:
```
otbcli_LargeScaleMeanShift -in QB_1_ortho.tif -spatialr 4 -ranger 80 -minsize 100 -mode.vector.out regionsLSMS_100.shp
otbcli_Segmentation -in QB_1_ortho.tif -filter meanshift -filter.meanshift.spatialr 4 -filter.meanshift.ranger 80 -filter.meanshift.minsize 100 -mode.vector.out regionsSEG100.shp
```
the respective ouptuts regionsLSMS_100.shp and regionsSEG100.shp are different.
Am I misunderstanding or is there a bug?https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2345Unable to configure OTB plugin in QIGS 3.282023-07-26T09:24:33Zmia shenUnable to configure OTB plugin in QIGS 3.28I am using the Win10 system and following the [https://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html#otb-applications](url) step prompt, after enabling the OTB plugin in QGIS, I am unable to perform the next step of ...I am using the Win10 system and following the [https://docs.qgis.org/testing/en/docs/user_manual/processing/3rdParty.html#otb-applications](url) step prompt, after enabling the OTB plugin in QGIS, I am unable to perform the next step of specifying the path for the OTB plugin. Additionally, the prompt “Problem with OTB installation: does not exist.”
![111](/uploads/e66f3c63c6c973ab1c9a46d71b1a6746/111.png)![222](/uploads/9b635d75399020925e7c2cf06d44eb76/222.png)
Windows 10 , OTB 8.1.1 Win64, QGIS 3.28.0https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2349release 8.1.22023-07-24T14:23:49ZThibaut ROMAINrelease 8.1.2We are ready to release OTB version 8.1.2. The following steps need to be done:
## Release Candidate
### 1. Branches
* [x] **(if major or minor release)** Feature freeze: [create the new release branch](https://gitlab.orfeo-toolbox.or...We are ready to release OTB version 8.1.2. The following steps need to be done:
## Release Candidate
### 1. Branches
* [x] **(if major or minor release)** Feature freeze: [create the new release branch](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#create-release-branch)
* [x] **(if patch release)** Work on the already existing branch `release-MAJOR-MINOR`
* [x] Make sure the version number in `CMakeLists.txt` is MAJOR.MINOR.PATCH
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [x] Update the date in RELEASE_NOTES.txt
* [x] Check [SonarQube](https://sonar.orfeo-toolbox.org/dashboard?id=orfeotoolbox-otb)
* [x] Run Debian [spelling](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#spelling-check) checker
* [x] Run shellcheck script from [OTB-Devutils/Scripts/](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh)
* [x] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [x] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [x] Windows
* [x] Linux
* [x] Mac
* [x] Test QGIS on qgis docker image
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release candidate](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag)
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive)
* [x] Release Candidate announcement on the forum
## Release
### 1. Branches
* [x] Make sure the version number in `CMakeLists.txt` is MAJOR.MINOR.PATCH
### 2. Housekeeping
* [x] In this story, make a list of blocking issues for the release (if any)
* [x] Fix compilation warnings on CI
* [x] Update release notes (walk the GitLab MR merged history and log all improvements)
* [x] Update the date in RELEASE_NOTES.txt
* [x] Check [SonarQube](https://sonar.orfeo-toolbox.org/dashboard?id=orfeotoolbox-otb)
* [x] Run Debian [spelling](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#spelling-check) checker
* [x] Run shellcheck script from [OTB-Devutils/Scripts/](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb-devutils/blob/master/Scripts/run_shellcheck.sh)
* [x] [Update translation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#translation-for-monteverdi-mapla) for Monteverdi and Mapla
* [x] [Sanity check the binary packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#standalone-packages-sanity-check)
* [x] Windows
* [x] Linux
* [x] Mac
* [x] Test QGIS on qgis docker image
### 3. Actual release
Once all blocking issues are closed, and the previous steps are done:
* [x] [Tag the release](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#release-tag)
* [x] **(if major or minor release)**: Merge the release into develop
* [x] **(if it's the latest release)**: Merge the release into master
* [x] **(if patch release)**: Backport fixes
* [x] Update GIT_TAG for all official remote modules (if needed)
### 4. Publish and plan next release
* [x] [Prepare and upload source packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#prepare-and-upload-source-packages)
* [x] [Promote staging packages](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#promote-staging-packages)
* [x] [Update documentation](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#update-documentation)
* [x] Cookbook
* [x] Doxygen
* [x] WordPress page "Home" and "Download" pages
* [x] Upload OTB source archive to [Zenodo](https://zenodo.org/) to create a unique Digital Object Identifier (DOI)
* [x] [Update the SuperBuild archive](https://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/wikis/Help-for-release-actions#superbuild-archive)
* [x] Release announcement
* [x] On the [forum](https://forum.orfeo-toolbox.org/)
* [x] On the [blog](https://www.orfeo-toolbox.org/blog/)
* [x] On [Twitter](https://twitter.com/orfeotoolbox)
* [x] Forward announcement to news_item@osgeo.org ([OSGeo news](https://www.osgeo.org/foundation-news/))
* [x] Remove public branches related to MR or bugfix merged before the release8.1.2Thibaut ROMAINThibaut ROMAINhttps://gitlab.orfeo-toolbox.org/orfeotoolbox/otb/-/issues/2347Next release ? 8.1.2?2023-07-11T08:38:30ZRémi CressonNext release ? 8.1.2?Hi,
I would like to know when the next release is planning?
Currently develop branch contains a lot of useful bugfixes, which are not unfortunately in 8.1.1.
I believe it could be great to publish a ~~8.2.0 or~~ 8.1.2 release !
RémiHi,
I would like to know when the next release is planning?
Currently develop branch contains a lot of useful bugfixes, which are not unfortunately in 8.1.1.
I believe it could be great to publish a ~~8.2.0 or~~ 8.1.2 release !
Rémi