Go to the documentation of this file.00001
00002 #ifndef brip_histogram_h_
00003 #define brip_histogram_h_
00004
00005
00006
00007
00008
00009
00010 #include <vil/vil_image_view.h>
00011 #include <vcl_vector.h>
00012
00013
00014
00015
00016
00017 template<class T>
00018 double brip_histogram(const vil_image_view<T>& image,
00019 vcl_vector<double>& histo,
00020 double min, double max, unsigned n_bins);
00021
00022
00023
00024
00025 template<class T>
00026 double brip_weighted_histogram(const vil_image_view<T>& image,
00027 const vil_image_view<double>& weights,
00028 vcl_vector<double>& histo,
00029 double min, double max, unsigned n_bins);
00030
00031
00032
00033
00034
00035
00036 template<class T>
00037 double brip_joint_histogram(const vil_image_view<T>& image1,
00038 const vil_image_view<T>& image2,
00039 vcl_vector<vcl_vector<double> >& histo,
00040 double min, double max, unsigned n_bins);
00041
00042 #endif // brip_histogram_h_