Skip to main content

Function: visualizeDepthMap()

visualizeDepthMap(depthArray, width, height): void

Defined in: src/depth/DepthDebugUtils.ts:25

Generates a visual representation of a depth map, normalized to 0-1 range, and triggers a download for debugging.

Parameters

depthArray

DepthArray

The raw depth data array.

width

number

The depth map width in pixels.

height

number

The depth map height in pixels.

Returns

void