pub struct HdBetParams {
pub inference: HdBetInference,
pub mirror_tta: bool,
}Expand description
HD-BET inference parameters.
Fields§
§inference: HdBetInferenceWhole-volume (default) or sliding-window inference.
mirror_tta: bool8-fold mirroring test-time augmentation (default off, as in QSM-CI; 8× slower for a marginal gain).
Implementations§
Source§impl HdBetParams
impl HdBetParams
Sourcepub fn low_memory() -> Self
pub fn low_memory() -> Self
Memory-bounded setting for constrained hosts (e.g. 32-bit WASM): (128, 128, 64)
sliding-window patches, peak 1.6 GB in a WASM heap on a 184×256×128 mm volume. Agreed
with the native patch at Dice ≈0.99 in validation (and with nnU-Net run at the same patch
size to 2 voxels).
Trait Implementations§
Source§impl Clone for HdBetParams
impl Clone for HdBetParams
Source§fn clone(&self) -> HdBetParams
fn clone(&self) -> HdBetParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HdBetParams
impl Debug for HdBetParams
Source§impl Default for HdBetParams
impl Default for HdBetParams
Source§impl PartialEq for HdBetParams
impl PartialEq for HdBetParams
Source§impl Serialize for HdBetParams
impl Serialize for HdBetParams
impl StructuralPartialEq for HdBetParams
Auto Trait Implementations§
impl Freeze for HdBetParams
impl RefUnwindSafe for HdBetParams
impl Send for HdBetParams
impl Sync for HdBetParams
impl Unpin for HdBetParams
impl UnsafeUnpin for HdBetParams
impl UnwindSafe for HdBetParams
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
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<T> DowncastSync for T
impl<T> DowncastSync for T
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