Back to Adaptive Vision Library website

You are here: Start » Function Reference » Texture Analysis » StandardDeviationImage

StandardDeviationImage


Creates image of pixels' local standard deviations.

Header:AVL.h

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

Input image

Output image (with additional postprocessing: normalization)