KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Blob_detector Class Reference

A blob detector class. Use operator() to apply to image. More...

#include <blob_detector.h>

Public Member Functions

 Blob_detector (int minblobsize, int maxblobsize)
 Construct a blob detector with the given max/min blob sizes. More...
 
 Blob_detector (int minblobsize, int maxblobsize, int numlevels, double thresh)
 Construct a blob detector with the given max/min blob sizes. More...
 
 Blob_detector (const Blob_detector &bd)
 Copy-ctor. More...
 
Blob_detectoroperator= (const Blob_detector &bd)
 Assignment operator. Member-wise assignment. More...
 
const std::set< Blob > & operator() (const kjb::Image &I)
 Applies this blob detector to the given image. More...
 
int get_min_blob_size () const
 Getter for the min blob size. More...
 
int get_max_blob_size () const
 Getter for the max blob size. More...
 
const std::set< Blob > & get_blobs () const
 Getter for the num_levels. More...
 
 ~Blob_detector ()
 

Detailed Description

A blob detector class. Use operator() to apply to image.

This class detects "blobs" in images, where a blob is detected using the method in Lindenberg-98, which Lowe uses for SIFT as well.

Constructor & Destructor Documentation

Blob_detector::Blob_detector ( int  minblobsize,
int  maxblobsize 
)
inline

Construct a blob detector with the given max/min blob sizes.

Blob_detector::Blob_detector ( int  minblobsize,
int  maxblobsize,
int  numlevels,
double  thresh 
)
inline

Construct a blob detector with the given max/min blob sizes.

Blob_detector::Blob_detector ( const Blob_detector bd)
inline

Copy-ctor.

Blob_detector::~Blob_detector ( )
inline

Member Function Documentation

const std::set<Blob>& Blob_detector::get_blobs ( ) const
inline

Getter for the num_levels.

Retrieves the blobs computed in the last call to operator().

Returns
A set of blobs computed via operator(), or an empty set if the operator() has not been called.
int Blob_detector::get_max_blob_size ( ) const
inline

Getter for the max blob size.

Returns
The max blob size
int Blob_detector::get_min_blob_size ( ) const
inline

Getter for the min blob size.

Returns
The min blob size
const std::set< Blob > & Blob_detector::operator() ( const kjb::Image I)

Applies this blob detector to the given image.

Detects the blobs in I and stores the blobs in its internal state.

Returns
A const-ref to the blob set.
Blob_detector& Blob_detector::operator= ( const Blob_detector bd)
inline

Assignment operator. Member-wise assignment.


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