Public Member Functions
bbgm_view_maker_base Class Reference

base class for objects that extract the mean from an image of distribution. More...

#include <bbgm_view_maker.h>

Inheritance diagram for bbgm_view_maker_base:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual const vcl_type_info & dist_typeid () const =0
 return the type_info for the distribution type.
virtual unsigned int max_components (const bbgm_image_sptr &dimg) const =0
 Return the maximum number of components if a mixture.
virtual bool apply (const bbgm_image_sptr &dimg, vil_image_view< double > &image, const double *fail_val, int component_idx=-1) const =0
 Compute the mean of the distribution image to produce a vil image.
void ref ()
void unref ()
int get_references () const
bool is_referenced () const

Detailed Description

base class for objects that extract the mean from an image of distribution.

Definition at line 25 of file bbgm_view_maker.h.


Member Function Documentation

virtual bool bbgm_view_maker_base::apply ( const bbgm_image_sptr dimg,
vil_image_view< double > &  image,
const double *  fail_val,
int  component_idx = -1 
) const [pure virtual]

Compute the mean of the distribution image to produce a vil image.

Parameters:
component_idxindicated the component index to operate on. If < 0 or not a mixture then operate on the whole distribution

Implemented in bbgm_view_maker< dist_type, func_type, typename vpdt_enable_if< vpdt_is_mixture< dist_type > >::type >, and bbgm_view_maker< dist_type, func_type, Disambiguate >.

virtual const vcl_type_info& bbgm_view_maker_base::dist_typeid ( ) const [pure virtual]
virtual unsigned int bbgm_view_maker_base::max_components ( const bbgm_image_sptr dimg) const [pure virtual]

Return the maximum number of components if a mixture.

If not a mixture return 1

Implemented in bbgm_view_maker< dist_type, func_type, typename vpdt_enable_if< vpdt_is_mixture< dist_type > >::type >, and bbgm_view_maker< dist_type, func_type, Disambiguate >.


The documentation for this class was generated from the following file: