Skip to content

Collection of utilities that are not polished implementations but can be useful to users

License

Notifications You must be signed in to change notification settings

sjh26/SlicerSandbox

 
 

Repository files navigation

SlicerSandbox

Logo

Collection of utilities that are not polished implementations but may still be useful as they are.

Curved Planar Reformat

Curved planar reformat module allows "straightening" a curved volume for visualization or quantification. The module provides two-way spatial mapping between the original and straightened space.

Adjust reformatting parameters for robust mapping

If the slice size is too large or curve resolution is too fine then in some regions you can have transform that maps the same point into different positions (the displacement field folds into itself). In these regions the transforms in not invertible.

To reduce these ambiguously mapped regions, decrease Slice size. If necessary Curve resolution can be slightly increased as well (it controls how densely the curve is sampled to generate the displacement field, if samples are farther from each other then it may reduce chance of contradicting samples).

image|561x379

You can quickly validate the transform, by going to Transforms module and in Display/Visualization section check all 3 checkboxes, the straightened image as Region and visualization mode to Grid.

For example, this transform results in a smooth displacement field, it is invertible in the visualized region:

image|690x420

If the slice size is increased then folding occurs:

image|489x500

Probably you can find a parameter set that works for a large group of patients. Maybe one parameter set works for all, but maybe you need to have a few different presets (small, medium, large)

About

Collection of utilities that are not polished implementations but can be useful to users

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 93.7%
  • CMake 6.3%