35#ifndef AIMS_RESAMPLING_MASKLINRESAMPLER_H
36#define AIMS_RESAMPLING_MASKLINRESAMPLER_H
63#ifndef AIMS_MASKLINEARRESAMPLER_NO_DEPREC_WARNING
74 MaskLinearResampler() :
Resampler< T >() {
77 setDefaultValue(-32768);
79 ~MaskLinearResampler() { }
82 void resample(
const carto::Volume< T >& input_data,
83 const aims::AffineTransformation3d& transform,
85 carto::Volume< T > & output_data,
86 bool verbose =
false ) const CARTO_OVERRIDE;
90 static_assert(static_cast<T>(-32768) == -32768,
91 "type T cannot represent the mask value (-32768)");
94 doResample( const carto::Volume< T > &,
95 const soma::Transformation3d &, const T &,
96 const Point3df &, T &,
int ) const CARTO_OVERRIDE;
Volume resampler using linear (order 1) interpolation.
Resampling of data from a volume, applying a transformation.