Crate nifti_processing

Source
Expand description

This library is an extension of the NIFTI-rs library, adding resampling support. This library is closely modeled after the NiBabel processing module, hence the name.

Re-exports§

pub use sampler::common::SamplingMode;
pub use sampler::nearest_neighbor::NearestNeighbor;
pub use sampler::traits::ReSample;
pub use sampler::trilinear::TriLinear;

Modules§

sampler

Functions§

resample_from_to
Resample in_im to mapped voxel space defined by out_affine and out_shape.
resample_to_output
Resample in_im to world space with a given voxel size.