1. Method for generating an intermediate view on the basis of left and right views of a 3D picture and a disparity map, the method comprising: using pixel information contained in the left and right views and the disparity map for creating the intermediate view, identifying occlusion pixels in the created intermediate view, and filling each of the occlusion pixels with information calculated from values of a plurality of adjacent pixels, wherein said adjacent pixels are a number of n pixels in a line (indicated by a filter aperture), wherein the values of said n pixels are filtered to obtain a new single value which is assigned to the occlusion pixel, wherein each value of said n pixels is filtered individually using an individual pre-stored filter coefficient of a filter coefficient set, wherein a plurality of filter coefficient sets is stored in a look-up table, wherein the filter coefficient set to be used for filtering is determined on the basis of the values of a number w of pixels, wherein said plurality of filter coefficient sets in the look-up table are obtained by a trainings process, and wherein said number of w pixels used for classifying and the number of n pixels used for filtering are equal, and applying an ADRC (adaptive dynamic ranging coding) function for classifying the values of the w pixels.