scattering_transform
scattering_transform copied to clipboard
Generation of several images from a single one
Hi!
I am using your nice library to generate as in your tuto notebook some images from a single one. Here is one shoot

Now, I have a question as when trying to get 10 synthetics images I have first used
scattering.synthesis('s_cov', image_target, seed=1, ensemble=True, N_ensemble=10)
but get this kinds of pixel values distributions
which is clearly bad.
Then I have used this handy method
image_syn=np.zeros((10,image_target.shape[1],image_target.shape[2]))
for i in range(10):
image_syn[i] = scattering.synthesis('s_cov', image_target, seed=i)[0]
which gives nicer result as
But I get this sequential way is not optimal considering that I guess you can use batch computations in the GPU.
So I am wandering what is the correct way? Thanks.