[ 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.5.0, Dec 07 2006 )                                    */
00008 /*    The VIGRA Website is                                              */
00009 /*        http://kogs-www.informatik.uni-hamburg.de/~koethe/vigra/      */
00010 /*    Please direct questions, bug reports, and contributions to        */
00011 /*        koethe@informatik.uni-hamburg.de          or                  */
00012 /*        vigra@kogs1.informatik.uni-hamburg.de                         */
00013 /*                                                                      */
00014 /*    Permission is hereby granted, free of charge, to any person       */
00015 /*    obtaining a copy of this software and associated documentation    */
00016 /*    files (the "Software"), to deal in the Software without           */
00017 /*    restriction, including without limitation the rights to use,      */
00018 /*    copy, modify, merge, publish, distribute, sublicense, and/or      */
00019 /*    sell copies of the Software, and to permit persons to whom the    */
00020 /*    Software is furnished to do so, subject to the following          */
00021 /*    conditions:                                                       */
00022 /*                                                                      */
00023 /*    The above copyright notice and this permission notice shall be    */
00024 /*    included in all copies or substantial portions of the             */
00025 /*    Software.                                                         */
00026 /*                                                                      */
00027 /*    THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND    */
00028 /*    EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES   */
00029 /*    OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND          */
00030 /*    NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT       */
00031 /*    HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,      */
00032 /*    WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING      */
00033 /*    FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR     */
00034 /*    OTHER DEALINGS IN THE SOFTWARE.                                   */                
00035 /*                                                                      */
00036 /************************************************************************/
00037  
00038  
00039 #ifndef VIGRA_BORDERTREATMENT_HXX
00040 #define VIGRA_BORDERTREATMENT_HXX
00041 
00042 namespace vigra {
00043 
00044 
00045 /*! \page BorderTreatmentMode BorderTreatmentMode
00046 
00047     Choose between different border treatment modes. In the convolution 
00048     algorithms, these modes apply to 
00049     all image pixels where the kernel does not completely fit inside 
00050     the image.
00051     
00052     <b>\#include</b> "<a href="bordertreatment_8hxx-source.html">vigra/bordertreatment.hxx</a>"<br>
00053     Namespace: vigra
00054     
00055     \code
00056     enum BorderTreatmentMode 
00057     {
00058           // do not operate on a pixel where the kernel does 
00059           // not fit in the image
00060        BORDER_TREATMENT_AVOID, 
00061 
00062           // clip kernel at image border (this is only useful if the
00063           //  kernel is >= 0 everywhere)
00064        BORDER_TREATMENT_CLIP, 
00065 
00066           // repeat the nearest valid pixel
00067        BORDER_TREATMENT_REPEAT,
00068 
00069           // reflect image at last row/column 
00070        BORDER_TREATMENT_REFLECT, 
00071 
00072           // wrap image around (periodic boundary conditions)
00073        BORDER_TREATMENT_WRAP
00074     };
00075     \endcode
00076 */   
00077 enum BorderTreatmentMode 
00078 {
00079    BORDER_TREATMENT_AVOID, 
00080    BORDER_TREATMENT_CLIP, 
00081    BORDER_TREATMENT_REPEAT,
00082    BORDER_TREATMENT_REFLECT, 
00083    BORDER_TREATMENT_WRAP
00084 };
00085 
00086 } // namespace vigra
00087 
00088 #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.5.0 (7 Dec 2006)