Functions to create high, low pass spatial filters