Code Monkey home page Code Monkey logo

Comments (3)

hosseybposh avatar hosseybposh commented on July 23, 2024 1

yes that's correct. You're very welcome.
For the training of the CNN you can use our data generator which randomly located disks. But for testing, you'll need to know exactly where your neurons are, generate the associated image, and use the get_hologram method to get the SLM phase. You can specify the size of the hologram and the number of depth planes with the shape parameter.
You'll also need to optically align your hologram synthesis hardware with your microscope but that's a different topic.

from deepcgh.

hosseybposh avatar hosseybposh commented on July 23, 2024

hello and thank you for your kind words.
If your goal is to target neurons, you need to create a dataset of random disks and train the model with that dataset (see the examples in the tutorial). Each disk represents a neuron that needs to be targeted. For optogenetics applications I'd strongly recommend such a model since we achieve very high quality results.
For natural images, the results that are shown in the manuscript correspond to a model that is trained on images of lines and tested on natural images. We're working on models that are trained on natural images and will update our software package as soon as we can.

from deepcgh.

areiasfi avatar areiasfi commented on July 23, 2024

Oh, I see. Then I will try with disks. To apply this to the brain, I would generate a z stack of images with disks where the neurons I want to stimulate are, correct?
Thank you very much for your help!

from deepcgh.

Related Issues (4)

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.