Direkt zum Inhalt springen
Computer Vision Group
TUM Department of Informatics
Technical University of Munich

Technical University of Munich



Probabilistic Graphical Models in Computer Vision (IN2329) (2h + 2h, 5 ECTS)


Several problems in computer vision can be cast as a labeling problem. Typically, such problems arise from Markov Random Field (MRF) models, which provide an elegant framework of formulating various types of labeling problems in imaging.

By making use of certain assumptions some „nice“ MRF models can be solved in polynomial time, whereas others are NP hard. We will see both, efficient algorithms for solving the „nice“ problems and relaxation strategies for the „hard“ ones.

The following topics will be covered in this module:

Directed and undirected graphical models

  • Bayesian network
  • Markov random field
  • Conditional random field

Parameter learning for MRF and CRF models

  • Gradient based optimization
  • Stochastic gradient descent
  • Structured support vector machine

Exact MAP inference methods for MRFs

  • Belief propagation on trees: Max-sum algorithm
  • Binary graph cuts
  • Branch-and-mincut

Approximate inference methods

  • Loopy belief propagation
  • Mean field approximation
  • Graph cuts: alpha expansion, alpha-beta swap
  • Linear programming relaxations: fast primal-dual schema

Practical applications that we will cover are:

  • Binary and multi-label image segmentation
  • Human pose estimation
  • Stereo matching
  • Object detection

The course is intended for Master students.

The requirements for the class are knowledge in basic mathematics, in particular multivariate analysis and linear algebra, and in basic computer science, in particular programming skills (eg., C/C++, Matlab) and algorithms and data structures (eg., dynamic programming).


Please do not forget to register to the exam in the TUM online.

The exam will be oral.

The time slots for the exams are announced on the internal page.


Location: Room 02.09.023
Time and Date: Monday 10:15 - 12:00 (changed)
Lecturer: Dr. Csaba Domokos
Start: 24 April 2017

The lectures are held in English.


Location: Room 02.05.014
Time and Date: Monday 8:15 - 10:00 (changed)
Start: 24 April 2017

Date of Tutorial Exercise Sheet
April, 24th Exercise sheet 1
May, 8th Exercise sheet 2
May, 15th Exercise sheet 3
May, 22nd Exercise sheet 4
May, 29th Exercise sheet 5
June, 12th Exercise sheet 6
June, 19th Exercise sheet 7
June, 26th Exercise sheet 8
July, 3rd Exercise sheet 9
July, 10th Exercise sheet 10
July, 17th Exercise sheet 11
July, 31st Exercise sheet 12
Internal page

Solution sheets and extra announcements can be accessed here.

The password will be presented in the first lecture.

  • D. Koller, N. Friedman. Probabilistic Graphical Models: Principles and Techniques, MIT Press, 2009.
  • S. Nowozin, C. H. Lampert. Structured Learning and Prediction in Computer Vision, Foundations and Trends in Computer Graphics and Vision, 2011. Download
  • A. Blake, P. Kohli, C. Rother. Markov Random Fields for Vision and Image Processing, MIT Press, 2011.

Rechte Seite

Informatik IX
Chair of Computer Vision & Artificial Intelligence

Boltzmannstrasse 3
85748 Garching info@vision.in.tum.de

Follow us on:
CVG Group DVL Group



In April 2022 Jürgen Sturm, Christian Kerl and Daniel Cremers were featured among the top 10 most influential scholars in robotics of the last decade.


We have open PhD and postdoc positions! To apply, please use our application form.


We have six papers accepted to CVPR 2022 in New Orleans!


We have two papers accepted to ICRA 2022 - congrats to Lukas von Stumberg, Qing Cheng and Niclas Zeller!