Back to Aurora Vision Library Lite websiteYou are here:
Start »
Image »
Image Local Transforms »
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 |
|
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. |