| synopsis || return value || arguments || prev || next |

kdu_kernels::get_impulse_response

float * get_impulse_response( kdu_kernel_type which, int & half_length)

[Declared in "../coresys/common/kdu_kernels.h"]

Go to class description.


Synopsis

Returns the equivalent linearized impulse responses of the symmetric odd length DWT kernels.


Return Value

An array of L+1 filter taps, starting from the central tap of the symmetric length 2L+1 impulse response and continuing to the tail. The other L taps may be deduced, if necessary, from the symmetry properties.

Arguments

which [kdu_kernel_type]

Indicates which impulse response is required (analysis or synthesis, low- or high- pass). Valid values are KDU_ANALYSIS_LOW, KDU_ANALYSIS_HIGH, KDU_SYNTHESIS_LOW and KDU_SYNTHESIS_HIGH.

half_length [int &]

Used to return the value of the length parameter, L, such that the relevant impulse response has length 2L+1.


| top || synopsis || return value || arguments || prev || next |