source:
trunk/docs/kernel/orfeotoolbox.rst
@
724
Last change on this file since 724 was 696, checked in by djay, 9 years ago | |
---|---|
|
|
File size: 4.3 KB |
Optional Orfeo Toolbox support
Optional Orfeo Toolbox support ======================
Orfeo Toolbox provides simple to advanced algorithms for processing imagery available from remote sensors. The optional Orfeo Toolbox support is available since ZOO-Project 1.5. It allows to execute the OTB Applications directly as ZOO WPS Services thanks to a :ref:`kernel_index` specific internal mechanism which is detailed in this section.
Note
Orfeo Toolbox is an open source image processing library. Learn more by reading its documentation.
Installation and configuration
Follow the step described bellow in order to activate the ZOO-Project optional Orfeo Toolbox support.
Prerequisites
- latest ZOO-Kernel trunk version
- Orfeo Toolbox (OTB 4.2.1)
- Insight Segmentation and Registration Toolkit (ITK-4.7)
Installation steps
Note
These installation steps were successfully tested on Ubuntu 14.4 LTS
Note
For OTB and ITK, the CMAKE_C_FLAGS and CMAKE_CXX_FLAGS must first be set to -fPIC
Download lastest ZOO-Kernel code from SVN.
Then compile ZOO-Kernel using the needed configuration options as shown bellow:
Configuration steps
Main configuration file
Add the following content to your /usr/lib/cgi-bin/main.cfg file in the [env] section:
Services configuration file
The build of the otb2zcfg utility is required to activate the available OTB Applications as WPS services. This can be done using the following command:
Run the following command to generate all the needed zcfg files for the available OTB Application:
Test requests
Once done, OTB Applications should be listed as available WPS Services when runing a GetCapabilities request
Each OTB Service can then be described individually using the DescribeProcess request, as for example:
Here is an example request executing the OTB.BandMath Application with the OTB Cookbook sample data as input
Note
The usual ZOO GetStatus requests also work when using the OTB Applications as WPS Services.