Go to the documentation of this file.00001
00002 #ifndef bsta_gauss_h_
00003 #define bsta_gauss_h_
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <vcl_vector.h>
00017 #include <vbl/vbl_array_2d.h>
00018 #include <vbl/vbl_array_3d.h>
00019 class bsta_gauss
00020 {
00021 public:
00022 ~bsta_gauss(){}
00023 static double bsta_gaussian(const double x, const double sigma);
00024
00025 static void bsta_1d_gaussian_kernel(const double sigma, const double fuzz,
00026 int& radius,
00027 vcl_vector<double>& kernel);
00028
00029 static void bsta_1d_gaussian(const double sigma,
00030 vcl_vector<double> const& in_buf,
00031 vcl_vector<double>& out_buf);
00032
00033 static void bsta_2d_gaussian(const double sigma,
00034 vbl_array_2d<double> const& in_buf,
00035 vbl_array_2d<double>& out_buf);
00036
00037 static void bsta_3d_gaussian(const double sigma,
00038 vbl_array_3d<double> const& in_buf,
00039 vbl_array_3d<double>& out_buf);
00040 private:
00041
00042 bsta_gauss();
00043 };
00044
00045 #endif // bsta_gauss_h_