Abstract
It is sometimes useful to apply a filter to a region defined by a mask. This article introduces a simple ``mask adaptor'' filter that allows this type of operation to be tested easily. It is applicable to filters that do not need any pixel location information, such as histogram operations, which can't necessarily be achieved by simple masking approaches.
