Local foreground RGB refinement and alpha compositing. The tiled two-stage box-filter implementation in background-refine.ts follows the formulation in BiRefNet image_proc.py (MIT, Copyright (c) 2024 ZhengPeng). https://github.com/ZhengPeng7/BiRefNet/blob/main/image_proc.py The original BiRefNet MIT license is preserved as LICENSE.txt in this directory. Method reference: Marco Forte, Approximate Fast Foreground Colour Estimation, ICIP 2021, https://github.com/Photoroom/fast-foreground-estimation The new TypeScript implementation uses bounded tile buffers and modifies only translucent-edge RGB. It does not change alpha or synthesize missing strands. Natural/Clean/Hard edge shaping matches the desktop application's policies. No model was retrained or fine-tuned by this update.