A background subtraction approach based on complex wavelet transforms in EDXRF. (30th December 2014)