Learning method for classifiers, apparatus, and program for discriminating targets
False positive detection of discrimination targets within images is reduced, while detection processes are accelerated. A partial image generating means generates a plurality of partial images by scanning a subwindow over an entire image. A candidate classifier judges whether each of the partial images represent a face (discrimination target), and candidate images that possibly represent faces are detected. A discrimination target discriminating means judges whether each of the candidate images represents a face. The candidate classifier has performed learning, employing reference sample images and in-plane rotated sample images.
1 . A learning method for a classifier that employs a plurality of discrimination results obtained by a plurality of weak classifiers to perform final discrimination regarding whether an image represents a discrimination target, comprising the steps of:
learning reference sample images of the discrimination target, in which the discrimination targets are facing a predetermined direction; and
learning in-plane rotated sample images of the discrimination target, in which the discrimination targets are rotated within the plane of the reference sample images.
2 . A learning method for a classifier as defined in claim 1 , further comprising the step of:
learning out-of-plane rotated sample images of the discrimination target, in which the direction that the discrimination targets are facing in the reference sample images is rotated.
3 . A target discriminating apparatus, comprising:
partial image generating means, for scanning a subwindow of a set number of pixels over an entire image to generate partial images;
candidate detecting means, for judging whether the partial images generated by the partial image generating means represents a discrimination target, and detecting partial images which possibly represent the discrimination target as candidate images; and
discrimination target judging means, for judging whether the candidate images detected by the candidate detecting means represent the discrimination target;
the candidate detecting means being equipped with a candidate classifier that employs a plurality of discrimination results obtained by a plurality of weak classifiers to perform final discrimination regarding whether the partial images represent the discrimination target; and
the candidate classifier learning reference sample images of the discrimination target, in which the discrimination targets are facing a predetermined direction, and in-plane rotated sample images of the discrimination target, in which the discrimination targets are rotated within the plane of the reference sample images.
4 . A target discriminating apparatus as defined in claim 3 , wherein the candidate classifier further learns:
out-of-plane rotated sample images of the discrimination target, in which the direction that the discrimination targets are facing in the reference sample images is rotated; and
out-of-plane in-plane rotated sample images of the discrimination target, in which the discrimination targets within the out-of-plane rotated sample images are rotated within the plane of the images.
5 . A target discriminating apparatus as defined in claim 3 , wherein:
the plurality of weak classifiers are arranged in a cascade structure; and
judgment is performed by downstream weak classifiers on partial images, which have been judged to represent the discrimination target by an upstream weak classifier.
6 . A target discriminating apparatus as defined in claim 4 , wherein:
the candidate classifier learns a plurality of in-plane rotated sample images having different angles of rotation, and a plurality of out-of-plane rotated sample images having different angles of rotation.
7 . A target discriminating apparatus as defined in claim 4 , wherein the candidate detecting means comprises a candidate narrowing means, for narrowing a great number of candidate images judged by the candidate classifier to a smaller number of candidate images, the candidate narrowing means comprising:
an in-plane rotated classifier, having a plurality of weak classifiers which have learned the reference sample images and the in-plane rotated sample images; and
an out-of-plane rotated classifier, having a plurality of weak classifiers which have learned the reference sample images and the out-of-plane rotated sample images.
8 . A target discriminating apparatus as defined in claim 7 , wherein:
the candidate detecting means comprises a plurality of the candidate narrowing means having cascade structures;
each candidate narrowing means is equipped with the in-plane rotated classifier and the out-of-plane rotated classifier; and
the angular ranges of the discrimination targets within the partial images capable of being discriminated by the in-plane rotated classifiers and the out-of-plane rotated classifiers are narrower from the upstream side to the downstream side of the cascade.
9 . A program that causes a computer to function as:
partial image generating means, for scanning a subwindow of a set number of pixels over an entire image to generate partial images;
candidate detecting means, for judging whether the partial images generated by the partial image generating means represents a discrimination target, and detecting partial images which possibly represent the discrimination target as candidate images; and
discrimination target judging means, for judging whether the candidate images detected by the candidate detecting means represent the discrimination target;
the candidate detecting means being equipped with a candidate classifier that employs a plurality of discrimination results obtained by a plurality of weak classifiers to perform final discrimination regarding whether the partial images represent the discrimination target; and
the candidate classifier learning reference sample images of the discrimination target, in which the discrimination targets are facing a predetermined direction, and in-plane rotated sample images of the discrimination target, in which the discrimination targets are rotated within the plane of the reference sample images.
10 . A computer readable medium having recorded therein a program that causes a computer to function as:
partial image generating means, for scanning a subwindow of a set number of pixels over an entire image to generate partial images;
candidate detecting means, for judging whether the partial images generated by the partial image generating means represents a discrimination target, and detecting partial images which possibly represent the discrimination target as candidate images; and
discrimination target judging means, for judging whether the candidate images detected by the candidate detecting means represent the discrimination target;
the candidate detecting means being equipped with a candidate classifier that employs a plurality of discrimination results obtained by a plurality of weak classifiers to perform final discrimination regarding whether the partial images represent the discrimination target; and
the candidate classifier learning reference sample images of the discrimination target, in which the discrimination targets are facing a predetermined direction, and in-plane rotated sample images of the discrimination target, in which the discrimination targets are rotated within the plane of the reference sample images.