In some applications, d0=dfar where dfar is the farthest depth of a macroblock in the frame. If d0=dfar is used, the implication is that the farthest object in a scene has the least quality sensitivity. The value of dfar may be, for example, computed as the maximum of the depths of the macroblocks in a frame. In some applications, rather than using dfar, the value of d0 may be set by a user based on known characteristics of the video sequences for a particular application. In another example, video analytics may be performed as the video is captured to determine the depth range of the most visually important area in a scene and the value of d0 adapted accordingly. The values of c0 and c1 may also be adapted based on scene analysis performed by the video analytics.
Other suitable depth quality sensitivity functions may also be used that represent the sensitivity of the perceptual quality of the depth of pixels in a macroblock to the relative depth of those pixels in the frame. For example, the depth-quality senstivity function may be a multi-order polynomial function of d and d0.
Given a depth-quality sensitvity function for an MB, depth-based perceptual distortion can be modeled by