As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [otb-applications]

OTB-Applications is a package from the Orfeo ToolBox (OTB)

Filter by
Sorted by
Tagged with
2 votes
0 answers
46 views

Properly configure image segmentation on QGIS (Segmentation / MeanShift)

I'm trying to perform remote sensing on georeferenced historical satellite images (taken from Google Earth), using the segmentation algorithm from OTB. In the parameters of the Segmentation algorithm, ...
Giene's user avatar
  • 387
0 votes
0 answers
22 views

QGIS - OTB Segmentation - Remove artifacts

I'm using the algorithms from OTB, to segment and perfom remote sensing on mangrove areas. The idea here is to delineate mangrove cover from different satelite images and, later, compare mangrove ...
Giene's user avatar
  • 387
0 votes
1 answer
368 views

Can't enable OTB provider in QGIS 3.22.11?

How can I activate Orfeo ToolBox in QGIS 3.22.11 (LTR)? I enabled the plugin and checked the provider from processing but I don't find the check button in OTB provider : Are there any suggestions to ...
belhichb's user avatar
0 votes
0 answers
20 views

Linux QGIS 3.20 cannot get Orfeo Tooolbox to work

Running QGIS 3.20 Odense on Linux Mint 20.1 Ulyssa and trying to get OTB functions available. Either throws "wrong value for parameter "OTB folder":" message or QGIS crashes ...
user3418765's user avatar
0 votes
1 answer
52 views

Why does the "OTB - BundleToPerfectSensor" use the height value?

Why does the "BundleToPerfectSensor" use the height value? QGIS wants to use the OTB plug-in to do Pansharpening. I wonder why the height value is needed to convert the MS image to high ...
bsg's user avatar
  • 467
1 vote
0 answers
86 views

Fatal error using orfeo toolbox (otb 8.0.0) algorithm Computeconfusionmatrix in QGIS 3.22

I tried to compute a confusion matrix of a raster classification with otb's Computeconfusionmatrix using vector data (polygons) as reference input. When I run the same algorithm in mapla (otb ...
Mirje's user avatar
  • 11
1 vote
1 answer
442 views

Installing and using Orfeo Toolbox (OTB) through Python

Using Python v.3.6.8 through Jupyter notebook (in Windows 10), how can I set and use OTB (v.7.3.0)? I followed the steps described in the official cookbook and other tutorials, however, the result is: ...
Jando's user avatar
  • 89
0 votes
1 answer
106 views

Subsetting mutliband raster in QGIS using OTB BandMathX

I am attempting to do a simple extraction of a multiband (360 bands) raster in QGIS. I have come to the conclusion I need to use BandMathX from OTB, since I am interested in generating a new multiband ...
Thoegernh's user avatar
2 votes
0 answers
71 views

What causes error: Spatial reference of input image and samples don't match

I checked that the CRS is the same. I want to train the classifier in OTB to recognize "non-vegetation" and "vegetation" on an orthomosaic. I created a polygon layer with the two ...
Simon Jensen's user avatar
1 vote
1 answer
110 views

OTB ImageClassifier -The following layers were not correctly generated

After running the OTB ImageClassifier, I get always the error message: The following layers were not correctly generated. What could be the reason for this?
Hardau's user avatar
  • 101
0 votes
1 answer
104 views

Same confusion matrix depiste hyperparameter tuning using TrainImageClassifier in OTB

I am trying to run a land use land cover classification using TrainImageClassifier in OTB. Here are the settings I used : The problem is that no matter how much I tweak the hyperparameters of any of ...
Rim Sleimi's user avatar
3 votes
0 answers
243 views

Stand-alone PyQGIS (QGIS 3.13) scripts with OSGeo4W and the Orfeo toolbox (OTB 7.1.0) seem to be mutually exclusive

I am changing my python environment from working with ArcGis and Arcpy to working with QGIS and PyQgis. And I also want to use the machinelearning possibilities from the orfeo toolbox. In doing so I ...
Ianuam's user avatar
  • 31
1 vote
2 answers
445 views

Train Images Classifier - OTB Spatial reference of input and samples don't match

I am running the Train Images Classifier on OTB 7.1.0. I used QGIS to upload a raster images and then created a vector polygon file for my classes. I ensured that both the raster and vector files are ...
Binx's user avatar
  • 1,250
2 votes
0 answers
329 views

Using Orfeo Toolbox in Google Colab

Orfeo Toolbox (OTB) has a tool that I'd like to use for some image processing as part of a longer Python workflow that I'm executing in Google Colab. While OTB can be called via Python if the whole ...
LAT's user avatar
  • 529
2 votes
2 answers
1k views

Object-based Classification in Orfeo ToolBox

I have a multispectral camera with 5 bands (r, g, b, red edge, NIR) and I would like to classify plants object based with Orfeo ToolBox. I am flying with the drone close to the plants and have an ...
Hardau's user avatar
  • 101
2 votes
0 answers
87 views

Segmentation in OTB gives blank rectangle as output

I am trying to segment a raster image to get a vector output. I am using OTB 6.6.1 in QGIS 3.4. In the segmentation window, I selected the input raster which is a 3 band (true colour) sentinel 2 image ...
Gopalakrishnan B's user avatar
3 votes
1 answer
568 views

ImportError when trying to load otb (orfeo-toolbox) into QGIS Python Console

I would like to use the orfeo-toolbox via the QGIS Python Console, however, I don't seem to be able to import the otbApplication. I keep getting the following error: import otbApplication Traceback (...
mnowatzki's user avatar
1 vote
0 answers
43 views

