1. An estimating apparatus comprising: an acquiring unit configured to acquire an image; a feature extracting unit configured to extract human features from the image; a first likelihood calculating unit configured to calculate, from the feature quantity of first likelihoods which indicate degrees that the feature quantity belongs to for respective attribute classes formed with segments of consecutive attribute values relating to the person; (1) a second likelihood calculating unit configured to calculate second likelihoods for the respective attribute classes from the first likelihoods for the respective attribute classes and (2) add the first likelihood of a target class as the attribute class for calculating the second likelihood and the first likelihoods of selected classes which are the attribute classes near the target class to calculate the second likelihood of the target class; a specifying unit configured to specify the attribute class having the highest second likelihood from among the second likelihoods for the respective attribute classes; an attribute value calculating unit configured to calculate an estimated attribute value of the specific attribute class and estimated attribute values of the selected classes when setting the specific attribute class as the target class respectively by using the feature quantity; and an integrating unit configured to apply the second likelihood of the specific attribute class on the estimated attribute value of the specific attribute class as a weight, apply the second likelihoods of the selected classes on the estimated attribute values of the selected classes as a weight and add the same, and calculate a corrected attribute value of the specific attribute class.