Hi Fabrizio,
Such details are not mentioned in the lecture, but if you are curious then you can have a look at the paper cited below in the slides. The mentioned paper is the following: https://infoscience.epfl.ch/record/64566?ln=en
The method mentioned in the paper is first merging of disparity maps, then using a variational approach.
Best,
Semih