Patent ID: 9230347
Filing Date: 2016-01-05
CPC Classification: G06T

Claim Text:
1. A transparency-based image processing method, comprising steps of: acquiring first simulated pixel information representing a first pixel, and acquiring first transparency information; acquiring second simulated pixel information representing a second pixel, and acquiring second transparency information; calculating third simulated pixel information representing a third pixel as a sum of a product of the first simulated pixel information times the first transparency information and a product of the second simulated pixel information times the second transparency information; and acquiring a third actual pixel by narrowing the third simulated pixel information, wherein the number of bits of the first simulated pixel information or the number of bits of the second simulated pixel information equals n+3×transparency when the number of bits of the first pixel or the number of bits of the second pixel equals n, wherein the n is a positive integer; and when 2 wherein when the number of bits of the first pixel or the number of bits of the second pixel is 16, and transparency=5, the number of bits of the first simulated pixel information or the number of bits of the second simulated pixel information is 32, and the step of acquiring the first simulated pixel information by simulating the first pixel or acquiring the second simulated pixel information by simulating the second pixel comprises: acquiring a color component R(A) of the first pixel or the second pixel by performing bit-by-bit AND of 0x1F and a value obtained by moving the first pixel or the second pixel to the right by 11 bits; acquiring a color component G(A) of the first pixel or the second pixel by performing bit-by-bit AND of 0x3F and a value obtained by moving the first pixel or the second pixel to the right by 5 bits; and acquiring a color component B(A) of the first pixel or the second pixel by performing bit-by-bit AND of 0x1F and the first pixel or the second pixel; and acquiring the first simulated pixel information or the second simulated pixel information by performing bit-by-bit OR of a value obtained by moving the color component R(A) to the left by 21 bits, a value obtained by moving the color component G(A) to the left by 10 bits, and the color component B(A), wherein the step of acquiring a third actual pixel by narrowing the third simulated pixel information comprises: acquiring an R color component R(SC) of the third simulated pixel information by performing bit-by-bit AND of 0x1F and a value obtained by moving the third simulated pixel information to the right by 26 bits; acquiring a G color component G(SC) of the third simulated pixel information by performing bit-by-bit AND of 0x3F and a value obtained by moving the third simulated pixel information to the right by 15 bits; acquiring a B color component B(SC) of the third simulated pixel information by, performing bit-by-bit AND of 0x1F and a value obtained by moving the third simulated pixel information to the right by 5 bits; and acquiring the third actual pixel by performing bit-by-bit OR of a value obtained by moving the R color component R(SC) to the left by 11 bits, a value obtained by moving the G color component G(SC) to the left by 5 bits, and the B color component B(SC).