Efficient underwater image and video enhancement based on Retinex