Mask

The Mask module allows you to create a black mask that will be applied to the image. This function is useful if you want to cover a certain part of the image, which appears in the same place in all images. If possible, it is better to crop that part using the Preprocess module to reduce the input image.

The mask can also be applied to a heatmap if this option is ticked at the top panel.

If the images have different aspect ratios, the mask is transformed to always cover the entire image.

Painting the mask

Painting of the mask works the same way as in the Surface Detection module, there are two painting modes available.

Brush painting

Basic painting into the image by a brush of selected size. To change the brush size or switch between paint and erase mode, you can either use the sliders at the top, or you can use shortcuts, which can be found in the Help section under the ‘?’ symbol. Currently, you can press or hold the 'k' and 'l' keys to decrease resp. increase the brush size, and holding 'e' temporarily switches the paintbrush to the eraser.

Polygons

When you choose the polygon mode, you left-click into the image to define the vertices of the polygon, which are being connected with a line in the order you put them in. When you're satisfied with the shape, click on the initial point marked with a circle, which joins the last vertex with the first one and fills the polygon with the chosen color. Polygons work in the erase mode as well.