summaryrefslogtreecommitdiff
path: root/vigra
diff options
context:
space:
mode:
authorTomaž Vajngerl <quikee@gmail.com>2012-06-15 07:17:36 +0200
committerTomaž Vajngerl <quikee@gmail.com>2012-06-16 00:39:07 +0200
commitc02dd533f5a21b8386b6cfe8fdd9e3f83e7cbc7b (patch)
tree73f8cccdd33cfb4da24b338c60c0f5be4b0d3c2a /vigra
parent907ad314fb05a06cfeb233bd4265a461e7a5e0e5 (diff)
Add new Scale modes, simplify convolution calculation.
Convolution calculation now uses 2x transposing horizontal pass instead of horizontal and vertical which simplifies the code by reducing code duplication. Instead of more convolution methods, only one generic method is used and kernels are now a parameter to the method. For this Kernel class was introduced with responsibility to calculate kernel walues and hold kernel specific information. Besides Lanzcos resampling also Box, Bilinear and Bicubic resampling was introduced. Box is the simplest and fastest but with still good quality.
Diffstat (limited to 'vigra')
0 files changed, 0 insertions, 0 deletions