#include <feature_histogram.h>
|
| Feature_histogram (DTLib::CImg< DTLib::FloatCHistogramPtr > &histo, unsigned int dart_window_size, unsigned int num_rows, unsigned int num_cols, int padding) |
|
void | draw_darts (kjb::Image &img) |
|
unsigned int | get_num_darts () |
|
void | prepare_diff_matrix (DTLib::CImg< DTLib::FloatCHistogramPtr > &histo) |
|
double | compute_score (const kjb::Int_matrix &map, std::vector< Fh_type > &previous_darts, std::vector< Fh_type > &new_darts, std::vector< bool > changed_darts, double previous_score) |
|
double | compute_score (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts) |
|
double | compute_score2 (const kjb::Int_matrix &map, std::vector< Fh_type > &previous_darts, std::vector< Fh_type > &new_darts, std::vector< bool > changed_darts, double previous_score) |
|
double | compute_score2 (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts) |
|
double | compute_score3 (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts) |
|
double | compute_score4 (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts) |
|
const Matrix & | get_diff_matrix () const |
|
void | draw_room (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, kjb::Image &img) |
|
void | draw_room_floor (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, kjb::Image &img) |
|
void | draw_room_ceiling (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, kjb::Image &img) |
|
void | draw_room_walls (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, kjb::Image &img) |
|
void | draw_object (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, unsigned int obj_index, kjb::Image &img) |
|
void | draw_object_polymesh (const kjb::Int_matrix &map, std::vector< Fh_type > &new_darts, unsigned int obj_index, unsigned int polymsh_index, kjb::Image &img) const |
|
double | compute_differential (const kjb::Matrix &assignment_matrix) const |
|
const std::vector< Image_dart > & | get_darts () const |
|
double Feature_histogram::compute_differential |
( |
const kjb::Matrix & |
assignment_matrix | ) |
const |
double Feature_histogram::compute_score |
( |
const kjb::Int_matrix & |
map, |
|
|
std::vector< Fh_type > & |
previous_darts, |
|
|
std::vector< Fh_type > & |
new_darts, |
|
|
std::vector< bool > |
changed_darts, |
|
|
double |
previous_score |
|
) |
| |
double Feature_histogram::compute_score2 |
( |
const kjb::Int_matrix & |
map, |
|
|
std::vector< Fh_type > & |
previous_darts, |
|
|
std::vector< Fh_type > & |
new_darts, |
|
|
std::vector< bool > |
changed_darts, |
|
|
double |
previous_score |
|
) |
| |
void Feature_histogram::draw_darts |
( |
kjb::Image & |
img | ) |
|
void Feature_histogram::draw_object_polymesh |
( |
const kjb::Int_matrix & |
map, |
|
|
std::vector< Fh_type > & |
new_darts, |
|
|
unsigned int |
obj_index, |
|
|
unsigned int |
polymsh_index, |
|
|
kjb::Image & |
img |
|
) |
| const |
const std::vector<Image_dart>& kjb::Feature_histogram::get_darts |
( |
| ) |
const |
|
inline |
const Matrix& kjb::Feature_histogram::get_diff_matrix |
( |
| ) |
const |
|
inline |
unsigned int kjb::Feature_histogram::get_num_darts |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: