An efficient learning-based method for underwater image enhancement