wai-rs: jpegai_icci — the Haar wavelet domain of the eICCI post-filter #13
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/jpegai-dwt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
First piece of eICCI, the last unported JPEG-AI decode stage. Its CNN operates in a wavelet domain rather than on pixels; this lands that transform.
A Haar wavelet on 2x2 blocks with 1/2 scaling, two levels:
[1,H,W]→[4,H/2,W/2]→[16,H/4,W/4]. Stacking the three planes gives the 48 channels the network first conv consumes.Perfect reconstruction:
LL-HL-LH+HH = 4a, so the inverse recovers each sample exactly. Channel layout matches the reference cat order.Unit tests: hand-checked 2x2 block,
idwt∘dwt = id, two-level round-trip + 16-band shape, and the 48-channel stack.dcharlot referenced this pull request2026-11-06 13:54:17 -05:00