13 class UnsupervisedDefectSegmentationImpl;
16 class ComponentMemoryImpl;
68 std::shared_ptr<ComponentMemoryImpl> model_instance_ =
nullptr;
#define DAOAI_API
Definition API_EXPORT.h:13
Definition component_memory.h:19
DAOAI_API float getImageThreshold() const
get the image threshold
DAOAI_API void load(const std::filesystem::path &file_path)
Load the component memory from file path.
ComponentMemory(std::shared_ptr< ComponentMemoryImpl > impl)
DAOAI_API void setImageThreshold(const float &value)
set the image threshold
DAOAI_API ComponentMemory(const std::filesystem::path &file_path)
Constructor that loads a component memory from file path.
DAOAI_API void setPixelThreshold(const float &value)
set the pixel threshold
DAOAI_API void save(const std::filesystem::path &save_path) const
Save the component memory to file path.
DAOAI_API float getPixelThreshold() const
get the pixel threshold
friend class Vision::UnsupervisedDefectSegmentationImpl
Definition component_memory.h:70