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

| BorderTreatmentMode |
--- | --- | ---

Choose between different border treatment modes. In the convolution algorithms, these modes apply to all image pixels where the kernel does not completely fit inside the image.

#include "vigra/bordertreatment.hxx"
Namespace: vigra

        enum BorderTreatmentMode
        {
              // do not operate on a pixel where the kernel does
              // not fit in the image
           BORDER_TREATMENT_AVOID,

              // clip kernel at image border (this is only useful if the
              //  kernel is >= 0 everywhere)
           BORDER_TREATMENT_CLIP,

              // repeat the nearest valid pixel
           BORDER_TREATMENT_REPEAT,

              // reflect image at last row/column
           BORDER_TREATMENT_REFLECT,

              // wrap image around (periodic boundary conditions)
           BORDER_TREATMENT_WRAP
        };

© Ullrich Köthe (koethe@informatik.uni-hamburg.de) Cognitive Systems Group, University of Hamburg, Germany | html generated using doxygen and Python VIGRA 1.5.0 (7 Dec 2006)