WO2009040414A1 - Method, apparatus and computer program for transforming digital colour images - Google Patents

Method, apparatus and computer program for transforming digital colour images Download PDF

Info

Publication number
WO2009040414A1
WO2009040414A1 PCT/EP2008/062910 EP2008062910W WO2009040414A1 WO 2009040414 A1 WO2009040414 A1 WO 2009040414A1 EP 2008062910 W EP2008062910 W EP 2008062910W WO 2009040414 A1 WO2009040414 A1 WO 2009040414A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
gamut
colour
mapping
intermediate image
Prior art date
Application number
PCT/EP2008/062910
Other languages
French (fr)
Inventor
Nicolas P.M.F. Bonnier
Francis J.M. Schmitt
Original Assignee
Oce-Technologies B.V.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oce-Technologies B.V. filed Critical Oce-Technologies B.V.
Priority to JP2010526303A priority Critical patent/JP5539208B2/en
Priority to EP08804788A priority patent/EP2206333A1/en
Publication of WO2009040414A1 publication Critical patent/WO2009040414A1/en
Priority to US12/748,176 priority patent/US8373898B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/46Colour picture communication systems
    • H04N1/56Processing of colour picture signals
    • H04N1/60Colour correction or control
    • H04N1/6058Reduction of colour to a range of reproducible colours, e.g. to ink- reproducible colour gamut

