LittleBrainLab / microbrain

Fully automated whole-brain diffusion MRI analysis of grey matter
1 stars 2 forks source link

Hcp tractoflow segmentations #7

Closed grahamlittlephd closed 1 year ago

grahamlittlephd commented 1 year ago

Fixed the flipping of output voxel masks.

This was caused by the VTK writer not taking into account the pixel dimension[0] when it equaled -1. This appeared when microbrain encountered diffusion imaging data that was reoriented to LPS rather than RAS that is standard on Siemens.

Also added a script to output a voxelbased white matter mask for tracking. Will be useful in future tractography updates.