Skip to main content

MediaDisplayOptions

MediaDisplayOptions

Display options for media (images/video) data. More…

#include <DisplayOptions.hpp>

Public Functions

Name
std::string & hex_color()
std::string const & hex_color() const
float & alpha()
float const & alpha() const
bool & is_visible()
bool const & is_visible() const

Public Attributes

Name
rfl::Flatten< CommonDisplayFields > common
Flattened common fields.
bool contrast_active
Whether contrast filter is active.
bool gamma_active
Whether gamma filter is active.
bool sharpen_active
Whether sharpen filter is active.
bool clahe_active
Whether CLAHE filter is active.
bool bilateral_active
Whether bilateral filter is active.
bool median_active
Whether median filter is active.
bool magic_eraser_active
Whether magic eraser is active.
bool colormap_active
Whether colormap is active.
ContrastOptions contrast_options
Contrast/brightness settings.
GammaOptions gamma_options
Gamma correction settings.
SharpenOptions sharpen_options
Sharpening settings.
ClaheOptions clahe_options
CLAHE settings.
BilateralOptions bilateral_options
Bilateral filter settings.
MedianOptions median_options
Median filter settings.
MagicEraserParams magic_eraser_params
Magic eraser UI-editable parameters.
MagicEraserState magic_eraser_state
Magic eraser runtime state (not serialized cleanly).
ColormapOptions colormap_options
Colormap settings.

Detailed Description

struct MediaDisplayOptions;

Display options for media (images/video) data.

Contains common display fields plus image processing options. Note: MagicEraserOptions is included but contains runtime mask data that won’t serialize cleanly (the mask vector).

Public Functions Documentation

function hex_color

inline std::string & hex_color()

function hex_color

inline std::string const & hex_color() const

function alpha

inline float & alpha()

function alpha

inline float const & alpha() const

function is_visible

inline bool & is_visible()

function is_visible

inline bool const & is_visible() const

Public Attributes Documentation

variable common

rfl::Flatten< CommonDisplayFields > common;

Flattened common fields.

variable contrast_active

bool contrast_active {false};

Whether contrast filter is active.

variable gamma_active

bool gamma_active {false};

Whether gamma filter is active.

variable sharpen_active

bool sharpen_active {false};

Whether sharpen filter is active.

variable clahe_active

bool clahe_active {false};

Whether CLAHE filter is active.

variable bilateral_active

bool bilateral_active {false};

Whether bilateral filter is active.

variable median_active

bool median_active {false};

Whether median filter is active.

variable magic_eraser_active

bool magic_eraser_active {false};

Whether magic eraser is active.

variable colormap_active

bool colormap_active {false};

Whether colormap is active.

variable contrast_options

ContrastOptions contrast_options;

Contrast/brightness settings.

variable gamma_options

GammaOptions gamma_options;

Gamma correction settings.

variable sharpen_options

SharpenOptions sharpen_options;

Sharpening settings.

variable clahe_options

ClaheOptions clahe_options;

CLAHE settings.

variable bilateral_options

BilateralOptions bilateral_options;

Bilateral filter settings.

variable median_options

MedianOptions median_options;

Median filter settings.

variable magic_eraser_params

MagicEraserParams magic_eraser_params;

Magic eraser UI-editable parameters.

variable magic_eraser_state

MagicEraserState magic_eraser_state;

Magic eraser runtime state (not serialized cleanly).

variable colormap_options

ColormapOptions colormap_options;

Colormap settings.


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