Skip to main content

Questions tagged [otb-applications]

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

Filter by
Sorted by
Tagged with
0 votes
0 answers
13 views

LSMS Segmentation OTB

How can I change the directory of the created file during Large Scale Mean Shift Segmentation (OTB) in QGIS. QGIS version: 3.28.4-Firenze QGIS code revision: fd0fb72ab3 Qt version: 5.15.3 Python ...
user237394's user avatar
0 votes
0 answers
40 views

Large Scale Mean Shift Segmentation OTB QGIS

Why are so many files will be created on the desktop while I process the Large Scale Mean Shift segmentation in QGIS even though my output directory is already set?
user237717's user avatar
0 votes
0 answers
13 views

Not all tools are activein OTB Toolbox QGIS3.4.11

I have installed OTB Tool box (OTB 8.1.2) to my QGIS 3.4.11, According to (https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin) But only one tool is visible, Can any one help me out to ...
Rithwik's user avatar
0 votes
0 answers
136 views

Orfeo toolbox on QGIS Mac

I have been trying to download the latest version of Orfeo Toolbox (version 8.1.2) so I can use it on my pre-existing QGIS project (I have a Mac with an Apple silicon chip, and I have downloaded QGIS ...
Eliana Perlman's user avatar
0 votes
1 answer
91 views

Unable to import otbApplication (Orfeotoolbox) through Python

I have been trying to import otbApplication through python but it doesn't work even after trying everything I've found online related to this issue. I created a Python 3.7 environnement, installed ...
Oliver Claessens's user avatar
0 votes
0 answers
141 views

I am trying to run OTB segmentation and I am getting output polygons that are too big

I am running segmentation in QGIS Orfeo Toolbox on a MacBook pro. The first few times I ran segmentation, the results were satisfactory (the image was segmented with many small polygons). When I tried ...
Kurtis's user avatar
  • 1
2 votes
0 answers
216 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
  • 691
0 votes
1 answer
760 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
1 answer
73 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
108 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
787 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
150 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
90 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
162 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
120 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
255 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
529 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,360
2 votes
0 answers
374 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
  • 559
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
109 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
674 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
48 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
372 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
346 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
102 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
913 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
89 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
  • 320
1 vote
1 answer
618 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
859 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
161 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,057
0 votes
1 answer
170 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
225 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
106 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
209 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
338 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
794 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,630