New method in MaximumProjector to create a mask of the region of interest.