Functions
contrib/brl/bseg/brip/brip_mutual_info.h File Reference

Calculate the mutual information between images. More...

#include <vil/vil_image_view.h>
#include <vcl_vector.h>
#include <vcl_cmath.h>
#include <vnl/vnl_math.h>

Go to the source code of this file.

Functions

template<class T >
double brip_mutual_info (const vil_image_view< T > &image1, const vil_image_view< T > &image2, double min, double max, unsigned n_bins)
 Calculate the Mutual Information between the images.
double brip_hist_entropy (const vcl_vector< double > &histogram, double mag)
 Calculate the entropy of a histogram.
double brip_hist_entropy (const vcl_vector< vcl_vector< double > > &histogram, double mag)
 Calculate the entropy of a joint histogram.

Detailed Description

Calculate the mutual information between images.

Author:
Matt Leotta

Definition in file brip_mutual_info.h.


Function Documentation

double brip_hist_entropy ( const vcl_vector< double > &  histogram,
double  mag 
) [inline]

Calculate the entropy of a histogram.

Definition at line 25 of file brip_mutual_info.h.

double brip_hist_entropy ( const vcl_vector< vcl_vector< double > > &  histogram,
double  mag 
) [inline]

Calculate the entropy of a joint histogram.

Definition at line 39 of file brip_mutual_info.h.

template<class T >
double brip_mutual_info ( const vil_image_view< T > &  image1,
const vil_image_view< T > &  image2,
double  min,
double  max,
unsigned  n_bins 
)

Calculate the Mutual Information between the images.

Definition at line 18 of file brip_mutual_info.txx.