00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef IMG_IMAGE_STATE_DEF_H
00028 #define IMG_IMAGE_STATE_DEF_H
00029
00030 #include <ost/base.hh>
00031
00032 #include "image_state_impl.hh"
00033 #include "image_state_spatial_domain.hh"
00034 #include "image_state_frequency_domain.hh"
00035 #include "image_state_half_frequency_domain.hh"
00036
00037 namespace ost { namespace img { namespace image_state {
00038
00039 typedef ImageStateImpl<Real, SpatialDomain> RealSpatialImageState;
00040 typedef ImageStateImpl<Real, FrequencyDomain> RealFrequencyImageState;
00041 typedef ImageStateImpl<Complex, SpatialDomain> ComplexSpatialImageState;
00042 typedef ImageStateImpl<Complex, FrequencyDomain> ComplexFrequencyImageState;
00043 typedef ImageStateImpl<Complex, HalfFrequencyDomain> ComplexHalfFrequencyImageState;
00044 typedef ImageStateImpl<Word, SpatialDomain> WordSpatialImageState;
00045
00046
00047 }
00048
00049 #if defined(OST_MODULE_OST_IMG)
00050 # if defined(_MSC_VER)
00051 # define OST_DECL_IMAGE_STATE(c, v, d)
00052 # else
00053 # define OST_DECL_IMAGE_STATE(c, v, d) extern template c TEMPLATE_EXPORT image_state::ImageStateImpl<v, image_state::d>;
00054 # endif
00055 #else
00056 # define OST_DECL_IMAGE_STATE(c, v, d) extern template c DLLIMPORT image_state::ImageStateImpl<v, image_state::d>;
00057 #endif
00058
00059 OST_DECL_IMAGE_STATE(class, Real, SpatialDomain)
00060 OST_DECL_IMAGE_STATE(class, Real, FrequencyDomain)
00061 OST_DECL_IMAGE_STATE(class, Complex, SpatialDomain)
00062 OST_DECL_IMAGE_STATE(class, Complex, FrequencyDomain)
00063 OST_DECL_IMAGE_STATE(class, Complex, HalfFrequencyDomain)
00064 OST_DECL_IMAGE_STATE(class, Word, SpatialDomain)
00065
00066 #undef OST_DECL_IMAGE_STATE
00067
00068 }}
00069
00070 #endif