GithubHelp home page GithubHelp logo

Comments (3)

VolkerH avatar VolkerH commented on August 13, 2024

a quick hack to try this out https://github.com/VolkerH/Lattice_Lightsheet_Deskew_Deconv/blob/gputools_deconv/lls_dd/deconvolution_gputools.py
Worked surprisingly well.
Signficantly slower than flowdec, but also significantly faster than CPU and not limited to CUDA.
Does not seem to keep the FFT plan, so significant potential for speedup by keeping this.
Doesn't throw any memory allocation errors for datasets where flowdec competes with gputools.
Also has a spatial deconvolutoin option (without FFT). Might be worth a try for small PSFs if we can also find a seperable approximation.

Todo:

  • create an abstract deconvolver class with an init and a process method.
  • have concrete child classes for flowdec and gputools. Can also add cudaDeconv backend, but that requires different processing of PSFs so is slightly more complicated. Conversion of the PSF could be integrated into the init method of the deconvolver rather than modifying the current PSF handling.

from lattice_lightsheet_deskew_deconv.

VolkerH avatar VolkerH commented on August 13, 2024

closing this as this is implemented now. Not yet as a generic class that wraps all deconvolution backends but working.

from lattice_lightsheet_deskew_deconv.

VolkerH avatar VolkerH commented on August 13, 2024

Works reasonably fast with the changes in: https://github.com/VolkerH/Lattice_Lightsheet_Deskew_Deconv/blob/master/lls_dd/deconv_gputools_rewrite.py

Visually not quite the same quality as the flowdec result, but probably not too hard to include the additional tweaks. Low priority at the moment.

from lattice_lightsheet_deskew_deconv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.