Installerv otb 6.6.1 under QGIS 2.18.24 in Windows 7

I had installed QGIS 2.18.24 on OSGeo4W, then the OTB stand-alone binary file. In QGIS, I manually entered the directory of OTB Applications folder C:\Program Files\QGIS 2.18\apps\OTB-6.6.1-win32\lib\...
Bethyna's user avatar
  • 11
0 votes
1 answer
309 views

How to Classify With Multiple Ancillary Datasets using QGIS?

I've tried using the classifiers in ArcMap which only supports one ancillary dataset and I tried using Orfeo in QGIS 2.18, though the Orfeo Image Classification tool does not accept any ancillary ...
Esparko's user avatar
  • 31
0 votes
0 answers
333 views

PyQGIS 3.4: otb:unsupervisedkmeansimageclassification -> AttributeError: module 'processing' has no attribute 'runalg'

I'm trying to classify a raster with PyQGIS: import processing processing.runalg("otb:unsupervisedkmeansimageclassification","FalseColor.tif",128,None,100,3,1000,0.95,"class.tif",None) The python ...
geekornolife's user avatar
1 vote
0 answers
96 views

Orfeo Tool Box PCA - explained variance

How can I export/calculate the accumulated explained variance per principal component from a PCA done with the Orfeo Tool box in QGIS?
benschbob91's user avatar
3 votes
0 answers
886 views

OTB-QGIS plugin does not appear in QGIS 3.2 after manual installation

I have followed this instruction to connect the qgis-otb-plugin manually. But after completing all the steps, OTB does not show under Settings > Options > Providers. I cloned the qgis-otb-plugin ...
friiederiike's user avatar
1 vote
0 answers
72 views

orfeo tool box Optical calibration

I am trying to customize Optical calibration module for hyperion sensor. I am not able to find RSR foramt .can any one suggest me what is the format of Relative Spectral Response File which is on of ...
user28542's user avatar
  • 321
1 vote
1 answer
559 views

Masking cloud pixels for NDVI in QGIS

I'm using QGIS to analyze some image of the NOLA area pre- and post-hurricanes. I'd like to calculate NDVI and a couple other indices for the images, but I want to exclude pixels with clouds in them ...
Chase's user avatar
  • 13
3 votes
0 answers
843 views

Is Orfeo Toolbox OTB no longer available through OSGeo4W?

When I run the current OSGeo4W installer on Windows 10, 64 bit, no OTB packages are available: The OTB binary package status page still lists OSGeo4W as a source for OTB. ~~Does anyone know what is ...
j08lue's user avatar
  • 289
1 vote
0 answers
138 views

Can't run Haralick texture process on Orfeo ToolBox on QGIS

I have tried to run Haralick texture extraction on Orfeo, and this error is returned: Algoritmo Haralick Texture Extraction comenzando... > C:\OTB\OTB\bin\otbcli_HaralickTextureExtraction > -...
Trementina's user avatar
1 vote
0 answers
122 views

Problem installing OTB for QGIS 2.8.15 in ubuntu

I'm experiencing a problem in installing OTB for QGIS 2.8.15 in my ubuntu 16.04. I'm following the instructions in https://wiki.orfeo-toolbox.org/index.php/QGIS_access_to_OTB_applications but when I ...
ilFonta's user avatar
  • 1,037
0 votes
1 answer
155 views

Using OTB-Mosaic plugin in QGIS?

I want to use the remicres/otb-mosaic plugin (https://github.com/remicres/otb-mosaic) in QGIS. Fig. 1 is the usage introduction given on the webpage. However I cannot find the function in QGIS ...
Falcon_Baikal's user avatar
2 votes
2 answers
213 views

Algorithm split image doesn't show up anymore in QGIS 2.18.14

I developed a plugin for qgis in python language with a code line to execute split image algorithm from orfeo toolbox. When I update from QGIS 2.18.9 to 2.18.14 the split image algorithm doesn't show ...
Pedro Silva's user avatar
0 votes
1 answer
99 views

Applying OTB mean shift smoothing to a folder of rasters using Python 2

I am very new to Python, and am having trouble coming up with a loop script that will allow me to apply a smoothing process to a folder of rasters. This is the script I am using for a single file ...
Audrey's user avatar
  • 3
1 vote
0 answers
208 views

Orfeo Tool Box installation-QGIS_2.18.10-Windows 10-64Bits [duplicate]

I installed QGIS 2.18.10 and then osgeo4w as you suggested it. I went to the Processing Provider options and entered the paths as you described it. But I do not still have OTB in my processing toolbox....
Roussel's user avatar
  • 11
2 votes
0 answers
324 views

OTB TrainImageClassifiers in QGIS

I have installed the OTB 5.10.1 version and when i want to use train images classifier for the random forest it doesn't create any output model file. and the library give me this error message: ERROR:...
syrine kmiha's user avatar
9 votes
3 answers
13k views

How to configure Orfeo toolbox in QGIS 2.18 on Windows 7 32-Bit?

I had installed QGIS 2.18.3 using OSGeo4W and then the OTB standalone binary. In QGIS, I had manually entered the directory of the OTB applications folder (C:\Program Files\QGIS 2.18\apps\OTB-5.10.0-...
Adrian Lyngdoh's user avatar
3 votes
1 answer
778 views

Point otbApplication for python to the relevant OTB DLL's

I installed the latest OTB and Monteverdi on a Win 7 machine. Via osgeo4w I downloaded otbApplication for python, without any dependencies. Python, gdal, numpy scipy and so forth was custom build ...
PyMapr's user avatar
  • 1,563