Skip to main content

Neuralyzer::MediaProcessing::RegisterStep

Neuralyzer::MediaProcessing::RegisterStep

RAII helper for static registration of a processing step. More…

#include <ProcessingStepRegistry.hpp>

Public Functions

Name
RegisterStep(std::string display_name, std::string chain_key, std::function< void(cv::Mat &, Params const &)> typed_apply)

Detailed Description

template <typename Params >
struct Neuralyzer::MediaProcessing::RegisterStep;

RAII helper for static registration of a processing step.

Usage:

static RegisterStep<ContrastOptions> reg_contrast{
    "Linear Transform",
    "1__lineartransform",
    [](cv::Mat& m, ContrastOptions const& o) { ImageProcessing::linear_transform(m, o); }
};

Public Functions Documentation

function RegisterStep

inline RegisterStep(
    std::string display_name,
    std::string chain_key,
    std::function< void(cv::Mat &, Params const &)> typed_apply
)

Updated on 2026-11-13 at 20:25:41 +0000