Definitions

  • the invention relates to a method for mapping an original image from a source gamut colour subspace to a destination gamut colour subspace comprising the steps of: first filtering the original image to obtain a first intermediate image; gamut mapping the first intermediate image to obtain a second intermediate image; second filtering the first intermediate image to obtain a third intermediate image; and merging the second intermediate image and the third intermediate image to obtain a target image; and to an image display system and a colour image printing system adapted to implement the method.
  • Gamut Mapping Algorithms are used to manage the colour gamut changes between an original image and its reproduction via a given technology like printing, photographic imaging, electronic displaying etc. These changes correspond to shape differences and size reduction of the gamut causing a loss of information.
  • a GMA should optimise the reproduction by taking into account the colour and spatial distribution of the original image, such that the reproduction is perceived as similar as possible to the original.
  • an impressive number of GMAs have been proposed in the literature.
  • the fundamentals of gamut mapping: A survey” of J. Morovic and R.Luo an exhaustive survey has been presented.
  • the ICC colour management flow is based on the first generation, non-adaptive point-wise
  • GMAs GMAs. Morovic classified these classic GMAs into two categories: gamut clipping and gamut compression.
  • Gamut clipping algorithms project colour lying outside the output gamut into its boundary. They usually preserve saturation but clip image details and introduce clipping artefacts.
  • Gamut compression algorithms compress the input gamut onto the output gamut and are better at preserving details but tend to reduce saturation.
  • the optimisation family includes algorithms proposed in "Colour gamut mapping based on a perceptual image difference measure" by Nakauchi et al. Using models of perception of the Human Visual System (HVS), the algorithms minimise the perceived differences between the original and the candidate reproduction by locally modifying the candidate. In these optimisation loops, the main difficulty is to define an appropriate criterion to optimise, using a valid perceptual model. Another problem is the lengthy computing time, making these algorithms difficult to use in an industrial context.
  • Algorithms of the second family are usually sufficiently fast to be implemented in an industrial colour flow. They have a less ambitious motivation: to limit or compensate for the loss of details caused by clipping algorithms. Clipping yields good results in terms of saturation but tend to degrade image details in saturated areas.
  • the projection might fail because it projects all non reproducible colours lying on the line of the projecting direction onto the same point on the gamut boundary. If in a local area, several neighbouring pixels lie on the same line of projection but with distinguishable colours, the local variations that form the spatial content will be erased. Similarly, if pixels in a local neighbourhood lie on nearby projection lines, they will be mapped to nearby points on the gamut hull, and the local spatial variations may be severely diminished. To prevent these degradations, for this second family of SGMAs improvements have already been proposed in the art. These improvements proposed so far can be divided in two groups.
  • the original image is gamut mapped using a direction of projection that emphasises preservation of chroma over luminance.
  • the parts of the original image that were clipped are high pass filtered and added to the gamut mapped image.
  • the resulting sum is again gamut mapped using a direction of projection that emphasises preservation of luminance over chroma.
  • Previously conducted psycho-physical evaluations showed that this method obtains good scores but suffers from the presence of halos.
  • the second group as disclosed i.a.
  • the inventors have recognised that optimal GMA's first need to fully preserve hue, then preserve lightness and chroma as much as possible; second need to preserve spatial information: the colour relations between neighbouring pixels must be preserved, as does the balance between the frequency bands; and third need to avoid the introduction of artefacts such as halos, hue shift or posterization.
  • the method according to the preamble is improved in that the merging step comprises merging the second intermediate image and the third intermediate image while preserving the colour and spatially contents of the first image by moving pixels in the output gamut, based on a criterion.
  • the merging step comprises merging the second intermediate image and the third intermediate image while preserving the colour and spatially contents of the first image by moving pixels in the output gamut, based on a criterion.
  • Criteria applied are based on measures of local similarity between the original image and the reproduction. Various methods can be applied here to measure the similarity between the results of an image quality metric applied to the two images. Criteria applied are further worked out in a first and second embodiment. The effect is to ensure locally the preservation of the local image characteristics.
  • the method according the preamble is improved in that the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges.
  • Bilateral Filters are known in the art, but not on this place in a transformation flow. In similar flows in the prior art a Gaussian filter is used. In this way edges are preserved in the image decomposition, leading to the absence of halos in the later constructed image. Without the bilateral filtering, if the original image contains sharp transitions (edges) halos might appear in the output image.
  • the merging step comprises adaptive compression in order to fit all pixels in the gamut while preserving relationships between neighbouring pixels. This leads to preserving the relationships between neighbouring pixels and therewith allowing a faithful reproduction of the original image, the main goal of a gamut mapping algorithm.
  • the merging step comprises mapping pixels lying outside the gamut to the gamut boundary. This leads to preserving the relationships between neighbouring pixels and preserving the colour component of each pixel are the two goals of the gamut mapping algorithm.
  • the result is on the gamut hull, thus the colour saturation is very high leading to a faithful reproduction of the original image both in term of local energy and saturation.
  • the criterion is the similarity in local Energy between the 2 images.
  • the second filtering step comprises the step of determining the difference between the original image and the first intermediate image in order to preserve high frequencies in the smoothly changing regions.
  • the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges. This allows the separation of the details in the image that are most likely to be damaged by a classic clipping and allows taking good care of them in a later stage
  • the input image is decomposed in a multiscale manner. After the merging step for a first time, the merging step is repeated by merging the output of the previous merging step and a next high pass image. This allows a multiscale approach similar to the one of the human visual system.
  • IhighM in general the horizontal bar above a subscript corresponds with an extension of "M' indicating that the variable has been mapped; L, C, h are also indicated with a star * ; and for variables the subscripts and superscripts are in cases indicated as normal characters following the main character of the variable: e.g. Now is identical to I
  • Fig.1 shows a system for gamut mapping according to the invention
  • Fig.2 shows a flow diagram representing an embodiment of a method according to the invention
  • Fig. 3 shows a further elaboration of the step for bilateral filtering
  • Fig. 4 illustrates calculation of ⁇ h ⁇ gh ;
  • Fig. 5 shows a flow diagram for adaptive BPC
  • Fig. 7 shows SCACLIP, an illustration of mapping according to a second embodiment, where (p' ⁇ ow +a'p' h ⁇ g h) is mapped toward 3 directions, the optimal direction will be chosen so that the local variations are best maintained;
  • Fig. 8 shows modified SCACLIP, an improvement of a mapping, where the direction of each pixel is selected tp preserve as much as possible the vectors p' ⁇ n and p J ⁇ n ;
  • Fig. 9 is a simplified component diagram of a printing apparatus for use in connection with the invention.
  • Fig. 10 is a diagram showing essential parts of an ink jet printer to which the invention is applicable. DESCRIPTION OF THE EMBODIMENTS
  • Figure 1 illustrates a system 100 comprising a number of components making up a framework for adaptive gamut mapping according to the invention.
  • the components also referred to as modules, may be embodied as software components running under a certain operating system on a computer or they may be embodied in hardware as dedicated circuits like FPGLA's or the like.
  • Figure 2 provides a flow diagram representing an embodiment of a method according to the invention. Both diagrams are related in the sense that typically a particular component carries out a particular step of the method.
  • step S1 executed by component 102, an original image l or (101 ) is converted to CIELAB colour space, using the absolute intent of the input ICC profile and yielding I 1n (103).
  • OW (105) is obtained from I 1n by Bilateral Filtering.
  • a weighted local mean is computed where each neighbor is given a weight, which is a function of both the geometric distance and the colourimetric ⁇ E ab distance to the central pixel.
  • This mean is computed using a five- dimensional bilateral filtering algorithm.
  • OW (105) contains these weighted local means, where the weight is a function of both the geometric distance and the colourometric ⁇ E ab distance to the central pixel.
  • step S3 executed by component 106, the high pass band l h ⁇ (107), comprising the local variations, is determined by taking the difference of I 1n and I
  • the image is decomposed in two bands, one containing the local means, the other the local variations.
  • OW is mapped on the destination gamut DestGamut by clipping and Black Point Compensation is applied. This transformation will further be indicated by g(). Note that degradation by clipping mostly occurs in a neighbourhood in which several pixels have nearby colour values.
  • step S2 provides as output l
  • step S6 corresponding with module 11 1 , a transformation k() is carried out on ⁇ h ⁇ gh resulting in U 9 /*, (112).
  • step S7 corresponding with module 113, a spatial and colour adaptive gamut mapping algorithm is applied, further indicated as f(). Due to the bilateral filtering carried out in step S2, the neighbourhood of each pixel is taken into account in such a way that the colour values of the pixels and their relations between neighbours are preserved. This yields ⁇ out (114).
  • step S8 corresponding with module 115, ⁇ out is converted to the CMYK encoding of the output printer using the relative colourimetric intent of its associated ICC profile. This yields ldest (1 16).
  • step S1 conversion to CIELAB is executed. It is noted that the color space in which a Spatial Gamut Mapping Algorithm is applied is of importance. In the embodiment presented CIELAB is chosen, however also CIEXYZ will be used.
  • IMAGE DECOMPOSITION The goal of the decomposition, carried out in module 108, is to set apart the local means and the local details of the image in order to process them separately and preserve both as much as possible in the resulting image.
  • the framework presented decomposes the image in two bands, however by modification of module 108 the framework will be suited for n bands.
  • the improvements in BPC and SCAGMAs are also suited to be applied with several bands.
  • the decomposition is obtained by an edge preserving filter using 5D Bilateral Filtering (BF).
  • BF 5D Bilateral Filtering
  • the size of the filter is a crucial parameter and it will be discussed shortly.
  • the number of frequency bands in the decomposition under consideration is 2, but may be more and a maximum will only be constrained by the cost of the computation time.
  • the L BF value of pixel /, L 1 BF can be obtained as follows (similar expressions for a ' BF et b ' BF ): ⁇ t,x ⁇ x J j ⁇ ;p . p-' ) a:ri. ⁇ y ⁇ x ⁇ x> ⁇ rf p ⁇ p"? ) "
  • d(x', x j ) measures the geometric closeness between the locations x 1 of pixel i and x j of a nearby pixel j.
  • r(p', p j ) measures the colorimetric similarity between the colors (L 1 , a 1 , b 1 ) and (U , a j , b j ) of pixels i and j.
  • d(x', x j ) and r(p', p*) are gaussian functions of the euclidean distance between their arguments:
  • the original CIELAB image is converted to the polar representation CIELCH, i.e. lightness, chroma and hue.
  • CIELCH polar representation
  • chroma hue
  • OW only the two channels L in and C in of the original image ⁇ m are filterred using 5D bilateral filtering. This is illustrated in Fig. 3.
  • the h in channel is not filtered, to keep the hue unaltered by the proposed SGMA. Nevertheless, since the 5D bilateral filter involves ⁇ E ab distance, the hue will be well taken into account in the filtering of L m and c m channels.
  • the width of the gaussian filter determines the boundary between the lower frequency content going to the low-pass band (considered as local means) and the higher frequency content going to the high-pass band (local details). Setting the appropriate value for ⁇ d is not a trivial task.
  • This choice relates to the definition of 'local details' (i.e. small or minor elements in a particular area). This definition depends on multiple parameters such as the size and resolution of the reproduction, the modulation transfer function of the reproduction device, the viewing conditions, the distance of visualization and the behavior of the human visual system. It is known in the art to model the human visual system by multi-scale decompositions with more than two bands (usually up to five).
  • ⁇ r means a larger filter in the color domain, thus a larger range of color transitions being filtered.
  • ⁇ r is very large, the bilateral filter is not modulated by the color content of the filtered area and the resulting blurring of the image becomes similar to the blurring of a two dimensional gaussian filter. It also leads to the introduction of halos near the strong edges. Viewing a row of images with an increasing ⁇ r , one finds more and more color content in l h ⁇ gh -
  • Function g() acts on the local means of the input image I 1n contained in I
  • BPC Black Point Compensation
  • Black Point Compensation also referred to as linear XYZ scaling maps the source's black point to the destination's black point in the CIEXYZ color space, hence scaling intermediate color values. It is noted that Black Point Compensation can be considered as a gamut compression algorithm. As such, it produces images that are less saturated. This desaturation is not always welcomed and/or necessary.
  • the method proposed overcomes this disadvantage. The method for BPC will be explained now with reference to Fig. 5.
  • OW is made up. Along the x-axis of the histogram the Y- values of I
  • Destination device Y m i nD est is indcated. From the histogram the total number of pixels, #, with a Y value below Y m i nD est is determined. Is this number above a first threshold Th1 (step S53, Y), in the next step S54 it is checked if this number is also above a second threshold Th2, where Th2 > Th1. If so (step 54, Y) full black point compensation will be carried out (step S55).
  • Y' IOWBP C is the scaled Y value of the destination pixel i, Y' ⁇ ow the Y value of the source pixel i, Yminiow the minimum Y value of the image and YminDest the minimum Y value of the destination device.
  • owBPC where q #/(Th2-Th1 ).
  • Thresholds Th1 and Th2 are parameters that can be set by an operator via a user interface on an apparatus.
  • step S57 the method will continue with S57, as also will happen after carrying out step S56 and after carrying out step S55, wherein the image resulting is converted to CIELCH. After this conversion the method continues with step S58 where the low pass band obtained is further processed.
  • HPMin ⁇ Eab is substituted by another clipping algorithm SCLIP clipping toward the 50% grey point in order to apply consistent locally adaptive compression that would not be consistent if using HPMin ⁇ Eab:
  • ow ), g SCLIP * BPC.
  • step S6 of Fig.2 executed by module 111 of Fig.1 .
  • step S6 of Fig.2 executed by module 111 of Fig.1 .
  • 0.001.
  • ). ⁇ is taken into account in the modified versions of SCACOMP and SCACLIP . Notice that ⁇ is less critical when Black Point Compensation is applied to I
  • the bilateral filter (module 104, step S2) filters low color variations and maintains high color variations (i.e. strong edges). According to these properties, local spatial variations contained by l h i 9hM present only low color variations. Therefore, each pixel and its neighbors are more likely to be projected to a same little area of the gamut boundary if f() is a clipping GMA. This would result in a strong diminution of the variations present in I h ig h - To avoid this situation, f(), and also k(), may be locally adaptive functions with the following objectives for a pixel p ou t of the resulting image Ut:
  • SCACOMP SPATIAL AND COLOR ADAPTIVE COMPRESSION
  • each neighbor's contribution is controlled
  • the direction of the projection is set as a variable: for each pixel the optimal mapping direction will be chosen so that the local variations are best maintained. To get faster results, the choice is restricted to a set of directions.
  • SCACLIP is further optimized by changing the mathematical expression of the energy to preserve.
  • lfn fn(l
  • the energy is defined as follows:
  • the proposed variant has as advantage that the local differences between the original image and the resulting image are better minimized.
  • edge preserving multiscale decomposition with an adaptive adjustment of lhigh obtained with function k() is used.
  • the method uses a locally adaptive function k().
  • a function k() with constant scaling is known.
  • a locally adaptive mapping (SCACLIP) is provided which compares several mapping alternatives and minimizes the distortion of the local color differences within the input image through the computation of energies.
  • step S7 of the method as presented in Fig.2.
  • step S8 conversion takes place of l ou t to the CMYK encoding of the output printer using the relative colorometric intent of its ICC profile.
  • the proposed gamut mapping algorithms are particularly useful for high quality rendering of images captured by a scanner or a digital camera.
  • Fig. 9 shows a diagrammatic representation of the most important parts of a digital printer in which the invention as described above is applied.
  • This apparatus is provided with a user interface 65 and an input unit 66 for receiving digital images made elsewhere, e.g. via a network 67, so that the apparatus is used as a printer.
  • the apparatus is also provided with a scanner 61 having a device for transforming a recorded image (for example a photograph) to a digital image, a memory 62 for storing the digital image, a processing unit 63 for processing the digital image and a printing unit 64 for printing the processed digital image on paper or any suitable medium.
  • the apparatus is also suited for use as a photocopier.
  • the printing unit 64 contains a number of colour printing sub-units, each printing a basis colour.
  • each colour printing sub-unit uses the basis colorants cyan, yellow, magenta and black in the form of ink or toner. Colours are rendered with raster techniques such as dithering or error diffusion.
  • the input image originating from the scanner 61 or the input unit 66 is a colour image of which the colour values are to be transformed according to an embodiment of the invention .
  • the input unit can be used to input image data of a photograph taken elsewhere by digital recording camera.
  • the processing unit 63 is provided with means to carry out the method according to the invention.
  • the processing unit 63 is connected to the operating unit 65, being a user interface.
  • the operator interface 65 is provided with setting means for manually setting parameters of the gamut mapping function, for example by means of a slide or button.
  • the user can, for example, indicate by means of the printer driver at his workstation that a colour image must be transformed according to his preferences and then printed taking into account desired values for the parameters.
  • a processing device in the printer transforms the digital colour image to a digital colour image mapped on the destination gamut according to the invention, and prints the transformed image.
  • the transformed image may also be displayed on the display unit 68 for a visual control of the result of the transformation.
  • an ink jet printer comprises a platen 40 driven for rotation in the direction of an arrow A for transporting a paper sheet 42 which serves as an image recording medium.
  • a printhead 44 is mounted on a carriage 46 which is guided on guide rails 48 and travels back and forth in the direction of an arrow B along the platen 40 so as to scan the paper sheet 42.
  • the printhead 44 comprises four nozzle heads 50, one for each of the basic colours yellow, magenta, cyan and black.
  • An ink is supplied to a nozzle head 50 from an ink container (not shown) through a pipe.
  • each nozzle head 50 On the side facing the sheet 42, each nozzle head 50 has a linear array of nozzles 52.
  • the nozzle heads 50 are energised in accordance with image information of an image to be printed on the sheet 42. Signals are transmitted to the printhead 44 through a connector (not shown) mounted on the carriage 46. Signals in accordance with print data arise from a control unit connected to the printhead 44 through a connector (not shown).
  • Each nozzle 52 can be energised separately so as to eject an ink droplet which will form a dot at a corresponding pixel position on the sheet 42.
  • each nozzle 52 can be energised to draw a single pixel line of the intended image.
  • the printhead 44 will print a swath or band of the image, and the number of pixels lines of the swath will correspond to the number of nozzles 52 present in each nozzle array.
  • the number of nozzles 52 is considerably larger. Transformation of the captured image data may be required to obtain images rendered with an enhanced colours quality.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Image Processing (AREA)
  • Facsimile Image Signal Circuits (AREA)
  • Color Image Communication Systems (AREA)

Abstract

A general framework for adaptive gamut mapping is presented in which the image is first decomposed in two bands, one containing the local means, the other the local variations. Two spatial and colour adaptive gamut mapping algorithms are introduced. Based on spatial colour bilateral filtering, they take into account the colour properties of the neighbourhood of each pixel. Their goal is to preserve both the colour values of the pixels and their relations between neighbours.

Description

Method, apparatus and computer program for transforming digital colour images
FIELD OF THE INVENTION
The invention relates to a method for mapping an original image from a source gamut colour subspace to a destination gamut colour subspace comprising the steps of: first filtering the original image to obtain a first intermediate image; gamut mapping the first intermediate image to obtain a second intermediate image; second filtering the first intermediate image to obtain a third intermediate image; and merging the second intermediate image and the third intermediate image to obtain a target image; and to an image display system and a colour image printing system adapted to implement the method.
BACKGROUND OF THE INVENTION
Gamut Mapping Algorithms (GMA's) are used to manage the colour gamut changes between an original image and its reproduction via a given technology like printing, photographic imaging, electronic displaying etc. These changes correspond to shape differences and size reduction of the gamut causing a loss of information. Ideally, a GMA should optimise the reproduction by taking into account the colour and spatial distribution of the original image, such that the reproduction is perceived as similar as possible to the original. In the quest for an optimal reproduction, an impressive number of GMAs have been proposed in the literature. In "The fundamentals of gamut mapping: A survey" of J. Morovic and R.Luo an exhaustive survey has been presented. The ICC colour management flow is based on the first generation, non-adaptive point-wise
GMAs. Morovic classified these classic GMAs into two categories: gamut clipping and gamut compression. Gamut clipping algorithms project colour lying outside the output gamut into its boundary. They usually preserve saturation but clip image details and introduce clipping artefacts. Gamut compression algorithms compress the input gamut onto the output gamut and are better at preserving details but tend to reduce saturation.
In "Digital Colour Imaging Handbook, Chapter 10: Gamut Mapping" of J. Morovic, adaptive algorithms with the selection of an appropriate GMA depending on the image type or directly on the image gamut instead of the input device gamut have been investigated. To further improve adaptive GMAs, it has been advocated that preservation of the spatial details in an image is a very important issue for perceptual quality. GMAs adaptive to the spatial content of the image, i.e. Spatial Gamut Mapping Algorithms (SGMAs), have been introduced. These algorithms try to balance both colour accuracy and preservation of details, by acting locally to generate a reproduction perceived as close to the original. Two families of SGMAs which follow different approaches may be distinguished: the first uses iterative optimisation tools, the second reinserts high-frequency content in clipped images to compensate for the loss of details caused by clipping. The optimisation family includes algorithms proposed in "Colour gamut mapping based on a perceptual image difference measure" by Nakauchi et al. Using models of perception of the Human Visual System (HVS), the algorithms minimise the perceived differences between the original and the candidate reproduction by locally modifying the candidate. In these optimisation loops, the main difficulty is to define an appropriate criterion to optimise, using a valid perceptual model. Another problem is the lengthy computing time, making these algorithms difficult to use in an industrial context. Algorithms of the second family are usually sufficiently fast to be implemented in an industrial colour flow. They have a less ambitious motivation: to limit or compensate for the loss of details caused by clipping algorithms. Clipping yields good results in terms of saturation but tend to degrade image details in saturated areas. The projection might fail because it projects all non reproducible colours lying on the line of the projecting direction onto the same point on the gamut boundary. If in a local area, several neighbouring pixels lie on the same line of projection but with distinguishable colours, the local variations that form the spatial content will be erased. Similarly, if pixels in a local neighbourhood lie on nearby projection lines, they will be mapped to nearby points on the gamut hull, and the local spatial variations may be severely diminished. To prevent these degradations, for this second family of SGMAs improvements have already been proposed in the art. These improvements proposed so far can be divided in two groups.
In the first group (XSGM), as disclosed in "Gamut mapping to preserve spatial luminance variations" by Balasubramanian et al., the original image is gamut mapped using a direction of projection that emphasises preservation of chroma over luminance. The parts of the original image that were clipped are high pass filtered and added to the gamut mapped image. The resulting sum is again gamut mapped using a direction of projection that emphasises preservation of luminance over chroma. Previously conducted psycho-physical evaluations showed that this method obtains good scores but suffers from the presence of halos. In the second group, as disclosed i.a. in "A multi-resolution, full colour spatial gamut mapping algorithm" by Morovic and Wang, it is proposed to first decompose the image in frequency bands. The low pass band is gamut mapped then successive clippings are performed during the reconstruction. Results of such an approach depend both on the algorithm used in the image decomposition and on the GMAs successively applied.
In both groups, problems may arise when adding high pass content to the gamut mapped image: artefacts such as halos and colour shifts might be introduced.
In order to further mitigate the problems of the prior art an improved Gamut Mapping Algorithm is proposed.
SUMMARY OF THE INVENTION
The inventors have recognised that optimal GMA's first need to fully preserve hue, then preserve lightness and chroma as much as possible; second need to preserve spatial information: the colour relations between neighbouring pixels must be preserved, as does the balance between the frequency bands; and third need to avoid the introduction of artefacts such as halos, hue shift or posterization.
Based on this recognition, according to a first aspect of the invention, the method according to the preamble is improved in that the merging step comprises merging the second intermediate image and the third intermediate image while preserving the colour and spatially contents of the first image by moving pixels in the output gamut, based on a criterion. In this way, a framework for adaptive mapping is realised with a locally adaptive spatial gamut mapping algorithm, which offers a nice compromise between the preservation of the colour values and the preservation of the colour relation between neighbouring pixels, whereas in the prior art mere summation is used. Criteria applied are based on measures of local similarity between the original image and the reproduction. Various methods can be applied here to measure the similarity between the results of an image quality metric applied to the two images. Criteria applied are further worked out in a first and second embodiment. The effect is to ensure locally the preservation of the local image characteristics.
Also based on the recognition given above, according to a second aspect of the invention, the method according the preamble is improved in that the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges. Bilateral Filters are known in the art, but not on this place in a transformation flow. In similar flows in the prior art a Gaussian filter is used. In this way edges are preserved in the image decomposition, leading to the absence of halos in the later constructed image. Without the bilateral filtering, if the original image contains sharp transitions (edges) halos might appear in the output image.
In a first embodiment according to the first aspect the merging step comprises adaptive compression in order to fit all pixels in the gamut while preserving relationships between neighbouring pixels. This leads to preserving the relationships between neighbouring pixels and therewith allowing a faithful reproduction of the original image, the main goal of a gamut mapping algorithm.
In a second embodiment according to the first aspect the merging step comprises mapping pixels lying outside the gamut to the gamut boundary. This leads to preserving the relationships between neighbouring pixels and preserving the colour component of each pixel are the two goals of the gamut mapping algorithm. In this embodiment, the result is on the gamut hull, thus the colour saturation is very high leading to a faithful reproduction of the original image both in term of local energy and saturation. The criterion is the similarity in local Energy between the 2 images.
In yet a next another embodiment the second filtering step comprises the step of determining the difference between the original image and the first intermediate image in order to preserve high frequencies in the smoothly changing regions.
In a next embodiment the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges. This allows the separation of the details in the image that are most likely to be damaged by a classic clipping and allows taking good care of them in a later stage
In another embodiment, the input image is decomposed in a multiscale manner. After the merging step for a first time, the merging step is repeated by merging the output of the previous merging step and a next high pass image. This allows a multiscale approach similar to the one of the human visual system.
The notion of image that is used in the appropriate cases refers to a set of pixels having values, where each value of a pixel has a value from a colour subspace. Regarding the notation of variables used in this application the following is remarked: r
" ?ι v is also indicated as IlowM;
is also indicated as IhighM; in general the horizontal bar above a subscript corresponds with an extension of "M' indicating that the variable has been mapped; L, C, h are also indicated with a star *; and for variables the subscripts and superscripts are in cases indicated as normal characters following the main character of the variable: e.g. Now is identical to I|OW
Brief description of the drawings
The invention will be explained in detail with reference to the accompanying drawings wherein
Fig.1 shows a system for gamut mapping according to the invention; Fig.2 shows a flow diagram representing an embodiment of a method according to the invention;
Fig. 3 shows a further elaboration of the step for bilateral filtering;
Fig. 4 illustrates calculation of \hιgh;
Fig. 5 shows a flow diagram for adaptive BPC; Fig. 6 shows SCACOMP, an illustration of mapping according to a first embodiment, where p1 Ofτset G=1 ) contributes to the shifting of (p'ιow + a'p'high) toward the 0 grey point, unlike p2 0ffSet Q=2);
Fig. 7 shows SCACLIP, an illustration of mapping according to a second embodiment, where (p'ιow +a'p'hιgh) is mapped toward 3 directions, the optimal direction will be chosen so that the local variations are best maintained;
Fig. 8 shows modified SCACLIP, an improvement of a mapping, where the direction of each pixel is selected tp preserve as much as possible the vectors p'ιn and pJ ιn;
Fig. 9 is a simplified component diagram of a printing apparatus for use in connection with the invention; and Fig. 10 is a diagram showing essential parts of an ink jet printer to which the invention is applicable. DESCRIPTION OF THE EMBODIMENTS
FRAMEWORK
Figure 1 illustrates a system 100 comprising a number of components making up a framework for adaptive gamut mapping according to the invention. In the framework images going from one component to another are indicated as a rectangulars with a folded corner. The components, also referred to as modules, may be embodied as software components running under a certain operating system on a computer or they may be embodied in hardware as dedicated circuits like FPGLA's or the like. Figure 2 provides a flow diagram representing an embodiment of a method according to the invention. Both diagrams are related in the sense that typically a particular component carries out a particular step of the method.
In step S1 , executed by component 102, an original image lor (101 ) is converted to CIELAB colour space, using the absolute intent of the input ICC profile and yielding I1n (103).
In a next step S2, executed by component 104, a low pass band I|OW (105) is obtained from I1n by Bilateral Filtering. In this step a weighted local mean is computed where each neighbor is given a weight, which is a function of both the geometric distance and the colourimetric ΔEab distance to the central pixel. This mean is computed using a five- dimensional bilateral filtering algorithm. The resulting low pass band I|OW (105) contains these weighted local means, where the weight is a function of both the geometric distance and the colourometric ΔEab distance to the central pixel. In step S3, executed by component 106, the high pass band lhφ (107), comprising the local variations, is determined by taking the difference of I1n and I|OW ■ Step S2 and S3 together, indicated as S4 and corresponding with modules 104 and 106, together indicated as 108, effectively decompose the image in several bands. In the embodiment illustrated so far the image is decomposed in two bands, one containing the local means, the other the local variations. In a next step S5, correspondig with module 109, I|OW is mapped on the destination gamut DestGamut by clipping and Black Point Compensation is applied. This transformation will further be indicated by g(). Note that degradation by clipping mostly occurs in a neighbourhood in which several pixels have nearby colour values. However the previous bilateral filtering in step S2 will prevent this: such a neighbourhood will be blurred by the filter and the local variations will be safely preserved in lΛ/gΛ.This step provides as output l|OwM (110). In step S6, corresponding with module 11 1 , a transformation k() is carried out on \hιgh resulting in U9/*, (112).
In step S7, corresponding with module 113, a spatial and colour adaptive gamut mapping algorithm is applied, further indicated as f(). Due to the bilateral filtering carried out in step S2, the neighbourhood of each pixel is taken into account in such a way that the colour values of the pixels and their relations between neighbours are preserved. This yields \out (114).
Finally in step S8, corresponding with module 115, \out is converted to the CMYK encoding of the output printer using the relative colourimetric intent of its associated ICC profile. This yields ldest (1 16).
The application of this framework in a printing system will be discussed later. The framework according to the invention will now be elaborated in more detail.
COLOR SPACE In step S1 conversion to CIELAB is executed. It is noted that the color space in which a Spatial Gamut Mapping Algorithm is applied is of importance. In the embodiment presented CIELAB is chosen, however also CIEXYZ will be used.
IMAGE DECOMPOSITION The goal of the decomposition, carried out in module 108, is to set apart the local means and the local details of the image in order to process them separately and preserve both as much as possible in the resulting image. The framework presented decomposes the image in two bands, however by modification of module 108 the framework will be suited for n bands. The improvements in BPC and SCAGMAs are also suited to be applied with several bands.
LOW PASS FILTERING
Using Gaussian Filters for low pass filtering will result in halos. To avoid the introduction of halos, the decomposition is obtained by an edge preserving filter using 5D Bilateral Filtering (BF). The size of the filter is a crucial parameter and it will be discussed shortly. The number of frequency bands in the decomposition under consideration is 2, but may be more and a maximum will only be constrained by the cost of the computation time.
5D Bilateral Filtering (SF) in the CIELAB space is a combined spatial domain and colour range filtering. Let LBF = BF(L), ΘBF = BF(a), OBF = BF(b) denote the three channels of the filtered image. The LBF value of pixel /, L1 BF, can be obtained as follows (similar expressions for a 'BF et b 'BF ): ώt,x\ xJ j π;p . p-' ) a:ri.^ y ^x\ x> } rf p\ p"? ) "
where lin is the original image, d(x', xj) measures the geometric closeness between the locations x1 of pixel i and xj of a nearby pixel j. r(p', pj) measures the colorimetric similarity between the colors (L1, a1, b1) and (U , aj , bj) of pixels i and j.
In our implementation, d(x', xj) and r(p', p*) are gaussian functions of the euclidean distance between their arguments:
■■i(x\ x? ) = h " i s '*&'
where the two scale parameters σd and σr play an essential role in the behavior of the filter. These will discussed shortly. It is noted that equally parameters δd or δr may be used for characterization of the filter.
For the decomposition in two bands according to the invention, first, the original CIELAB image is converted to the polar representation CIELCH, i.e. lightness, chroma and hue. To compute the low-pass band I|OW only the two channels Lin and Cin of the original image \m are filterred using 5D bilateral filtering. This is illustrated in Fig. 3. The hin channel is not filtered, to keep the hue unaltered by the proposed SGMA. Nevertheless, since the 5D bilateral filter involves ΔEab distance, the hue will be well taken into account in the filtering of Lm and cm channels.
The low pass band I|OW is thus defined as:
Figure imgf000009_0001
,hm) where LBF = BF(L1n) and CBF = BF(cm).
FILTER PARAMETERS, SPATIAL FILTER SIZE
In classic gaussian filtering, the width of the gaussian filter (set by θd) determines the boundary between the lower frequency content going to the low-pass band (considered as local means) and the higher frequency content going to the high-pass band (local details). Setting the appropriate value for σd is not a trivial task. This choice relates to the definition of 'local details' (i.e. small or minor elements in a particular area). This definition depends on multiple parameters such as the size and resolution of the reproduction, the modulation transfer function of the reproduction device, the viewing conditions, the distance of visualization and the behavior of the human visual system. It is known in the art to model the human visual system by multi-scale decompositions with more than two bands (usually up to five). By applying this now in the framework according to the invention it allows for the definition of several categories of details with different sizes. For the embodiment presented, the image decomposition is limited to two bands. Appropriate values for σd and σr for this embodiment will be discussed now.
FILTER SIZES IN 5D BILATERAL FILTER In the 5D bilateral filter the ΔEab color distance between the central pixel and nearby pixels is also taken into account. This allows us to avoid halos and to handle specifically the local transitions between local similar pixels. Nearby pixels at small ΔEab distance (i.e. perceived as similar) are filtered. Pixels are less and less filtered as the ΔEab distance be-comes large compared to σr. Thus or determines a reference to set apart small ΔEfrom large ΔEab . While small ΔEab values are well correlated with perceived color differences, it is more difficult to define a threshold or above which ΔEab values can be considered as large. One goal of the SCAGMAs is to preserve color differences that would otherwise be mapped by gamut mapping algorithms to the same color of the destination gamut. Thus to set σr, the average distance between the input and destination gamuts might be considered. The ability of the output device to maintain small differences between colors could also be taken into account. Given the lack of a straightforward definition for 'local details' and 'similar colors', we propose to review the previous work and to evaluate the impact of σd and or values on the image decomposition. Experiments carried out by the inventor brought forward the following observations: A larger value of σd means a broader filter in the image domain, thus a larger set of frequencies being filtered. Indeed considering a column of images with increasing σd going from top to bottom, when browsing the images from top to bottom, one observes that I |0W becomes blurrier and lh,gh presents more and more details. A larger value of σr means a larger filter in the color domain, thus a larger range of color transitions being filtered. When σr is very large, the bilateral filter is not modulated by the color content of the filtered area and the resulting blurring of the image becomes similar to the blurring of a two dimensional gaussian filter. It also leads to the introduction of halos near the strong edges. Viewing a row of images with an increasing σr , one finds more and more color content in lhιgh-
We now consider the relation between σd and σr. A small value of σr severely limits the blurring of the image to very small color transitions for any σd. A small value of σd limits the blurring of the image to high frequency content for any σr. When both σd and σr have very large values, I|OW shows some color shifts due to a large boost of chroma in desaturated areas surrounded by saturated areas. These would cause trouble in the gamut mapping process, yet it only occurs for very large σ values.
Based on our observations, we find the values σr = 20 ΔEab and σd = 20 pixels (i.e. approximately 1.5% of the diagonal) to be a good compromise which suits these algorithms and a set of appropriate images. Considering δd and δr as parameters, it is stated that the setting of δd should depend on the image size and the conditions of visualisation. In earlier experiments, we have set the values to δd = 1 % of the image diagonal and δr = 25ΔE (for images printed at 150 dpi, at the size 9 cm - 15 cm by 12 cm - 20 cm, viewed at a distance of 60 cm). In a particular embodiment these parameters, discussed above, may be set by a user via a user interface, or by a control program based on status and settings of the job and the system.
HIGH PASS FILTERING
The high pass band lh,gh is then calculated in step S3, executed by module 106 in Fig. 1 , by taking the difference of I1n and the low pass l/ow : lhigh = lιn ~ how = (Lm-LBF1Cm ~CβF ,0)
This is illustrated in Fig. 4.
FUNCTION g() APPLIED TO THE LOW PASS BAND. The step of applying Function g() to the low pass band (step S5, excuted by module 109) will now be further elaborated.
Function g() acts on the local means of the input image I1n contained in I|OW . Its goal is to map the gamut of I|OW into the destination gamut GamutDestιnatιon, while preserving as much as possible the color attributes such as hue, lightness and chroma. It also needs to preserve global rendering. In order to avoid consequent clipping of low-key values in the image Black Point Compensation (BPC) is applied on I|OW .
In the following section an algorithm for inclusion in the framework and method according to the invention is proposed. Black Point Compensation (BPC) also referred to as linear XYZ scaling maps the source's black point to the destination's black point in the CIEXYZ color space, hence scaling intermediate color values. It is noted that Black Point Compensation can be considered as a gamut compression algorithm. As such, it produces images that are less saturated. This desaturation is not always welcomed and/or necessary. The method proposed overcomes this disadvantage. The method for BPC will be explained now with reference to Fig. 5. Figure 5 is an elaboration of step S5 in Fig.2. In a first step S51 how is converted to a normalized flat XYZ encoding with white point = [1 ,1 ,1]. In the next step S52 a histogram of I|OW is made up. Along the x-axis of the histogram the Y- values of I|OW run. Along the y-axis of the histogram the number of pixels having a given Y-value are indicated. On the horizontal axis also the minimum Y value of the
Destination device YminDest is indcated. From the histogram the total number of pixels, #, with a Y value below YminDest is determined. Is this number above a first threshold Th1 (step S53, Y), in the next step S54 it is checked if this number is also above a second threshold Th2, where Th2 > Th1. If so (step 54, Y) full black point compensation will be carried out (step S55).
For full BPC the Y|0WBPC value of pixel i, Y'IOWBPC , is obtained as follows (similar expressions for X'IOWBPC and Z'|OwBpc ):
-I -Ϊ V * tos y -_ V ^ >-■-• »>f ;».--sj .-., 5 τ \ , , ,
where Y'IOWBPC is the scaled Y value of the destination pixel i, Y'ιow the Y value of the source pixel i, Yminiow the minimum Y value of the image and YminDest the minimum Y value of the destination device.
If in step S54 it turns out that #>Th2 does not hold (N), partial BPC is carried out (step S56), where partial BPC is a linear combination between no BPC and full BPC, according to the next equation: IlowBPCadaptive = q*how + (1 -q)*l|owBPC where q = #/(Th2-Th1 ).
In case in step S53 it turns out # > Th1 does not hold (N), meaning that only the color of a few pixels or less is below the black point of the output device, BPC is not necessary at all and will not be carried out. Thresholds Th1 and Th2 are parameters that can be set by an operator via a user interface on an apparatus.
The method will continue with S57, as also will happen after carrying out step S56 and after carrying out step S55, wherein the image resulting is converted to CIELCH. After this conversion the method continues with step S58 where the low pass band obtained is further processed.
BPC significantly decrease the number of out of gamut pixels and the distance between the gamut and these pixels. Since the BPC in CIE XYZ scales down the gamut of I|OW , boundaries of I|0WBPC 'S gamut are closer to the destination gamut and the choice of initial clipping has less impact on the final results. In previous experiments some colorful images clipping artifacts were noticeable. These artefacts were due to the initial clipping using HPMinΔEab. However such artifacts are no longer an issue when applying the black point compensation first , and HPMinΔEab is appropriate to preserve the saturation: I|OW = HPMin HPMinΔE(lLowBpc) The second step of function g() is the gamut mapping of the low-pass band. The goal of this mapping is to preserve as much as possible the color of each pixel in I|OW . Preserving the color distance between neighbors is not as critical as when mapping the whole lιn , since most of the important details of the decomposed image have been filtered by the 5D bilateral filter and lie in lhιgh- These constraints lead to the use of HPMinΔE after BPC resulting in the clipped image I|0WM where: liowM = HPMnAE(IlOwBPC) = g(l,ow ), g = HPMinΔE' BPC.
Note that the hue channel is left unaltered by HPMinΔE: h|OwM = h|0W = hιn. Since the BPC in CIE XYZ scales down the gamut of I|OW , boundaries of the gamut of I|0WBPC are closer to the destination gamut and the choice of initial clipping has less impact on the final results. The choice of HPMinΔEab for gamut mapping is appropriate since it preserves the saturation and maintains the hue constant.
However in another embodiment (SCACOMP version) of our spatial and color adaptive
GMA (see below function f()), HPMinΔEab is substituted by another clipping algorithm SCLIP clipping toward the 50% grey point in order to apply consistent locally adaptive compression that would not be consistent if using HPMinΔEab:
IlowM = SCLI P(liowBPc) = g(l|ow ), g = SCLIP * BPC.
FUNCTION k() APPLIED TO THE HIGH-PASS BAND The step of adaptive scaling, step S6 of Fig.2, executed by module 111 of Fig.1 , will now be worked out further. When image areas of I|OW have been greatly modified into IIOWM by the clipping, the local energy within l|OwM may substantially be reduced compared to the local energy within I|OW . In the image areas where both I|OW and lhigh have large local energies but l|OwM has lost a part of its local energy, it might be wise to reduce the energy of lhigh to form lhighM to maintain a balanced ratio between the contributions from the two bands I|0WM and lhighM, similar to the ratio between I|OW and lhigh- Therefore we introduce α(i, I|OW , IIOWM) a local variable affecting the amount of lhigh being added to I|0WM during the merging at each pixel i: lhighM = Cl. lhigh, or equivalently:
ϊ W >M»* >
FI —
-mm i v p÷—
L FF J ) .
where ε is a small constant value to avoid dividing by zero if pVw = p'low and WJ BF are the weights of the bilateral filter used in the decomposition of the image . Preferably ε = 0.001. max(|plow|). α is taken into account in the modified versions of SCACOMP and SCACLIP . Notice that α is less critical when Black Point Compensation is applied to I|OW as the local structure of the low-pass band is then better preserved and α is often close to 1. In a particular situation α = 1 and lhi9h = lhighM .
ADAPTIVE MERGING AND MAPPING OF THE TWO BANDS, FUNCTION f() The two bands I|OW and lhi9h have been modified by g() and k() respectively, and at this point, IIOWM and lhi9hM can be merged and then mapped (step S7 and module 113). In this step, the mapped low pass image howM and the high pass band image lhιghM are merged. The merging operator is an addition, as simple as the decomposition operator:
Kemp — MowM "*" mighM-
Although more elaborated merging is also possible, since function k performs as a locally dependent weight similar to that of an adaptive merging a simple addition for merging suffices for the framework presented. Since colors in ltemp might lie outside the destination gamut GamutDest, a second gamut mapping is necessary. Unlike the mapping of I|OW , this mapping needs to preserve details and should therefore adapt to the content of ltemp-
The bilateral filter (module 104, step S2) filters low color variations and maintains high color variations (i.e. strong edges). According to these properties, local spatial variations contained by lhi9hM present only low color variations. Therefore, each pixel and its neighbors are more likely to be projected to a same little area of the gamut boundary if f() is a clipping GMA. This would result in a strong diminution of the variations present in Ihigh- To avoid this situation, f(), and also k(), may be locally adaptive functions with the following objectives for a pixel pout of the resulting image Ut:
• Pout is as close as possible to pin of lin,
• the color variations of pout with its neighbors are the closest to the color variations of pin with its neighbors,
P<w>« S
Figure imgf000015_0001
*:> i$>l&ne of coπ&tant h«e &„, of pH-J .
Since the first two requirements might be antagonistic, pout results of a compromise. A weighted sum can be used here:
I p,Mt = argniinfe Δ,{p, pϊin) -Ml -
Figure imgf000015_0002
where w e [0, 1] is a weight and Δ1 , Δ2 are distance metrics (several metrics are available in this context). • If w = 1 , k becomes minimum Δ1 clipping (k = HPMinΔE if Δ = ΔE*ab).
• If w = 0, only the color variations between the pixel and its neighbors will be preserved, not the pixel value.
• In intermediate cases w e]0, 1 [, the result might be obtained by an optimization algorithm. Fast solutions can be deployed to maintain the computational time at a reasonable level. A tradeoff of computation time versus quality of the result has to be taken into account. In the next sections, two alternative and fast embodiments are proposed that provide approximations of the best obtainable results. They are based on the same framework: decomposition in two bands lhigh and I|OW using 5D bilateral filtering, followed by a clipping of the low-pass band I|OW into I|0WM and a locally adaptive scaling of lhi9h into IhighM- Then lhighM and I|0WM are merged and adaptively mapped by using a local adaptive implementation of the two families of pointwise GMAs: compression and clipping.
SPATIAL AND COLOR ADAPTIVE COMPRESSION (SCACOMP) According to a particular embodiment an adaptive compression algorithm to preserve the color variations between neighboring pixels contained by lhi9hM is used. The concept is to project each pixel lying outside GamutDest toward the center, more or less deeply inside the gamut depending on its neighbors (Fig. 6). First, IhighM is added to I|0WM and the sum ltemp is mapped using SCLIP:
Is = SCLIP(ltemp) = SCLIP(l|0wM + IhighM).
Then we compute the difference loffset between ls and the newly constructed image ltemp = (IlowM + IhighlVl)- loffset = U ~ ltemp = Is ~ (howM + IhighlVl)- At the given spatial position x', for each pixel j in the neighborhood, we project the color vector pOffset on the direction of pUset- If the result is greater than the norm || pUset ||, Pj is taken into account and pushes p' s e ls toward the 50% grey point of GamutDest (Fig. 6). Each neighbor's contribution to the shifting of pixel i is weighted by wW defined by the Bilateral Filter BF:
W'x^ JK"-* } ^ S ρc . p-* }
«ΦF
*(i>' V )}
and
where:
Figure imgf000016_0001
where "•" denotes the scalar product. w'shift is superior or equal to 1 , guaranteeing therefore that the resulting color value lies in the gamut, between the gamut boundary and the 50% grey point of GamutDest.
In a variant of the embodiment of SCACOMP each neighbor's contribution is controlled
where p'u is the unit vector toward 50% grey,
Figure imgf000017_0001
S-J .... Qf ! f PiVs- L
* !'J- J -)Ct V i jtΛι.
Figure imgf000017_0002
and where "•" denotes the scalar product.
As w'shift ≥ 0, the resulting color value lies in the gamut, between the gamut boundary and the 50% grey point of GamutDest. This variant prevents numerical imprecisions which could arise with very small values of |pOSet|-
SPATIAL AND CCOLOR ADAPTIVE CLIPPING (SCACLIP)
According to a second embodiment , in order to maintain the content of lhigh, the direction of the projection is set as a variable: for each pixel the optimal mapping direction will be chosen so that the local variations are best maintained. To get faster results, the choice is restricted to a set of directions. In the proposed second embodiment, the mapping direction will be chosen within directions known in the art, i.e. between U = HPMinΔE, f2 = CUSP and f3 = SCLIP. First, lhighM is added to I|0WM and the 3 mappings fn, n e {1 , 2, 3}, are run (see figure 7). Then for each mapping the difference lhigh_nM between the result of the mapping and I|0WM is computed. This difference can be regarded as the result of the mapping of mighM: lhigh_nM = fn(howM + IhighlVl) ~ howM , n G {1 , 2, 3}.
In lhigh we compute the energy E'high corresponding to the weighted sum of the norms of pj high for pixels j in the neighborhood of the pixel i, and similarly the energy E'n in each
Ihigh n-
Figure imgf000017_0003
where wW are the weights of the bilateral filter used in the decomposition of the image. Because the process is scanning the image pixel by pixel, some pixels pUt of the neighborhood have been already processed. For these pixels, pjhigh_nM are replaced by results pj out in the computation of E'n : Jra.,« for fe'ϊ.prot'€saerf pmϋs > y^' otherwise,
Therefore, anterior decisions are taken into account and lout depends on the processing order of the pixels. Error diffusion halftoning algorithms have a similar approach. Other options involving optimization tools are possible.
Then the direction of projection for which E'n is the closest to E'high is selected for the pixel i:
P out = fselect(P low + P high), select = argminn(|E'n - E'high|), n e {1 , 2, 3}.
Modified Energy Minimization in SCACLIP
In a variant of the above embodiment, SCACLIP is further optimized by changing the mathematical expression of the energy to preserve.
IhighM and howM are merged and the 3 mappings fn, n e {1 , 2, 3}, are run:
lfn = fn(l|owM + IhighlVl) , I e {1 , 2, 3}.
In this variant of SCACLIP, the energy is defined as follows:
Figure imgf000018_0001
We apply here the same reduction α to lin as defined before for lhiε,h to compensate for the possible reduction of local energy of I|0WM compared to I|0WM- The main improvement in this new definition of the energy is that we take into account the direction of the local color variations within a neighborhood while the energy in the original second embodiment took only into account the amplitude of these variations. Then the direction of projection for which E'n is the smallest is selected for the pixel i (see Fig. 8): select = argminn(Ei n ), n e {1 , 2, 3},
P out = fselect(P lowM + P highH/l)-
The proposed variant has as advantage that the local differences between the original image and the resulting image are better minimized. In comparing the new SCAGMA's as proposed above with SCAGMAs known in the art, the following is noted:
• In the system and method presented herein an edge-preserving filter to decompose the image is used. This filter allows to avoid halos. More particular a 5D Bilateral Filter is applied to I1n - GMA(I1n) to form lhigh which is then simply addedto GMA(I1n).
• According to the proposed embodiment edge preserving multiscale decomposition with an adaptive adjustment of lhigh obtained with function k() is used. This overcomes drawbacks of the prior art, such as:
(a) an adaptive adjustment in a Gaussian based multilevel decomposition would not avoid halos,
(b) an adjustment in the Zolliker and Simon SGMA would result in unbalanced frequency content in the image.
• According to the proposed embodiment the method uses a locally adaptive function k(). In the prior art only a function k() with constant scaling is known. • According to the proposed embodiment a locally adaptive mapping (SCACLIP) is provided which compares several mapping alternatives and minimizes the distortion of the local color differences within the input image through the computation of energies.
• Advantage is that the frequency content in the resulting image is similar in image regions that are in the destination gamut GamutDest and those that are outside it. SGMAs known in the prior art fail on this.
Both embodiments SCACOMP and SCACLIP, presented above, are built on the same framework and therefore have a similar behavior. Yet some differences can be noticed between their output images. In the following we consider these differences, then compare the two algorithms with alternative existing GMAs. Tests have been carried out to evaluate the quality of the output images.
Images produced by SCACOMP are perceived as slightly less saturated and less sharp than SCACLIP but are more likely to be free of artifacts. The differences between the algorithms lead to the differences in the outputimages: • The initial mapping is different : HPMinΔE in SCACLIP versus SCLIP in SCA- COMP. This difference impacts perceived saturation of resulting images.
• Ending adaptive mapping is different and the local contrast in SCACLIP output images is better preserved than in SCACOMP output images. Furthermore, SCACLIP is more likely to present local artifacts because of the limit to three possible direc- tions. This limit can cause a sudden switch from one color to another in smoothly varying areas that might cause noticeable artifacts. The difference between the resulting images is attenuated when BPC is applied prior to the mapping of I|OW in the workflow.
This concludes the explanation of step S7 of the method as presented in Fig.2.
Finally in step S8 conversion takes place of lout to the CMYK encoding of the output printer using the relative colorometric intent of its ICC profile.
The proposed gamut mapping algorithms are particularly useful for high quality rendering of images captured by a scanner or a digital camera.
Fig. 9 shows a diagrammatic representation of the most important parts of a digital printer in which the invention as described above is applied. This apparatus is provided with a user interface 65 and an input unit 66 for receiving digital images made elsewhere, e.g. via a network 67, so that the apparatus is used as a printer. The apparatus is also provided with a scanner 61 having a device for transforming a recorded image (for example a photograph) to a digital image, a memory 62 for storing the digital image, a processing unit 63 for processing the digital image and a printing unit 64 for printing the processed digital image on paper or any suitable medium. The apparatus is also suited for use as a photocopier. For printing digital colour images, the printing unit 64 contains a number of colour printing sub-units, each printing a basis colour. For example four colour printing sub-units use the basis colorants cyan, yellow, magenta and black in the form of ink or toner. Colours are rendered with raster techniques such as dithering or error diffusion.
The input image originating from the scanner 61 or the input unit 66 is a colour image of which the colour values are to be transformed according to an embodiment of the invention . The input unit can be used to input image data of a photograph taken elsewhere by digital recording camera. To make a print, the processing unit 63 is provided with means to carry out the method according to the invention.
The processing unit 63 is connected to the operating unit 65, being a user interface. The operator interface 65 is provided with setting means for manually setting parameters of the gamut mapping function, for example by means of a slide or button.
When the invention is used in a printer in a network environment, the user can, for example, indicate by means of the printer driver at his workstation that a colour image must be transformed according to his preferences and then printed taking into account desired values for the parameters. In that case, a processing device in the printer transforms the digital colour image to a digital colour image mapped on the destination gamut according to the invention, and prints the transformed image.
The transformed image may also be displayed on the display unit 68 for a visual control of the result of the transformation.
It is also possible to carry out steps of the gamut mapping method in a separate computer, for example the workstation of a user, and then send intermediate images to a printer, where additional steps for completing the mapping will be carried out, or to a mass memory for storage and later printing.
Rendering the image can be performed in a printing apparatus as the one shown partly in Fig. 10. As is shown therein, an ink jet printer comprises a platen 40 driven for rotation in the direction of an arrow A for transporting a paper sheet 42 which serves as an image recording medium. A printhead 44 is mounted on a carriage 46 which is guided on guide rails 48 and travels back and forth in the direction of an arrow B along the platen 40 so as to scan the paper sheet 42. The printhead 44 comprises four nozzle heads 50, one for each of the basic colours yellow, magenta, cyan and black. An ink is supplied to a nozzle head 50 from an ink container (not shown) through a pipe. On the side facing the sheet 42, each nozzle head 50 has a linear array of nozzles 52. The nozzle heads 50 are energised in accordance with image information of an image to be printed on the sheet 42. Signals are transmitted to the printhead 44 through a connector (not shown) mounted on the carriage 46. Signals in accordance with print data arise from a control unit connected to the printhead 44 through a connector (not shown). Each nozzle 52 can be energised separately so as to eject an ink droplet which will form a dot at a corresponding pixel position on the sheet 42. Thus, when the printhead 44 performs a single stroke along the platen 40, each nozzle 52 can be energised to draw a single pixel line of the intended image. As a result, during each forward or backward stroke of the carriage 46, the printhead 44 will print a swath or band of the image, and the number of pixels lines of the swath will correspond to the number of nozzles 52 present in each nozzle array. Although only eight nozzles 52 are shown per nozzle head 50 in Fig. 10, in practice, the number of nozzles is considerably larger. Transformation of the captured image data may be required to obtain images rendered with an enhanced colours quality.
Although the invention has been explained by reference to the above-described exemplified embodiment, it is not limited thereto. It will be clear to the skilled person that other embodiments are possible within the scope of the claims.

Claims

1. A method for mapping an original image from a source gamut colour subspace to a destination gamut colour subspace comprising the steps of: - first filtering (S2) the original image to obtain a first intermediate image (105);
- gamut mapping (S5) the first intermediate image to obtain a second intermediate image (110);
- second filtering (S3) the first intermediate image to obtain a third intermediate image (112); and - merging (S7) the second intermediate image and the third intermediate image to obtain a target image, characterised in that the merging step comprises merging the second intermediate image and the third intermediate image while preserving the colour and spatially contents of the first image by moving pixels in the output gamut, based on certain criteria.
2. A method for mapping an original image according to claim 1 , characterised in that the merging step comprises adaptive compression in order to fit all pixels in the gamut while preserving relationships between neighbouring pixels.
3. A method for mapping an original image according to claim 1 , characterised in that the merging step comprises mapping pixels lying outside the gamut to the gamut boundary.
4. A method according to claim 1-3 characterised in that the second filtering step comprises the step of determining the difference between the original image and the first intermediate image in order to preserve high frequencies in the smoothly changing regions.
5. A method according to claim 1-4 characterised in that the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges.
6. A method for mapping an original image from a source gamut colour subspace to a destination gamut colour subspace comprising the steps of: - first filtering the original image to obtain a first intermediate image;
- gamut mapping the first intermediate image to obtain a second intermediate image;
- second filtering the first intermediate image to obtain a third intermediate image; and - merging the second intermediate image and the third intermediate image to obtain a target image, characterised in that the first filtering step comprises using a bilateral filter for blurring smoothly changing regions of the original image with preservation of strong edges.
7. A method according to any of claims 1-6 characterised in that N-2 additional filtering steps are carried out to obtain N-2 additional filtered intermediate images and that the merging step is additionally repeated N - 2 times, each time merging the output of the previous merging step and the Nth filtered intermediate image.
8. An image display system for rendering digital images in visible form by mapping an image from a from a source gamut colour subspace to a destination gamut colour subspace according to a method of one of claims 1-6.
9. A colour image printing system for printing colour images by mapping an image from a from a source gamut colour subspace to a destination gamut colour subspace according to a method of one of claims 1-6.
10. A colour image printing system according to claim 9, characterised in that it is an inkjet printing system.
1 1. Computer program for causing an apparatus to execute the method for mapping an original image from a source gamut colour subspace to a destination gamut colour subspace according to any of claims 1 - 7.
12. Computer-readable medium comprising the computer program according to claim 1 1.
PCT/EP2008/062910 2007-09-28 2008-09-26 Method, apparatus and computer program for transforming digital colour images WO2009040414A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2010526303A JP5539208B2 (en) 2007-09-28 2008-09-26 Method, apparatus and computer program for converting a digital color image
EP08804788A EP2206333A1 (en) 2007-09-28 2008-09-26 Method, apparatus and computer program for transforming digital colour images
US12/748,176 US8373898B2 (en) 2007-09-28 2010-03-26 Method, apparatus and computer program for transforming digital color images

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
EP07117464 2007-09-28
EP07117464.3 2007-09-28
EP08305538.4 2008-09-09
EP08305538 2008-09-09

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/748,176 Continuation US8373898B2 (en) 2007-09-28 2010-03-26 Method, apparatus and computer program for transforming digital color images

Publications (1)

Publication Number Publication Date
WO2009040414A1 true WO2009040414A1 (en) 2009-04-02

Family

ID=40032592

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/EP2008/062910 WO2009040414A1 (en) 2007-09-28 2008-09-26 Method, apparatus and computer program for transforming digital colour images
PCT/EP2008/062915 WO2009040416A1 (en) 2007-09-28 2008-09-26 Method, apparatus and computer program for adaptive black point compensation

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/EP2008/062915 WO2009040416A1 (en) 2007-09-28 2008-09-26 Method, apparatus and computer program for adaptive black point compensation

Country Status (4)

Country Link
US (2) US9467598B2 (en)
EP (2) EP2206333A1 (en)
JP (2) JP5539208B2 (en)
WO (2) WO2009040414A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072415A1 (en) 2010-11-30 2012-06-07 Oce-Technologies B.V. Method of rendering a colour image with spatial gamut mapping
CN107517380A (en) * 2012-09-24 2017-12-26 英特尔公司 For Video coding and the local auto-adaptive wave filter based on histogram segmentation of decoding

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008306377A (en) * 2007-06-06 2008-12-18 Fuji Xerox Co Ltd Color adjusting device, and color adjusting program
CN102341826B (en) 2009-03-06 2014-03-19 皇家飞利浦电子股份有限公司 Method for converting input image data into output image data
US9014472B2 (en) * 2013-03-15 2015-04-21 Xerox Corporation Color balanced compression in dynamic range mismatched color systems
US9961238B2 (en) 2015-06-07 2018-05-01 Apple Inc. Color gamut size metric estimation
EP3193493A1 (en) * 2016-01-15 2017-07-19 Thomson Licensing Lightness mapping in two steps
US11908109B1 (en) * 2019-11-04 2024-02-20 madVR Holdings LLC Enhanced video processor
US11615763B2 (en) * 2020-11-05 2023-03-28 Samsung Electronics Co., Ltd. Color gamut compression and extension

Family Cites Families (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3629409C2 (en) * 1986-08-29 1994-02-17 Agfa Gevaert Ag Method and device for contrast evaluation in electronic image processing
US5450216A (en) * 1994-08-12 1995-09-12 International Business Machines Corporation Color image gamut-mapping system with chroma enhancement at human-insensitive spatial frequencies
US5608548A (en) * 1994-12-23 1997-03-04 Hewlett-Packard Company Automatic color adjustment in a document processing environment
US5848183A (en) * 1996-11-21 1998-12-08 Xerox Corporation System and method for generating and utilizing histogram data from a scanned image
US6954287B1 (en) * 1999-11-05 2005-10-11 Xerox Corporation Gamut mapping preserving local luminance differences with adaptive spatial filtering
US6618171B1 (en) * 2000-02-25 2003-09-09 Xerox Corporation Black point adjustment based on image background
JP3719911B2 (en) * 2000-05-31 2005-11-24 松下電器産業株式会社 Color conversion method and color conversion apparatus
GB0120489D0 (en) * 2001-08-23 2001-10-17 Eastman Kodak Co Tone scale adjustment of digital images
EP1292113A3 (en) * 2001-08-23 2005-03-23 Eastman Kodak Company Tone scale adjustment
FI116327B (en) * 2003-09-24 2005-10-31 Nokia Corp Method and system for automatically adjusting color balance in a digital image processing chain, corresponding hardware and software means for implementing the method
US7652808B2 (en) * 2003-12-11 2010-01-26 Xerox Corporation Spatially varying luminance compression gamut mapping system and method
US7421143B2 (en) * 2004-06-01 2008-09-02 Xerox Corporation Systems and methods for optimal dynamic range adjustment of scanned images
US8120570B2 (en) * 2004-12-02 2012-02-21 Sharp Laboratories Of America, Inc. Systems and methods for tone curve generation, selection and application
US7570829B2 (en) * 2005-02-17 2009-08-04 Eastman Kodak Company Selection of alternative image processing operations to maintain high image quality
JP2006303984A (en) * 2005-04-21 2006-11-02 Fuji Photo Film Co Ltd Color conversion definition generating device, program, program storage medium, and method
US7554705B2 (en) * 2006-02-15 2009-06-30 Eastman Kodak Company Color gamut mapping with black point compensation
KR20070091853A (en) * 2006-03-07 2007-09-12 삼성전자주식회사 Apparatus and method for reproducting color image-adaptively
US7933445B2 (en) * 2007-01-09 2011-04-26 Sharp Laboratories Of America, Inc. Color gamut mapping/enhancement technique using skin color detection
US8050496B2 (en) * 2007-01-09 2011-11-01 Sharp Laboratories Of America, Inc. Color gamut mapping/enhancement technique using skin color detection
WO2009040417A2 (en) * 2007-09-28 2009-04-02 Oce-Technologies B.V. Method, apparatus and computer program for adaptive compensation of a mtf
US8265387B2 (en) * 2009-04-24 2012-09-11 Xerox Corporation Adaptive spatial gamut mapping via dynamic thresholding

Non-Patent Citations (13)

* Cited by examiner, † Cited by third party
Title
BALASUBRAMANIAN, GAMUT MAPPING TO PRESERVE SPATIAL LUMINANCE VARIATIONS
DURAND F ET AL: "Fast Bilateral Filtering for the Display of High-Dynamic-Range Images", ACM TRANSACTIONS ON GRAPHICS, ACM, US, vol. 21, no. 3, 1 July 2002 (2002-07-01), pages 257 - 266, XP002312495, ISSN: 0730-0301 *
DURAND F ET AL: "Fast bilateral filtering for the display of high-dynamic-range images", INTERNET CITATION, 3 July 2002 (2002-07-03), XP002472413 *
FARUP I ET AL: "A Multiscale Framework for Spatial Gamut Mapping", IEEE TRANSACTIONS ON IMAGE PROCESSING, IEEE SERVICE CENTER, PISCATAWAY, NJ, US, vol. 16, no. 10, 1 October 2007 (2007-10-01), pages 2423 - 2435, XP011192104, ISSN: 1057-7149 *
J. MOROVIC; R.LUO, THE FUNDAMENTALS OF GAMUT MAPPING: A SURVEY
J.MEYER; BRIAN BARTH, COLOR GAMUT MATCHING FOR HARD COPY
J.MOROVIC: "Digital Colour Imaging Handbook, Chapter 10: Gamut Mapping"
MEYER J ET AL: "COLOR GAMUT MATCHING FOR HARD COPY", SID INTERNATIONAL SYMPOSIUM. BALTIMORE, MAY 16 - 18, 1989, PLAYA DEL REY, SID, US, vol. 20, 16 May 1989 (1989-05-16), pages 86 - 89, XP000076842 *
NAKAUCHI, COLOUR GAMUT MAPPING BASED ON A PERCEPTUAL IMAGE DIFFERENCE MEASURE
NICOLAS BONNIER ET AL: "Spatial and color adaptive gamut mapping: a mathematical framework and two new algorithms", INTERNET CITATION, XP002472411, Retrieved from the Internet <URL:Albuquerque, New Mexico http://www.tsi.enst.fr/publications/enst/inpr oceedings-2007-7612.pdf> [retrieved on 20080311] *
RICK SKARBEZ: "Color and high dynamic range (HDR) imaging", INTERNET CITATION, 20 November 2007 (2007-11-20), XP002472412 *
TOMASI C ET AL: "Bilateral filtering for gray and color images", 6TH INTERNATIONAL CONFERENCE ON COMPUTER VISION. ICCV '98. BOMBAY, JAN. 4 - 7, 1998; [IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION], NEW YORK, NY : IEEE, US, 4 January 1998 (1998-01-04), pages 839 - 846, XP000926378, ISBN: 978-0-7803-5098-4 *
ZOLLIKER P ET AL: "Adding local contrast to global gamut mapping algorithms", FINAL PROGRAMME AND PROCEEDINGS. CGIV. EUROPEAN CONFERENCE ONCOLOUR IN GRAPHICS, IMAGING AND VISION, XX, XX, vol. 1, 19 June 2006 (2006-06-19), pages 257 - 261, XP008089353 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012072415A1 (en) 2010-11-30 2012-06-07 Oce-Technologies B.V. Method of rendering a colour image with spatial gamut mapping
CN107517380A (en) * 2012-09-24 2017-12-26 英特尔公司 For Video coding and the local auto-adaptive wave filter based on histogram segmentation of decoding

Also Published As

Publication number Publication date
US9467598B2 (en) 2016-10-11
EP2196017B1 (en) 2016-06-08
JP2010541356A (en) 2010-12-24
US20100272353A1 (en) 2010-10-28
US20100253954A1 (en) 2010-10-07
JP2010541355A (en) 2010-12-24
EP2206333A1 (en) 2010-07-14
EP2196017A1 (en) 2010-06-16
JP5539208B2 (en) 2014-07-02
WO2009040416A1 (en) 2009-04-02
US8373898B2 (en) 2013-02-12

Similar Documents

Publication Publication Date Title
US8373898B2 (en) Method, apparatus and computer program for transforming digital color images
JP4528782B2 (en) Generate a color conversion profile for printing
US8390887B2 (en) Method, apparatus and computer program for adaptive compensation of a MTF
JP4388553B2 (en) Generate a color conversion profile for printing
EP1427184B1 (en) Color gamut mapping using a cost function
US7072084B2 (en) Color converting device emphasizing a contrast of output color data corresponding to a black character
JP4234281B2 (en) Printing system
CN102318330B (en) Image processing system for processing a digital image and image processing method of processing a digital image
US20090010536A1 (en) Color conversion device, method of color conversion, image formation system and program
US8031365B2 (en) Image processor and image processing method for reducing consumption amount of recording material
JP2005328845A6 (en) Method, apparatus and computer program for converting a digital color image
JP2005328845A (en) Methods, apparatus and computer for transforming digital colour images
EP1447972A2 (en) Calibrating a digital printer using a cost function
US20090244660A1 (en) Coloring image generating apparatus and coloring image generating method
JP4788393B2 (en) Image processing apparatus, image processing method, and image processing program
US11416723B2 (en) Image processing apparatus, and non-transitory computer-readable recording medium therefor
JP4380503B2 (en) Lookup table creation method and separation method
US7817303B2 (en) Image processing and image forming with modification of a particular class of colors
Samadzadegan et al. Spatio-spectral gamut mapping and separation
JP2011124919A (en) Image processing apparatus, and image processing method
JP2003309732A (en) Image processing apparatus, image forming apparatus, image processing method, computer program, and recording medium
JP2004299171A (en) Process of dividing plate into a plurality of ink components including primary color ink and secondary color ink

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08804788

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2010526303

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2008804788

Country of ref document: EP