33 #ifndef AIMSALGO_REGISTRATION_PREPROCESSING_H
34 #define AIMSALGO_REGISTRATION_PREPROCESSING_H
61 bool flatten_mask =
true,
62 float pct_kept = 1. );
66 bool flatten_mask =
true,
68 bool in_place =
true );
84 const std::vector<float> & pct,
85 bool interpolate =
true,
90 bool interpolate =
true,
101 const T &
min,
const T &
max );
103 template <
typename T>
105 const T &
min,
const T &
max,
106 bool in_place =
false );
float min(float x, float y)
float max(float x, float y)
carto::VolumeRef< T > clip(const carto::VolumeRef< T > &in, const T &min, const T &max)
\function clip
carto::VolumeRef< T > clipDynamic(const carto::VolumeRef< T > &in, bool flatten_mask=true, float pct_kept=1.)
\function clipDynamic