Duality Principle for Image Regularization and Perceptual Color Correction Models