IMAGE PROCESSING APPARATUS, IMAGE PROCESSING METHOD, PROGRAM, AND NON-TRANSITORY COMPUTER-READABLE STORAGE MEDIUM
20170278227 · 2017-09-28
Inventors
Cpc classification
H04N1/6005
ELECTRICITY
International classification
Abstract
An image processing apparatus for displaying an image on a display screen, inputs data, specifies at least one of a bright region and a dark region of an image corresponding to the image data, executes, for at least one of the bright region and the dark region, at least one of first chroma processing of increasing a chroma of the bright region, second chroma processing of lowering the chroma of the dark region, first hue processing of making a hue of the bright region close to red, and second hue processing of making the hue of the dark region close to blue in accordance with display dynamic range information corresponding to the display screen, and displays, on the display screen, an image based on corrected image data that has undergone correction.
Claims
1. An image processing apparatus for displaying an image on a display screen, comprising: an input unit configured to input image data; a specifying unit configured to specify at least one of a bright region and a dark region of an image corresponding to the image data input by the input unit; a correction unit configured to execute, for at least one of the bright region and the dark region specified by the specifying unit, at least one of first chroma processing of increasing a chroma of the bright region, second chroma processing of lowering the chroma of the dark region, first hue processing of making a hue of the bright region close to red, and second hue processing of making the hue of the dark region close to blue in accordance with display dynamic range information corresponding to the display screen; and a display control unit configured to display, on the display screen, an image based on corrected image data that has undergone correction by the correction unit.
2. The apparatus according to claim 1, wherein the correction unit executes at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing based on the display dynamic range information and generation dynamic range information corresponding to a generation apparatus that generates the image data input by the input unit.
3. The apparatus according to claim 2, wherein a correction amount in at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing by the correction unit in a case where a difference between the generation dynamic range and the display dynamic range is not less than a predetermined value is greater than the correction amount in a case where the difference is less than the predetermined value.
4. The apparatus according to claim 2, further comprising an information acquisition unit configured to acquire the generation dynamic range information corresponding to the generation apparatus from the generation apparatus that generates the image data input by the input unit.
5. The apparatus according to claim 1, further comprising an illuminance acquisition unit configured to acquire information about brightness around the display screen; and a dynamic range determination unit configured to determine the display dynamic range information based on initial dynamic range information of the display screen and the information acquired by the illuminance acquisition unit.
6. The apparatus according to claim 2, wherein the correction unit uses dynamic range information defined by a standard as the generation dynamic range information.
7. The apparatus according to claim 1, further comprising a pixel value determination unit configured to determine a reference pixel value based on pixel data of a neighboring pixel that exists within a predetermined range from a processing target pixel out of the image data input by the input unit, wherein a correction amount in at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing is determined based on the reference pixel value.
8. The apparatus according to claim 1, wherein the correction unit comprises: a chroma increasing unit configured to execute the first chroma processing of increasing the chroma for pixel data of a processing target pixel out of the image data input by the input unit and obtaining chroma increased pixel data; a chroma decreasing unit configured to execute the second chroma processing of lowering the chroma for the pixel data of the processing target pixel out of the image data input by the input unit and obtaining chroma decreased pixel data; a ratio determination unit configured to determine a mixing ratio of the chroma increased pixel data obtained by the chroma increasing unit, the chroma decreased pixel data obtained by the chroma decreasing unit, and the pixel data of the processing target pixel based on a pixel value of a neighboring pixel that exists within a predetermined range from the processing target pixel out of the image data input by the input unit; and a generation unit configured to generate pixel data that has undergone the first chroma processing by mixing the chroma increased pixel data, the chroma decreased pixel data, and the pixel data of the processing target pixel based on the mixing ratio determined by the ratio determination unit.
9. An image processing method of displaying an image on a display screen, comprising: specifying at least one of a bright region and a dark region of an image corresponding to input image data; executing, for at least one of the bright region and the dark region specified in the specifying, at least one of first chroma processing of increasing a chroma of the bright region, second chroma processing of lowering the chroma of the dark region, first hue processing of making a hue of the bright region close to red, and second hue processing of making the hue of the dark region close to blue in accordance with display dynamic range information corresponding to the display screen; and displaying, on the display screen, an image based on corrected image data that has undergone correction in the executing at least one of the first chroma processing, the second chroma processing, the first hue processing and the second hue processing.
10. The method according to claim 9, wherein, at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing is executed based on the display dynamic range information and generation dynamic range information corresponding to a generation apparatus that generates the input image data.
11. The method according to claim 10, wherein a correction amount in at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing in a case where a difference between the generation dynamic range and the display dynamic range is not less than a predetermined value is greater than the correction amount in a case where the difference is less than the predetermined value.
12-14. (canceled)
15. A non-transitory computer-readable storage medium storing a computer program for causing a computer to execute: specifying at least one of a bright region and a dark region of an image corresponding to input image data; executing, for at least one of the bright region and the dark region specified in the specifying, at least one of first chroma processing of increasing a chroma of the bright region, second chroma processing of lowering the chroma of the dark region, first hue processing of making a hue of the bright region close to red, and second hue processing of making the hue of the dark region close to blue in accordance with display dynamic range information corresponding to a display screen; and displaying, on the display screen, an image based on corrected image data that has undergone correction in the executing at least one of the first chroma processing, the second chroma processing, the first hue processing and the second hue processing.
16. The storage medium according to claim 15, wherein the program causes the computer to execute at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing based on the display dynamic range information and generation dynamic range information corresponding to a generation apparatus that generates the input image data.
17. The storage medium according to claim 16, wherein the program causes the computer to execute at least of the first chroma processing, the second chroma processing the first hue processing and the second hue processing so that a correction amount in at least one of the first chroma processing, the second chroma processing, the first hue processing, and the second hue processing in a case where a difference between the generation dynamic range and the display dynamic range is not less than a predetermined value is greater than the correction amount in a case where the difference is less than the predetermined value.
Description
BRIEF DESCRIPTION OF DRAWINGS
[0012]
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
[0019]
[0020]
[0021]
[0022]
[0023]
[0024]
DESCRIPTION OF EMBODIMENTS
[0025] The relationship between Purkinje transition and brightness around a display apparatus and image perception by a viewer will be described first with reference to
[0026]
[0027]
[0028]
[0029] The cone cells are mainly active when the visual field luminance is high (i.e., bright). On the other hand, the rod cells are mainly active when the visual field luminance is low (i.e., dim). For this reason, the ranges of visual field luminance of the cone cell vision and the rod cell vision have tapered ratios, like the ranges 93 and 94, respectively. The composite sensitivity of the rod cell vision and the cone cell vision has the composite shape of the ranges 93 and 94. As is apparent from
[0030] Consider the range 91 of the dynamic range assumed for a content (e.g., image) and the range 92 of the dynamic range actually displayed on the screen. The dynamic range of BT709 that is a typical standard of TV broadcasting is only about 850. This dynamic range is too narrow and causes clipped chroma. Hence, in a normal shooting camera, the high tone region is incorporated 200% to 400% by a gamma curve (knee function). The range 91 of the dynamic range assumed for content thus changes to about 2,000 to 3,000.
[0031] The range 92 of the actually displayed dynamic range may be about 500 depending on the performance of the display apparatus, or about 100 due to the influence of external light or reflected light of display. In this case, the composite ratio of cone cell vision and rod cell vision changes between the range 91 of the assumed dynamic range and the range 92 of the actually displayed dynamic range. When the composite ratio of cone cell vision and rod cell vision changes, image perception changes due to the perception difference between the cone cell vision and the rod cell vision.
[0032] In this embodiment, a technique is provided which corrects the hue or chroma of an image by an amount corresponding to the difference in the ratio so as to show an image with a dynamic range close to an originally assumed dynamic range. More specifically, concerning the range 95 short on the bright side, the image processing apparatus according to this embodiment performs one or both of correction of changing the hue to the red side and correction of increasing the chroma as correction of raising the ratio of cone cell vision, as described with reference to
[0033] How the ratio of composite sensitivity of cone cell vision and rod cell vision changes depending on the illuminance of illumination, that is, ambient brightness will be described here with reference to
[0034] As described above with reference to
[0035] The image processing apparatus according to this embodiment obtains correction parameters used to eliminate the difference between the assumed dynamic range and the actually seen dynamic range based on the graphs shown in
[0036] The present invention will be described below in detail based on preferred embodiments. Note that the arrangements shown in the embodiments are merely examples, and the present invention is not limited to the illustrated arrangements.
First Embodiment
[0037] The arrangement and operation of an image processing apparatus according to the first embodiment will be described below with reference to
[0038] The input image input to the display apparatus is normally an image of gamma system to which a gamma value of 2.2 is applied. The gamma-system image quality adjustment unit 21 performs gamma-system image processing such as resizing in the gamma system for the input image. The dynamic range estimation unit 22 generates the dynamic range reduction ratio based on a dynamic range assumed for the content, the actual dynamic range of the display apparatus, and the dynamic range reduction ratio by an ambient illuminance. Note that the dynamic range assumed for the content will be referred to as an assumed dynamic range, and the dynamic range of the display apparatus will be referred to as a display dynamic range hereinafter.
[0039] The accrual display dynamic range is estimated based on the ambient illuminance and the initial value of the display dynamic range. The initial value of the display dynamic range is obtained by measuring the white luminance of the display apparatus and the black luminance or a luminance of tone=1 at the time of shipment from the factory. For a single image processing apparatus without the panel driver 25 and the display panel 26, the user sets the initial value of the display dynamic range to a value of, for example, 500 or 1,000. The ambient illuminance can be estimated using an illuminance sensor or illuminometer (not shown). The dynamic range estimation unit 22 estimates the actual display dynamic range based on the thus obtained ambient illuminance and the initial value of the display dynamic range. If the illuminance sensor or the like does not exist, the user sets the actual display dynamic range to an appropriate value.
[0040] The dynamic range estimation unit 22 estimates the dynamic range reduction ratio by the ambient illuminance using an illuminance sensor or illuminometer (not shown). The illuminance sensor senses the ambient illuminance. The higher (i.e., brighter) the illuminance is, the narrower the dynamic range is. If the illuminance sensor or the like does not exist, the user sets the dynamic range reduction ratio by the ambient illuminance to a value of, for example, 1/5 or 1/20.
[0041] The assumed dynamic range is a dynamic range assumed for a content, as described above. The image processing apparatus can receive the assumed dynamic range via communication with a generation apparatus such as a shooting apparatus for generating the content. Hence, the assumed dynamic range can also be called a generation dynamic range. In this embodiment, a value from 1,000 times to 10,000 times can be used as the assumed dynamic range. For example, the initial value is set to 2,000. The user can change the assumed dynamic range within an excellent dynamic range depending on the content to be displayed.
[0042] Based on the assumed dynamic range, the actual display dynamic range, and the dynamic range reduction ratio by the ambient illuminance which are obtained in the above way, the dynamic range estimation unit 22 calculates a reduction ratio SK of the dynamic range by
SK=DD/CD×K
[0043] where DD is the actual display dynamic range, CD is the assumed dynamic range, and K is the dynamic range reduction ratio by the ambient illuminance.
[0044] For example, if the actual display dynamic range of the output destination is DD=500, the assumed dynamic range is CD=2000, and the dynamic range reduction ratio by the ambient illuminance is K=1/3, the reduction ratio SK of the dynamic range is obtained as
SK=(500/2000)×(1/3)=1/12
The dynamic range estimation unit 22 inputs the reduction ratio SK of the dynamic range calculated in this way to the color correction unit 23.
[0045] The color correction unit 23 corrects colors based on the image input from the image quality correction unit of gamma system and a dynamic range correction magnification obtained from the reciprocal of the reduction ratio input from the dynamic range estimation unit 22. Details will be described later with reference to
[0046] Correction of a decrease in the dynamic range using the difference of color density perception between cone cell vision and rod cell vision will be described next. An example of color correction processing by correcting chroma that is a color density will be described with reference to
[0047] A line buffer 11 temporarily saves an input image. A Gaussian filter 12 calculates and acquires a neighborhood average value from neighboring pixels of a processing target pixel as a reference tone value. A chroma increasing unit 13 increases the chroma of the processing target pixel. A chroma maintaining unit 14 only adjusts the timing without changing the chroma of the processing target pixel. A chroma decreasing unit 15 decreases the chroma of the processing target pixel. A ratio determination unit 16 determines the use ratio of each processing target pixel based on the neighborhood average value obtained from the Gaussian filter 12 and the dynamic range correction magnification, and distributes the use ratio. A multiplication unit 17 is a multiplier that multiplies an image whose chroma has been increased by the use ratio obtained from the ratio determination unit 16. A multiplication unit 18 is a multiplier that multiplies an image whose chroma is maintained by the use ratio obtained from the ratio determination unit 16. A multiplication unit 19 is a multiplier that multiplies an image whose chroma has been decreased by the use ratio obtained from the ratio determination unit 16. An addition unit 20 is an adder that adds the outputs of the three multiplication units 17 to 19.
[0048] The input image is input to the line buffer 11. Note that in this in embodiment, if the input image is an image in the RGB system color space, the color space is converted into a luminance/color difference system color space (YPbPr), and processing is then performed for the sake of ease. Since a normal input image is input by raster scan, the line buffer 11 holds images of lines in number necessary for the Gaussian filter 12. For example, if the Gaussian filter 12 is a 9×9 filter, the line buffer 11 holds images of nine lines. Note that the Gaussian filter 12 performs calculation using only a tone value Y of a luminance signal, the tone value Y need only have a saving width corresponding to nine lines. As for the Pb and Pr signals that are color difference signals, it is necessary to hold only five lines during a period until calculation of the processing target pixel is enabled.
[0049] The Gaussian filter 12 calculates the average tone value in the neighboring region of the current processing target pixel. Note that another filter such as an average value filter may be used as the Gaussian filter 12 in place of the Gaussian filter. When an average value filter is used, the circuit scale becomes small, although the influence of a pixel far part from the processing target pixel becomes large. As for the size of the Gaussian filter 12, if 9×9 is too large, a smaller size such as 7×7 or 5×5 may be used. If the size is small, the result of correction processing is somewhat poor. Note that the circuit scale can be minimized by setting the processing target pixel itself to the average tone value (i.e., reference tone value). In this case, image quality can be improved only slightly.
[0050] As described above, when the Gaussian filter 12 calculates the average tone value in the neighborhood of the processing target pixel, to what extent the processing target pixel belongs to a bright portion or a dark portion can easily be calculated. That is, the Gaussian filter 12 can specify a bright region and a dark region of the processing target pixel (i.e., image data). If the circuit scale can be made large, superpixel processing or division integration which is a kind of image area separation can be performed. By performing image area separation, a region including the processing target pixel can be determined. Hence, when the circuit scale is made large, more appropriate correction can be performed using the average tone value of the region of the processing target pixel so as to, for example, prohibit bright portion processing for a local bright portion in a dark region.
[0051] The chroma increasing unit 13 can easily implement chroma increasing by performing conversion processing so as to increase each of the Pb and Pr signals that are color difference signals to 1 to 1.3 times. In this method, however, clipped chroma occurs. To avoid this, the chroma increasing unit 13 may perform conversion processing using a lookup table for not linear interpolation but curve interpolation. The chroma maintaining unit 14 shifts the processing target pixel by an amount corresponding to the number of clocks delayed by processing of the chroma increasing unit 13. The chroma decreasing unit 15 can easily implement chroma decreasing by performing conversion processing so as to decrease each of the Pb and Pr signals that are color difference signals to 1 to 0.7 times. Note that like the chroma increasing unit 13, the chroma decreasing unit 15 may perform conversion processing using a lookup table for not linear interpolation but curve interpolation.
[0052] A correction magnification that is a value equal to or less than the reciprocal value of the dynamic range reduction ratio estimated by the dynamic range estimation unit 22 is input to the ratio determination unit 16. For example, if the dynamic range reduction ratio is 1/12, a correction magnification of 12× or less is input. If a value larger than 12× is set as the correction magnification, the resultant image output from the color correction unit 23 is overcorrected. Based on the input correction magnification and the average tone value, the ratio determination unit 16 calculates use ratios for the chroma increasing unit 13, the chroma maintaining unit 14, and the chroma decreasing unit 15 with respect to the average tone value.
[0053] Referring to
[0054] An example in which the use ratio of each pixel is continuously changed by the average tone value (i.e., reference tone value) will be described with reference to
[0055] The tone points 52 and 55 corresponding to the use ratio of 0 are, respectively, a point representing that the chroma is not increased at a tone value equal to or less than the tone point 52, and a point representing that the chroma is not decreased at a tone value equal to or more than the tone point 55. The two point values are points close to the APL value of the displayed image, or in a moving image, points close to the average value of APL values in each image. Note that the two point values can be either equal or different.
[0056] The maximum use ratio of the output of the chroma increasing unit 13 is determined by the use ratio point 53 corresponding to the full tone value. The maximum use ratio=use ratio point 53. For example, if the increase magnification of the chroma increasing unit 13 is 1.3×, and the use ratio point 53 is 1.0, the chroma increasing unit 13 increases the Pb and Pr signals to 1.3 times at maximum. If it is assumed that chroma decreasing processing is not performed in a case where the increase magnification of the chroma increasing unit 13 is 1.3×, the use ratio point 53 is 0.5, the remaining use ratio of 0.5 is used for the output of the chroma maintaining unit 14. Hence, 1.3×0.5+1.0×0.5=1.15, and the chroma increasing unit 13 increases the Pb and Pr signals to 1.15 times at maximum. In this embodiment, the dynamic range correction magnification is preferably 12× or less. As described above with reference to
[0057] Note that the maximum use ratio of the output of the chroma decreasing unit 15 is determined by the use ratio point 56 shown in
[0058] The use ratio of the output of the chroma maintaining unit 14 is the remaining use ratio other than the use ratio for chroma increasing and the use ratio for chroma decreasing, and is obtained by subtracting the use ratio for chroma increasing and the use ratio for chroma decreasing from a total use ratio of 1.0. That is, the use ratio of the chroma maintaining unit 14=1.0−(the use ratio of the chroma increasing unit 13+the use ratio of the chroma decreasing unit 15). Note that
[0059] The multiplication unit 17 multiplies the output of the chroma increasing unit 13 by the use ratio for the chroma increasing unit 13. Similarly, the multiplication unit 18 multiplies the output of the chroma maintaining unit 14 by the use ratio for the chroma maintaining unit 14. The multiplication unit 19 multiplies the output of the chroma decreasing unit 15 by the use ratio for the chroma decreasing unit 15. The addition unit 20 mixes the outputs of the multiplication units 17 to 19, and outputs a composite pixel.
[0060] Note that the image may be processed as RGB values intact without converting them into color difference signals, although it is cumbersome. In this case, the neighborhood average value is obtained based on the sum of RGB values. In this case, processing for chroma increasing is performed using a two-dimensional lookup table that defines a curve to extend the difference between the R and B values. Processing for chroma decreasing is performed using a two-dimensional lookup table that defines a curve to narrow the difference between the R and B values.
[0061] In this embodiment, an example has been described in which both processing of increasing the chroma of a bright average tone portion and processing of lowering the chroma of a dark average tone portion are performed. However, only one of them may be performed. In this case, it has been confirmed that the dynamic range is apparently extended to some degree. To decrease the number of correction circuits, performing only one of the processes suffices. It has been confirmed in an actual image that the processing of increasing the chroma of a portion having a bright average tone value can effectively be performed as the only one processing.
[0062] In this embodiment, an example has been described in which the chroma increasing unit 13, the chroma maintaining unit 14, and the chroma decreasing unit 15 divisionally perform different processes for the processing target pixel, and after that, the multiplication units 17 to 19 mix the outputs. However, the arrangement example is not limited to this. For example, these units may be integrated into one processing block including a means for increasing or decreasing the chroma in accordance with the average tone value.
[0063] As described above, according to this embodiment, at least one of increasing the chroma of a bright average tone portion and lowering the chroma of a dark average tone portion, which are chroma adjustment processes, is performed. This makes it possible to show the image with a dynamic range close to the originally assumed dynamic range.
Second Embodiment
[0064] As the second embodiment, an example will be described in which a decrease in the dynamic range is corrected focusing on the difference in the center frequency between cone cell vision and rod cell vision. An example of color correction processing in which the influence of a shift of the center frequency of a sensitivity of composite vision is corrected by correcting a hue in accordance with a partial brightness of an image will be described with reference to
[0065]
[0066] In this embodiment, both a case where the input image in a luminance/color difference system color space YPbPr and a case where the input image is in an RGB system color space will be described. A method of obtaining the neighborhood average tone value of the processing target pixel is the same as that described in the first embodiment. The processing target pixel itself can be set to the average tone value, as in the first embodiment. Image area separation may be done, and the average tone value of each region may be used.
[0067] The amounts of shifts in the red direction and blue direction fall within the range of 5% to 20% for each change of 10 times in the dynamic range, as in the first embodiment. As for the luminance/color difference signals, the red-direction hue shift unit 61 adds a value of about 0.1 to 0.3 to a value obtained by normalizing the Pr signal as a color difference signal to −1.0 to 1.0, and subtracts a value of about 0.1 to 0.3 from a value obtained by normalizing the Pb signal to −1.0 to 1.0. This can easily implement shifting the hue of the processing target pixel in the red direction. If the value is 1.0 or more, the value is limited to 1.0. If the value is −1.0 or less, the value is limited to −1.0.
[0068] Note that the values to be added and subtracted (in the above examples, values of about 0.1 to 0.3) can be close values. This is because the chromaticity of an achromatic portion in an image is not so far from the chromaticity curve of black point radiation. Conversely, if values that are largely different are used as the values to be added and subtracted, the achromatic portion in the image overlaps green or violet.
[0069] As described above, if the addition and subtraction are simply performed, clipped chroma occurs due to the limitation of the values of the two ends. To avoid this, curve interpolation is performed. For example, when adding 0.2, correction processing is performed using a lookup table such that a value of 0.2 is added from −1.0 to 0.6, a value of 0.15 is added for 0.7, a value of 0.1 is added for 0.8, a value of 0.05 is added for 0.9, and no value is added for 1.0. In subtraction, the same processing as described above is performed in the reverse direction, thereby preventing the value from exceeding −1.0.
[0070] The hue maintaining unit 62 shifts the image by an amount corresponding to the number of clocks delayed by processing of the red-direction hue shift unit 61. The blue-direction hue shift unit 63 adds a value of about 0.1 to 0.3 to a value obtained by normalizing the Pb signal as a color difference signal to −1.0 to 1.0, and subtracts a value of about 0.1 to 0.3 from a value obtained by normalizing the Pr signal to −1.0 to 1.0. This can easily implement shifting the hue of the processing target pixel in the blue direction. The blue-direction hue shift unit 63 may perform conversion processing using a lookup table for not linear interpolation but curve interpolation, like the red-direction hue shift unit 61.
[0071] In the second embodiment as well,
[0072] A multiplication unit 17 multiplies the output of the red-direction hue shift unit 61 by the use ratio for the red-direction hue shift unit 61. Similarly, a multiplication unit 18 multiplies the output of the hue maintaining unit 62 by the use ratio for the hue maintaining unit 62, and a multiplication unit 19 multiplies the output of the blue-direction hue shift unit 63 by the use ratio for the blue-direction hue shift unit 63. An addition unit 20 mixes the outputs from the multiplication units 17 to 19 and outputs a composite pixel.
[0073] A case where the RGB values are processed intact without converting them into color difference signals will be described. In this case, the neighborhood average value is obtained based on the sum of RGB values. To shift the hue in the red direction, a lookup table that defines a curve to increase the R value and decrease the B value is used. To shift the hue in the blue direction, a lookup table that defines a curve to decrease the R value and increase the B value is used. These lookup tables will be described with reference to
[0074]
[0075]
[0076] In this embodiment, an example has been described in which both processing of shifting the hue of a bright average tone portion in the red direction and processing of shifting the hue of a dark average tone portion in the blue direction are performed. However, only one of them may be performed. In this case, it has been confirmed that the dynamic range is apparently extended to some degree. To decrease the number of correction circuits, performing only one of the processes suffices. It has been confirmed in an actual image that the processing of shifting the hue of a portion having a bright average tone value in the red direction can effectively be performed as the only one processing.
[0077] In this embodiment, an example has been described in which the red-direction hue shift unit 61, the hue maintaining unit 62, and the blue-direction hue shift unit 63 divisionally perform different processes for the processing target pixel, and after that, the multiplication units 17 to 19 mix the outputs. However, the arrangement example is not limited to this. For example, these units may be integrated into one processing block including a means for shifting the hue in the red direction or blue direction in accordance with the average tone value.
[0078] As described above, according to this embodiment, at least one of shifting the hue of a bright average tone portion in the red direction and shifting the hue of a dark average tone portion in the blue direction, which are hue adjustment processes, is performed. This makes it possible to show the image with a dynamic range close to the originally assumed dynamic range.
Third Embodiment
[0079] The first embodiment in which a decrease in the dynamic range is corrected by adjusting the chroma and the second embodiment in which a decrease in the dynamic range is corrected by adjusting the hue have been described above. Solely in the first embodiment or second embodiment, it is possible to make the dynamic range appear to be extended. However, along with a change in a red color component that should be changed, a blue color component that should remain unchanged also undesirably changes as a side effect.
[0080] In the first embodiment, the chroma of a bright portion is increased. If the red color component is increased in the bright portion, the blue color component also increases simultaneously. In addition, if the red color component is decreased in a dark portion, the blue color component also decreases simultaneously. In the second embodiment, if the red color component is increased in a bright portion, the blue color component decreases simultaneously. In addition, if the red color component is decreased in a dark portion, the blue color component increases simultaneously. An object of this embodiment is to eliminate these side effects.
[0081] As this embodiment, correction of a decrease in the dynamic range focusing on both the difference of color density perception and the difference in the center frequency of sensitivity between cone cell vision and rod cell vision will be described. A color correction unit 23 according to this embodiment will be described with reference to
[0082] Each correction processing is the same as described in the first and second embodiments, and a description thereof will be omitted. As for the use ratio of a pixel that has undergone each correction processing, since correction of a decrease in the dynamic range is performed by two kinds of correction processing, correction is performed twice. Hence, in use ratio setting described with reference to
[0083] In this embodiment, an example has been described in which both processing of shifting the hue of a bright average tone portion in the red direction and processing of shifting the hue of a dark average tone portion in the blue direction are performed. To decrease the number of correction circuits, performing only one of the processes suffices. Additionally, an example has been described in which both processing of increasing the chroma of a bright average tone portion and processing of lowering the chroma of a dark average tone portion are performed. To decrease the number of correction circuits, performing only one of the processes suffices.
[0084] In this embodiment, an example has been described in which the red-direction hue shift unit 61 and a chroma increasing unit 13, the hue maintaining unit 62 and a chroma maintaining unit 14, and the blue-direction hue shift unit 63 and a chroma decreasing unit 15 divisionally perform the processes, and the multiplication units 17 to 19 mix the outputs. However, these units may be integrated into one or two processing blocks including a means for shifting the hue in the red direction or blue direction and increasing or decreasing the chroma in accordance with the average tone value.
Fourth Embodiment
[0085] Next, as the fourth embodiment, concerning an image processing apparatus including a processing block for shifting the hue in the red direction or blue direction and increasing or decreasing the chroma in accordance with the average tone value, the difference from the first embodiment will mainly be described.
[0086]
[0087] The Pb multiplier 114 performs processing of increasing or lowering the chroma of the Pb signal of a processing target pixel, and the Pr multiplier 115 performs processing of increasing or lowering the chroma of the Pr signal of the processing target pixel. The Pb adder 116 shifts the blue hue of the Pb signal of the processing target pixel so as to increase or decrease, and the Pr adder 117 shifts the blue hue of the Pr signal of the processing target pixel so as to increase or decrease. Since the Pb and Pr signals are delayed with respect to the Y signal of the processing target pixel by the arithmetic processing of the chroma and hue, the timing adjustment unit 113 adjusts the timing to the Y signal.
[0088] The chroma correction coefficients and the hue correction coefficients output from the correction coefficient conversion unit 111 are the same as in the graphs and calculations described in the first and second embodiments, and a description thereof will be omitted. In this embodiment, clipped chroma hardly occurs when chroma processing is performed first, and hue processing is performed later. In this embodiment, processing can be executed by a circuit arrangement smaller than that of the third embodiment.
[0089] In the above embodiments, an example in which the present invention is applied mainly to the display apparatus side has been described. However, the present invention is also applicable to the shooting apparatus side or image recording side. When the present invention is applied to the shooting apparatus, the ratio of the dynamic range of human vision to a target to the dynamic range when shooting the target and recording an image is corrected. The dynamic range of vision is 1,000,000 times or more when adaptation is taken into consideration, and 10,000 times to 100,000 times without adaptation. If the dynamic range in shooting and recording by the shooting apparatus is 2,000 times, an image that apparently has a dynamic range of 10,000 times can be recorded by processing the chroma and hue using image processing of the present invention so as to attain a dynamic range equivalent to five times. Even in a display apparatus having a dynamic range of, for example, 500 times, the thus processed and recorded image undergoes chroma and hue processing using image processing of the present invention so as to attain a dynamic range apparently extended by four times. As described above, if the present invention is applied to each of the shooting side and the display side, the user views, on the display apparatus having a dynamic range of 500 times, an image with such a chroma and hue that shows the image with a dynamic range of 10,000 times close to the dynamic range of vision.
[0090] The present invention is also applicable to a printing apparatus. In the printing apparatus, the reflectance of black ink or black toner is several percentages, and the reflectance of paper is about 90%. Hence, the dynamic range of a printed product is several ten times. When the present invention is applied to the printing apparatus, the ratio of the assumed value of the dynamic range of an input image to the dynamic range of the printed product is corrected. That is, the printing apparatus corrects the ratio of the dynamic range of human vision to a target to the dynamic range when shooting the target and recording an image. For example, if the dynamic range of the printed product is 30 times, and the assumed dynamic range of the input image is 2,000 times, the printing apparatus performs the image processing of the present invention by setting the correction ratio to 67. A printed product obtained after image processing apparently has such a chroma and hue that show the image with a dynamic range of 2,000 times.
[0091] While arrangement examples for implementing the present invention have been described with reference to the embodiments, the arrangements for implementing the gist of the present invention are not limited to the embodiments. For example, it is obvious that the same image processing as in the above embodiments can be performed using a microprocessor and a memory. In this case, the arrangement is suitable for a still image or a moving image with a low resolution because the processing takes time. However, if the processing speed of the microprocessor is sufficiently high, a moving image with a high resolution can also be processed.
Other Embodiments
[0092] Embodiment(s) of the present invention can also be realized by a computer of a system or apparatus that reads out and executes computer executable instructions (e.g., one or more programs) recorded on a storage medium (which may also be referred to more fully as a ‘non-transitory computer-readable storage medium’) to perform the functions of one or more of the above-described embodiment(s) and/or that includes one or more circuits (e.g., application specific integrated circuit (ASIC)) for performing the functions of one or more of the above-described embodiment(s), and by a method performed by the computer of the system or apparatus by, for example, reading out and executing the computer executable instructions from the storage medium to perform the functions of one or more of the above-described embodiment(s) and/or controlling the one or more circuits to perform the functions of one or more of the above-described embodiment(s). The computer may comprise one or more processors (e.g., central processing unit (CPU), micro processing unit (MPU)) and may include a network of separate computers or separate processors to read out and execute the computer executable instructions. The computer executable instructions may be provided to the computer, for example, from a network or the storage medium. The storage medium may include, for example, one or more of a hard disk, a random-access memory (RAM), a read only memory (ROM), a storage of distributed computing systems, an optical disk (such as a compact disc (CD), digital versatile disc (DVD), or Blu-ray Disc (BD)™), a flash memory device, a memory card, and the like.
[0093] While the present invention has been described with reference to exemplary embodiments, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.
[0094] This application claims the benefit of Japanese Patent Application No. 2014-205700, filed Oct. 6, 2014, which is hereby incorporated by reference herein in its entirety.