Patent ID: 8606001

Claim:
An image processing apparatus comprising: a feature vector extraction unit that extracts feature vectors of sample pixels, for each local region including the sample pixels, in an input image; a weight calculation unit that calculates weights for the local regions on the basis of the positional relationship with the local regions, for divided regions that divide the input image; a feature distribution model calculation unit that calculates an average with weights as a feature distribution model in the local region obtained by adding the weights calculated for the local regions to the feature vectors of the local regions, for each of the divided regions; and a pixel likelihood calculation unit that calculates pixel likelihood for each pixel in the input image on the basis of the feature distribution model, wherein the feature distribution model calculation unit generates multidimensional histograms of quantized quantization vectors of the local regions, for each of the divided regions, adds the weights to the multidimensional histogram, and calculates the feature distribution model of the divided regions, and wherein at least one of the feature vector extraction unit, the weight calculation unit, the feature distribution model calculation unit, and the pixel likelihood calculation unit is implemented via a processor.