7 #ifndef GRAPHGEN_IMAGE_FREQUENCIES_H_
8 #define GRAPHGEN_IMAGE_FREQUENCIES_H_
12 #include <opencv2/core.hpp>
13 #include <opencv2/imgcodecs.hpp>
14 #include <opencv2/imgproc.hpp>
33 bool LoadFileList(std::vector<std::pair<std::string, bool>>& filenames,
const std::string& files_path);
bool AddFrequenciesToRuleset(rule_set &rs, bool force=false, bool is_thinning=false)
bool LoadFileList(std::vector< std::pair< std::string, bool >> &filenames, const std::string &files_path)
bool GetBinaryImage(const std::string &FileName, cv::Mat1b &binary)
size_t MaskToLinearMask(const cv::Mat1b &r_img) const
std::string binary(size_t u, size_t nbits)