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

Detection wrappers in distribution images. More...

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

Go to the source code of this file.

Functions

template<class dist_ , class detector_ , class dT >
void detect (bbgm_image_of< dist_ > &dimg, const vil_image_view< dT > &data, vil_image_view< bool > &result, const detector_ &detector, const vil_structuring_element &se)
 For each pixel, detect at all se neighbors in bbgm_image.
template<class dist_ , class detector_ , class dT >
void detect_masked (bbgm_image_of< dist_ > &dimg, const vil_image_view< dT > &data, vil_image_view< bool > &result, const detector_ &detector, const vil_structuring_element &se, const vil_image_view< bool > &mask)
 For each masked pixel, detect at all se neighbors in bbgm_image.
template<class dist_ , class detector_ >
void detect (bbgm_image_of< dist_ > &dimg, const vil_image_view< typename dist_::math_type > &image, vil_image_view< bool > &result, const detector_ &detector, int rad)
template<class dist_ , class detector_ >
void detect_masked (bbgm_image_of< dist_ > &dimg, const vil_image_view< typename dist_::math_type > &image, vil_image_view< bool > &result, const detector_ &detector, int rad, vil_image_view< bool > &mask)
template<class dist_ , class detector_ , class rT >
void detect_masked (bbgm_image_of< dist_ > &dimg, const vil_image_view< typename dist_::math_type > &image, vil_image_view< rT > &result, vil_image_view< rT > &mask, const detector_ &detector)

Detailed Description

Detection wrappers in distribution images.

Author:
Matt Leotta (mleotta@lems.brown.edu)
Date:
October 3, 2005
    Modifications
     (none yet)
   

Definition in file bbgm_detect.h.


Function Documentation

template<class dist_ , class detector_ , class dT >
void detect ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< dT > &  data,
vil_image_view< bool > &  result,
const detector_ &  detector,
const vil_structuring_element se 
)

For each pixel, detect at all se neighbors in bbgm_image.

Returns:
true if detection succeeds at any neighbor

Definition at line 26 of file bbgm_detect.h.

template<class dist_ , class detector_ >
void detect ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< typename dist_::math_type > &  image,
vil_image_view< bool > &  result,
const detector_ &  detector,
int  rad 
)

Definition at line 143 of file bbgm_detect.h.

template<class dist_ , class detector_ , class dT >
void detect_masked ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< dT > &  data,
vil_image_view< bool > &  result,
const detector_ &  detector,
const vil_structuring_element se,
const vil_image_view< bool > &  mask 
)

For each masked pixel, detect at all se neighbors in bbgm_image.

Returns:
true if detection succeeds at any neighbor

Definition at line 81 of file bbgm_detect.h.

template<class dist_ , class detector_ >
void detect_masked ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< typename dist_::math_type > &  image,
vil_image_view< bool > &  result,
const detector_ &  detector,
int  rad,
vil_image_view< bool > &  mask 
)

Definition at line 199 of file bbgm_detect.h.

template<class dist_ , class detector_ , class rT >
void detect_masked ( bbgm_image_of< dist_ > &  dimg,
const vil_image_view< typename dist_::math_type > &  image,
vil_image_view< rT > &  result,
vil_image_view< rT > &  mask,
const detector_ &  detector 
)

Definition at line 273 of file bbgm_detect.h.