1. A method comprising: facilitating receipt of a first image and a second image of a scene, the first image and the second image being different view images of the scene; determining a cost volume between the first image and the second image for a set of foreground labels and a set of background labels, the cost volume comprising matching costs of pixels in the first image and corresponding pixels in the second image for the set of foreground labels and for the set of background labels; determining a reduced cost volume from the cost volume, the reduced cost volume comprising matching costs of the pixels in the first image and the corresponding pixels in the second image for the set of foreground labels and for a background label of the set of background labels, wherein a matching cost of an individual pixel of pixels in the first image and a corresponding pixel of the individual pixel in the second image for the background label comprises a minimum matching cost from a set of matching costs of the individual pixel for the set of background labels; and generating a disparity map by performing at least a cost aggregation of the reduced cost volume in the first image and the second image.