Back to Aurora Vision Library website

You are here: Start » Function Reference » Image » Image Local Transforms » StandardDeviationImage

StandardDeviationImage


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Creates image of pixels' local standard deviations.

Syntax

C++
C#
 
void avl::StandardDeviationImage
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	atl::Optional<const avl::Region&> inSourceRoi,
	const int inKernelRadius,
	avl::Image& outStdDevImage
)

Parameters

Name Type Range Default Description
Input value inImage const Image& Input image.
Input value inRoi Optional<const Region&> NIL Region of Interest.
Input value inSourceRoi Optional<const Region&> NIL Range of inImage pixels to be read
Input value inKernelRadius const int 1 - 40 4 Radius of square kernel (width and height are 2r+1).
Output value outStdDevImage Image& Resulting image.

Requirements

For input inImage only pixel formats are supported: uint8, int8, uint16, int16, real.

Read more about pixel formats in Image documentation.

Examples

Input image

Output image (with additional postprocessing: normalization)

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in StandardDeviationImage.
DomainError Not supported inImage pixel format in StandardDeviationImage. Supported formats: UInt8, Int8, UInt16, Int16, Real.