KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions
blob_detector.h File Reference
#include "i_cpp/i_image.h"
#include "m_cpp/m_matrix.h"
#include "blob_cpp/blob_gss.h"
#include "blob_cpp/blob_local_optimize.h"
#include <vector>
#include <set>
#include <cmath>

Go to the source code of this file.

Classes

class  Blob
 A simple class that represents a blob. More...
 
class  Blob_detector
 A blob detector class. Use operator() to apply to image. More...
 
struct  Compute_blob
 

Typedefs

typedef std::vector< kjb::MatrixMatrix_vector
 
typedef std::vector
< std::vector< std::vector
< double > > > 
Vec_vec_vec
 

Functions

bool operator== (const Blob &b1, const Blob &b2)
 Compare two blobs; member-wise comparison. More...
 
bool operator< (const Blob &b1, const Blob &b2)
 Lexicographical less than comparison: size, row, col order. More...
 
bool blob_center_contained (Blob b1, Blob b2)
 Tests whether a blob's center is contained in another blob. More...
 
bool blob_center_contains (Blob b1, Blob b2)
 Tests whether a blob's center is contained in another blob. More...
 
std::vector< Matrix_vectordog_scale_space (const GSS &gss)
 Compute the difference of Gaussians (DoG) scale space. More...
 
Vec_vec_vec matrix_vector_to_vvv (const Matrix_vector &mv)
 

Detailed Description

Author
Ernesto Brau

Typedef Documentation

typedef std::vector<kjb::Matrix> Matrix_vector
typedef std::vector<std::vector<std::vector<double> > > Vec_vec_vec

Function Documentation

bool blob_center_contained ( Blob  b1,
Blob  b2 
)
inline

Tests whether a blob's center is contained in another blob.

Returns
Returns true iff b1's center is inside the circle centered at b2 of radius b2.size.
bool blob_center_contains ( Blob  b1,
Blob  b2 
)
inline

Tests whether a blob's center is contained in another blob.

Returns
Returns true iff b1's center is inside the circle centered at b2 of radius b2.size.
std::vector<Matrix_vector> dog_scale_space ( const GSS gss)

Compute the difference of Gaussians (DoG) scale space.

Vec_vec_vec matrix_vector_to_vvv ( const Matrix_vector mv)
bool operator< ( const Blob b1,
const Blob b2 
)
inline

Lexicographical less than comparison: size, row, col order.

bool operator== ( const Blob b1,
const Blob b2 
)
inline

Compare two blobs; member-wise comparison.