Homec4science

Modified pmapcontrib modules to PRESERVE the coarsest level wavelet…

Authored by U No Hoo <roland.schregle@gmail.com> on Jan 15 2022, 02:36.

Description

Modified pmapcontrib modules to PRESERVE the coarsest level wavelet approximation coefficients. Tests showed that these should NOT be thresholded, nor mRGBE encoded as this introduces unacceptable compression artefacts. The approximations are now saved to the coefficient file as 32-bit RGBE before the mRGBE encoded details. In support of this, and for improved clarity, convencience macros WAVELET_PADD4_APPROXDIM, WAVELET_PADD4_NUMAPPROX and WAVELET_PADD4_NUMDETAIL were added to wavelet2.h. PMAP_CONTRIB_ENCSIZE() in pmapcontrib.h was also updated accordingly. For improved efficiency, thresholdContribs() now only sorts NONZERO detail coefficients.

Details

Committed
U No Hoo <roland.schregle@gmail.com>Jan 15 2022, 02:36
Pushed
GTJan 15 2022, 04:14
Parents
R10977:9f35cb983d38: Rename PMAP_CONTRIB_MAXBINS to PMAP_CONTIRB_MAXCOEFFS in pmapcontrib.h, since…
Branches
Unknown
Tags
Unknown