Skip to content

basics · trimap calibration WASM q8 · 27.5 MB size_divisibility: 32

Trimap Band Width & Alpha Calibration Studio

Explore how unknown-band width (8–48 px) and working resolution (384–768 px) shape ViTMatte's 4-channel [1, 4, H_pad, W_pad] tensor, then fine-tune low/high clip, edge gamma, and strict trimap clamping at 0 ms without re-running inference.

Band Width, Padding & Live Alpha Calibration

Loading sample photo…

Channel 4 · Trimap

–

Raw Predicted Alpha

Awaiting inference…

Calibrated Cutout Preview

Live 0 ms update
Working → Padded–
4-Ch Tensor–
Inference–
Trimap Unknown–
Raw Soft Edge–
Calibrated Soft–
Unknown-Band Soft–

Raw Alpha Histogram

16 bins

Calibrated Alpha Histogram

Live 0 ms
Band-width ablation sweep (Tight 10 px vs Balanced 22 px vs Wide 40 px)
Band Width 4-Ch Input Dims Unknown Share Solid FG Soft Edge Mean Alpha Latency
Press “Sweep 10 / 22 / 40 px Bands” to compare tight vs wide unknown bands empirically.

See inside the calibration

Show the code — live 0 ms alpha clip, gamma, and trimap clamp