We present a new efficient hue- and edge-preserving spatial color gamut mapping algorithm. The initial computation of the algorithm is to project all out-of-gamut colors to the destination gamut boundary towards the center of the gamut. Based on this spatially invariant hue-preserving clipping of the image, we construct a greyscale map indicating the amount of compression performed. This map can be spatially modified by applying an edge-preserving smoothing filter that never decreases the amount of compression applied to an individual pixel. Finally, the colors of the original image are compressed towards the gamut center according to the filtered map. Examples on real images show that the algorithm gives interesting results.
Øyvind Kolås, Ivar Farup, "Efficient hue-preserving and edge-preserving spatial color gamut mapping" in Proc. IS&T 15th Color and Imaging Conf., 2007, pp 207 - 212, https://doi.org/10.2352/CIC.2007.15.1.art00039