Back to Aurora Vision Library website
You are here: Start » Function Reference » Image » Image Features » ImageStandardDeviation
![](../../img/icon/ImageProcessing.png)
ImageStandardDeviation
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationBasic |
Calculates standard deviation of image pixel values.
Syntax
C++
C#
void avl::ImageStandardDeviation ( const avl::Image& inImage, atl::Optional<const avl::Region&> inRoi, float& outStandardDeviation )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inImage | const Image& | Input image. | |
![]() |
inRoi | Optional<const Region&> | NIL | Region of Interest. |
![]() |
outStandardDeviation | float& | Calculated standard deviation. |
Description
Computes how input image pixel values are spread out.
Examples
![]() |
ImageStandardDeviation yielded 0.0 for regions 1 and 2, but 93.3 for 3.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Region exceeds an input image in ImageStandardDeviation. |