FilterNoiseSetMode_EC

Sets type of the smoothing filter.

Syntax

IppStatus ippsFilterNoiseSetMode_EC_32f(IppsNrSmoothMode mode, IppsFilterNoiseState_EC_32f* pNRStateMem);

Parameters

mode

Specifies the smoothing mode; possible values are: ippsNrSmoothDynamic, ippsNrSmoothStatic, ippsNrSmoothOff.

pNRStateMem

Pointer to the filter state structure.

Description

The function ippsFilterNoiseSetMode_EC is declared in the ippsc.h file.

The function sets the type of smoothing filter that is applied by the function ippsFilterNoise_ECippsFilterNoise_EC to denoise a signal. A smoothing filter is chosen from the predefined filter bank depending on the mode value.

ippsNrSmoothDynamic - smoothing filter is chosen dynamically depending on the input SNR. The bigger SNR the wider window is used for smoothing.

ippsNrSmoothStatic - default smoothing filter is applied.

ippsNrSmoothOff - denoising without smoothing, preferable for signal with low level of noise.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when the pNRStateMem pointer is NULL.

ippStsBadArgErr

Indicates an error when mode has an illegal value.

Submit feedback on this help topic

Copyright © 2000 - 2010, Intel Corporation. All rights reserved.