Use the filtered image to compute mask, set alpha and threshold in
StormParams