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

#include <hog.h>

Inheritance diagram for kjb::Hog_responses:
kjb::Readable kjb::Writeable

Public Member Functions

 Hog_responses (const Image &img, int ibin_size)
 
 Hog_responses (const std::string &file_name)
 
 Hog_responses (const Hog_responses &src)
 
 ~Hog_responses ()
 
Hog_responsesoperator= (const Hog_responses &src)
 
int get_hog_num_rows () const
 
int get_hog_num_cols () const
 
int get_num_rows () const
 
int get_num_cols () const
 
int get_hog_pix_row (int img_pix_row) const
 
int get_hog_pix_col (int img_pix_col) const
 
int get_hog_cell_x_center (int hog_x_index) const
 
int get_hog_cell_y_center (int hog_y_index) const
 
void get_HOG_picture (Image &positive_image, Image &negative_image, bool &negative_weights)
 
void get_bims (std::vector< Matrix > &bim)
 
void read (std::istream &in)
 Reads this Line segment from an input stream. More...
 
void write (std::ostream &out) const
 Writes this Line segment to an output stream. More...
 
int get_hog_size () const
 
const float * get_hog_responses () const
 
int get_bin_size () const
 
- Public Member Functions inherited from kjb::Readable
virtual ~Readable ()
 Deletes this Readable. More...
 
virtual void read (const char *fname)
 Reads this Readable from a file. More...
 
- Public Member Functions inherited from kjb::Writeable
virtual ~Writeable ()
 Deletes this Writeable. More...
 
virtual void write (const char *fname) const
 Writes this Writeable to a file. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from kjb::Readable
static const char * read_field_value (std::istream &in, const char *field_name, char *field_buf, size_t buf_len, char separator=':')
 Reads a line off in into a buffer and returns a pointer to the field value in the buffer. More...
 
static const char * read_field_value (std::istream &in, const char *field_name, char separator=':')
 Reads a line off in into an internal buffer and returns a pointer to the field value in the buffer. More...
 

Constructor & Destructor Documentation

Hog_responses::Hog_responses ( const Image img,
int  ibin_size 
)
kjb::Hog_responses::Hog_responses ( const std::string &  file_name)
inline
kjb::Hog_responses::Hog_responses ( const Hog_responses src)
inline
kjb::Hog_responses::~Hog_responses ( )
inline

Member Function Documentation

void Hog_responses::get_bims ( std::vector< Matrix > &  bim)
int kjb::Hog_responses::get_bin_size ( ) const
inline
int kjb::Hog_responses::get_hog_cell_x_center ( int  hog_x_index) const
inline
int kjb::Hog_responses::get_hog_cell_y_center ( int  hog_y_index) const
inline
int kjb::Hog_responses::get_hog_num_cols ( ) const
inline
int kjb::Hog_responses::get_hog_num_rows ( ) const
inline
void Hog_responses::get_HOG_picture ( Image positive_image,
Image negative_image,
bool &  negative_weights 
)
int kjb::Hog_responses::get_hog_pix_col ( int  img_pix_col) const
inline
int kjb::Hog_responses::get_hog_pix_row ( int  img_pix_row) const
inline
const float* kjb::Hog_responses::get_hog_responses ( ) const
inline
int kjb::Hog_responses::get_hog_size ( ) const
inline
int kjb::Hog_responses::get_num_cols ( ) const
inline
int kjb::Hog_responses::get_num_rows ( ) const
inline
Hog_responses& kjb::Hog_responses::operator= ( const Hog_responses src)
inline
void Hog_responses::read ( std::istream &  in)
virtual

Reads this Line segment from an input stream.

Implements kjb::Readable.

void Hog_responses::write ( std::ostream &  out) const
virtual

Writes this Line segment to an output stream.

Implements kjb::Writeable.


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