1. An image processing apparatus comprising: an accepting unit that accepts a set of feeling expressions representing texture factors; a calculation unit that calculates posterior probabilities which are event probabilities for events by using likelihoods and prior probabilities, the event probabilities corresponding to the set of feeling expressions, the likelihoods indicating probabilities that each of the feeling expressions is selected for an event selected from the events, the prior probabilities indicating probabilities that each of the events is selected; a coefficient setting unit that sets coefficients for image processing from the posterior probabilities; and a processor that performs processing on a given image in accordance with the coefficients which have been set.