[ VIGRA Homepage | Function Index | Class Index | Namespaces | File List | 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

              // assume that all outside points have value zero
           BORDER_TREATMENT_ZEROPAD
        };

© 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.9.0 (Tue Nov 6 2012)