Information processing apparatus, control method for the same, and computer-readable storage medium
First Claim
1. An information processing apparatus comprising:
- a detection unit that detects, as edge pixels, a plurality of pixels in a contour of a head of a person in an image in which the head appears;
a determination unit that, for each of the edge pixels, determines, as ellipse candidates, a plurality of ellipses that pass through the edge pixel in a parameter section including predetermined parameters that define an ellipse;
a calculation unit that, for each of the edge pixels, calculates an evaluation value based on, for each of the ellipse candidates determined for the edge pixel, a position of the edge pixel in the ellipse candidate;
an accumulation unit that accumulates the evaluation values for each of the ellipse candidates; and
a selection unit that selects an ellipse candidate having the highest accumulated evaluation value from the ellipse candidates as the head ellipse.
1 Assignment
0 Petitions
Accused Products
Abstract
An information processing apparatus includes: a detection unit that detects, as edge pixels, a plurality of pixels in a contour of a head of a person in an image in which the head appears; a determination unit that, for each of the edge pixels, determines, as ellipse candidates, a plurality of ellipses that pass through the edge pixel in a parameter section including predetermined parameters that define an ellipse; a calculation unit that, for each of the edge pixels, calculates an evaluation value based on, for each of the ellipse candidates determined for the edge pixel, a position of the edge pixel in the ellipse candidate; an accumulation unit that accumulates the evaluation values for each of the ellipse candidates; and a selection unit that selects an ellipse candidate having the highest accumulated evaluation value from the ellipse candidates as the head ellipse.
-
Citations
8 Claims
-
1. An information processing apparatus comprising:
-
a detection unit that detects, as edge pixels, a plurality of pixels in a contour of a head of a person in an image in which the head appears; a determination unit that, for each of the edge pixels, determines, as ellipse candidates, a plurality of ellipses that pass through the edge pixel in a parameter section including predetermined parameters that define an ellipse; a calculation unit that, for each of the edge pixels, calculates an evaluation value based on, for each of the ellipse candidates determined for the edge pixel, a position of the edge pixel in the ellipse candidate; an accumulation unit that accumulates the evaluation values for each of the ellipse candidates; and a selection unit that selects an ellipse candidate having the highest accumulated evaluation value from the ellipse candidates as the head ellipse. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A control method for an information processing apparatus that determines, in an image in which a head of a person appears, a head ellipse approximating a contour of the head, comprising the steps of:
-
detecting, as edge pixels, a plurality of pixels in the contour of the head in the image; determining, for each of the edge pixels, as ellipse candidates, a plurality of ellipses that pass through the edge pixel in a parameter section including predetermined parameters that define an ellipse; calculating, for each of the edge pixels, an evaluation value based on, for each of the ellipse candidates determined for the edge pixel, a position of the edge pixel in the ellipse candidate; accumulating the evaluation values for each of the ellipse candidates; and selecting an ellipse candidate having the highest accumulated evaluation value from the ellipse candidates as the head ellipse.
-
-
8. A non-transitory computer-readable storage medium storing a program for causing a computer to function as the units included in an information processing apparatus comprising:
-
a detection unit that detects, as edge pixels, a plurality of pixels in a contour of a head of a person in an image in which the head appears; a determination unit that, for each of the edge pixels, determines, as ellipse candidates, a plurality of ellipses that pass through the edge pixel in a parameter section including predetermined parameters that define an ellipse; a calculation unit that, for each of the edge pixels, calculates an evaluation value based on, for each of the ellipse candidates determined for the edge pixel, a position of the edge pixel in the ellipse candidate; an accumulation unit that accumulates the evaluation values for each of the ellipse candidates; and a selection unit that selects an ellipse candidate having the highest accumulated evaluation value from the ellipse candidates as the head ellipse.
-
Specification