Patent Document ID: 9781400
Application ID: 15065061
Patent Status: 1

Claim One:
1. An image processing method, comprising: creating a trimap value for each point of a plurality of points in a target image; creating a transparency mask for each point in the target image according to its corresponding trimap value, wherein the transparency mask for an i th point in the target image is the corresponding trimap value for that point when the corresponding trimap value is a first value or a second value, and wherein the transparency mask for the i th point is a weighted average of luminance components of a plurality of points in the neighborhood of the i th point when the corresponding trimap value is a third value; determining a boundary point of a plurality of m boundary points as a point that is in the target image and whose transparency mask value meets a preset threshold condition; acquiring a color component of a non-boundary point in j th area, wherein the j th area is a neighborhood of the j th boundary point in the m boundary points, and wherein 1≦j≦m; and performing synthesis processing according to the color component of the non-boundary point in the j th area to obtain a color component of the j th boundary point.