Computes local statistical moments on every pixel in the selected channel of the input image
This application computes the 4 local statistical moments on every pixel in the selected channel of the input image, over a specified neighborhood. The output image is multi band with one statistical moment (feature) per band. Thus, the 4 output features are the Mean, the Variance, the Skewness and the Kurtosis. They are provided in this exact order in the output image.
This section describes in details the parameters available for this application. Table 5.45, page 575 presents a summary of these parameters and the parameters keys to be used in command-line and programming languages. Application key is LocalStatisticExtraction.
Parameter key | Parameter type |
Parameter description |
in | Input image |
Input Image |
channel | Int |
Selected Channel |
ram | Int |
Available RAM (Mb) |
radius | Int |
Neighborhood radius |
out | Output image |
Feature Output Image |
inxml | XML input parameters file |
Load otb application from xml file |
outxml | XML output parameters file |
Save otb application to xml file |
|
||
|
||
|
||
|
||
|
To run this example in command-line, use the following:
To run this example from Python, use the following code snippet:
None
This application has been written by OTB-Team.
These additional ressources can be useful for further information: