Skip to main content

dl::Line2DEncoderParams

dl::Line2DEncoderParams

User-configurable params for Line2DEncoder.

#include <ChannelEncoder.hpp>

Public Attributes

Name
RasterMode mode
Binary or Heatmap.
float gaussian_sigma
Sigma for Gaussian heatmap (Heatmap mode only).
bool normalize
Normalize output to [0, 1].

Public Attributes Documentation

variable mode

RasterMode mode = RasterMode::Binary;

Binary or Heatmap.

variable gaussian_sigma

float gaussian_sigma = 2.0f;

Sigma for Gaussian heatmap (Heatmap mode only).

variable normalize

bool normalize = true;

Normalize output to [0, 1].


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