Skip to main content

Module streamline_ops

Module streamline_ops 

Source

Structs§

DuplicateRemovalParams
Parameters that tune duplicate detection behaviour.

Enums§

DuplicateRemovalMode
Controls the duplicate detection strategy.

Functions§

difference
Difference: return a new TrxFile with streamlines in a but not in b.
difference_indices
Compute the difference: streamlines in a but not in b. Returns indices into a.
intersection
Intersection: return a new TrxFile with streamlines present in both.
intersection_indices
Compute the intersection: streamlines present in both a and b. Returns indices into a.
remove_duplicates
Remove duplicate streamlines from a TrxFile, returning a new file.
remove_duplicates_tractogram
Remove duplicate streamlines from a Tractogram, returning a new tractogram.
retain_representative_indices
Compute the set of streamline indices to retain after duplicate removal.
retain_tractogram_representative_indices
Compute duplicate-removal indices for a Tractogram (the format-neutral representation).
streamline_union
Union: return a new TrxFile with all unique streamlines from both.