Expand description
BET surface evolution algorithm
Based on: Smith, S.M. (2002) “Fast robust automated brain extraction” Human Brain Mapping, 17(3):143-155
Aligned with FSL-BET2 implementation.
Structs§
- BetParameters 🔒
- Brain parameters struct (like FSL’s bet_parameters)
- BetParams
- BET algorithm parameters
Constants§
- MAX_
PASSES 🔒 - Maximum number of recovery passes (matches FSL-BET2)
- SELF_
INTERSECTION_ 🔒THRESHOLD - Self-intersection threshold (matches FSL-BET2)
Functions§
- estimate_
brain_ 🔒parameters - Estimate brain parameters from the image (matches FSL-BET2’s adjust_initial_mesh)
- evolution_
pass 🔒 - Run a single pass of surface evolution
- fill_
holes 🔒 - Simple hole filling
- percentile 🔒
- Compute percentile of sorted array
- run_bet
- Run BET brain extraction
- sample_
intensities_ 🔒fsl - Sample min/max intensities along inward normal (matches FSL-BET2’s step_of_computation)
- sample_
intensity 🔒 - Trilinear interpolation
- surface_
to_ 🔒mask - Convert surface mesh to binary mask using flood fill