Skip to main content

Neuralyzer::Transforms::V2::Examples::MaskToLineParams

Neuralyzer::Transforms::V2::Examples::MaskToLineParams

Parameters for ordering mask points into a line. More…

#include <MaskToLine.hpp>

Public Attributes

Name
float reference_x
X coordinate of the reference point used to orient the line (whisker base).
float reference_y
Y coordinate of the reference point used to orient the line (whisker base).
int subsample_factor
Subsample input mask points before ordering (1 = use all points).

Detailed Description

struct Neuralyzer::Transforms::V2::Examples::MaskToLineParams;

Parameters for ordering mask points into a line.

Uses reflect-cpp for automatic JSON serialization/deserialization.

Example JSON: ```json

{ “reference_x”: 0.0, “reference_y”: 0.0, “subsample_factor”: 1 }


## Public Attributes Documentation

### variable reference_x

```cpp
float reference_x = 0.0f;

X coordinate of the reference point used to orient the line (whisker base).

variable reference_y

float reference_y = 0.0f;

Y coordinate of the reference point used to orient the line (whisker base).

variable subsample_factor

int subsample_factor = 1;

Subsample input mask points before ordering (1 = use all points).


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