count masked pixels
comment out saturation level logic for now, adjust constants