Certain aspects of a method and system for automatically turning off motion compensation when motion vectors are inaccurate may include determining quality of a plurality of generated motion vectors. The interpolation of a plurality of output pictures may be controlled based on the determined quality. A plurality of original input pictures may be interpolated when the determined quality of the plurality of generated motion vectors is below a threshold value. A plurality of motion compensated pictures may be interpolated when the determined quality of the plurality of generated motion vectors is above a threshold value. A reduced interpolation mode may be utilized if a generated cut-off value is less than an entry threshold value and/or above an exit threshold value.
Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for processing video data, the method comprising: determining quality of a plurality of generated motion vectors to decide whether to turn on or off motion compensation, said determining comprising: selecting a motion vector from said plurality of generated motion vectors based on a calculated cost for performing motion compensation along each of said plurality of generated motion vectors; selecting a plurality of motion compensated pixels corresponding to said selected motion vector; generating a histogram comprising a plurality of threshold values based on a calculated difference between said selected plurality of motion compensated pixels to determine said quality of said plurality of generated motion vectors; controlling interpolation based on said determined quality; and generating a plurality of output pictures based on said determined quality.
2. The method according to claim 1 , comprising interpolating a plurality of input pictures when said determined quality of said plurality of generated motion vectors is below a threshold value.
3. The method according to claim 1 , comprising interpolating a plurality of motion compensated pictures when said determined quality of said plurality of generated motion vectors is above a threshold value.
4. The method according to claim 1 , wherein said generated motion vectors comprises one or more of: forward motion vectors, backward motion vectors and/or pivot pixel motion vectors corresponding to each pixel in said plurality of output pictures.
5. The method according to claim 1 , comprising adjusting said plurality of threshold values based on said calculated difference between said selected plurality of motion compensated pixels.
6. The method according to claim 5 , comprising generating a shut-off value based on comparison of a generated histogram cut-off value with one or more cut-off threshold values to control said interpolation.
7. The method according to claim 6 , comprising generating a plurality of motion compensated interpolated pictures based on said calculated difference between said selected plurality of motion compensated pixels and generating said plurality of output pictures based on filtering said generated shut-off value, said interpolated plurality of motion compensated pictures and a repeated pixel value.
8. The method according to claim 7 , wherein said repeated pixel value is equal to a non-motion compensated pixel from a previous input picture when a distance between said previous input picture and one or more of said interpolated plurality of motion compensated pictures is less than a fractional threshold value.
9. The method according to claim 7 , wherein said repeated pixel value is equal to a non-motion compensated pixel from a next input picture when a distance between said previous input picture and one or more of said interpolated plurality of motion compensated pictures is not less than said fractional threshold value.
10. The method according to claim 1 , comprising generating a cut-off value based on said generated histogram.
11. The method according to claim 10 , comprising interpolating a subset of said plurality of motion compensated pictures when said generated cut-off value is below an entry threshold value and/or above an exit threshold value.
12. A system for processing video data, the system comprising: one or more circuits that enables determination of quality of a plurality of generated motion vectors to decide whether to turn on or off motion compensation; said one or more circuits enables said determination of quality by: selecting of a motion vector from said plurality of generated motion vectors based on a calculated cost for performing motion compensation along each of said plurality of generated motion vectors; selecting a plurality of motion compensated pixels corresponding to said selected motion vector; generating a histogram comprising a plurality of threshold values based on a calculated difference between said selected plurality of motion compensated pixels to determine said quality of said plurality of generated motion vectors; controlling interpolation based on said determined quality; and said one or more circuits enables generation of a plurality of output pictures based on said determined quality.
13. The system according to claim 12 , wherein said one or more circuits enables interpolation of a plurality of input pictures when said determined quality of said plurality of generated motion vectors is below a threshold value.
14. The system according to claim 12 , wherein said one or more circuits enables interpolation of a plurality of motion compensated pictures when said determined quality of said plurality of generated motion vectors is above a threshold value.
15. The system according to claim 12 , wherein said generated motion vectors comprises one or more of: forward motion vectors, backward motion vectors and/or pivot pixel motion vectors corresponding to each pixel in said plurality of output pictures.
16. The system according to claim 12 , wherein said one or more circuits enables generation of a shut-off value based on comparison of a generated histogram cut-off value with one or more cut-off threshold values to control said interpolation.
17. The system according to claim 16 , wherein said one or more circuits enables generation of a plurality of motion compensated interpolated pictures based on said calculated difference between said selected plurality of motion compensated pixels and generation of said plurality of output pictures based on filtering said generated shut-off value, said interpolated plurality of motion compensated pictures and a repeated pixel value.
18. The system according to claim 12 , wherein said one or more circuits enables generation of a cut-off value based on said generated histogram.
19. The system according to claim 18 , wherein said one or more circuits enables interpolation of a subset of said plurality of motion compensated pictures when said generated cut-off value is below an entry threshold value and/or above an exit threshold value.
Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.
November 7, 2007
January 15, 2013
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.