### Parameters | Param | Type | Default | Description | | --- | --- | --- | --- | | name | string | | Name of the element | | toName | string | | Name of the image to label | | [opacity] | float | 0.6 | Opacity of the Magic Wand region during use | | [blurradius] | number | 5 | The edges of a Magic Wand region are blurred and simplified, this is the radius of the blur kernel | | [defaultthreshold] | number | 15 | When the user initially clicks without dragging, how far a color has to be from the initial selected pixel to also be selected | ### Result parameters | Name | Type | Description | | --- | --- | --- | | original_width | number | Width of the original image (px) | | original_height | number | Height of the original image (px) | | image_rotation | number | Rotation degree of the image (deg) | | value | Object | | | value.format | "rle" | Format of the masks, only RLE is supported for now | | value.rle | Array.<number> | RLE-encoded image | ### Example JSON ```json { "original_width": 1920, "original_height": 1280, "image_rotation": 0, "value": { "format": "rle", "rle": [0, 1, 1, 2, 3], "brushlabels": ["Car"] } } ```