You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to solve an implementation of the space-variant deconvolution algorithm presented in Flicker & Rigaut (2005) and reviewed here.
I have PSFs sampled over the field, which are centered and stacked in a matrix, of which we compute the SVD to get weights and kernels that form the low-rank approximation of the spatially varying blur forward model. (Image, im, weights, W, and kernels, U, are each vectors in R^n, n=1e7 (image of ~10million pixels)).
I construct my problem like shown below, but objective does not converge but increases without bounds. Also, FISTA seems to be taking really long >4min for just 2 iterations.
Can you please help check if I'm formulating the problem correctly, including forward, adjoint, TV prior, initialization and solver?
P.S. I'm running Python 3.10.1 on a macOS Ventura on an M1 Max 64GB RAM
Image size: I've updated the code with Sample data matrices, im, U, W. My image flattened has ~10M pixels (3.8kx2.7k).
TV norm: Do you suggest that I omit the iterations from TV norm? What is the default or min. suggested iterations for it? Sorry I don't understand the role of the iterations.
Tau value: Currently, I'm just hand-waving the value of tau in the absence of logical intuition for its value. Thought it should be a small value, but once I start seeing convergence, I can play with it to fine tune. Do you suggest ways to come up with this value?
Weight terms: I do have the weight term in the forward function, defined by W. I couldn't find out how to pass in arguments to the forward and adjoint functions, so I assumed that these, U and W, are globally defined variables. Can you please comment on how to pass the arguments to the forward function?
Hi @nperraud, following up on this. And I've also created a pull requested with my code in test_deconv_sv_psf.py under the examples folder. Would you please help me troubleshoot it?
I'm trying to solve an implementation of the space-variant deconvolution algorithm presented in Flicker & Rigaut (2005) and reviewed here.
I have PSFs sampled over the field, which are centered and stacked in a matrix, of which we compute the SVD to get weights and kernels that form the low-rank approximation of the spatially varying blur forward model. (Image, im, weights, W, and kernels, U, are each vectors in R^n, n=1e7 (image of ~10million pixels)).
I construct my problem like shown below, but objective does not converge but increases without bounds. Also, FISTA seems to be taking really long >4min for just 2 iterations.
Can you please help check if I'm formulating the problem correctly, including forward, adjoint, TV prior, initialization and solver?
P.S. I'm running Python 3.10.1 on a macOS Ventura on an M1 Max 64GB RAM
The text was updated successfully, but these errors were encountered: