Add an option to perform the processing of the datasets within the frequency domain instead of working in the spatial domain,