Change ImageStatistics similarly to what was done in DenoiseSHarpen: https://github.com/NatronGitHub/openfx-misc/commit/464118720cbb450e961cb240615ba560bdc400b5