14 #ifndef EDGE_CPP_FOREGROUND_MASK_H
15 #define EDGE_CPP_FOREGROUND_MASK_H
39 #define VERY_SMALL_POSITIVE_NUMBER 1e-20
Definition: foreground_mask.h:45
Foreground_mask(const std::string &file_name)
Definition: foreground_mask.cpp:38
This class implements matrices, in the linear-algebra sense, restricted to integer-valued elements...
Definition: l_int_matrix.h:71
~Foreground_mask()
Definition: foreground_mask.h:52
double calc_overlap_ratio(const Impl_type &predicted_mask)
Definition: foreground_mask.cpp:44
void draw_foreground_image(const std::string &output_path)
Definition: foreground_mask.cpp:65
Int_matrix Impl_type
the underlying implementation
Definition: foreground_mask.h:48
const Impl_type & get_c_matrix() const
Definition: foreground_mask.h:57