thorstenwagner / ij-ridgedetection

Detect ridges / lines with imagej
GNU General Public License v2.0
42 stars 27 forks source link

Resolve merged junctions #20

Closed hinerm closed 8 years ago

hinerm commented 8 years ago

Clean up junction points and contour classes after slope-based overlap resolution.

hinerm commented 8 years ago

@thorstenwagner I tested this minimally on my end and it seemed to work as intended. I ended up not creating a separate Intersection class and instead added API to the Junction class to mark when Junctions do not lie on start/end points of lines - so if this flag is true, that Junction is an Intersection in the sense we had originally discussed.

I figured this was less invasive and we could go the separate class route in the future if needed.

thorstenwagner commented 8 years ago

Sounds good! Thank you so much for implementing! I'm currently on vacation and will merge and test it next week