发明名称 |
Method for image data compression of image block |
摘要 |
A method for image data compression of a to-be-encoded image block includes: determining one of a plurality of preset encoding modes as an encoding mode based upon attributes of pixels of the to-be-encoded image block; and compressing image data of the to-be-encoded image block according to the encoding mode thus determined so as to obtain encoded data. |
申请公布号 |
US8983212(B2) |
申请公布日期 |
2015.03.17 |
申请号 |
US201313785581 |
申请日期 |
2013.03.05 |
申请人 |
ILI Technology Corporation |
发明人 |
Tsai Ming-Yu;Wang Chien-Kuo;Kuan Chen-Ting |
分类号 |
G06K9/36;G06T9/00 |
主分类号 |
G06K9/36 |
代理机构 |
Steptoe & Johnson LLP |
代理人 |
Steptoe & Johnson LLP |
主权项 |
1. A method for image data compression of a to-be-encoded image block, comprising:
A) determining, using a pre-detection module, one of a plurality of preset encoding modes as an encoding mode based upon attributes of pixels of the to-be-encoded image block; and B) compressing, using a compression processing module, image data of the to-be-encoded image block according to the encoding mode determined in step A) so as to obtain encoded data; wherein: in step A), the preset encoding modes include a first encoding mode and a second encoding mode, said step A) including:
A1) determining if the first encoding mode is suitable to serve as the encoding mode; andA2) determining if the second encoding mode is suitable to serve as the encoding mode if it is determined in sub-step A1) that the first encoding mode is unsuited to serve as the encoding mode; and one of the first encoding mode and the second encoding mode is a first edge encoding mode, and one of sub-steps A1) and A2) corresponding to the first edge encoding mode includes:
a-1) dividing the pixels of the to-be-encoded image block into two first pixel groups by applying one of a plurality of first preset masks, each of the first pixel groups including at least one of the pixels of the to-be-encoded image block;a-2) obtaining at least one first pixel difference by:
obtaining an average pixel value of the pixels for each of the first pixel groups having at least two pixels;calculating a first absolute difference between the average pixel value and each of the pixels for each of the first pixel groups having at least two pixels; andobtaining the first pixel difference according to the first absolute differences obtained from each of the first pixel groups having at least two pixels;a-3) repeating sub-steps a-1) and a-2) while applying another one of the first preset masks until all of the first preset masks have been applied; anda-4) determining if the first edge encoding mode is suitable to serve as the encoding mode based on the first pixel differences obtained in sub-step a-2). |
地址 |
Jhubei TW |