![]() |
aimsalgo
5.0.5
Neuroimaging image processing
|
#include <aims/resampling/bucketmapsampler.h>
Public Member Functions | |
BucketMapSampler () | |
virtual | ~BucketMapSampler () |
Methods | |
virtual carto::Object | sample (Samplable< T, D > &object, AimsVector< T, D > &start, AimsVector< T, D > &sizes, AimsVector< T, D > &resolution) |
Sample a Samplable object. More... | |
virtual void | sample (Samplable< T, D > *data, unsigned dimensionIndex, AimsVector< short, D > &partialCoords, aims::BucketMap< Void > &result) |
Sample a Samplable object. More... | |
virtual AimsVector< short, D > | normalize (AimsVector< T, D > &vector, AimsVector< T, D > &resolution) |
Normalize an AimsVector<T,D> by dividing with the resolution. More... | |
virtual AimsVector< T, D > | denormalize (AimsVector< short, D > &vector, AimsVector< T, D > &resolution) |
Denormalize an AimsVector<short,D> by multiplying with the resolution. More... | |
![]() | |
GeneralSampler () | |
virtual | ~GeneralSampler () |
Definition at line 48 of file bucketmapsampler.h.
|
inline |
Definition at line 51 of file bucketmapsampler.h.
|
inlinevirtual |
Definition at line 52 of file bucketmapsampler.h.
References aimsalgo::BucketMapSampler< T, D >::denormalize(), aimsalgo::BucketMapSampler< T, D >::normalize(), and aimsalgo::BucketMapSampler< T, D >::sample().
|
virtual |
Denormalize an AimsVector<short,D> by multiplying with the resolution.
\
vector | AimsVector<short,D> to denormalize |
resolution | AimsVector<T,D> containing the resolution to use |
Referenced by aimsalgo::BucketMapSampler< T, D >::~BucketMapSampler().
|
virtual |
Normalize an AimsVector<T,D> by dividing with the resolution.
\
vector | AimsVector<T,D> to normalize |
resolution | AimsVector<T,D> containing the resolution to use |
Referenced by aimsalgo::BucketMapSampler< T, D >::~BucketMapSampler().
|
virtual |
Sample a Samplable object.
\
object | Samplable object |
start | AimsVector<T,D> containing coordinates of the start sampling point |
sizes | AimsVector<T,D> containing the sizes of the sampling box |
resolution | AimsVector<T,D> containing the resolution of the sampling box |
Implements aimsalgo::GeneralSampler< T, D >.
Referenced by aimsalgo::BucketMapSampler< T, D >::~BucketMapSampler().
|
virtual |
Sample a Samplable object.
\
object | Samplable object |
dimensionIndex | unsigned containing the current dimension index value contained in [0,D] |
partialCoords | AimsVector<short,D> * containing the current partial coordinates used to generate points |
result | BucketMap<Void> * containing the current partial coordinates used to generate points |