OTB, the ORFEO Toolbox is a library of image processing algorithms developed by CNES in the frame of
the ORFEO Accompaniment Program. OTB is based on the medical image processing library ITK,
OTB provides:
Many of these functionalities are provided by ITK and have been tested and documented for the use with remote sensing data.
You can get more information on OTB on the web at
ORFEO stands for Optical and Radar Federated Earth Observation. In 2001 a cooperation program was set between France and Italy to develop ORFEO, an Earth observation dual system with metric resolution: Italy is in charge of COSMO-Skymed the radar component development, and France of PLEIADES the optic component.
The PLEIADES optic component is composed of two ”small satellites” (mass of one ton) offering a spatial resolution at nadir of 0.7 m and a field of view of 20 km. Their great agility enables a daily access all over the world, essentially for defense and civil security applications, and a coverage capacity necessary for the cartography kind of applications at scales better than those accessible to SPOT family satellites. Moreover, PLEIADES have stereoscopic acquisition capacity to meet the fine cartography needs, notably in urban regions, and to bring more information when used with aerial photography.
The ORFEO ”targeted” acquisition capacities made it a system particularly adapted to defense or civil security missions, as well as critical geophysical phenomena survey such as volcanic eruptions, which require a priority use of the system resources.
With respect to the constraints of the Franco-Italian agreement, cooperation have been set up for the PLEIADES optical component with Sweden, Belgium, Spain and Austria.
At the PLEIADES HR web site:
Beside the Pleiades (PHR) and Cosmo-Skymed (CSK) systems developments forming ORFEO, the dual and bilateral system (France - Italy) for Earth Observation, the ORFEO Accompaniment Program was set up, to prepare, accompany and promote the use and the exploitation of the images derived from these sensors.
The creation of a preparatory program is needed because of :
This program was initiated by CNES mid-2003 and will last until mid 2013. It consists in two parts, between which it is necessary to keep a strong interaction:
This Accompaniment Program uses simulated data (acquired during airborne campaigns) and satellite images quite similar to Pleiades (as QuickBird and Ikonos), used in a communal way on a set of special sites. The validation of specified products and services will be realized with Pleiades data
Apart from the initial cooperation with Italy, the ORFEO Accompaniment Program enlarged to Belgium, with integration of Belgian experts in the different WG as well as a participation to the methodological part.
Go to the following web site:
The French Centre National d’Études Spatiales, CNES, initiated the ORFEO Toolbox and is responsible for the specification of the library. CNES funds the industrial development contracts and research contracts needed for the evolution of OTB.
OTB is distributed under the permissive open source license Apache v2.0 - aka Apache Software License
(ASL) v2.0:
No. The license gives you the option to distribute your application if you want to. You do not have to exercise this option in the license.
No.
The license of your choice. The OTB license only requires you to include a copy of the Apache license and to provide a clear attribution to the OTB project in any distribution including a piece of OTB software.
No. The OTB license only requires you to include a copy of the Apache license and to provide a clear attribution to the OTB project in any distribution including a piece of OTB software.
Anybody can download the OTB at no cost.
Go to
You can get the current development version, as our repository is public, using Git (available at
The first time, you can get the source code using:
Then you can build OTB as usual using this directory as the source (refer to build instructions). Later if you want to update your source, from the OTB source directory, just do:
A simple
All information about OTB compilation can be found into the related section. We present here only the special issues which can be encountered.
On some Debian and Ubuntu versions, the system GDAL library and its tiff internal symbol might conflict with the system Tiff library (bugs.debian.org/558733). This is most likely the case if you get odd segmentation fault whenever trying to open a tiff image. This symbol clash happens when using OTB. A workaround to the issue has been provided in GDAL sources, but is available in the 1.9.0 release.
The recommended procedure is to get this recent source and build GDAL from sources, with the following configure command:
The internal version of libkml cannot be compiled when using an external build of ITK. See
To workaround the problem, either use an external build of libkml (it is provided on most systems), or use an internal build of ITK by setting to OFF the CMake variable OTB_USE_EXTERNAL_ITK.
To build OTB on Windows, we highly recommend using OSGeo4W which provides all the necessary dependencies.
Currently it is not possible to build OTB in Debug when using the dependencies provided by OSGeo4W. If you want to build OTB in Debug for Windows, you will need to build and install manually each dependency needed by OTB. You should use the same compiler for all the dependencies, as much as possible.
Therefore, we highly recommend you to use OSGeo4W shell environment to build OTB. You can use the 32 or 64 bit installer, since OSGeo4W provides all the necessary dependencies in the two cases. Please follow carefully the procedure provided in the Software Guide.
Typically, when using the dependencies provided by OSGeo4W, compile OTB in Release or RelWithDebInfo mode.
OTB presents a large set of features and it is not always easy to start using it. After the installation, you can proceed to the tutorials (in the Software Guide). This should give you a quick overview of the possibilities of OTB and will teach you how to build your own programs. You can also found some information in the OTB Cookbook in which we provide some recipes about remote sensing with OTB.
The maximum physical space a user can allocate depends on her platform. Therefore, image allocation in OTB is restricted by image dimension, size, pixel type and number of bands.
Fortunately, thanks to the streaming mechanism implemented within OTB’s pipeline (actually ITK’s), this
limitation can be bypassed. The use of the
For the streaming to work, all the filters in the pipeline must be streaming capable (this is the case for most of the filters in OTB). The output image format also need to be streamable (not PNG or JPEG, but TIFF or ENVI formats, for instance).
The class
Yes. There is a discussion group at
The main source of documentation is the OTB Software Guide which can be downloaded at
You can also find some information about how to use Monteverdi and the OTB-Applications into the
Cookbook at
There are many ways to join us in the OTB adventure. The more people contribute, the better the library is for everybody!
First, you can send an email to the user mailing list (otb-users@googlegroups.com) to let us know what functionality you would like to introduce in OTB. If the functionality seems important for the OTB users, we will then discuss on how to retrieve your code, make the necessary adaptions, check with you that the results are correct and finally include it in the next release.
You can also run the nightly tests so we have a wider range of platforms to detect bugs earlier. Look at section 33.8.
You can also find more information about how to contribute at
Besides the satisfaction of contributing to an open source project, we will include the references to relevant papers in the software guide. Having algorithms published in the form of reproducible research helps science move faster and encourages people who needs your algorithms to use them.
You will also benefit from the strengths of OTB: multi-platform, streaming and threading, etc.
All functionalities which are useful for remote sensing data are of interest. As OTB is a library, it should be generic algorithms: change, detection, fusion, object detection, segmentation, interpolation, etc.
More specific applications can be contributed using the framework directly in the Applications directory of OTB.
OTB is an ever changing library, it is quite active and have scores of changes per day from different people. It would be a headache to make sure that the brand new improvement that you introduced didn’t break anything, if we didn’t have automated tests. You also have to take into account differences in OS, compilers, options, versions of external libraries, etc. By running the tests and submitting it to the dashboard, you will help us detect problems and fix them early.
For each class, at minimum there is a test which tries to instantiate it and another one which uses the class. The output of each test (image, text file, binary file) is controlled against a baseline to make sure that the result hasn’t changed.
All OTB tests source code are available in the directory
There is more than 2500 tests for OTB and it takes from 20 minutes to 3 hours to run all the test, mainly depending on your compilation options (Release mode does make a difference) and of course your hardware.
To run the tests, you first have to make sure that you set the option
For some of the tests, you also need the test data and the baselines (see 33.8.3).
Once OTB is built with the tests, you just have to go to the binary directory where you built OTB and run
Data used for the tests are also versioned using Git (see 33.3.3).
You can get the base doing:
This is about 1 GB of data, so it will take a while, but you have to do it only once, as after, a simple
will update you to the latest version of the repository.
You can also easily synchronize the directory you retrieve between different computers on your network, so you don’t have to get it several times from the main server. Check out Git capabilities.
Once you know how to run the tests, you can also help us to detect the bugs or configuration problems specific to your configuration. As mentioned before, the possible combinations between OS, compiler, options, external libraries version is too big to be tested completely, but the more the better.
You just have to launch ctest with the
And you will be able to see the result at
If you are interested in setting up a nightly test (automatically launched every night), please contact us and we will give you the details.
OTB’s version numbers have 3 digits. The first one is for major versions, the second one is for minor versions and the last one is for bugfixes.
The first version was 1.0.0 in July 2006.The current one is 6.0.0.
A major version of the library implies the addition of high-level functionalities as for instance image registration, object recognition, etc.
A minor version is released when low-level functionalities are available within one major functionality, as for instance a new change detector, a new feature extractor, etc.
A bugfix version is released when significant bugs are identified and fixed.
We plan to release two major new OTB version once a year. You can find some information into the roadmap section of the wiki
There is no detailed plan about the availability of OTB new features, since OTB’s content depends on ongoing research work and on feedback from thematic users of the ORFEO Accompaniment Program.
Nevertheless, the main milestones for the OTB development are the following:
You can find more information in the RELEASE_NOTES.txt.