hammerlab / flowdec

TensorFlow Deconvolution for Microscopy Data
Apache License 2.0
89 stars 26 forks source link

Deconvolution use pixel based psf #41

Closed romainGuiet closed 2 years ago

romainGuiet commented 3 years ago

Dear flowdec team,

thank you for releasing this tool!

I have a rather simple question but I couldn't reach a definitive answer while going through your excellent documentation.

Does the deconvolution process use pixel based psf (regardless of the psf voxel dimension) ? As in, should the pixel sizes of the PSF be identical to those of the image to deconvolve? or Does it resize the given psf so it will match the voxel dimensions of the image to deconvolve ?

From reading the code and documentation, my guess is that it's pixel-based but I'll be happy to have a confirmation.

Thank you again,

Best,

Romain

eric-czech commented 2 years ago

Hi @romainGuiet,

thank you for releasing this tool!

👍

should the pixel sizes of the PSF be identical to those of the image to deconvolve?

That's right, the voxel sizes of both the image and the PSF should be the same. There is nothing in the library that attempts to resample the PSF up or down to match the image.

romainGuiet commented 2 years ago

Thank you for your answer !