Back to Aurora Vision Library Lite website

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

SmoothImage_Deriche


Header: AVL.h
Namespace: avl

Smooths an image using Deriche filter.

Applications: Approximation of the gaussian filter, which can be faster for large kernels.

Syntax

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
Input value inImage const Image& Input image
Input value inRoi Optional<const Region&> NIL Range of output pixels to be computed
Input value inAlphaX const float 0.001 - 0.5f Horizontal coefficient
Input value inAlphaY Optional<float> 0.001 - NIL Vertical coefficient
Output value 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.