Skip to main content

Neuralyzer::MediaProcessing::ProcessingStep

Neuralyzer::MediaProcessing::ProcessingStep

Descriptor for a single image processing step. More…

#include <ProcessingStep.hpp>

Public Attributes

Name
std::string display_name
Human-readable name shown in UI sections.
std::string chain_key
Key used with MediaData processing chain (e.g. “1__lineartransform”).
ParameterSchema schema
Schema describing the parameters (for AutoParamWidget).
std::function< void(cv::Mat &, nlohmann::json const &)> apply
Type-erased apply function: applies this step to an image given JSON-serialized params.

Detailed Description

struct Neuralyzer::MediaProcessing::ProcessingStep;

Descriptor for a single image processing step.

Each step has a display name (for the UI), a chain key (used in MediaData::addProcessingStep), an execution order (embedded in the chain key prefix), a ParameterSchema for auto-generating the UI, and a type-erased apply function that takes a cv::Mat and JSON params.

Public Attributes Documentation

variable display_name

std::string display_name;

Human-readable name shown in UI sections.

variable chain_key

std::string chain_key;

Key used with MediaData processing chain (e.g. “1__lineartransform”).

variable schema

ParameterSchema schema;

Schema describing the parameters (for AutoParamWidget).

variable apply

std::function< void(cv::Mat &, nlohmann::json const &)> apply;

Type-erased apply function: applies this step to an image given JSON-serialized params.


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