Code Monkey home page Code Monkey logo

Comments (3)

MariangelaP avatar MariangelaP commented on August 30, 2024

Hi Marius,
I've just started using Suite2p and I'm having some issues with Cell Detection.
I'm processing a FOV acquired at 30hz, obj 16x, digital zoom 2, 512x512.
Please find attached a picture showing the z-stack of my field and next to it the GUI. As you can see, the algorithm finds very few cells (which may actually not even be neurons) plus a several other small clusters of pixels. This is very far from the result I should obtained. Would you be able to explain why am I having this issue? Is there anything I can do to improve it? As things are now, I'm not even able to select the real ROIs on the right side of the GUI and move them to the left side.
Some info:
in make_db I set db(i).diameter = 12; %this may need to be smaller? it is in pixels, right?
as suggested in the readme, I set ops0.nSVDforROI to anumber close to the expected number of cells in my FOV. In this case 50. However, this doesn't seem to make cell detection easier.
Is there anything else I can do?

many thanks,
mariangela
z-stack and gui

from suite2p.

marius10p avatar marius10p commented on August 30, 2024

Hi Mariangela, I don't think this has anything to do with the previous issue in the thread.

In any case, it looks like something went horribly wrong. Perhaps the registration failed, or perhaps the dimensions of the tiffs have not been detected correctly. Are there extra channels in your tiff? Single plane? Try to plot ops.DS (that shows the offsets computed by the registration). These offsets should be relatively smooth in time. If they are all over the place, something is wrong. Also look at the target image for registration (ops.mimg). That should look like a crisp mean image.

Try also to set ops0.nSVDforROI at a larger value, maybe around 300-500. You won't really see benefits below that value, and I'm not sure if a small number confuses it.

from suite2p.

MariangelaP avatar MariangelaP commented on August 30, 2024

Hi Marius,
many thanks fro your reply. I think the issue came up because I used a tiff file that had been previously processed in imageJ. The original file contained acquisitions from 2 channels and two different planes. I then cut this to obtain a final file with only green channel and one plane. This is the one I used in suite2p.

from suite2p.

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.