1. A method comprising: selecting one or more neighboring pixels sets, neighboring an un-encoded block of pixels in an image undergoing intraframe prediction; determining an activity measure associated with the neighboring sets of pixel sets and their corresponding variability; selecting interpolation filters for filtering at least a portion of the one or more neighboring sets of pixel sets in accordance with the activity measure wherein each additional interpolation filter is selected if the activity measure for a previous filter does not satisfy a threshold from a plurality of thresholds; and applying the selected interpolation filters to the one or more neighboring pixel sets to obtain a prediction block corresponding to the un-encoded block of pixels.