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

Automatic seed selection #17

Open
danoan opened this issue Mar 16, 2021 · 0 comments
Open

Automatic seed selection #17

danoan opened this issue Mar 16, 2021 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@danoan
Copy link
Owner

danoan commented Mar 16, 2021

A naive implementation could be the following:

  1. Run a contour-detection algorithm (likely one is biased to form closed contours)
  2. Invert the image to obtain the connected digital sets
  3. For each connected digital set, choose some strategy to select seeds in the interior (foreground) and in the outer (background) of the set.
  4. Run the graph-flow for each connected digital set

An alternative to that:

  1. Create an hierarchy (watershed segmentation)
  2. Pick some nodes of the hierarchy to execute graph-flow
  3. Select the best graph-flow result

The data term may be defined like this: For the closed areas, select random seeds and compute a mixed gauss distribution (similar to classical graph cut)

@danoan danoan added the enhancement New feature or request label Mar 16, 2021
@danoan danoan added this to the v2.0 milestone Mar 26, 2021
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

1 participant