Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions
osl_harris Class Reference

An osl_harris object stores the internal buffers used by the Harris corner detector. More...

#include <osl_harris.h>

List of all members.

Public Member Functions

 osl_harris (osl_harris_params const &params)
void compute (vil1_image const &image)
void get_corners (vcl_vector< vcl_pair< float, float > > &) const
void get_corners (vcl_vector< float > &, vcl_vector< float > &) const
void save_corners (vcl_ostream &stream) const
 convenience method.
void save_corners (char const *file) const
void prepare_buffers (int w, int h)
void compute_gradients (vil1_image const &)
void compute_2nd_moments ()
void compute_cornerness ()
void compute_corners ()

Public Attributes

int image_w
int image_h
vil1_memory_image_of< vxl_byte > image_buf
vil1_memory_image_of< int > image_gradx_buf
vil1_memory_image_of< int > image_grady_buf
vil1_memory_image_of< float > image_fxx_buf
vil1_memory_image_of< float > image_fxy_buf
vil1_memory_image_of< float > image_fyy_buf
vil1_memory_image_of< float > image_cornerness_buf
float corner_max
vil1_memory_image_of< bool > image_cornermax_buf
osl_roi_window window_str

Protected Attributes

osl_harris_params params_
vcl_vector< vcl_pair< float,
float > > 
cc

Private Member Functions

void do_non_adaptive (double *corner_min)
 internal.
void do_adaptive ()
 internal.

Detailed Description

An osl_harris object stores the internal buffers used by the Harris corner detector.

Definition at line 35 of file osl_harris.h.


Constructor & Destructor Documentation

osl_harris::osl_harris ( osl_harris_params const &  params) [inline]

Definition at line 38 of file osl_harris.h.


Member Function Documentation

void osl_harris::compute ( vil1_image const &  image) [inline]

Definition at line 40 of file osl_harris.h.

void osl_harris::compute_2nd_moments ( )

Definition at line 74 of file osl_harris.cxx.

void osl_harris::compute_cornerness ( )

Definition at line 111 of file osl_harris.cxx.

void osl_harris::compute_corners ( )

Definition at line 128 of file osl_harris.cxx.

void osl_harris::compute_gradients ( vil1_image const &  image)

Definition at line 54 of file osl_harris.cxx.

void osl_harris::do_adaptive ( ) [private]

internal.

Definition at line 210 of file osl_harris.cxx.

void osl_harris::do_non_adaptive ( double *  corner_min) [private]

internal.

Definition at line 161 of file osl_harris.cxx.

void osl_harris::get_corners ( vcl_vector< vcl_pair< float, float > > &  cor) const

Definition at line 306 of file osl_harris.cxx.

void osl_harris::get_corners ( vcl_vector< float > &  corx,
vcl_vector< float > &  cory 
) const

Definition at line 311 of file osl_harris.cxx.

void osl_harris::prepare_buffers ( int  w,
int  h 
)

Definition at line 23 of file osl_harris.cxx.

void osl_harris::save_corners ( vcl_ostream &  stream) const

convenience method.

Definition at line 321 of file osl_harris.cxx.

void osl_harris::save_corners ( char const *  file) const

Definition at line 327 of file osl_harris.cxx.


Member Data Documentation

vcl_vector<vcl_pair<float, float> > osl_harris::cc [protected]

Definition at line 90 of file osl_harris.h.

Definition at line 71 of file osl_harris.h.

vil1_memory_image_of<vxl_byte> osl_harris::image_buf

Definition at line 58 of file osl_harris.h.

vil1_memory_image_of<bool> osl_harris::image_cornermax_buf

Definition at line 74 of file osl_harris.h.

vil1_memory_image_of<float> osl_harris::image_cornerness_buf

Definition at line 70 of file osl_harris.h.

vil1_memory_image_of<float> osl_harris::image_fxx_buf

Definition at line 65 of file osl_harris.h.

vil1_memory_image_of<float> osl_harris::image_fxy_buf

Definition at line 66 of file osl_harris.h.

vil1_memory_image_of<float> osl_harris::image_fyy_buf

Definition at line 67 of file osl_harris.h.

vil1_memory_image_of<int> osl_harris::image_gradx_buf

Definition at line 61 of file osl_harris.h.

vil1_memory_image_of<int> osl_harris::image_grady_buf

Definition at line 62 of file osl_harris.h.

Definition at line 55 of file osl_harris.h.

Definition at line 55 of file osl_harris.h.

Definition at line 89 of file osl_harris.h.

Definition at line 77 of file osl_harris.h.


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