Exposure fusion based on sparse representation using approximate K-SVD