Back to Adaptive Vision Library website

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

SmoothImage_Deriche


Header:AVL.h
Namespace:avl

Smooths an image using Deriche filter.

Syntax

C++
C#
 
void avl::SmoothImage_Deriche
(
	const avl::Image& inImage,
	atl::Optional<const avl::Region&> inRoi,
	const float inAlphaX,
	atl::Optional<float> inAlphaY,
	avl::Image& outImage
)

Parameters

Name Type Range Default Description
inImage const Image& Input image
inRoi Optional<const Region&> NIL Range of output pixels to be computed
inAlphaX const float 0.001 - 0.5f Horizontal coefficient
inAlphaY Optional<float> 0.001 - NIL Vertical coefficient
outImage Image& Output image

Hints

  • To make smoothing stronger, decrease the inAlphaX and - optionally - inAlphaY.
  • If the smoothing kernel is not very big, it is recommended to use SmoothImage_Gauss instead.

Examples

SmoothImage_Deriche performed on a sample image with inAlphaX = 0.5.

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.

Errors

List of possible exceptions:

Error type Description
DomainError Region exceeds an input image in SmoothImage_Deriche.