35 #ifndef AIMS_RESAMPLING_MAJORITYLABELRESAMPLER_H 36 #define AIMS_RESAMPLING_MAJORITYLABELRESAMPLER_H 64 const ChannelType& outBackground,
66 ChannelType& outValue,
int t )
const CARTO_OVERRIDE;
void doResampleChannel(const carto::Volume< ChannelType > &inVolume, const soma::Transformation3d &transform3d, const ChannelType &outBackground, const Point3df &outLocation, ChannelType &outValue, int t) const CARTO_OVERRIDE
SplineResampler< T >::ChannelType ChannelType
~MajorityLabelResampler()
int getOrder() const CARTO_OVERRIDE
Spline order (1 to 7)
Volume resampler using linear (order 1) interpolation, then selects the majority label in the neighbo...
double getBSplineWeight(int i, double x) const CARTO_OVERRIDE
Returns .
B-Spline-based resampling.