nifti_processing 0.1.2

nibabel like 3d resampling functions for Nifti-rs
Documentation
1
2
3
4
5
6
7
8
9
10
/// A set of strategies a sampler may employ if a point is out of sample.
#[derive(Debug, Clone, Copy, PartialEq)]
pub enum SamplingMode {
    /// The input is expanded by replacing all numbers outside of the edge
    /// with the same constant value determined by the cval parameter.
    Constant,

    /// The nearest pixel value is duplicated to expand the input.
    Nearest,
}