Functions
contrib/brl/bseg/bbgm/bbgm_update.h File Reference

Update wrappers for distribution images. More...

#include <vil/vil_image_view.h>
#include <vcl_cassert.h>
#include <vpdl/vpdt/vpdt_field_traits.h>
#include "bbgm_planes_to_sample.h"
#include "bbgm_image_of.h"

Go to the source code of this file.

Functions

template<class dist_ , class updater_ >
void update (bbgm_image_of< dist_ > &dimg, const updater_ &updater)
 Update with no data.
template<class dist_ , class T , class updater_ >
void update (bbgm_image_of< dist_ > &dimg, const vil_image_view< T > &image, const updater_ &updater)
 Update with a new sample image.
template<class dist_ , class T , class updater_ >
void update_masked (bbgm_image_of< dist_ > &dimg, const vil_image_view< T > &image, const updater_ &updater, const vil_image_view< bool > &mask)
 Update with a new sample image only where mask(i,j).

Detailed Description

Update wrappers for distribution images.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
October 3, 2005
    Modifications
     Apr 21, 2009  MJL  Update to work with vpdt
   

Definition in file bbgm_update.h.


Function Documentation

template<class dist_ , class updater_ >
void update ( bbgm_image_of< dist_ > &  dimg,
const updater_ &  updater 
)

Update with no data.

Definition at line 25 of file bbgm_update.h.

template<class dist_ , class T , class updater_ >
void update ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< T > &  image,
const updater_ &  updater 
)

Update with a new sample image.

Definition at line 35 of file bbgm_update.h.

template<class dist_ , class T , class updater_ >
void update_masked ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< T > &  image,
const updater_ &  updater,
const vil_image_view< bool > &  mask 
)

Update with a new sample image only where mask(i,j).

Definition at line 67 of file bbgm_update.h.