34 #ifndef AIMS_PYRAMID_SPLINEPYRAMID_H 35 #define AIMS_PYRAMID_SPLINEPYRAMID_H 71 = std::vector<InterpolatedVolume>() );
75 bool is_coeff =
false );
85 const std::vector<InterpolatedVolume> &
pyramid()
const;
142 unsigned order()
const;
143 const std::vector<bool> & directions()
const;
144 const std::vector<Point4du> & factor()
const;
145 void setOrder(
unsigned n );
146 void setFactor(
unsigned r );
147 void setFactor(
const Point4du & r );
148 void setFactor(
const std::vector<Point4du> & r );
149 void setDirections(
const std::vector<bool> & dir );
150 void setDirections(
bool dirx,
bool diry,
bool dirz,
bool dirt );
151 void setVerbose(
int verbose = 1 );
159 template <
typename T>
172 std::vector<Point4du> computeFactors(
const std::vector<int> & size )
const;
178 template <
typename T>
180 unsigned order,
unsigned factor = 2 )
186 template <
typename T>
188 unsigned order,
const Point4du & factor )
193 template <
typename T>
196 const std::vector<Point4du> & factor )
202 template <
typename T>
204 unsigned factor = 2 )
210 template <
typename T>
218 template <
typename T>
220 const std::vector<Point4du> & factor )
228 #endif // AIMS_PYRAMID_SPLINEPYRAMID_H Spline interpolation of volumes with simple accessors to interpolated values.
std::vector< InterpolatedVolume > _pyramid
SplinePyramid(const std::vector< InterpolatedVolume > &pyramid=std::vector< InterpolatedVolume >())
Constructors / Destructors / Copy.
Pyramid of Interpolated Volumes.
carto::PropertySet & header(unsigned level=0)
const AlgorithmCaller::LaunchExecution execute
InterpolatedVolume::Vector Vector
InterpolatedVolume types.
void setPyramid(const std::vector< InterpolatedVolume > &pyramid)
InterpolatedVolume::Matrix Matrix
The method follows that of Under, Aldroubi & Eden, "The L2 Polynomial Spline Pyramid" in IEEE Transac...
SplinePyramid cubicSplinePyramid(const carto::VolumeRef< T > &vol, unsigned factor=2)
SplinePyramid & operator=(const SplinePyramid &other)
double getSizeYMm() const
const std::vector< InterpolatedVolume > & pyramid() const
Change pyramid.
std::vector< Point4du > _factor
double getSizeXMm() const
Dimensions.
double getSizeZMm() const
SplinePyramid execute(const carto::VolumeRef< T > &vol, bool is_coeff=false) const
Execution.
InterpolatedVolume & operator[](unsigned level)
Level accessor.
SplinePyramid buildSplinePyramid(const carto::VolumeRef< T > &vol, unsigned order, unsigned factor=2)
FUNCTORS.