supervision-js
    Preparing search index...

    Variable DepthSamplingConst

    DepthSampling: { Auto: "auto"; Nearest: "nearest"; EdgeAware: "edge-aware" }

    How a depth map is sampled where one map pixel does not cover one media pixel.

    Type Declaration

    • ReadonlyAuto: "auto"

      Nearest when the map is at least media size, edge-aware otherwise.

    • ReadonlyNearest: "nearest"
    • ReadonlyEdgeAware: "edge-aware"

      Bilinear over valid neighbours only, falling back to the nearest one across a depth edge, so objects never bleed into the background.