Skip to main content

MagicEraserParams

MagicEraserParams

UI-editable parameters for the magic eraser tool. More…

#include <ProcessingOptions.hpp>

Public Attributes

Name
int brush_size
Size of the eraser brush (1-100 pixels).
int median_filter_size
Size of the median filter kernel (3-101, must be odd).

Detailed Description

struct MagicEraserParams;

UI-editable parameters for the magic eraser tool.

These are the parameters that can be configured by the user via the UI. Runtime state (mask, drawing mode, image size) is stored separately in MagicEraserState.

Public Attributes Documentation

variable brush_size

int brush_size {10};

Size of the eraser brush (1-100 pixels).

variable median_filter_size

int median_filter_size {25};

Size of the median filter kernel (3-101, must be odd).


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