Luminance Masks (#2) for Photoshop

How to create additional masks to target other luminance levels in an image. You should be able to make a series of Photoshop scripts to create all the masks with a single mouse click or use Tony Kuyper's Photoshop panel.