Repeated 2D wavelet synthesis while exchanging only a fraction of the wavelet coefficients.
I am using waverec2
to compute the synthesis of a very large coefficient vector several times. E.g., I exchange only 100 out of 70,000 coefficients in each iteration and do this 10 times. In the next iteration, I exchange (randomly selected) 100 other coefficients and so on.
Is there a way to speed up this procedure in each iteration by keeping the information of the reconstructed image that depends only on the coefficients that are not changed? I am not an expert in discrete fast wavelet transform and therefore, some trick without intensive manipulation of the basic code would be great.