Method and apparatus for facial image processing
First Claim
Patent Images
1. A method, comprising:
- performing face detection of an image;
obtaining a coarse face segmentation region of at least one face and a contour edge of the at least one face based on the face detection;
searching the contour edge within a preset position adjusting range in a lateral or longitudinal direction to locate a plurality of updated contour edge points, wherein the preset position adjusting range is based upon a two dimensional coordinate of (x,y) and includes a lateral search range of (x−
δ
, x+δ
) and a longitudinal search range of (y−
δ
, y+δ
), wherein δ
varies from one two dimensional coordinate to another, and wherein δ
is selected so as to define a weight of contour edge information; and
adjusting the coarse face segmentation region based on the contour edge, the weight of the contour edge information as defined by δ
, and the plurality of updated contour edge points to obtain a fine face segmentation region.
3 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides a method for image processing, a corresponding apparatus and a computer program product. The method comprises performing face detection of an image, obtaining a coarse face segmentation region of at least one face and a contour edge of the at least one face based on the face detection; and adjusting the coarse face segmentation region based on the contour edge to obtain a fine face segmentation region. By using the method, corresponding apparatus and computer program product of the present invention, the coarse face region in an image can be precisely segmented, which provides a good basis for the subsequent image processing based on the fine face segmentation region.
18 Citations
27 Claims
-
1. A method, comprising:
-
performing face detection of an image; obtaining a coarse face segmentation region of at least one face and a contour edge of the at least one face based on the face detection; searching the contour edge within a preset position adjusting range in a lateral or longitudinal direction to locate a plurality of updated contour edge points, wherein the preset position adjusting range is based upon a two dimensional coordinate of (x,y) and includes a lateral search range of (x−
δ
, x+δ
) and a longitudinal search range of (y−
δ
, y+δ
), wherein δ
varies from one two dimensional coordinate to another, and wherein δ
is selected so as to define a weight of contour edge information; andadjusting the coarse face segmentation region based on the contour edge, the weight of the contour edge information as defined by δ
, and the plurality of updated contour edge points to obtain a fine face segmentation region. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13)
-
-
14. An apparatus, comprising:
-
at least one processor and at least one memory containing computer program code; the processor and the memory are configured to, with the processor, cause the apparatus to at least; perform face detection of an image; obtain a coarse face segmentation region of at least one face and a contour edge of the at least one face based on the face detection; search the contour edge within a preset position adjusting range in a lateral or longitudinal direction to locate a plurality of updated contour edge points, wherein the preset position adjusting range is based upon a two dimensional coordinate of (x, y) and includes a lateral search range of (x−
δ
, x+δ
) and a longitudinal search range of (y−
δ
, y+δ
), wherein δ
varies from one two dimensional coordinate to another, and wherein δ
is selected so as to define a weight of contour edge information; andadjust the coarse face segmentation region based on the contour edge, the weight of the contour edge information as defined by δ
, and the plurality of updated contour edge points to obtain a fine face segmentation region. - View Dependent Claims (15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26)
-
-
27. A non-transitory computer program product comprising at least one computer-readable storage medium having computer-executable program code portions stored therein, the computer-executable program code portions comprising:
-
program code instructions causing performing face detection of an image; program code instructions causing obtaining a coarse face segmentation region of at least one face and a contour edge of the at least one face based on the face detection; program code instructions causing searching the contour edge within a preset position adjusting range in a lateral or longitudinal direction to locate a plurality of updated contour edge points, wherein the preset position adjusting range is based upon a two dimensional coordinate of (x, y) coarse face segmentation region and includes a lateral search range of (x−
δ
, x+δ
) and a longitudinal search range of (y−
δ
, y+δ
), wherein δ
varies from one two dimensional coordinate to another, and wherein δ
is selected so as to define a weight of contour edge information; andprogram code instructions causing adjusting the coarse face segmentation region based on the contour edge, the weight of the contour edge information as defined by δ
, and the plurality of updated contour edge points to obtain a fine face segmentation region.
-
Specification