There are three main types of computer vision models:
1. Discriminative models directly model the posterior Pr(w|x). Inference is straightforward by evaluating this distribution.
2. Generative models model the joint distribution Pr(x,w) or likelihood Pr(x|w). Inference requires more complex calculations using Bayes' rule.
3. For regression problems where the world state w is continuous, discriminative models like linear regression directly model Pr(w|x). For classification where w is discrete, discriminative models like logistic regression model the probability of each class. Generative classification models are difficult to construct.