SMS: Low-light image enhancement based on machine learning