Morphological weighted penalized least squares for background correction.

Morphological weighted penalized least squares for background correction.