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

details SplineImageView1 Class Template Reference VIGRA

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

#include "vigra/splineimageview.hxx"



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 (koethe@informatik.uni-hamburg.de)
Cognitive Systems Group, University of Hamburg, Germany

html generated using doxygen and Python
VIGRA 1.4.0 (21 Dec 2005)