Retinex-based image enhancement framework by using region covariance filter