Back to Aurora Vision Library Lite website
You are here: Start » Image » Image Local Transforms » SmoothRegion_Mean
SmoothRegion_Mean
Header: | AVL.h |
---|---|
Namespace: | avl |
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
void avl::SmoothRegion_Mean ( const avl::Region& inRegion, int inRadiusX, atl::Optional<int> inRadiusY, avl::Image& outImage )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | const Region& | Input region | |||
inRadiusX | int | 0 - | 1 | Nearly half of the kernel's width (2*R+1) | |
inRadiusY | Optional<int> | 0 - | NIL | Nearly half of the kernel's height (2*R+1), or same as inRadiusX | |
outImage | Image& | Output image |
Hardware Acceleration
This operation supports automatic parallelization for multicore and multiprocessor systems.