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

details vigra/bordertreatment.hxx VIGRA

00001 /************************************************************************/
00002 /*                                                                      */
00003 /*               Copyright 1998-2002 by Ullrich Koethe                  */
00004 /*       Cognitive Systems Group, University of Hamburg, Germany        */
00005 /*                                                                      */
00006 /*    This file is part of the VIGRA computer vision library.           */
00007 /*    ( Version 1.2.0, Aug 07 2003 )                                    */
00008 /*    You may use, modify, and distribute this software according       */
00009 /*    to the terms stated in the LICENSE file included in               */
00010 /*    the VIGRA distribution.                                           */
00011 /*                                                                      */
00012 /*    The VIGRA Website is                                              */
00013 /*        http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/      */
00014 /*    Please direct questions, bug reports, and contributions to        */
00015 /*        koethe@informatik.uni-hamburg.de                              */
00016 /*                                                                      */
00017 /*  THIS SOFTWARE IS PROVIDED AS IS AND WITHOUT ANY EXPRESS OR          */
00018 /*  IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED      */
00019 /*  WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */
00020 /*                                                                      */
00021 /************************************************************************/
00022  
00023  
00024 #ifndef VIGRA_BORDERTREATMENT_HXX
00025 #define VIGRA_BORDERTREATMENT_HXX
00026 
00027 namespace vigra {
00028 
00029 
00030 /*! \page BorderTreatmentMode BorderTreatmentMode
00031 
00032     Choose between different border treatment modes. In the convolution 
00033     algorithms, these modes apply to 
00034     all image pixels where the kernel does not completely fit inside 
00035     the image.
00036     
00037     <b>\#include</b> "<a href="bordertreatment_8hxx-source.html">vigra/bordertreatment.hxx</a>"<br>
00038     Namespace: vigra
00039     
00040     \code
00041     enum BorderTreatmentMode 
00042     {
00043           // do not operate on a pixel where the kernel does 
00044           // not fit in the image
00045        BORDER_TREATMENT_AVOID, 
00046 
00047           // clip kernel at image border (this is only useful if the
00048           //  kernel is >= 0 everywhere)
00049        BORDER_TREATMENT_CLIP, 
00050 
00051           // repeat the nearest valid pixel
00052        BORDER_TREATMENT_REPEAT,
00053 
00054           // reflect image at last row/column 
00055        BORDER_TREATMENT_REFLECT, 
00056 
00057           // wrap image around (periodic boundary conditions)
00058        BORDER_TREATMENT_WRAP
00059     };
00060     \endcode
00061 */   
00062 enum BorderTreatmentMode 
00063 {
00064    BORDER_TREATMENT_AVOID, 
00065    BORDER_TREATMENT_CLIP, 
00066    BORDER_TREATMENT_REPEAT,
00067    BORDER_TREATMENT_REFLECT, 
00068    BORDER_TREATMENT_WRAP
00069 };
00070 
00071 } // namespace vigra
00072 
00073 #endif // VIGRA_BORDERTREATMENT_HXX

© Ullrich Köthe (koethe@informatik.uni-hamburg.de)
Cognitive Systems Group, University of Hamburg, Germany

html generated using doxygen and Python
VIGRA 1.2.0 (7 Aug 2003)