KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions
i_color_histogram.h File Reference

Code for computing basic color histograms for an image. More...

#include "i_cpp/i_image.h"
#include <m_cpp/m_vector.h>
#include <l_cpp/l_readable.h>
#include <l_cpp/l_writeable.h>
#include <numeric>

Go to the source code of this file.

Classes

class  kjb::Color_histogram
 Class to compute an RGB colour histogram over an image or a rectangular portion of it. The histogram is normalized. We use the same number of bins for each of the channels (r,g,b). It is easy to extend this class so that it computes such histogram over a segment of a shape other than rectangular. More...
 

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Macros

#define DEFAULT_COL_HIST_NUM_BINS   8
 

Functions

void kjb::write_histograms (const std::vector< Color_histogram > &chs, const std::string &file_name)
 
void kjb::read_histograms (std::vector< Color_histogram > &chs, const std::string &file_name)
 

Detailed Description

Code for computing basic color histograms for an image.

Author
Luca Del Pero
Andrew Predoehl

Macro Definition Documentation

#define DEFAULT_COL_HIST_NUM_BINS   8