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
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038 #ifndef CUDA_CUDAPYRAMIDOPS_H_DEFINED
00039 #define CUDA_CUDAPYRAMIDOPS_H_DEFINED
00040
00041 #include "CUDA/CudaImageSet.H"
00042 #include "CUDA/CudaImage.H"
00043 #include "Image/PyramidTypes.H"
00044
00045
00046 CudaImageSet<float> cudaBuildPyrGaussian(const CudaImage<float>& image,
00047 int firstlevel, int depth,
00048 int filterSize);
00049
00050
00051 CudaImageSet<float> cudaBuildPyrLaplacian(const CudaImage<float>& image,
00052 int firstlevel, int depth,
00053 int filterSize);
00054
00055
00056 CudaImageSet<float> cudaBuildPyrOrientedFromLaplacian(const CudaImageSet<float>& laplacian,
00057 int filterSize, float theta, float intens = 10.0F);
00058
00059
00060 CudaImageSet<float> cudaBuildPyrOriented(const CudaImage<float>& image, int firstlevel, int depth, int filterSize,
00061 float theta, float intens = 10.0F);
00062
00063
00064 CudaImageSet<float> cudaBuildPyrLocalAvg(const CudaImage<float>& image, int depth);
00065
00066
00067 CudaImageSet<float> cudaBuildPyrLocalAvg2x2(const CudaImage<float>& image, int depth);
00068
00069
00070 CudaImageSet<float> cudaBuildPyrLocalMax(const CudaImage<float>& image, int depth);
00071
00072
00073 CudaImageSet<float> cudaBuildPyrGeneric(const CudaImage<float>& image,
00074 int firstlevel, int depth,
00075 const PyramidType typ, const float gabor_theta=0.0F,
00076 const float intens=10.0F);
00077
00078
00079
00080 CudaImage<float> cudaCenterSurround(const CudaImageSet<float>& pyr,
00081 const int lev1, const int lev2,
00082 const bool absol,
00083 const CudaImageSet<float>* clipPyr = 0);
00084
00085
00086 void cudaCenterSurround(const CudaImageSet<float>& pyr,
00087 const int lev1, const int lev2,
00088 CudaImage<float>& pos, CudaImage<float>& neg,
00089 const CudaImageSet<float>* clipPyr = 0);
00090
00091
00092 CudaImage<float> cudaCenterSurroundSingleOpponent(const CudaImageSet<float>& cpyr,
00093 const CudaImageSet<float>& spyr,
00094 const int lev1, const int lev2,
00095 const bool absol,
00096 const CudaImageSet<float>* clipPyr = 0);
00097
00098
00099 void cudaCenterSurroundSingleOpponent(const CudaImageSet<float>& cpyr,
00100 const CudaImageSet<float>& spyr,
00101 const int lev1, const int lev2,
00102 CudaImage<float>& pos, CudaImage<float>& neg,
00103 const CudaImageSet<float>* clipPyr = 0);
00104
00105
00106 CudaImage<float> cudaCenterSurroundDiff(const CudaImageSet<float>& pyr1,
00107 const CudaImageSet<float>& pyr2,
00108 const int lev1, const int lev2,
00109 const bool absol,
00110 const CudaImageSet<float>* clipPyr = 0);
00111
00112
00113 void cudaCenterSurroundDiff(const CudaImageSet<float>& pyr1,
00114 const CudaImageSet<float>& pyr2,
00115 const int lev1, const int lev2,
00116 CudaImage<float>& pos, CudaImage<float>& neg,
00117 const CudaImageSet<float>* clipPyr = 0);
00118
00119 #endif