pub struct QsmartParams {Show 15 fields
pub ppm: f64,
pub sdf_sigma1_stage1: f64,
pub sdf_sigma2_stage1: f64,
pub sdf_sigma1_stage2: f64,
pub sdf_sigma2_stage2: f64,
pub sdf_spatial_radius: i32,
pub sdf_lower_lim: f64,
pub sdf_curv_constant: f64,
pub vasc_sphere_radius: i32,
pub frangi_scale_range: [f64; 2],
pub frangi_scale_ratio: f64,
pub frangi_c: f64,
pub ilsqr_tol: f64,
pub ilsqr_max_iter: usize,
pub b0_dir: (f64, f64, f64),
}Expand description
Complete QSMART pipeline parameters
Fields§
§ppm: f64PPM conversion factor: (gyro * field) / 1e6
sdf_sigma1_stage1: f64SDF parameters for stage 1
sdf_sigma2_stage1: f64§sdf_sigma1_stage2: f64SDF parameters for stage 2
sdf_sigma2_stage2: f64§sdf_spatial_radius: i32SDF spatial radius for morphological closing
sdf_lower_lim: f64SDF lower limit for proximity clamping
sdf_curv_constant: f64SDF curvature constant
vasc_sphere_radius: i32Vasculature sphere radius for bottom-hat
frangi_scale_range: [f64; 2]Frangi scale range for vessel detection
frangi_scale_ratio: f64Frangi scale ratio
frangi_c: f64Frangi C parameter
ilsqr_tol: f64iLSQR tolerance
ilsqr_max_iter: usizeiLSQR max iterations
b0_dir: (f64, f64, f64)B0 field direction
Implementations§
Source§impl QsmartParams
impl QsmartParams
Sourcepub fn for_field_strength(field_tesla: f64) -> Self
pub fn for_field_strength(field_tesla: f64) -> Self
Create parameters for specific field strength
Trait Implementations§
Source§impl Clone for QsmartParams
impl Clone for QsmartParams
Source§fn clone(&self) -> QsmartParams
fn clone(&self) -> QsmartParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QsmartParams
impl Debug for QsmartParams
Auto Trait Implementations§
impl Freeze for QsmartParams
impl RefUnwindSafe for QsmartParams
impl Send for QsmartParams
impl Sync for QsmartParams
impl Unpin for QsmartParams
impl UnsafeUnpin for QsmartParams
impl UnwindSafe for QsmartParams
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