Altera_Forum
Honored Contributor
14 years agoUnderstanding Polyphase Scaler Taps
Hi,
I am trying to understand the significance and effect of the number of taps in the polyphase filter. What does increasing the number of taps do to the scaling result? What is the difference between using a 4 tap and an 8 tap filter? If I use the default Lanczos-2 filter, the impulse response of the filter is defined over a range of [-2,2]. A 4 tap filter then basically samples this function, centered over tap 1 for phase 0. Changing to an 8-tap filter, takes the same Laczos-2 function, spreads it out to be defined over the interval [-4,4] and centered of tap 3. But this filter now has a low-pass cut-off frequency that is 1/2 of the 4 tap filter. Does spreading out the function not change the low pass cut-off frequency of the filter? So, adding more taps results in a scaler with more filtering (i.e. image blurring). A trivial example: If I set-up the scaler with a 1-1 scaling ratio, then using a 4-tap filter results in the output being exactly equal to the input. Using an 8-tap filter, the output is a slightly blurred version of the input. Is this desirable? Is there any advantage to using the Lanczos-4 function (defined over [-4,4]) without spreading in an 8-tap filter? If I have a scaler that has to scale up or down or do no scaling (SD->HD, HD->SD, HD->HD), should I have different coefficients setup for each type of scaling? Any feedback is welcome! Regards, Niki