scattering_transform icon indicating copy to clipboard operation
scattering_transform copied to clipboard

s_mean is scattering/__init__.py

Open jecampagne opened this issue 2 years ago • 0 comments

Hello In the scattering/init.py file there are calls to st_calc.scattering_coefwith flatten argument, although it rises an exception that there is no flatten argument. I guess it was an old version of the scattering_coef function.

        if estimator_name=='s_mean_iso':
            func_s = lambda x: st_calc.scattering_coef(x, flatten=True)['for_synthesis_iso']
        if estimator_name=='s_mean':
            func_s = lambda x: st_calc.scattering_coef(x, flatten=True)['for_synthesis']

BTW I was wandering to use this s_mean factor in the synthesis

  • to practice the change of coeff scale to show the effect on the image synthetised
  • to use both s_cov and s_mean for syntheis What do you think? Is it possible?

Thanks.

jecampagne avatar Apr 29 '23 08:04 jecampagne