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 | |
---|---|---|---|---|---|
inImage | const Image& | Input image. | |||
inRoi | Optional<const Region&> | NIL | Region of Interest. | ||
inSourceRoi | Optional<const Region&> | NIL | Range of inImage pixels to be read | ||
inKernelRadius | const int | 1 - 40 | 4 | Radius of square kernel (width and height are 2r+1). | |
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
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. |