![]() |
XII Release 0.1.0
|
Pre-computes the required filter weights for rescaling a sequence of image samples. More...
#include <ImageFilter.h>
Public Member Functions | |
| xiiImageFilterWeights (const xiiImageFilter &filter, xiiUInt32 uiSrcSamples, xiiUInt32 uiDstSamples) | |
| Pre-compute the weights for the given filter for scaling between the given number of samples. | |
| xiiUInt32 | GetNumWeights () const |
| Returns the number of weights. | |
| xiiSimdFloat | GetWeight (xiiUInt32 uiDstSampleIndex, xiiUInt32 uiWeightIndex) const |
| Returns the weight used for the source sample GetFirstSourceSampleIndex(dstSampleIndex) + weightIndex. | |
| xiiInt32 | GetFirstSourceSampleIndex (xiiUInt32 uiDstSampleIndex) const |
| Returns the index of the first source sample that needs to be weighted to evaluate the destination sample. | |
| xiiArrayPtr< const float > | ViewWeights () const |
Pre-computes the required filter weights for rescaling a sequence of image samples.
| XII_ALWAYS_INLINE xiiInt32 xiiImageFilterWeights::GetFirstSourceSampleIndex | ( | xiiUInt32 | uiDstSampleIndex | ) | const |
Returns the index of the first source sample that needs to be weighted to evaluate the destination sample.
Copyright (c) Theophilus Eriata. All Rights Reserved.