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

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

#include "brip_blobwise_mutual_info.h"
#include "brip_histogram.h"
#include "brip_mutual_info.h"
#include <bil/algo/bil_blob_finder.h>
#include <vil/algo/vil_binary_dilate.h>
#include <vil/algo/vil_binary_erode.h>
#include <vil/vil_math.h>
#include <vcl_vector.h>
#include <vcl_cassert.h>
#include <vcl_algorithm.h>

Go to the source code of this file.

Defines

#define brip_blobwise_mutual_info_txx_
#define BRIP_BLOBWISE_MUTUAL_INFO_INSTANTIATE(T)

Functions

template<class T >
void brip_blobwise_mutual_info (const vil_image_view< T > &img1, const vil_image_view< T > &img2, const vil_image_view< T > &weights, const vil_image_view< bool > &mask, vil_image_view< T > &mi_img)
 Calculate the Mutual Information between the images.
template<class T >
void brip_blobwise_kl_div (const vil_image_view< T > &img1, const vil_image_view< T > &img2, const vil_image_view< bool > &mask, vil_image_view< T > &mi_img)

Detailed Description

Calculate the mutual information between the images.

Author:
Matt Leotta

Definition in file brip_blobwise_mutual_info.txx.


Define Documentation

#define BRIP_BLOBWISE_MUTUAL_INFO_INSTANTIATE (   T)
Value:
template \
  void brip_blobwise_mutual_info (const vil_image_view<T >& img1, \
                                  const vil_image_view<T >& img2, \
                                  const vil_image_view<T >& weights, \
                                  const vil_image_view<bool>& mask, \
                                        vil_image_view<T >& mi_img ); \
  template \
  void brip_blobwise_kl_div( const vil_image_view<T >& img1, \
                             const vil_image_view<T >& img2, \
                             const vil_image_view<bool>& mask, \
                                   vil_image_view<T >& mi_img )

Definition at line 214 of file brip_blobwise_mutual_info.txx.

#define brip_blobwise_mutual_info_txx_

Definition at line 3 of file brip_blobwise_mutual_info.txx.


Function Documentation

template<class T >
void brip_blobwise_kl_div ( const vil_image_view< T > &  img1,
const vil_image_view< T > &  img2,
const vil_image_view< bool > &  mask,
vil_image_view< T > &  mi_img 
)

Definition at line 130 of file brip_blobwise_mutual_info.txx.

template<class T >
void brip_blobwise_mutual_info ( const vil_image_view< T > &  img1,
const vil_image_view< T > &  img2,
const vil_image_view< T > &  weights,
const vil_image_view< bool > &  mask,
vil_image_view< T > &  mi_img 
)

Calculate the Mutual Information between the images.

Definition at line 22 of file brip_blobwise_mutual_info.txx.