Back to FabImage Library website
You are here: Start » Function Reference » Image » Image Features » ImageStandardDeviation

ImageStandardDeviation
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Calculates standard deviation of image pixel values.
Syntax
C++
C#
void fil::ImageStandardDeviation ( const fil::Image& inImage, ftl::Optional<const fil::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. |