Public Member Functions | Protected Member Functions | Protected Attributes
bsta_otsu_threshold< T > Class Template Reference

#include <bsta_otsu_threshold.h>

List of all members.

Public Member Functions

 bsta_otsu_threshold (bsta_histogram< T > const &hist)
 bsta_otsu_threshold (vcl_vector< T > data, T low, T high)
 takes vector of data as input.
 ~bsta_otsu_threshold ()
unsigned bin_threshold () const
threshold () const

Protected Member Functions

 bsta_otsu_threshold ()
 default constructor doesn't make sense.

Protected Attributes

bsta_histogram< T > distribution_1d_

Detailed Description

template<class T>
class bsta_otsu_threshold< T >

Definition at line 20 of file bsta_otsu_threshold.h.


Constructor & Destructor Documentation

template<class T >
bsta_otsu_threshold< T >::bsta_otsu_threshold ( bsta_histogram< T > const &  hist)

Definition at line 7 of file bsta_otsu_threshold.txx.

template<class T >
bsta_otsu_threshold< T >::bsta_otsu_threshold ( vcl_vector< T >  data,
low,
high 
)

takes vector of data as input.

Definition at line 13 of file bsta_otsu_threshold.txx.

template<class T >
bsta_otsu_threshold< T >::~bsta_otsu_threshold ( )

Definition at line 19 of file bsta_otsu_threshold.txx.

template<class T >
bsta_otsu_threshold< T >::bsta_otsu_threshold ( ) [inline, protected]

default constructor doesn't make sense.

Definition at line 36 of file bsta_otsu_threshold.h.


Member Function Documentation

template<class T >
unsigned bsta_otsu_threshold< T >::bin_threshold ( ) const

Definition at line 24 of file bsta_otsu_threshold.txx.

template<class T >
T bsta_otsu_threshold< T >::threshold ( ) const [inline]

Definition at line 32 of file bsta_otsu_threshold.h.


Member Data Documentation

template<class T >
bsta_histogram<T> bsta_otsu_threshold< T >::distribution_1d_ [protected]

Definition at line 38 of file bsta_otsu_threshold.h.


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