A contrast definition for logarithmic images in the continuous setting