1. Technical Field
This present application claims priority on Japanese Patent Application No. 2008-13746 filed in Japan on Jan. 24, 2008, the entire contents of which are incorporated herein by references.
The present invention relates to an image signal processing device and an image signal processing program. In particular, the present invention relates to an image signal processing device and an image signal processing program for compensating change in color due to clipping and the like of the signal in the recording process of the image signal in an image output device having a color gamut exceeding a domain of the image signal, and effectively using the wide color gamut of the image output device.
2. Description of the Related Art
Conventionally, a method using a standard color space such as sRGB and sYCC is widely used to ensure color reproducibility between different image input/output processing devices such as camera and display, or display and printer.
In recent years, a device which handles a color gamut exceeding sRGB and sYCC exists in both the input device such as a camera and a scanner, and the output device such as a display and a printer. A method of ensuring compatibility with the sRGB and the sYCC used in the related art while effectively using the wide color gamut of the device has been proposed, as described in Japanese Patent Publication No. 3800427.
In the method proposed in patent document 1, the color signal of wide color gamut that becomes upper compatible of the conventional sYCC standard is transmitted by expanding a γ curve from the sYCC standard primarily using three primary colors having the same chromaticity coordinate as the sYCC, and using the regions of Cb, Cr, which are not used in the sYCC standard.
In the field of printers, the RGB value of the color image displayed on the display is converted to the ink amount of CMYK etc., and then printed. In this case, an appropriate mapping is generally performed on the portion where the color gamut does not overlap while accurately reproducing the color gamut that can be commonly handled by the display and the printer. For instance, if the RGB signal exceeding the color gamut of the printer is input, mapping is performed to the closest point on the color gamut surface of the printer in a L*a*b* color space to perform a color conversion process such that a difference between a display color of the display and an output color from the printer becomes a minimum, as described in Japanese Laid-Open Patent Publication No. 2006-33246.
Disclosed is a method of performing a wide color gamut display effectively using the color gamut of the display by linearly expanding the luminance and the color saturation in the range not exceeding the color gamut of the display while maintaining a hue of the input color signal when the color gamut of the display is narrower than the color gamut of the printer, as described in Japanese Laid-Open Patent Publication No. 2003-153027.
Patent document 1:
However, since the color signal is converted through processes common to all the pixels in the conventional method, characteristics in a spatial direction are crushed even if an error for every pixel is a minimum, and an image may become unnatural.
For instance, if the color gamut of Adobe RGB is converted to signals of Y, Cb, and Cr through the method described in patent document 1, red, green, and cyan having high degree of saturation does not fall within the domain of the color difference signal (
When mapping to some kind of signal domain surface or color gamut surface is performed by the compression process of the color gamut, the characteristics in the spatial direction such as the original gradation cannot be restored from the single color, and conversion to the single color using the color of the color gamut surface of the output device is merely performed in the color gamut expansion method of the related art represented by Japanese Patent Laid-open Publication No. 2003-153027. In the example of
To alleviate such drawback, a method of compressing the color gamut to a value of a constant range close to the signal domain or the color gamut surface rather than simple clipping is known. In such method, however, the effect cannot be recognized unless the range of value of the compressing destination is relatively large, but color reproducibility with the device that does not assume such color gamut compression process is affected as the range of value of the compressing destination becomes greater.
As shown in
It is an object of the present invention to provide an image signal processing device and an image signal processing program capable of effectively using the entire gamut of the output device while taking clipping into consideration even when receiving an input of an image signal containing a color signal having a possibility of being clipped.
To solve the above problems, an image signal processing device according to the present invention relates to an image signal processing device for receiving an image signal using a first color signal, and converting the image signal to image data using a second color signal to output the image data, the image signal processing device including:
an image signal input unit for receiving the image signal using the first color signal for every pixel;
a clip determination unit for determining whether or not the first color signal is a color signal of an end of a domain of a color space defining the first color signal or a neighboring color of a specific color gamut end existing within the domain of the color space;
a distance calculation unit for calculating a distance to a closest pixel determined as not the end of the domain of the color space or the neighboring color of the specific color gamut end with respect to a pixel determined as the color signal of the end of the domain of the color space or the neighboring color of the specific color gamut end;
an adjustment amount determination unit for determining a color signal adjustment amount with respect to a color signal in each pixel based on the outputs of the clip determination unit and the distance calculation unit;
a color signal adjustment unit for adjusting the color signal in each pixel by the color signal adjustment amount based on the output of the color signal adjustment amount determination unit to obtain the second color signal; and
an image signal output unit for outputting an image signal using the second color signal.
The image signal using the first color signal is subjected to conversion of a color space from a color signal defined by a color space different from the color signal defining the first color signal, the first color signal converted from a color signal of a color gamut that cannot be expressed with the color space defining the first color signal being trimmed.
The different color space before conversion to the first color signal may be RAW RGB or the like based on a primary color chromaticity coordinate of a specific imaging device other than Adobe RGB, wide gamut RGB, DCI standard, or NTSC.
The image signal input unit may receive an input of metadata related to trimming in the first color signal of the image signal along with the image signal. In this case, the adjustment amount determination unit prepares plural types of functions for obtaining the color signal adjustment amount of the color signal in advance, selects the function based on the metadata and also selects a parameter value of the selected function, and determines the color signal adjustment amount using the selected function.
The color signal adjustment unit may superimpose an appropriate noise on the second color signal after processing so that an interior of a region to be processed does not become a very smooth gradation or superimpose noise on the color signal adjustment amount in advance and then perform a color signal adjustment process.
A color space conversion unit for converting a color space from the first color signal defined by the first color space to the third color signal defined by a third color space different from the first color space may be arranged. In this case, the adjustment amount determination unit determines the color signal adjustment amount with respect to the third color signal in each pixel; the color signal adjustment unit adjusts the third color signal in each pixel by the color signal adjustment amount to obtain the second color signal; and the image signal output unit outputs the second color signal.
A color space conversion unit for converting a color space from the second color signal to the third color signal defined by a third color space different from the color space defining the second color signal may be arranged. In this case, the image signal output unit outputs an image signal using the third color signal.
The first color space may be xvYCC, and the third color space may be RGB.
Another configuration of the image signal processing device according to the present invention relates to an image signal processing device for receiving an image signal using a first color signal, and converting the image signal to image data using a second color signal to output the image data, the image signal processing device including:
an image signal input unit for receiving the image signal using the first color signal for every pixel;
a characteristic extracting unit for extracting a characteristic image signal having a signal distance vector from an end of a domain of a color space defining the first color signal as an element from the image signal;
a dictionary searching unit for obtaining a color adjustment amount corresponding to the characteristic image signal from a color signal adjustment amount dictionary in which the characteristic image signal and a color signal adjustment amount for restoring an image before clipping are recorded in association with each other;
a color signal adjustment unit for adjusting the color signal in each pixel by the color signal adjustment amount to obtain the second color signal; and
an image signal output unit for outputting the image signal using the second color signal.
An image signal processing method according to the present invention relates to an image signal processing computer program for causing a computer to execute an image signal processing method of receiving an image signal using a first color signal, and converting the image signal to image data using a second color signal to output the image data, the image signal processing method including:
an image signal input step of receiving the image signal using the first color signal for every pixel;
a clip determination step of determining whether or not the first color signal is a color signal of an end of a domain of a color space defining the first color signal or a neighboring color of a specific color gamut end existing within the domain of the color space for each pixel;
a distance calculation step of calculating a distance to a closest pixel determined as not the end of the domain of the color space or the neighboring color of the specific color gamut end with respect to a pixel determined as the color signal of the end of the domain of the color space or the neighboring color of the specific color gamut end by the clip determination step;
an adjustment amount determination step of determining a color signal adjustment amount with respect to a color signal in each pixel based on the distance to the closest pixel;
a color signal adjustment step of adjusting the color signal in each pixel by the color signal adjustment amount to obtain the second color signal; and
an image signal output step of outputting the image signal using the second color signal.
The image signal using the first color signal is subjected to conversion from a color signal defined by a color space different from the first color space, the first color signal converted from a color signal of a color gamut that cannot be expressed with the color space defining the first color signal being trimmed.
The image signal input step may include receiving an input of metadata related to trimming in the first color signal of the image signal along with the image signal; and
the adjustment amount determination step may include preparing plural types of functions for obtaining the color signal adjustment amount of the color signal in advance, selecting the function based on the metadata and also selecting a parameter value of the selected function, and determining the color signal adjustment amount using the selected function.
The color signal adjustment steps may include superimposing an appropriate noise on the second color signal after processing so that an interior of a region to be processed does not become a very smooth gradation. or superimposing noise on the color signal adjustment amount in advance and then performing a color signal adjustment process.
A color space conversion step of converting a color space from the first color signal defined by the first color space to the third color signal defined by a third color space different from the first color space may be further arranged. In this case, the adjustment amount determination step includes determining the color signal adjustment amount with respect to the third color signal in each pixel; the color signal adjustment step includes adjusting the third color signal in each pixel by the color signal adjustment amount to obtain the third color signal; and the image signal output step includes outputting the third color signal.
A color space conversion step of converting a color space from the second color signal to the third color signal defined by a third color space different from the color space defining the second color signal may be further arranged. In this case, the image signal output step includes outputting an image signal using the third color signal.
Another configuration of the image signal processing program according to the present invention relates to an image signal processing computer program for causing a computer to execute an image signal processing method of receiving an image signal using a first color signal, and converting the image signal to image data using a second color signal to output the image data, the image signal processing method including:
an image signal input step for receiving the image signal using the first color signal for every pixel;
a characteristic extracting step of extracting a characteristic image signal having a signal distance vector from an end of a domain of a color space defining the first color signal as an element from the image signal;
a dictionary searching step of obtaining a color adjustment amount corresponding to the characteristic image signal from a color signal adjustment amount dictionary in which the characteristic image signal and a color signal adjustment amount for restoring an image before clipping are recorded in association with each other;
a color signal adjustment step of adjusting the color signal in each pixel by the color signal adjustment amount to obtain the second color signal; and
an image signal output step of outputting the image signal using the second color signal.
According to the image signal processing device and the image signal processing program of the present invention, the entire gamut of the display can be effectively used in view of clipping while substantially maintaining color reproducibility even when receiving an image signal using a color signal having a possibility of being clipped.
The image signal processing device and the image signal processing program according to the present invention assume a simple clipping or a color gamut compression to a very narrow range of values. First, a region where only the domain of the color gamut of the input signal or the color near the specific color gamut surface continues is detected. The color conversion is performed such that the color at the exterior and the contour of the detected region is maintained, and the color approaches the color of the color gamut surface of the output device as the distance is farther away from the contour of the region in the interior of the region. The unnatural color expression due to clipping and the like is thereby resolved.
The present invention will become readily understood from the following description of preferred embodiments thereof made with reference to the accompanying drawings, in which like parts are designated by like reference numeral and in which:
An image signal processing device and an image signal processing program according to the embodiments of the present invention will be described below using the accompanied drawings. The same reference numerals are denoted for substantially the same members throughout the drawings.
The xvYCC signal corresponds to a YCbCr signal value based on Japanese Patent Publication No. 3800427. As shown in
(a) An image signal using a first color signal (xvYCC color signal) is received for every pixel (S01).
(b) Whether or not the first color signal (xvYCC color signal) is the neighboring color of the end of the domain of the color space (xvYCC color space) or of a specific color gamut end is determined (S02).
(c) A distance to the closest pixel determined as not the neighboring color of the end of the domain of the color space and the specific color gamut end is calculated (S03).
(d) The color signal adjustment amount with respect to the first color signal in each pixel is calculated based on the distance to the closest pixel (S04).
(e) The first color signal in each pixel is adjusted by the color signal adjustment amount to obtain the second color signal (S05).
(f) The color space is converted from the second color signal to the third color signal defined by the third color space (S06).
(g) The image signal using the third color signal is output (S07).
(a) First, all the received xvYCC input color signals are stored in the image buffer memory 12 for one screen (S11). The storage of the xvYCC color signal for one screen is thereby completed.
(b) Clip determination is determined by the clip determination unit 13 (S13) on all the pixels (S12), and a clip flag is set to the pixel having a possibility of being subjected to clipping (e.g. 1) and a distance parameter of the pixel is set to −1 (S14). The clip flag is set to 0 for the pixel that does not have the possibility of being subjected to clipping, and the distance parameter of the pixel is set to 0 (S15).
(c) After the process of the clip determination is completed for all the pixels, the flag for escape determination from the loop of S17 is set to 1 (S16). An example of the distance parameter with respect to each pixel in the image buffer memory 12 at this time point is shown in
(d) The loop of S17 corresponds to the process performed by the distance calculation unit 14. First, the clip flag of the pixel is checked (S18) for all the pixels (S17).
(e) Whether the distance parameter of the pixel is already updated and is greater than 0 is examined if the clip is set (S19).
(f) Whether a maximum of eight pixels adjacent to the relevant pixel has the distance parameter value of greater than or equal to 0 is examined if the distance parameter is not updated (−1) (S20).
(g) If some have the distance parameter value of greater than or equal to 0, the value obtained by adding one to that having the distance parameter value of greater than or equal to 0 and a minimum value of the adjacent pixels is set as the distance parameter of the relevant pixel (S21).
(h) A loop escape flag is reset to 0 if none have the distance parameter value of greater than or equal to 0 (S22) and repeat the operation.
(i) The process returns to S16 to repeat the loop from S17 if the loop escape flag is not set (S23) after the process is completed on all the pixels.
If the loop escape flag is set, the loop of S17 is terminated and the process enters the loop of S24. The distance parameter at the time point the loop of S17 is terminated corresponds to the distance to the boundary of a region having the possibility of being subjected to clipping.
The result of performing the relevant loop once is shown in
(j) The loop of S24 corresponds to the process of performing the processes corresponding to the adjustment amount determination unit 15 and the color signal adjustment unit 16 on each pixel.
(k) First, the clip flag of the pixel is checked (S25). If the clip flag is set to 1, the color signal adjustment amount is determined by the function using the distance parameter of the relevant pixel as the argument (S26). The function f shown in
(l) The color signal of the pixel is adjusted using the color signal adjustment amount calculated in S26 (S27). For instance, as shown in
g(Cb, ΔCb, d)=Cb+ΔCb×f(d)
In this function g, the adjustment is carried out by adding the ΔCb, weighted with the color signal adjustment amount f(d) calculated in the step of S26, to the original input color signal. Here, f(d) does not exceed 1, and thus the color signal value after the adjustment approaches the color gamut surface of the output device as the d according to such method increases. Similar adjustment is carried out on Cr. The YCbCr color signal adjusted in such manner has a value exceeding the domain of the xvYCC color signal.
(m) After the adjustment of the color signal is completed through the above method for each pixel, conversion from the adjusted xvYCC value to an RGB value of the primary colors of the display is performed (S28). Regarding such conversion of the color space, the xvYCC value of each pixel is once mapped to an sRGB color space, and then converted to the RGB value of the primary color of the display through an XYZ color space according to the method disclosed in Japanese Patent Publication No. 3800427. Other equivalent methods may be used, or the conversion may be simplified by referencing the lookup table in which all calculations are carried out in advance.
Through the above methods, the process of searching for the region where the color close to the end of the xvYCC signal domain continues from the input image data, and performing the display such that the color gamut is enlarged towards the outer side of the xvYCC signal domain the more on the inner side of the region can be performed.
A distance calculation performed in the distance calculation unit 14 of the first embodiment is a simple calculation of updating the minimum value of the polygonal line distance with a width prioritized search from the outer periphery of the region where the color of the signal domain end continues towards the inner side of the region. If a sufficient resource can be ensured, a more accurate distance can be obtained by obtaining the minimum value of the Euclidean distance with all the pixels at the outer peripheral part of the region with respect to all the pixels in the interior of each region.
Alternatively, a distance to the pixel at the outer periphery of the region may be obtained by searching several directions from the pixel at all the pixels in the interior of each region, and the minimum value thereof may be set as the distance parameter of each pixel.
In each of the above examples, each pixel has only one distance parameter, and the pixel within the region determines the color signal adjustment amount using only the closest pixel outside the region. However, when searching for the closest pixel in plural directions from each pixel, the color signal adjustment amount may be determined using the distance to the closest pixel in all found directions. For instance, the color signal adjustment amount may be calculated once for all the directions and the maximum, minimum, average, median value etc. may be used, or the color signal adjustment amount may be obtained using the average value, the median value, and the like of the distance in all directions.
In the first embodiment, if the pre-process anticipating the color gamut enlargement process according to the method of the present invention can be performed at the stage of creating the xvYCC color signal to be input, the information on the type of function f, g or the parameter such that the error with respect to the original image of the color signal adjustment result becomes a minimum may be embedded in the image or added as meta information. An optimum color gamut enlargement may be performed after maintaining the color reproducibility in the device that does not perform the color gamut enlargement process by extracting the meta information from the image signal. The result of the color gamut enlargement process thus can be guaranteed as always being optimum from the standpoint of error minimum.
As shown in
If sufficient capacity cannot be ensured for the image buffer memory 12 or if sufficient resource is not assigned for the search of the closest pixel, a method of suppressing the size of the image buffer memory 12 to only worth one horizontal line of the image may be adopted. In this case, the distance calculation is performed only on the horizontal direction.
A counter representing the distance from the region end may be arranged for use in place of the image buffer memory 12. In this case, the count of the distance is carried out only in the right direction from the left of the region. The color signal adjustment amount may become unnaturally large near the right end of the region in particular, but the adverse affect can be suppressed to a certain extent by calculating the appropriate functions f, g or the parameters in advance at the stage of creating the input image. For instance, the effect of color gamut enlargement can be easily obtained with only the distance calculation from one direction by selecting the function of another example shown in
In the first embodiment, the function in which the color signal adjustment amount monotonously increases smoothly with respect to the distance parameter of each pixel is used. In this method, the region after the adjustment becomes a gradation directed towards the interior of the region if all-one color region of the color of the signal domain end exists. A circuit for adding noise to the region after the adjustment may be added if the smooth gradation appears unnatural. Alternatively, use may be made after adding noise to the function f of the distance parameter d used in the adjustment amount determination unit 15 and the color signal adjustment amount. The noise pattern may be created based on empirical rule and then added, or the dark current noise pattern of the imaging device used to create the input signal may be superimposed as a template.
Thus, the adjustment amount determination unit 15 determines the color signal adjustment amount of the RGB color signal of the primary colors of the display after the conversion based on the outputs of the clip determination unit 13 and the distance calculation unit 14. The color signal adjustment unit 16 adjusts the RGB color signal based on the output of the adjustment amount determination unit 15. The image signal output unit 17 outputs the RGB color signal after the adjustment.
In the above-described image signal processing device, the adjustment of “lowering the color saturation with the luminance constant” becomes difficult, as opposed to the adjustment in the YCbCr space in the first embodiment. The determination on whether or not exceeding the color gamut of the output device can be made with only an overflow/underflow determination of the RGB value.
(a) The image signal using a first color signal (xvYCC color signal) is received for every pixel (S31).
(b) Whether or not the first color signal (xvYCC color signal) is the neighboring color of the end of the domain of the color space (domain end of xvYCC color gamut) or of a specific color gamut end (neighboring color of the domain end of the Adobe RGB color gamut) is determined (S32).
(c) A distance to the closest pixel determined as not the neighboring color of the end of the domain of the color space and the specific color gamut end (neighboring color of the Adobe RGB color gamut end) is calculated (S33).
(d) The color space is converted from the first color signal (xvYCC color signal) defined by the first color space to the third color signal (RGB color signal) defined by the third color space (S34).
(e) The color signal adjustment amount with respect to the third color signal (RGB color signal) in each pixel is calculated based on the distance to the closest pixel (S35).
(f) The third color signal (RGB color signal) in each pixel is adjusted by the color signal adjustment amount to obtain the second color signal (RGB color signal) (S36).
(g) The image signal using the second color signal (RGB color signal) is output (S37).
The image signal processing device 10b includes the image signal input unit 11, the image buffer memory 12, the clip determination unit 13, the distance calculation unit 14, the adjustment amount determination unit 15, the color signal adjustment unit 16, and the image signal output unit 17. The image signal input unit 11 receives the sYCC signal color space converted through the color gamut compression process such as clipping from a wide color gamut color signal (e.g., Adobe RGB signal shown in
The clip determination unit 13, the distance calculation unit 14, and the adjustment amount determination unit 15 configure the color signal adjustment amount calculating section 20. In the color signal adjustment amount calculating section 20, the pixel having the possibility of being subjected to clipping is determined, a pixel distance, that is, a distance parameter, to the pixel determined as not being subjected to clipping is calculated, and the color signal adjustment amount is determined based on the distance parameter.
The image signal processing device 10b receives the sYCC signal clipped to the sRGB color gamut as the input image signal, specifies the pixel having the possibility of being subjected to clipping, and calculates the color signal adjustment amount with respect to each pixel. Thereafter, the Cr value and the Cb value in the sYCC signal of each pixel are adjusted based on the color signal adjustment amount, and then the xvYCC signal is obtained and output. In the image signal processing device 10b, the color gamut is enlarged from the sYCC signal to the xvYCC signal, and output as the xvYCC signal. In other words, the video source performed with authoring in sYCC can be applied as a converter for enlarging the color gamut for wide color gamut display.
In the above example, the process is performed based on the premise that the input sYCC signal is clipped to the sRGB color gamut, but the clipping may be compensated through the method similar to the first embodiment not in view of the clipping to the sYCC signal domain end but in view of a case in which the conversion from the wide color gamut signal such as Adobe RGB to the sYCC color space and the clipping are directly performed.
(a) The image signal using a first color signal (sYCC color signal) is received for every pixel (S41).
(b) The color signal adjustment amount with respect to the color signal (sYCC signal) in each pixel is determined (S42).
(c) The color signal (sYCC signal) in each pixel is adjusted by the color signal adjustment amount to obtain the second color signal (xvYCC color signal) (S43).
(d) The image signal using the second color signal (xvYCC signal) is output (S44).
(a) Whether or not the first color signal (sYCC color signal) is the neighboring color of the specific color gamut end (sRGB color gamut end) is determined (S51). If it is the neighboring color of the relevant color gamut end, interpretation is made that there is a possibility of clipping from the Adobe RGB, the wide gamut RGB, or the like to the relevant color gamut.
(b) A distance, that is, a distance parameter to the closest pixel determined as not being subjected to clipping from the pixel having the possibility of being subjected to clipping is calculated (S52).
(c) The color signal adjustment amount with respect to the color signal in each pixel is determined based on the distance (distance parameter) to the closest pixel (S53). This is to change the color signal adjustment amount according to the distance parameter from the boundary of the clipping portion assuming that the gradation exists towards the inner side of the pixel having the possibility of being subjected to clipping.
Compared to the image signal processing devices of the first to third embodiments, an image signal processing device according to a fourth embodiment of the present invention differs in that green and cyan, and red that ran out from the xvYCC domain are separately handled instead of handling all the pixels subjected to color signal adjustment in the same row. In this case, the color signals running out in a + direction and a − direction of the Cb, Cr axes of the YCbCr space are separately handled. Thus, the loop of S17 is repeated for a total of four times to obtain the distance parameter in the flowcharts of
In the first to third embodiments, the color signal adjustment value is calculated from the relationship of a pixel distance d from the color signal domain or the end of the specific color domain and the color signal adjustment value function f. In the image signal processing device 10c, on the other hand, the color signal adjustment amount dictionary 22 in which the characteristic image signal and the color signal adjustment amount for restoring the image before clipping are recorded in association with each other is used. In the image signal processing device 10c, the color signal adjustment amount corresponding to the characteristic image signal can be obtained by the color signal adjustment amount dictionary 22. The color signal adjustment amount dictionary 22 is built by learning the correspondent relationship of the characteristic image signal extracted from the image signal subjected to clipping and the color signal adjustment value for obtaining the image data before clipping.
(a) The image signal using a first color space is received for every pixel (S61).
(b) The characteristic image signal having the signal distance vector from the end of the color space domain as an element is extracted from the image signal (S62).
For instance, signal distances Db, Dr from the domain end of the xvYCC color gamut is calculated by the color based on the Cb, Cr with respect to the xvYCC color signal of each pixel.
Dr is obtained similar to Db. When Db and Dr are calculated based on the above equation, the color signal characteristic image having a signal distance vector (Y, Db, Dr) in which Db, Dr take a value in the range of [−4, +4], respectively, as an element can be obtained. The region of 5 from the domain end of Cb, Cr is assumed as the value region used by clipping from outside the domain, where Db, Dr correspond to the color gamut compression amount.
(c) The color signal adjustment amount for restoring the image before clipping is obtained from the color signal adjustment amount dictionary 22 based on the characteristic image signal (S63). The color signal adjustment amount dictionary 22 records the characteristic image signal and the color signal correction value image having a function g value for restoring the image before clipping as the value of each pixel in association with each other. The signal distance vector (Y, Db, Dr) is the element in the color signal characteristic image. The color signal correction image can be obtained with the signal distance vector (Y, Db, Dr) as the search key. An image created by applying an appropriate window on one part of the original image is used for the color signal characteristic image and the color signal correction image, and the color signal adjustment amount of each pixel can be obtained while shifting the window position.
(d) The first color signal in each pixel is adjusted by the color signal adjustment amount to obtain the second color signal (S64).
(e) The color space is converted from the second color signal to the third color signal defined by the third color space (S65).
(f) The image signal using the third color signal is output (S66).
(a) The Adobe RGB image signal is converted to the xvYCC image signal, and a difference at the time of clipping is calculated (S71).
(b) The characteristic image signal having the signal distance vector (Y, Db, Dr) from the end of the domain of the color space as an element is extracted from the image signal after clipping (S72).
(c) The characteristic image signal and the color signal adjustment amount for restoring the image before clipping are learnt in association with each other (S73).
(d) The characteristic image signal and the color signal adjustment amount for restoring the image before clipping are saved in the color signal adjustment amount dictionary 22 in association with each other (S74).
The image signal processing device and the image signal processing program according to the present invention can effectively use the entire gamut of the output device while taking the clipping into consideration even when receiving the input of the image signal containing the color signal having a possibility of being clipped. Use can be made as an image output device having a color gamut exceeding the domain of the image signal.
Number | Date | Country | Kind |
---|---|---|---|
2008-013746 | Jan 2008 | JP | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/JP2008/003808 | 12/17/2008 | WO | 00 | 7/22/2010 |