pub struct BetParams {
pub fractional_intensity: f64,
pub smoothness: f64,
pub gradient_threshold: f64,
pub iterations: usize,
pub subdivisions: usize,
}Expand description
Run BET brain extraction
§Arguments
data- 3D magnitude image data (nx * ny * nz, Fortran order)nx,ny,nz- Image dimensionsvsx,vsy,vsz- Voxel sizes in mmfractional_intensity- Intensity threshold (0.0-1.0, smaller = larger brain)smoothness_factor- Smoothness constraint (default 1.0, larger = smoother)gradient_threshold- Z-gradient for threshold (-1 to 1, positive = larger at bottom)iterations- Number of surface evolution iterationssubdivisions- Icosphere subdivision level
BET algorithm parameters
Fields§
§fractional_intensity: f64Fractional intensity threshold (0.0-1.0, smaller = larger brain)
smoothness: f64Surface smoothness factor
gradient_threshold: f64Gradient threshold (-1 to 1)
iterations: usizeNumber of iterations
subdivisions: usizeIcosphere subdivision level
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BetParams
impl RefUnwindSafe for BetParams
impl Send for BetParams
impl Sync for BetParams
impl Unpin for BetParams
impl UnsafeUnpin for BetParams
impl UnwindSafe for BetParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more