Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ellipsoid fitting based on maximum intensity and seeded watershed #7

Open
maarzt opened this issue Apr 20, 2023 · 3 comments
Open

Ellipsoid fitting based on maximum intensity and seeded watershed #7

maarzt opened this issue Apr 20, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@maarzt
Copy link
Contributor

maarzt commented Apr 20, 2023

The current ellipsoid fitting does not work well, many meta parameters have default values, which would need to be further investigated. Approaches like star dist could be used instead, but the require NVIDIA graphics cards and installed drivers.

We should try something simpler.

  1. For each spot:
  2. Calculate the maximum intensity.
  3. Crop a large enough part of the image arround the spot.
  4. appropriate blurring
  5. Do a threshold of the surrounding area. Use halve the max. intensity as threshold.
  6. Do a seeded watershed to remove under-segmentation.
  7. Treat the resulting segment as a values of uniform distribution function. Calculate mean and variance of this distribution. Scale the covariance matrix by a fixed factor to make it fit when segmenting an ideal ellipsoid.
@maarzt maarzt added the enhancement New feature or request label Apr 20, 2023
@stefanhahmann
Copy link
Collaborator

@tinevez Could you give me access rights in this repo so that I can make some edits in this issue?

@tinevez
Copy link
Contributor

tinevez commented Aug 15, 2023

@stefanhahmann Done!

If you are going to implement a new algorithm, can you keep the first one as well?

@stefanhahmann
Copy link
Collaborator

@stefanhahmann Done!

If you are going to implement a new algorithm, can you keep the first one as well?

Thanks for the rights.
And yes sure, we will keep the old for comparison as well.

@stefanhahmann stefanhahmann changed the title Simpler ellipsoid fitting Ellipsoid fitting based on maximum intensity and seeded watershed Aug 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants