[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | Main Page ]

details SplineImageView1< VALUETYPE, INTERNAL_TRAVERSER > Class Template Reference VIGRA

Create an image view for bi-linear interpolation. More...

#include <vigra/splineimageview.hxx>

Inherits SplineImageView1Base< VALUETYPE, INTERNAL_INDEXER >.

Detailed Description

template<class VALUETYPE, class INTERNAL_TRAVERSER = typename BasicImage<VALUETYPE>::const_traverser>
class vigra::SplineImageView1< VALUETYPE, INTERNAL_TRAVERSER >

Create an image view for bi-linear interpolation.

This class behaves like vigra::SplineImageView<1, ...>, but one can pass an additional template argument that determined the internal representation of the image. If this is equal to the argument type passed in the constructor, the image is not copied. By default, this works for vigra::BasicImage, vigra::BasicImageView, vigra::MultiArray<2, ...>, and vigra::MultiArrayView<2, ...>.

In addition to the function provided by vigra::SplineImageView, there are functions unchecked(x,y) and unchecked(x,y, xorder, yorder) which improve speed by not applying bounds checking and reflective border treatment (isInside(x, y) must be true), but otherwise behave identically to their checked counterparts. In addition, x and y can have type vigra::FixedPoint instead of double.


The documentation for this class was generated from the following file:

© Ullrich Köthe (ullrich.koethe@iwr.uni-heidelberg.de)
Heidelberg Collaboratory for Image Processing, University of Heidelberg, Germany

html generated using doxygen and Python
vigra 1.11.1 (Fri May 19 2017)