Defines | Functions
contrib/brl/bseg/brip/brip_mutual_info.txx File Reference

Calculate the mutual information between the images. More...

#include "brip_mutual_info.h"
#include "brip_histogram.h"
#include <vcl_vector.h>
#include <vcl_cassert.h>

Go to the source code of this file.

Defines

#define brip_mutual_info_txx_
#define BRIP_MUTUAL_INFO_INSTANTIATE(T)

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.

Detailed Description

Calculate the mutual information between the images.

Author:
Matt Leotta

Definition in file brip_mutual_info.txx.


Define Documentation

#define BRIP_MUTUAL_INFO_INSTANTIATE (   T)
Value:
template \
  double brip_mutual_info(const vil_image_view<T >& image1, \
                          const vil_image_view<T >& image2, \
                          double min, double max, unsigned n_bins)

Definition at line 44 of file brip_mutual_info.txx.

#define brip_mutual_info_txx_

Definition at line 3 of file brip_mutual_info.txx.


Function Documentation

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.