Method for adaptively selecting filters to interpolate video data
AssigneeHimax Technologies Limited
InventorYing-Ru Chen
Life of this patent
Estimating the term…
Abstract
A method for adaptively selecting filters to interpolate video data is provided. In the present method, when receiving video data encoded by a 4:2:2 sampling format, a plurality of filters having different weights are adaptively selected to convert the color components in the video data to a 4:4:4 sampling format based on the differences of luminance and color components among a target pixel and neighboring pixels thereof. Accordingly, the blurs occurred in an area with large color variation can be removed or reduced, such that the interpolated color components can be accepted by human eyes more easily.
Claims12
A method for adaptively selecting filters to interpolate video data, comprising:
- receiving the video data encoded by a 4:2:2 sampling format;
- adaptively selecting filters to convert the color components in the video data to a 4:4:4 sampling format based on differences of luminance and color components among a pixel P, a pixel P_1 on the left of the pixel P, a pixel P_2 on the left of the pixel P_1, a pixel P_3 on the left of the pixel P_2, a pixel P1 on the right of the pixel P, a pixel P2 on the right of the pixel P1, and a pixel P3 on the right of the pixel P2 in the video data, comprising:
- determining whether a difference between the color components of the pixels P1 and P_1 is larger than a first threshold;
- if larger than the first threshold, determining whether a difference between the luminances of the pixels P and P1 is smaller than a second threshold;
- if smaller than the second threshold, using a full left enhancing filter or a full right enhancing filter to convert the video data;
- if not smaller than the second threshold, using a center-to-left enhancing filter or a center-to-right enhancing filter to convert the video data;
- if not larger than the first threshold, determining whether a difference between the luminances of the pixels P and P_1 or the pixels P and P1 is larger than a third threshold;
- if larger than the third threshold, determining whether a difference between a variation of the luminances among pixels P_2 to P and a variation of the luminances among pixels P to P2 is larger than a forth threshold;
- if larger than the forth threshold, using the center-to-left enhancing filter or the center-to-right enhancing filter to convert the video data;
- if not larger than the forth threshold, using a center-to-left loosing filter or a center-to-right loosing filter to convert the video data;
- and
- if not larger than the third threshold, using a central averaging filter to convert the video.
Dependencies are inferred from the claim text.