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

Overlap resolution by search radius + shortest path + straightness #16

Open
thorstenwagner opened this issue Dec 11, 2015 · 0 comments
Open

Comments

@thorstenwagner
Copy link
Owner

I suggest the following overlap resolution method:

  1. Given is a complex agglomerate with several junction points
  2. Start with next junction point
    2.1. Search for line positions P at a specific search radius r (e.g. 3 * line width) which are part of the agglomerate. The position on the current line (which belongs to junction point) is P1. If the current line is shorter then r use midpoint of current line as P1.
    2.2. Calculate the shortest paths S from the position P1 to each position in P
    2.3. Select the path S1 with the highest straightness§
    2.4. If the straightness is below some defined threshold, accept it, merge all lines in S1 and update the junction points accordingly
  3. Return to 2 when other potential junction points exist

§Straightness: The straightness of a path p is calculated the following way: distance between start and end point divided by the length of the path

@hinerm This approach would be like an extension of yours. And it exploits that we roughly know the width of the lines (because it is specified by the user anyhow). Furthermore I guess it would be able to handle situations like these:
http://fiji.sc/_images/e/ec/Slope_detection_low_sigma.png
I would like to hear your opinon!

@thorstenwagner thorstenwagner changed the title Overlaop resolution by search radius + shortes path + straightness Overlap resolution by search radius + shortes path + straightness Dec 11, 2015
@thorstenwagner thorstenwagner changed the title Overlap resolution by search radius + shortes path + straightness Overlap resolution by search radius + shortest path + straightness Dec 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant