Path-based mathematical morphology on tensor fields
This page is related to the examples in the following publication:
The source code to generate the orientation score example figures can be downloaded here (covered by the MIT license). The code comes as a collection of Javascript files (along with input) that can be run using Node.js. Among the included source code is code for computing the orientation scores, as well as code for performing the path openings discussed in the paper.
The diffusion MRI path opening example can be viewed online below, allowing you to interactively change the path length threshold in the bottom right corner. The mouse can be used to rotate and zoom the view (by dragging/scrolling). The view will be green until all files are loaded.