#include <ostream>
#include <optional>
#include "conact_tree.h"
#include "forest.h"
#include "rule_set.h"
Go to the source code of this file.
◆ GenerateActionCodeTypes
This is the enum class that defines the available algorithms types for the GenerateActionsCode function.
Enumerator |
---|
LABELING | Connected Components Labeling.
|
THINNING | Thinning.
|
CHAIN_CODE | Chain Code.
|
Definition at line 37 of file conact_code_generator.h.
◆ GenerateConditionActionCodeFlags
This is the enum class that defines the available flags for the GeneratePointersConditionsActionsCode function.
Enumerator |
---|
NONE | No flags.
|
CONDITIONS_WITH_IFS | Whether to add if statements or not when generating conditions code. They serve to check if the pixel we want to check is inside the image or not. All the algorithms that make use of prediction can avoid these checks because they are inbuilt in the forest.
|
ACTIONS_WITH_CONTINUE | Whether to add continues at the end of each action or not.
|
Definition at line 28 of file conact_code_generator.h.
◆ GeneratePointersConditionsActionsCode()
TODO fix documentation names contains the position in the labels image corresponding to the names used in labeling actions. It is necessary to handle blocks names and defaults to mask pixel set if not provided.
Definition at line 316 of file conact_code_generator.cpp.
◆ operator&() [1/2]
◆ operator&() [2/2]
◆ operator|() [1/2]
◆ operator|() [2/2]