Back to Aurora Vision Library website

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

SmoothRegion_Mean


Header: AVL.h
Namespace: avl
Module: FoundationLite

Smooths an region by averaging pixels within a rectangular kernel.

Applications: Usually used for computing features related to local image "windows". Can be also used for noise removal, but Gauss is superior here.

Syntax

C++
C#
 
void avl::SmoothRegion_Mean
(
	const avl::Region& inRegion,
	int inRadiusX,
	atl::Optional<int> inRadiusY,
	avl::Image& outImage
)

Parameters

Name Type Range Default Description
Input value inRegion const Region& Input region
Input value inRadiusX int 0 - 1 Nearly half of the kernel's width (2*R+1)
Input value inRadiusY Optional<int> 0 - NIL Nearly half of the kernel's height (2*R+1), or same as inRadiusX
Output value outImage Image& Output image

Hardware Acceleration

This operation supports automatic parallelization for multicore and multiprocessor systems.