Repository navigation
Conversation
Two filaments that touch end to end skeletonize as one bent branch with no junction, so seg2fil traced them as one hairpin filament. A chain from a semantic segmentation is now split wherever it turns by more than --max-bend over the direction window, the rule junctions use. Closed chains and instances are kept whole, and the run summary counts the splits. Each piece is stored with the default Catmull-Rom curve like any other filament. On 10426 actin, kinks over 45 degrees drop from 4.9% to 1.5% of filaments. None of the 102 traced 10521 microtubules changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v2.0 counterpart of #126; the patch is identical.
Two filaments that touch end to end skeletonize as one bent branch with no junction: a V, or one filament ending against another at an acute angle. The pairing at junctions never sees the turn, so seg2fil traced them as one hairpin filament. On dataset 10426 with easymode actin, such joins turned by up to 159 degrees.
Change
--max-bendbetween its directions over the direction window before and after a point. This is the same rule and window that junctions use.Effect
Tests
test_two_filaments_touching_end_to_end_are_two_filaments: a V traces as two straight filaments, with one split counted.test_filaments.py,test_converter_signatures.pyandtest_run_names_option.py: 53 passed on v2.0 with the locked environment.🤖 Generated with Claude Code