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

details vigra/stdimage.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.3.3, Aug 18 2005 )                                    */
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_STDIMAGE_HXX
00025 #define VIGRA_STDIMAGE_HXX
00026 
00027 #include "vigra/tuple.hxx"
00028 #include "vigra/basicimage.hxx"
00029 #include "vigra/iteratortraits.hxx"
00030 #include "vigra/accessor.hxx"
00031 #include "vigra/rgbvalue.hxx"
00032 
00033 namespace vigra { 
00034 
00035 /** \addtogroup StandardImageTypes Standard Image Types
00036 
00037     \brief The most common instantiations of the \ref vigra::BasicImage template
00038 */
00039 //@{
00040 
00041     /** Byte (8-bit unsigned) image.
00042         It uses \ref vigra::BasicImageIterator and \ref vigra::StandardAccessor and 
00043         their const counterparts to access the data.
00044         
00045         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00046         Namespace: vigra
00047     */
00048 typedef BasicImage<unsigned char> BImage;
00049 
00050 
00051 
00052     /** Short integer (16-bit signed) image.
00053         It uses \ref vigra::BasicImageIterator and \ref vigra::StandardAccessor and 
00054         their const counterparts to access the data.
00055         
00056         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00057         Namespace: vigra
00058     */
00059 typedef BasicImage<short> SImage;
00060 
00061 
00062     /** Integer (32-bit signed) image.
00063         It uses \ref vigra::BasicImageIterator and \ref vigra::StandardAccessor and 
00064         their const counterparts to access the data.
00065         
00066         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00067         Namespace: vigra
00068     */
00069 typedef BasicImage<int> IImage;
00070 
00071 
00072     /** Float (float) image.
00073         It uses \ref vigra::BasicImageIterator and \ref vigra::StandardAccessor and 
00074         their const counterparts to access the data.
00075         
00076         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00077         Namespace: vigra
00078     */
00079 typedef BasicImage<float> FImage;
00080 
00081 
00082     /** Double (double) image.
00083         It uses \ref vigra::BasicImageIterator and \ref vigra::StandardAccessor and 
00084         their const counterparts to access the data.
00085    
00086        <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00087         Namespace: vigra
00088  */
00089 typedef BasicImage<double> DImage;
00090 
00091 
00092     /** Byte (3x 8-bit unsigned) RGB image.
00093         The pixel type is \ref vigra::RGBValue "vigra::RGBValue<unsigned char>".
00094         It uses \ref vigra::BasicImageIterator and \ref vigra::RGBAccessor and 
00095         their const counterparts to access the data.
00096         
00097         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00098         Namespace: vigra
00099     */
00100 typedef BasicImage<RGBValue<unsigned char> > BRGBImage;
00101 
00102 
00103     /** Integer (3x 32-bit signed) RGB image.
00104         The pixel type is \ref vigra::RGBValue "RGBValue<int>".
00105         It uses \ref vigra::BasicImageIterator and \ref vigra::RGBAccessor and 
00106         their const counterparts to access the data.
00107         
00108         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00109         Namespace: vigra
00110     */
00111 typedef BasicImage<RGBValue<int> > IRGBImage;
00112 
00113 
00114     /** Floating-point (3x float) RGB image.
00115         The pixel type is \ref vigra::RGBValue "RGBValue<float>".
00116         It uses \ref vigra::BasicImageIterator and \ref vigra::RGBAccessor and 
00117         their const counterparts to access the data.
00118         
00119         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00120         Namespace: vigra
00121     */
00122 typedef BasicImage<RGBValue<float> > FRGBImage;
00123 
00124 
00125     /** Double-precision floating-point (3x double) RGB image.
00126         The pixel type is \ref vigra::RGBValue "RGBValue<double>".
00127         It uses \ref vigra::BasicImageIterator and \ref vigra::RGBAccessor and 
00128         their const counterparts to access the data.
00129         
00130         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00131         Namespace: vigra
00132     */
00133 typedef BasicImage<RGBValue<double> > DRGBImage;
00134 
00135     /** Floating-point TinyVector image.
00136         The pixel type is \ref vigra::TinyVector "TinyVector<float, 2>".
00137         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00138         their const counterparts to access the data.
00139         
00140         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00141         Namespace: vigra
00142     */
00143 typedef BasicImage<TinyVector<float, 2> > FVector2Image; 
00144 
00145     /** Floating-point TinyVector image.
00146         The pixel type is \ref vigra::TinyVector "TinyVector<float, 3>".
00147         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00148         their const counterparts to access the data.
00149         
00150         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00151         Namespace: vigra
00152     */
00153 typedef BasicImage<TinyVector<float, 3> > FVector3Image; 
00154 
00155     /** Floating-point TinyVector image.
00156         The pixel type is \ref vigra::TinyVector "TinyVector<float, 4>".
00157         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00158         their const counterparts to access the data.
00159         
00160         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00161         Namespace: vigra
00162     */
00163 typedef BasicImage<TinyVector<float, 4> > FVector4Image; 
00164 
00165     /** Floating-point TinyVector image.
00166         The pixel type is \ref vigra::TinyVector "TinyVector<double, 2>".
00167         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00168         their const counterparts to access the data.
00169         
00170         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00171         Namespace: vigra
00172     */
00173 typedef BasicImage<TinyVector<double, 2> > DVector2Image; 
00174 
00175     /** Floating-point TinyVector image.
00176         The pixel type is \ref vigra::TinyVector "TinyVector<double, 3>".
00177         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00178         their const counterparts to access the data.
00179         
00180         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00181         Namespace: vigra
00182     */
00183 //typedef BasicImage<TinyVector<double, 3> > DVector3Image; 
00184 typedef BasicImage<TinyVector<double, 3> > DVector3Image; 
00185 
00186     /** Floating-point TinyVector image.
00187         The pixel type is \ref vigra::TinyVector "TinyVector<double, 4>".
00188         It uses \ref vigra::BasicImageIterator and \ref vigra::VectorAccessor and 
00189         their const counterparts to access the data.
00190         
00191         <b>\#include</b> "<a href="stdimage_8hxx-source.html">vigra/stdimage.hxx</a>"<br>
00192         Namespace: vigra
00193     */
00194 typedef BasicImage<TinyVector<double, 4> > DVector4Image; 
00195 
00196 //@}
00197 
00198 } // namespace vigra
00199 
00200 #endif // VIGRA_STDIMAGE_HXX

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

html generated using doxygen and Python
VIGRA 1.3.3 (18 Aug 2005)