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

#include <geometric_context.h>

Public Member Functions

 Geometric_context (const Int_matrix &iseg_map, const Matrix &iprobabilities)
 Geometric_context (const std::string &seg_path, const std::string prob_path)
void draw_geometric_context (Image &img) const
void draw_segmentation (Image &img) const
double compute_score (const kjb::Image &img) const
double compute_score (const kjb::Int_matrix &map) const
double compute_score (const kjb::Int_matrix &map, kjb::Vector &individual_scores, int num_entities) const
void init_context ()
void draw_segment (Image &img, int segment_index) const
int get_num_segments () const
void convert_map_to_image (const Int_matrix &imap, Image &img)
void convert_map_to_edges (const Int_matrix &imap, Image &img)

Constructor & Destructor Documentation

kjb::Geometric_context::Geometric_context ( const Int_matrix iseg_map,
const Matrix iprobabilities 
kjb::Geometric_context::Geometric_context ( const std::string &  seg_path,
const std::string  prob_path 

Member Function Documentation

double Geometric_context::compute_score ( const kjb::Image img) const
double Geometric_context::compute_score ( const kjb::Int_matrix map) const
double Geometric_context::compute_score ( const kjb::Int_matrix map,
kjb::Vector individual_scores,
int  num_entities 
) const
void Geometric_context::convert_map_to_edges ( const Int_matrix imap,
Image img 
void Geometric_context::convert_map_to_image ( const Int_matrix imap,
Image img 
void Geometric_context::draw_geometric_context ( Image img) const
void Geometric_context::draw_segment ( Image img,
int  segment_index 
) const
void Geometric_context::draw_segmentation ( Image img) const
int kjb::Geometric_context::get_num_segments ( ) const
void Geometric_context::init_context ( )

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