Band pass filter only for pixels inside a mask

What about the gmic command line