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