pub struct SdfParams {
pub sigma1: f64,
pub sigma2: f64,
pub spatial_radius: i32,
pub lower_lim: f64,
pub curv_constant: f64,
pub use_curvature: bool,
}Expand description
Parameters for SDF background field removal
Fields§
§sigma1: f64Sigma parameter for initial proximity map (default 10 for stage 1, 8 for stage 2)
sigma2: f64Sigma parameter for vasculature proximity (default 0 for stage 1, 2 for stage 2)
spatial_radius: i32Spatial radius for morphological closing of indents (default 8 voxels)
lower_lim: f64Lower limit for clamping proximity values (default 0.6)
curv_constant: f64Scaling constant for curvature (default 500)
use_curvature: boolWhether to use curvature-based edge refinement
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SdfParams
impl RefUnwindSafe for SdfParams
impl Send for SdfParams
impl Sync for SdfParams
impl Unpin for SdfParams
impl UnsafeUnpin for SdfParams
impl UnwindSafe for SdfParams
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