A spatially adaptive denoising with activity level estimation based method for infrared small target detection