Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Features » ImageStandardDeviation

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
Input value inImage const Image& Input image.
Input value inRoi Optional<const Region&> NIL Region of Interest.
Output value 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.