Hi Dave,
I see that the mask is specified in the deringing section of the deconvolution window. I assume that's all you need to do if you're using it for decon.
Please note that the deringing support image in Deconvolution is not a mask. It doesn't work as a mask, but as a special grayscale image to drive the local deringing routine in the Deconvolution process.
So how does one make use of the star mask? Also, do starmasks in PI protect the stars or everything but the stars?
A star mask is just a particular case and application of mask images in PixInsight. A mask in PixInsight can be just any image (forget all that stuff of masks embedded in layers; things are much more natural here). If you have two images I and M, M can be a mask for I if the following conditions hold:
1. M and I have the same geometry (width and height in pixels).
2. If I is a color image, then M can be either grayscale or color. If M is grayscale, then it applies equally to all channels of I. If M is a color image, then the masking operations are applied on a per-channel basis (M's red channel is a mask for I's red channel, and so on).
3. If I is a grayscale image, then M must be also a grayscale image.
4. If M is a mask for I, then I cannot be a mask for M (circular masking relations not allowed).
A mask works in the standard way: white mask pixels allow full processing, black mask pixels prevent processing completely, and intermediate gray mask pixels provide partial protection, as a function of the mask pixel value.
Put in a bit more technical way, the masking operation is as follows:
I' = I*(1 — M) + f(I)*M
where I' is the processed/masked pixel value, I is the original pixel value, M is the corresponding mask pixel value, and f() denotes the process being applied. In the above equation, pixel values are in the [0,1] range, where 0=black and 1=white.
In PixInsight, a mask can be inverted. When a mask is inverted, it is applied in the opposite way: black mask allows processing and white mask protects.
To manage masks, use the Mask item of the main menu. Masks can be selected, enabled/disabled, inverted, and shown/hidden. You can also control how masks are rendered on images.