I already tried this http://hg.orfeo-toolbox.org/OTB-Qgis-plugins/ repository and couldn't get it...
This guy seems to have it: http://www.elance.com/samples/orfeo-toolbox-qgis/24111664/
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI already tried this http://hg.orfeo-toolbox.org/OTB-Qgis-plugins/ repository and couldn't get it...
This guy seems to have it: http://www.elance.com/samples/orfeo-toolbox-qgis/24111664/
Since QGIS 3.8, the OTB provider plugin is part of QGIS core but disabled by default (enable it under Options->Processing->Providers). Install OTB (download from https://www.orfeo-toolbox.org/download/) before enabling the plugin.
Prior to QGIS 3.8, install OTB and add the plugin repository http://orfeo-toolbox.org/qgis/plugins.xml (detailed steps at https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin) for the OTB provider plugin.
Example plugin settings on Windows:
Activate: (check the box)
OTB application folder: C:/OTB-6.6.1-Win64/lib/otb/applications
OTB folder: C:/OTB-6.6.1-Win64
Figured I'd leave this answer in case someone sees it now. It seems like they've cleaned this up since it was asked, and that old wiki doesn't link well to the current website:
https://www.orfeo-toolbox.org/download/
There are full installation instructions as well here https://www.orfeo-toolbox.org/CookBook/Installation.html where they have downloadable install scripts to run.
If you are using ubuntu, you can also do
sudo apt install aptitude
sudo aptitude install add-apt-repository
sudo apt-add-repository ppa:ubuntugis/ubuntugis-unstable
sudo aptitude install otb-bin otb-bin-qt python-otb
This was the thing that worked for me after 30 minutes of trying a full build from source.
I've been struggling trying to make OTB work on QGIS 3.18.1-Zürich running on a GNU/Linux Debian machine. I finally succeeded, so I guess I'll share my experience here, since it wasn't really obvious.
I have all OTB packages installed by the apt package management system, and the binaries and libraries are located in /usr/bin/ and in /usr/lib/x86_64-linux-gnu/otb/applications/
I enabled OTB in the QGIS options dialog box:
The tricky part was not to put "/usr/bin/" in the "OTB directory" ("Répertoire OTB" on my French version) where the OTB binaries are actually located, but simply "/usr/". It took me a long while to figure this out.
Hope this may help others.
I did it following this: http://wiki.orfeo-toolbox.org/index.php/Quantum_GIS_access_to_OTB_applications
This is how I installed it on Windows 8.1 running QGIS 2.18.16:
IMPORTANT: Folder path must not have spaces, so c:\Program Files will not work!
This approach got it working but I have not fully tested all the functionality. The reason is that I was interested in a specific function that it had.
Here are some resources that answer your question:
I tried installing Orfeo Toolbox in QGIS on Mac and struggled a lot but eventually managed it. Here's how for any beginners confused by terminology:
https://www.orfeo-toolbox.org/download/ (download MacOS)
Make sure the file does not end in .txt, if it does, remove this so it just ends in .run (On recent Mac OS, you need to Right click and "Get Info" for the file and delete the .txt in the "Name & Extension" box, not just rename it in Finder).
Go to terminal, navigate to your Downloads folder by entering
cd Downloads
Then run these commands:
chmod +x OTB-7.3.0-Darwin64.run
./OTB-7.3.0-Darwin64.run
(Making sure that the file path is correct). This will unpack the file.
Then go to QGIS > Preferences > Processing. Click on the Providers drop down menu, and select OTB.
Input the file path name of the otb application folder (will probably be something like /lib/otb/applications
)
Then input the file path name of the main OTB folder.
Tick the activate box.
Press OK and you're done!
The right way is to install the new analysis framework and then the (new) plugins for Orfeo (and SAGA).
Announcement and instructions:
http://lists.osgeo.org/pipermail/qgis-user/2011-October/013923.html