# LocalStatisticExtraction

## Brief Description

Computes local statistical moments on every pixel in the selected channel of the input image

## Tags

Statistics,Feature Extraction

## Long Description

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.

## Parameters

- [param] -in <string> The input image to compute the features on.. Mandatory: True. Default Value: ""
- [param] -channel <int32> The selected channel index. Mandatory: True. Default Value: "1"
- [param] -ram <int32> Available memory for processing (in MB). Mandatory: False. Default Value: "128"
- [param] -radius <int32> The computational window radius.. Mandatory: True. Default Value: "3"
- [param] -out <string> Output image containing the local statistical moments.. Mandatory: True. Default Value: ""
- [param] -inxml <string> Load otb application from xml file. Mandatory: False. Default Value: ""
- [param] -outxml <string> Save otb application to xml file. Mandatory: False. Default Value: ""

## Limitations

None

## Authors

OTB-Team

## See Also

otbRadiometricMomentsImageFunction class

## Example of use

- in: qb_RoadExtract.tif

- channel: 1

- radius: 3

- out: Statistics.tif