Originally reported on Google Code with ID 452
According to the final draft
of 15444-1, section F.2 (normative), the inverse wavelet transform must
use periodic symmetric extension at boundaries.
I assume that this is also required for the forward wavelet.
However, openjpeg code truncates at the boundaries:
#define OPJ_S_(i) ((i)<0?OPJ_S(0):((i)>=sn?OPJ_S(sn-1):OPJ_S(i)))
#define OPJ_D_(i) ((i)<0?OPJ_D(0):((i)>=dn?OPJ_D(dn-1):OPJ_D(i)))
Symmetric extension should reduce boundary artifacts.
Reported by boxerab on 2014-12-18 21:35:09
Originally reported on Google Code with ID 452
Reported by boxerab on 2014-12-18 21:35:09