Skip to main content

MaskDilationOptions

MaskDilationOptions

Options for mask dilation/erosion operations.

#include <ProcessingOptions.hpp>

Public Attributes

Name
bool active
Whether the dilation filter is active.
bool preview
Whether to show preview of dilation.
int grow_size
Size for growing the mask (1-100).
int shrink_size
Size for shrinking the mask (1-100).
bool is_grow_mode
True for grow mode, false for shrink mode.

Public Attributes Documentation

variable active

bool active {false};

Whether the dilation filter is active.

variable preview

bool preview {false};

Whether to show preview of dilation.

variable grow_size

int grow_size {1};

Size for growing the mask (1-100).

variable shrink_size

int shrink_size {1};

Size for shrinking the mask (1-100).

variable is_grow_mode

bool is_grow_mode {true};

True for grow mode, false for shrink mode.


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