![]() |
Version: 1.0 |
Go to the source code of this file.
Classes | |
struct | graph |
Functions | |
graph | MakeAdjacencies (const pixel_set &ps) |
graph | MakeConnectivities (const graph &ag) |
graph | MakeConnectivitiesSpecial (const graph &ag, const std::vector< std::string > &pixel_list) |
std::ostream & | operator<< (std::ostream &os, const graph &g) |
std::vector< std::string > | GenerateAllPossibleLabelingActions (const graph &ag) |
std::vector< std::string > | GenerateAllPossibleLabelingActionsGivenTheSetOfPixelToBeLabeled (const graph &ag, const std::vector< std::string > &to_be_labeled_pixels, rule_set &rs) |
VERSION WITH MANY MORE ACTIONS THAN NECESSARY / This function generates all possible actions, avoiding useless ones such as merges between adjacent pixels and considering multiple pixels inside the mask. More... | |
std::vector< std::string > | GenerateAllPossibleLabelingActions (const graph &ag, const std::string &ref_pixel_name) |
std::vector<std::string> GenerateAllPossibleLabelingActions | ( | const graph & | ag | ) |
Definition at line 110 of file connectivity_graph.cpp.
std::vector<std::string> GenerateAllPossibleLabelingActions | ( | const graph & | ag, |
const std::string & | ref_pixel_name | ||
) |
Definition at line 161 of file connectivity_graph.cpp.
std::vector<std::string> GenerateAllPossibleLabelingActionsGivenTheSetOfPixelToBeLabeled | ( | const graph & | ag, |
const std::vector< std::string > & | to_be_labeled_pixels, | ||
rule_set & | rs | ||
) |
VERSION WITH MANY MORE ACTIONS THAN NECESSARY / This function generates all possible actions, avoiding useless ones such as merges between adjacent pixels and considering multiple pixels inside the mask.
VERSIONE CON MOLTE PIU' AZIONI DEL NECESSARIO
Definition at line 339 of file connectivity_graph.cpp.
Definition at line 9 of file connectivity_graph.cpp.
Definition at line 34 of file connectivity_graph.cpp.
Definition at line 59 of file connectivity_graph.cpp.
std::ostream& operator<< | ( | std::ostream & | os, |
const graph & | g | ||
) |
Definition at line 74 of file connectivity_graph.cpp.