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

vigra/bordertreatment.hxx

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

© 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.6.0 (5 Nov 2009)