Depth-Difference Features

Explore one recovered numerical operation: assemble a local patch by subtracting a selected depth pixel from its neighbors.

New component translation on procedural depth arrays. No classifier training or color-to-depth inference is performed.

Procedural depth input · click a pixel

Depth-difference patch

Depth uses arbitrary units. The relief is generated geometry, not an estimated face or a camera input. Patch colors clip to ±0.5 for display.

What runs here

A new JavaScript translation translates the maintained Python neighbor-minus-center helper derived from getDiff.m. Its outputs match Python on the recorded fixtures; MATLAB runtime parity is untested. Select boundary and missing-depth pixels to inspect their different rules.

What remains unavailable

No trained random forest, calibration, paired face data or MEX helper was recovered. This component cannot estimate depth from a color photograph, recognize a face or reproduce the historical experiment.