Display device and control method for display device

The display device generates a gamma curve based on image luminance distribution and corrects it to ensure natural contrast by limiting deviations from a reference curve, addressing the issue of excessive emphasis in conventional technologies.

JP7601625B2Active Publication Date: 2024-12-17SHARP KK
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2020204288
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-09
Publication Date
2024-12-17
Estimated Expiration
2040-12-09

AI Technical Summary

Technical Problem

Conventional display technologies fail to generate a gamma curve for correcting the medium brightness region, leading to excessive emphasis on specific brightness regions and unnatural contrast in images.

Method used

A display device that generates a gamma curve based on the luminance distribution of an input image, corrects it to ensure the difference from a reference gamma curve falls within a predetermined range, and divides the curve into sections to maintain natural contrast and prevent overemphasis.

Benefits of technology

The solution effectively corrects input images to prevent overemphasis on specific brightness regions and achieve natural contrast, enhancing the overall image quality by maintaining the characteristics of the gamma curve.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007601625000001
    Figure 0007601625000001
  • Figure 0007601625000002
    Figure 0007601625000002
  • Figure 0007601625000003
    Figure 0007601625000003
Patent Text Reader

Abstract

To provide a display device and a control method thereof that correct an input image so that a specific luminance area is not overemphasized and has a natural contrast.SOLUTION: A display device (1) includes: a gamma curve generation unit (12) that generates a gamma curve on the basis of a luminance distribution of an input image; a gamma curve correction unit (13) that corrects the gamma curve so that a difference from a preset reference gamma curve falls within a first predetermined range; and a luminance correction unit (14) that corrects luminance of the input image on the basis of the corrected gamma curve.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a display device and a method for controlling the display device. [Background technology]

[0002] Display devices such as television receivers, VTRs (Video Tape Recorders), digital cameras, television cameras, and printers have a function to correct the brightness of pixels contained in an input image (brightness of the input image) by adjusting contrast, etc., in order to improve image quality. Techniques for correcting the brightness of an input image include a technique using a gamma curve.

[0003] For example, Patent Document 1 describes an image processing device (display device) that includes a correction interval setting unit, a correction interval dividing unit, a histogram calculation unit, a gain setting unit, a gamma curve generation unit, a gamma curve synthesis unit, and a brightness conversion unit.

[0004] The correction interval setting unit sets a correction interval, which is a range of luminance levels for performing luminance correction processing. The correction interval dividing unit divides the correction interval into a black side interval and a white side interval. The histogram calculation unit calculates the total number of luminance histograms in the black side interval and the white side interval.

[0005] The gain setting unit sets the gains of the gamma curve that increases the luminance and the gamma curve that decreases the luminance based on the total number of the luminance histograms in the black side section and the white side section. For example, when the total number of the luminance histograms in the black side section is greater, the gain setting unit sets a gain that increases the luminance of the correction section (e.g., the black side section), and when the total number of the luminance histograms in the white side section is greater, the gain setting unit sets a gain that decreases the output luminance of the correction section.

[0006] The gamma curve generating unit generates a gamma curve for increasing luminance and a gamma curve for decreasing luminance based on a set gain. The gamma curve synthesizing unit synthesizes the gamma curve for increasing luminance and the gamma curve for decreasing luminance outside the correction interval. The luminance conversion unit performs luminance conversion processing on input luminance data within the correction interval using the synthesized gamma curve. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2009-17200 A Summary of the Invention [Problem to be solved by the invention]

[0008] However, while the above-mentioned conventional technology can reduce crushed black in the black side section and blown white in the white side section, it does not generate a gamma curve that corrects the mid-luminance region within the correction section, and therefore cannot perform appropriate correction for each luminance in the entire input image.

[0009] Therefore, in the above-mentioned conventional techniques, when an input image is corrected, a specific luminance region is overemphasized, and a natural contrast is not obtained. In other words, the contrast of the entire image cannot be increased.

[0010] An object of one aspect of the present invention is to correct an input image so that a region of a particular luminance is not overemphasized and a natural contrast is achieved. [Means for solving the problem]

[0011] In order to solve the above problems, a display device according to one embodiment of the present invention is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and is characterized in that it includes a gamma curve generation unit that generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit.

[0012] Furthermore, a display device control method according to one embodiment of the present invention is a method for controlling a display device that corrects the luminance of an input image based on a gamma curve that represents a relationship between pre-correction luminance and post-correction luminance, and is characterized in that the method includes a gamma curve generation step in which the display device generates a gamma curve based on a luminance distribution of the input image, a gamma curve correction step in which the display device corrects the gamma curve generated in the gamma curve generation step so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction step in which the display device corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction step. Effect of the Invention

[0013] According to one aspect of the present invention, an input image can be corrected so that a region of a particular luminance is not overly emphasized and a natural contrast is achieved. [Brief description of the drawings]

[0014] [Figure 1] 1 is a block diagram showing a configuration of a display device according to a first embodiment. [Diagram 2] 1 is a schematic diagram showing the appearance of a display device according to a first embodiment. [Diagram 3] FIG. 4 is a diagram showing an example of a first histogram of an input image. [Figure 4] FIG. 11 is a diagram illustrating an example of a second histogram. [Diagram 5] 11A and 11B are diagrams illustrating an example of a generated gamma curve and a histogram of the generated gamma curve. [Figure 6] 11A and 11B are diagrams for explaining correction of a generated gamma curve. [Figure 7] FIG. 2 is a diagram for explaining division of a gamma curve into a plurality of sections. [Figure 8] 11A and 11B are diagrams illustrating an example of a corrected gamma curve and a histogram of the corrected gamma curve. [Figure 9] 4 is a flowchart showing a control method for the display device according to the first embodiment. [Figure 10] FIG. 11 is a block diagram showing a configuration of a display device according to a second embodiment. [Figure 11] FIG. 11 is a diagram for explaining division of a generated gamma curve into a plurality of sections. [Figure 12] 10 is a flowchart showing a control method for the display device according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] <Embodiment 1> The display device 1 according to the first embodiment and a method for controlling the display device 1 will be described below with reference to FIGS.

[0016] [Display device 1] The display device 1 is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance.

[0017] Fig. 1 is a diagram showing a configuration of a display device 1 according to embodiment 1. Fig. 2 is a schematic diagram showing an external appearance of the display device 1 according to embodiment 1. As shown in Fig. 1, the display device 1 includes an input image acquisition unit 11, a gamma curve generation unit 12, a gamma curve correction unit 13, a luminance correction unit 14, and a display unit 15.

[0018] [Input image acquisition unit 11] The input image acquisition unit 11 acquires input images from, for example, a receiving unit (not shown) that receives broadcast waves, an input unit (not shown) that accepts input from an external device (such as a BD player, a DVD player, a personal computer, or a game device), or a reading unit (not shown) that reads a recording medium (not shown).

[0019] [Gamma curve generator 12] The gamma curve generator 12 generates a gamma curve based on the luminance distribution of the input image. In the example shown in FIG. 1, the gamma curve generator 12 includes a first histogram generator 121 and a second histogram generator 122.

[0020] After generating a first histogram of the luminance of the input image, the gamma curve generation unit 12 generates a second histogram, which is a cumulative histogram of the luminance of the input image, based on the first histogram, and generates a gamma curve based on the second histogram.

[0021] For example, the gamma curve generating unit 12 generates a gamma curve so as to conform to the shape of the cumulative histogram, which is the second histogram.

[0022] In this way, by generating a gamma curve based on the cumulative histogram of luminance of the input image, it is possible to generate a gamma curve such that the frequencies of all luminance are more suitably flattened.

[0023] The first histogram generating section 121 and the second histogram generating section 122 will be described in detail below.

[0024] (First histogram generating unit 121) The first histogram generation unit 121 generates a first histogram indicating the relationship between the luminance of pixels included in the input image acquired by the input image acquisition unit 11 and the frequency of each luminance in the input image, based on the luminance of pixels included in the input image acquired by the input image acquisition unit 11.

[0025] (Second histogram generating unit 122) The second histogram generating unit 122 generates a second histogram based on the first histogram generated by the first histogram generating unit 121 .

[0026] Specifically, the second histogram generating unit 122 generates, based on the first histogram, a cumulative histogram that indicates the relationship between the luminance of pixels included in the input image and a cumulative relative frequency, which is the total frequency of the luminance of pixels included in the input image that is equal to or lower than a certain luminance, as the second histogram.

[0027] [Example of gamma curve generation by the gamma curve generation unit 12] An example of generation of a gamma curve by the gamma curve generator 12 will be described below with reference to FIGS.

[0028] Fig. 3 is a diagram showing an example of a first histogram of an input image, Fig. 4 is a diagram showing an example of a second histogram, and Fig. 5 is a diagram showing a generated gamma curve C1 and a histogram of the generated gamma curve C1.

[0029] (Example of First Histogram Generation by First Histogram Generation Unit 121) First, the first histogram generating unit 121 in the gamma curve generating unit 12 generates a first histogram indicating the relationship between the luminance of pixels included in the input image and the frequency of each luminance in the input image, as shown in Fig. 3, based on the luminance of pixels included in the input image acquired by the input image acquiring unit 11. As shown in Fig. 3, the first histogram of the input image has a high frequency of a particular luminance, causing a bias.

[0030] (Example of Generation of Second Histogram by Second Histogram Generator 122) Next, based on the first histogram, the second histogram generating unit 122 generates a cumulative histogram as a second histogram, which indicates the relationship between the luminance of pixels included in the input image and the cumulative relative frequency of each luminance in the input image, as shown in FIG. 4.

[0031] (Example of gamma curve generation by the gamma curve generator 12) Next, the gamma curve generating unit 12 generates a gamma curve C1 shown in the diagram of the generated gamma curve C1 in Fig. 5 based on the cumulative histogram, which is the second histogram. This reduces the bias in the frequency for each correction luminance, as shown in the diagram of the histogram of the generated gamma curve C1 in Fig. 5.

[0032] In this way, by generating a gamma curve, it is possible to flatten the frequencies of histograms such as the second histogram. Also, by generating a gamma curve based on a cumulative histogram, which is the second histogram, it is possible to generate a gamma curve such that the frequencies of all luminances are more suitably flattened.

[0033] [Gamma curve correction section 13] The gamma curve correction unit 13 corrects the gamma curve generated by the gamma curve generation unit 12 so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range.

[0034] If the luminance of an input image is corrected using the gamma curve generated by the gamma curve generator 12 without correction, there is a possibility that whiteout, blackout, and the like will occur.

[0035] In contrast, in this embodiment, the luminance of the input image is corrected based on the gamma curve corrected by the gamma curve correction unit 13. This makes it possible to correct the luminance of the input image so as to achieve a natural contrast while preventing areas of a specific luminance from being overemphasized, resulting in blown-out highlights and blocked-up shadows.

[0036] The reference gamma curve is a curve that serves as a reference when correcting the gamma curve generated by the gamma curve generating unit 12 by multiplying it by a gain, and the shape of the gamma curve after correction changes depending on the shape of the reference gamma curve. The shape of the reference gamma curve is not particularly limited, and may be linear.

[0037] Since the reference gamma curve is linear, the gamma curve can be more appropriately corrected so that a specific luminance region of the generated gamma curve is not overemphasized, thereby enabling correction to a gamma curve that can be more appropriately corrected so as to increase the contrast of the entire image and create an image with natural contrast.

[0038] The reference gamma curve may be one that lowers low luminance such as the black side section, etc. This allows the input image to be corrected so that the contrast is emphasized.

[0039] In one embodiment, the first predetermined range may be a range in which the absolute value of the maximum possible value of the pre-correction luminance and the post-correction luminance is 10% or less with respect to the reference gamma curve as the center. For example, the first predetermined range may be a range from a value obtained by subtracting 10% from the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 10% to the maximum value of the pre-correction luminance and the post-correction luminance with respect to the reference gamma curve as the center.

[0040] By setting the first specified range to this range, it is possible to more effectively prevent areas of specific brightness from being overly emphasized, and to more appropriately correct each brightness of the entire input image to achieve a natural contrast.

[0041] In the above example, the first predetermined range is a range in which the absolute value of the pre-correction luminance and the post-correction luminance is 10% or less of the maximum possible value centered on the reference gamma curve. However, the first predetermined range may be any range as long as it is a range in which a gamma curve that can be appropriately corrected for each luminance of the entire input image can be corrected to a natural contrast while preventing a specific luminance area from being overly emphasized.

[0042] For example, the first predetermined range may be a range from a value obtained by subtracting 5% from the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 15% thereto, with the reference gamma curve at the center. The first predetermined range may also be a range from a value obtained by subtracting 15% from the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 5% thereto, with the reference gamma curve at the center.

[0043] As shown in FIG. 1, the gamma curve correction unit 13 includes a section division unit (gamma curve correction unit) 141 and a correction amount determination unit (gamma curve correction unit) 142.

[0044] (Section division unit 131) The section division unit 131 divides the gamma curve into a plurality of sections. This makes it possible to appropriately correct the gamma curve for each section without destroying the original shape of the gamma curve so much that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost. As a result, based on the corrected gamma curve, it is possible to correct the luminance of the input image to achieve a natural contrast by preventing crushed shadows and blown highlights while maintaining the effect of flattening the histogram.

[0045] The interval division unit 131 may divide the gamma curve into a plurality of intervals based on at least one of the intersections between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve and the points between adjacent intersections on the gamma curve generated by the gamma curve generation unit 12. This makes it possible to more appropriately correct the gamma curve for each interval without destroying the original shape of the gamma curve to the extent that the characteristics of a gamma curve obtained by flattening a histogram such as the second histogram are lost.

[0046] For example, the interval division unit 131 may divide the gamma curve into a plurality of intervals based on the above-mentioned intersection point and a point on the gamma curve generated by the gamma curve generation unit 12 that is within a second predetermined range from a point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximized. This makes it possible to more appropriately correct the gamma curve for each interval without destroying the original shape of the gamma curve to such an extent that the characteristics of a gamma curve obtained by flattening a histogram such as the second histogram are lost.

[0047] In one aspect, the second predetermined range may be a range in which the absolute value of the maximum possible value of the pre-correction luminance and the post-correction luminance is 10% or less, centered on the point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum. For example, the second predetermined range may be a range from a value obtained by subtracting 10% from the maximum value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 10% to the maximum value of the pre-correction luminance and the post-correction luminance, centered on the point where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum.

[0048] By setting the second predetermined range to such a range, it is possible to more appropriately correct the gamma curve so as to maintain the effect of flattening the histogram.

[0049] In the above example, the second predetermined range is a range in which the absolute value of the maximum possible value of the pre-correction luminance and the post-correction luminance is 10% or less, centered on the point where the difference between the gamma curve generated by the gamma curve generating unit 12 and the reference gamma curve is maximum. However, the second predetermined range may be any range that can obtain the effect of appropriately correcting the gamma curve for each section so as not to lose the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram.

[0050] For example, the second predetermined range may be a range from a value obtained by subtracting 5% from the maximum possible value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 15% thereto, with the point at which the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve at its maximum as its center.Also, the second predetermined range may be a range from a value obtained by subtracting 15% from the maximum possible value of the pre-correction luminance and the post-correction luminance to a value obtained by adding 5% thereto, with the point at which the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve at its maximum as its center.

[0051] The number of sections into which the gamma curve is divided is preferably between 2 and 4. By dividing the gamma curve into 2 or more and 4 or less, the gamma curve can be more appropriately corrected for each section without destroying the original shape of the gamma curve to the extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

[0052] [Example of section division of gamma curve by section division unit 131] (Example 1 of section division of gamma curve by section division unit 131) An example of division of a gamma curve into sections by section division section 131 will be described below with reference to Fig. 6. Fig. 6 is a diagram for explaining correction of a generated gamma curve.

[0053] The interval division unit 131 divides the gamma curve C1 into multiple intervals based on intersections P1, P3, and P5 between the gamma curve C1 generated by the gamma curve generation unit 12 and the reference gamma curve C2, and on points P2 and P4 between adjacent intersections P1, P3, and P5 on the gamma curve C1 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum.

[0054] Specifically, the interval division unit 131 divides the gamma curve C1 into intervals S1, S2, S3, and S4 surrounded by intersection points P1, P3, and P5, as well as points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized.

[0055] This makes it possible to appropriately correct the gamma curve for each section without destroying the original shape of the gamma curve to the extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

[0056] (Example 2 of section division of gamma curve by section division unit 131) Another example of division of a gamma curve into sections by the section division section 131 will be described below with reference to Fig. 7. Fig. 7 is a diagram for explaining division of the gamma curve C1 into a plurality of sections.

[0057] The interval division unit 131 divides the gamma curve C1 into a number of intervals based on the intersections P1, P3, and P5 between the gamma curve C1 generated by the gamma curve generation unit 12 and the reference gamma curve C2, and on points P6 and P7 between adjacent intersections P1, P3, and P5 on the gamma curve C1 that are within a second predetermined range R2 from points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum.

[0058] Specifically, the interval division unit 131 sets, as division points, intersection points P1, P3, and P5, as well as points P6 and P7 within a second predetermined range R2 from points P2 and P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximum, and divides the gamma curve C1 into intervals S1a, S2a, S3a, and S4a surrounded by these division points.

[0059] The second predetermined range R2 shown in Fig. 7 is a range from a value obtained by subtracting 10% from the maximum value on the X axis in Fig. 7, which is the maximum value of the pre-correction luminance, to a value obtained by adding 10%, and from a value obtained by subtracting 10% from the maximum value on the Y axis in Fig. 7, which is the maximum value of the post-correction luminance, to a value obtained by adding 10%. The X-axis values ​​of points P6 and P7 are respectively the pre-correction luminances of points P2 and P4 plus 10% of the maximum value on the X axis in Fig. 7, which is the maximum value of the pre-correction luminance.

[0060] (Correction amount determination unit 142) The correction amount determination section 142 determines the amount of correction for the gamma curve generated by the gamma curve generation section 12 so that the difference from the reference gamma curve falls within a first predetermined range.

[0061] For example, the correction amount determination unit 142 determines the amount of correction of the gamma curve in each of a plurality of sections into which the gamma curve is divided, so that the difference from the reference gamma curve falls within a first predetermined range.

[0062] In this way, by determining the amount of gamma curve correction for each divided section and locally applying a gain corresponding to the amount of correction to the gamma curve for each divided section, the input image can be more suitably corrected to improve contrast without creating an unnatural image.

[0063] (Example of gamma curve correction amount determination by correction amount determination unit 142) 6 and 8, an example of how the correction amount determination unit 142 determines the correction amount of the gamma curve will be described below. Fig. 8 is a diagram showing a corrected gamma curve C1a and a histogram of the corrected gamma curve C1a.

[0064] The correction amount determination unit 142 determines the correction amount of the gamma curve C1 in each of the sections S1, S2, S3, and S4 surrounded by the division points so that the differences L1 and L2 from the reference gamma curve C2 fall within a first predetermined range R1.

[0065] The first specified range R1 shown in FIG. 6 is centered on the reference gamma curve C2 and ranges from a value obtained by subtracting 10% from the maximum value on the horizontal axis in FIG. 6, which is the maximum value of the pre-correction luminance, to a value obtained by adding 10%, and from a value obtained by subtracting 10% from the maximum value on the Y axis in FIG. 6, which is the maximum value of the post-correction luminance, to a value obtained by adding 10%.

[0066] (Determination of the correction amount of gamma curve C1 in sections S1 and S2) In sections S1 and S2, the difference L1 from the reference gamma curve C2, which is the difference from the point P2 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized, falls within a first predetermined range R1.

[0067] In this way, when L1≦R1, the correction amount determination unit 142 determines the value of the gain (correction amount) α to be multiplied by the gamma curve C1 in sections S1 and S2 to be 1, and determines the correction amount of the gamma curve C1 so as to correct the gamma curve C1 to the gamma curve C1a shown in the following equation (1). Yout(X)=α*(Yin(X)-X)+Yref(X)...(1) Here, X represents the X-axis coordinate in the graph of FIG. 6, Y represents the Y-axis coordinate in the graph of FIG. 6, Yin(X) represents the gamma curve C1, Yout(X) represents the corrected gamma curve C1a, and Yref(X) represents the reference gamma curve C2.

[0068] By determining the amount of correction in this manner, in sections S1 and S2, which are the low-luminance black side sections, the shape of the gamma curve obtained by flattening a histogram such as the cumulative histogram, which is the second histogram, can be maintained, and the effect of flattening the histogram can be maintained.

[0069] In the above example, the correction amount determination unit 142 determines the gain α by which the gamma curve C1 in the sections S1 and S2 is multiplied to 1 depending on the difference L1 from the reference gamma curve C2 and the size of the first predetermined range R1. However, in this embodiment, the correction amount determination unit 142 may determine the gain α by which the gamma curve C1 in each section is multiplied based on the following equations (2) and (3) using a and b that indicate the X coordinates of the start and end points of each section. If |(Yin(a)-a)-(Yin(b)-b)|>R1, α=R1 / |(Yin(a)-a)-(Yin(b)-b)|···(2) |(Yin(a)-a)-(Yin(b)-b)|≦R1, α=1···(3) That is, in section S1, the correction amount determination unit 142 may use X1, which is the start point of section S1, and X2, which is the end point of section S1, to determine the gain α to be multiplied by the gamma curve C1 in section S1 depending on whether |(Yin(X1)-X1)-(Yin(X2)-X2)| is larger or smaller than the first predetermined range R1.

[0070] In addition, in section S2, the correction amount determination unit 142 may use X2, which is the starting point of section S2, and X3, which is the end point of section S2, to determine the gain α to be multiplied by the gamma curve C1 in section S2 depending on whether |(Yin(X2)-X2)-(Yin(X3)-X3)| is larger or smaller than the first predetermined range R1.

[0071] (Determination of the correction amount of the gamma curve C1 in sections S3 and S4) In sections S3 and S4, the difference L2 from the reference gamma curve C2, which is the difference between the point P4 where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized, does not fall within the first predetermined range R1, and L2>R1.

[0072] In this case, the correction amount determination unit 142 determines a correction amount to move point P4, where the difference between the gamma curve C1 and the reference gamma curve C2 is maximized, in the direction of the arrow in Figure 6 so that the point P4 falls within the first predetermined range R1 in sections S3 and S4, respectively.

[0073] For example, in section S3, the correction amount determination unit 142 determines the value of gain α to be the value shown in the following formula (4) using X3, which is the start point of section S3, and X4, which is the end point of section S3. The correction amount determination unit 142 also determines the correction amount of gamma curve C1 so as to correct it to gamma curve C1a obtained by substituting formula (4) into the above formula (1). α=R1 / |(Yin(X3)-X3)-(Yin(X4)-X4)|···(4) In addition, in section S4, the correction amount determination unit 142 determines the value of gain α to be the value shown in the following formula (5) using X4, which is the start point of section S4, and X5, which is the end point of section S4. In addition, the correction amount determination unit 142 determines the correction amount of the gamma curve C1 so as to correct the gamma curve C1 to the gamma curve C1a obtained by substituting formula (5) into the above formula (1). α=R1 / |(Yin(X4)-X4)-(Yin(X5)-X5)|···(5) Based on the amount of correction determined by the correction amount determination unit 142, the gamma curve correction unit 13 corrects the gamma curve C1 to C1a shown in the diagram of the gamma curve after correction in Fig. 8. As a result, as shown in the histogram diagram of the gamma curve after correction in Fig. 8, it is possible to correct the gamma curve C1 to the gamma curve C1a of the histogram that can correct the input image to prevent overexposure and achieve a natural contrast in sections S3 and S4, which are high-luminance white-side sections.

[0074] In the above example, the correction amount determination unit 142 determines the gain α by which the gamma curve C1 in the sections S3 and S4 is multiplied depending on whether the difference L2 from the reference gamma curve C2 is larger or smaller than the first predetermined range R1. However, in this embodiment, the correction amount determination unit 142 may determine the gain α by which the gamma curve C1 in the section S3 is multiplied depending on whether |(Yin(X3)-X3)-(Yin(X4)-X4)| is larger or smaller than the first predetermined range R1, using X3, which is the start point of the section S3, and X4, which is the end point of the section S3.

[0075] In addition, in section S4, the correction amount determination unit 142 may use X4, which is the starting point of section S4, and X5, which is the end point of section S4, to determine the gain α to be multiplied by the gamma curve C1 in section S4 depending on whether |(Yin(X4)-X4)-(Yin(X5)-X5)| is larger or smaller than the first predetermined range R1.

[0076] [Brightness correction section 14] The luminance correction unit 14 corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit. This makes it possible to perform appropriate correction for each luminance of the entire input image based on the corrected gamma curve so that a specific luminance area is not overemphasized and a natural contrast is achieved.

[0077] [Display section 15] The display unit 15 displays the image whose luminance has been corrected by the luminance correction unit 14 .

[0078] [Control method of display device 1] Next, a method for controlling the display device 1 according to the first embodiment will be described with reference to Fig. 9. Fig. 9 is a flowchart showing the method for controlling the display device 1 according to the first embodiment.

[0079] (Step S101) The input image acquiring section 11 of the display device 1 acquires an input image (input image acquiring step).

[0080] (Step S102) The first histogram generating section 121 in the gamma curve generating section 12 of the display device 1 generates a first histogram based on the luminance of pixels included in the input image acquired by the input image acquiring section 11 (first histogram generating step).

[0081] Specifically, the first histogram generation unit 121 generates a first histogram based on the luminance of pixels in the input image acquired by the input image acquisition unit 11, which shows the relationship between the luminance of pixels contained in the input image and the frequency of each luminance in the input image.

[0082] (Step S103) The second histogram generating section 122 in the gamma curve generating section 12 of the display device 1 generates a second histogram based on the first histogram generated by the first histogram generating section 121 (second histogram generating step).

[0083] Specifically, the second histogram generating unit 122 generates, based on the first histogram, a cumulative histogram indicating the relationship between the luminance of pixels included in the input image and the cumulative relative frequency of each luminance in the input image, as the second histogram.

[0084] (Step S104) The gamma curve generating unit 12 of the display device 1 generates a gamma curve based on the luminance distribution of the input image (gamma curve generating step).

[0085] For example, the gamma curve generating section 12 generates a gamma curve based on the second histogram generated by the second histogram generating section 122 .

[0086] (Step S105) The section dividing section 131 in the gamma curve correction section 13 of the display device 1 divides the gamma curve into a plurality of sections (section dividing step).

[0087] The interval division unit 131 may divide the gamma curve into multiple intervals based on at least one of the intersection points between the gamma curve generated by the gamma curve generation unit 12 and a reference gamma curve, and the points between adjacent intersection points on the gamma curve generated by the gamma curve generation unit 12.

[0088] For example, the interval division unit 131 may divide the gamma curve into multiple intervals based on the above-mentioned intersection points and points on the gamma curve generated by the gamma curve generation unit 12 where the difference between the gamma curve generated by the gamma curve generation unit 12 and the reference gamma curve is maximum.

[0089] (Step S106) The correction amount determination section 142 in the gamma curve correction section 13 of the display device 1 determines the amount of correction for the gamma curve generated by the gamma curve generation section 12 so that the difference from the reference gamma curve falls within a first predetermined range.

[0090] For example, the correction amount determination unit 142 determines the amount of correction for the gamma curve in each of the multiple sections into which the gamma curve generated by the gamma curve generation unit 12 is divided, so that the difference from the reference gamma curve falls within a first predetermined range (correction amount determination process).

[0091] (Step S107) Gamma curve correction unit 13 of display device 1 corrects the gamma curve generated in the gamma curve generation process so that the difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range (gamma curve correction process).

[0092] For example, the gamma curve correction unit 13 corrects the gamma curve generated in the gamma curve generation process based on the amount of correction determined for each of the multiple divided sections.

[0093] (Step S108) The luminance correction unit 14 of the display device 1 corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction process (luminance correction process).

[0094] (Step S109) The display unit 15 of the display device 1 displays the image whose luminance has been corrected in the luminance correction process (display process).

[0095] [Modifications] (Variation 1) In the above example, the gamma curve generator 12 includes a first histogram generator 121 and a second histogram generator 122. After generating a first histogram of the luminance of the input image, the gamma curve generator 12 generates a second histogram, which is a cumulative histogram of the luminance of the input image, based on the first histogram, and generates a gamma curve based on the second histogram.

[0096] However, in this embodiment, the gamma curve generator 12 may generate a gamma curve by any method as long as it can generate a gamma curve in which the luminance frequency is flattened based on the luminance distribution of the input image. For example, the gamma curve generator 12 does not need to include either or both of the first histogram generator 121 and the second histogram generator 122.

[0097] As an example, the gamma curve generating section 12 may include only the first histogram generating section 121 and generate a gamma curve based on the first histogram generated by the first histogram generating section 121.

[0098] The gamma curve generating section 12 may include only the second histogram generating section 122, and the second histogram generating section 122 may directly generate a cumulative histogram from the input image, and generate a gamma curve based on the cumulative histogram.

[0099] The gamma curve generating unit 12 may generate a gamma curve based on the first histogram or the second histogram acquired together with the input image from an external receiving unit, external device, reading unit, or the like via the input image acquiring unit 11.

[0100] In addition, the gamma curve generation unit 12 may acquire a histogram other than the first histogram and the second histogram along with the input image from an external receiving unit, external device, reading unit, etc. via the input image acquisition unit 11, and generate a gamma curve based on the histogram.

[0101] However, since the gamma curve generator 12 can generate a gamma curve such that the frequencies of all luminance are more suitably flattened, it is preferable that the gamma curve be generated based on the cumulative histogram, which is the second histogram.

[0102] (Variation 2) The display device 1 may further include a high dynamic range processing unit (not shown).

[0103] For example, the high dynamic range processor may perform high dynamic range processing to expand the dynamic range of the subject in the image signal of the input image whose luminance has been corrected by the luminance corrector, thereby correcting the input image to enhance contrast while preventing blown-out highlights in highlight areas and crushed blacks in shadow areas.

[0104] Examples of high dynamic range processing include, but are not limited to, known high dynamic range processing using an absolute luminance method such as PQ (Perceptual Quantization) and a relative luminance method such as HLG (Hybrid log gamma).

[0105] <Embodiment 2> The display device according to the present invention may divide the gamma curve into a plurality of equal intervals, like the display device 1X according to the second embodiment.

[0106] 10 to 12, a display device 1X according to embodiment 2 will be described below. For ease of explanation, members having the same functions as those described in the above embodiments will be denoted by the same reference numerals, and the description thereof will be omitted.

[0107] [Display device 1X] Fig. 10 is a block diagram showing the configuration of a display device 1X according to embodiment 2. As shown in Fig. 10, the display device 1X includes a gamma curve correction unit 13X instead of the gamma curve correction unit 13 in embodiment 1. Except for this, the display device 1X according to embodiment 2 has the same configuration as the display device 1 according to embodiment 1.

[0108] [Gamma curve correction section 13X] The gamma curve correction unit 13X includes a section division unit 131X instead of the section division unit 131 in the first embodiment. Except for this, the gamma curve correction unit 13X has the same configuration as the gamma curve correction unit 13 in the first embodiment.

[0109] (Section division section 131X) The interval division unit 131X divides the gamma curve into a number of equal intervals, which allows the gamma curve to be divided efficiently while appropriately correcting the gamma curve for each interval without destroying the original shape of the gamma curve to such an extent that the characteristics of the gamma curve obtained by flattening a histogram such as the second histogram are lost.

[0110] (Example of section division of gamma curve by section division unit 131X) An example of division of a gamma curve into sections by the section division section 131X will be described below with reference to Fig. 11. Fig. 11 is a diagram for explaining division of the generated gamma curve C1 into a plurality of sections.

[0111] The interval division unit 131X divides the gamma curve C1 into four equal intervals S1X, S2X, S3X, and S4X. By equally dividing the gamma curve C1 into a number between 2 and 4 in this manner, the gamma curve C1 can be divided efficiently while appropriately correcting the gamma curve C1 for each interval so as not to lose the characteristics of the gamma curve C1, which has a flattened histogram such as the second histogram.

[0112] [Control method of display device 1X] Next, a control method for the display device 1X according to embodiment 2 will be described with reference to Fig. 12. Fig. 12 is a flowchart showing the control method for the display device 1X according to embodiment 2. Steps S201 to S204 and S206 to S209 in Fig. 12 are similar to steps S101 to S104 and S106 to S109 in Fig. 10, and therefore description thereof will be omitted here.

[0113] (Step S205) The section dividing section 131X in the gamma curve correction section 13X of the display device 1X divides the gamma curve into a plurality of equal sections (section dividing step).

[0114] [Software implementation example] The control blocks of the display devices 1 and 1X may be realized by a logic circuit (hardware) formed in an integrated circuit (IC chip) or the like, or may be realized by software.

[0115] In the latter case, the display devices 1 and 1X are provided with a computer that executes instructions of a program, which is software that realizes each function. The computer includes, for example, at least one processor (control device) and at least one computer-readable recording medium that stores the program. The object of the present invention is achieved by the processor reading the program from the recording medium and executing it in the computer. The processor may be, for example, a CPU (Central Processing Unit). The recording medium may be a "non-transient tangible medium," such as a ROM (Read Only Memory), tape, disk, card, semiconductor memory, programmable logic circuit, or the like. The display device may further include a RAM (Random Access Memory) that expands the program. The program may be supplied to the computer via any transmission medium (such as a communication network or broadcast waves) that can transmit the program. Note that one aspect of the present invention may also be realized in the form of a data signal embedded in a carrier wave, in which the program is embodied by electronic transmission.

[0116] 〔summary〕 A display device according to a first aspect of the present invention is a display device that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and includes a gamma curve generation unit that generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit.

[0117] A display device according to a second aspect of the present invention, in the above-mentioned first aspect, may be configured such that the gamma curve generating section generates the gamma curve based on a cumulative histogram of luminance of the input image.

[0118] A display device according to a third aspect of the present invention may be configured in the first or second aspect above, such that the reference gamma curve is linear.

[0119] A display device according to a fourth aspect of the present invention, in any one of the first to third aspects above, may be configured such that, for each of a plurality of intervals into which the gamma curve is divided, the gamma curve correction unit determines an amount of correction of the gamma curve in that interval so that a difference from the reference gamma curve falls within the first predetermined range.

[0120] A display device according to a fifth aspect of the present invention may be configured in the above-mentioned fourth aspect such that the gamma curve correction unit divides the gamma curve into the multiple sections based on at least one of an intersection point between the gamma curve generated by the gamma curve generation unit and the reference gamma curve, and a point between adjacent intersection points on the gamma curve generated by the gamma curve generation unit.

[0121] A display device according to a sixth aspect of the present invention may be configured in the above-mentioned fifth aspect such that the gamma curve correction unit divides the gamma curve into the multiple sections based on the intersection point and a point within a second predetermined range from a point on the gamma curve generated by the gamma curve generation unit where the difference between the gamma curve generated by the gamma curve generation unit and the reference gamma curve is maximum.

[0122] A display device control method according to aspect 7 of the present invention is a display device control method that corrects the luminance of an input image based on a gamma curve that represents the relationship between pre-correction luminance and post-correction luminance, and includes a gamma curve generation step in which the display device generates a gamma curve based on the luminance distribution of the input image, a gamma curve correction step in which the display device corrects the gamma curve generated in the gamma curve generation step so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range, and a luminance correction step in which the display device corrects the luminance of the input image based on the gamma curve corrected in the gamma curve correction step.

[0123] The display device according to each aspect of the present invention may be realized by a computer. In this case, the control program of the display device that realizes the display device on a computer by causing the computer to operate as each part (software element) of the display device, and the computer-readable recording medium on which the control program is recorded, also fall within the scope of the present invention.

[0124] The present invention is not limited to the above-described embodiments, and various modifications are possible within the scope of the claims. The technical scope of the present invention also includes embodiments obtained by appropriately combining the technical means disclosed in the different embodiments. Furthermore, new technical features can be formed by combining the technical means disclosed in the respective embodiments. [Explanation of symbols]

[0125] 1, 1X display device 12 Gamma curve generator 13, 13X Gamma Curve Correction Section 14 Brightness correction section 131, 131X Section division section (gamma curve correction section) 132 Correction amount determination unit (gamma curve correction unit) C1, C1a gamma curve C2 Reference Gamma Curve L1, L2 difference P1, P3, P5 intersection P2, P4, P6, P7 points R1 First Predetermined Range R2 Second Predetermined Range S1, S1a, S1X, S2, S2a, S2X, S3, S3a, S3X, S4, S4a, S4X section α Gain (correction amount)

Claims

1. A display device that corrects the luminance of an input image based on a gamma curve that represents a relationship between pre-correction luminance and post-correction luminance, a gamma curve generator that generates a gamma curve based on the luminance distribution of the input image; a gamma curve correction unit that corrects the gamma curve generated by the gamma curve generation unit so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range; a luminance correction unit that corrects the luminance of the input image based on the gamma curve corrected by the gamma curve correction unit, the gamma curve correction unit determines, for each of a plurality of intervals into which the gamma curve is divided, a correction amount for the gamma curve in that interval so that a difference from the reference gamma curve falls within the first predetermined range.

2. The display device according to claim 1 , wherein the gamma curve generating section generates the gamma curve based on a cumulative histogram of luminance of the input image.

3. 3. The display device according to claim 1, wherein the reference gamma curve is linear.

4. 3. The display device according to claim 1, wherein the gamma curve correction unit divides the gamma curve into the plurality of sections based on at least one of an intersection point between the gamma curve generated by the gamma curve generation unit and the reference gamma curve and a point between adjacent intersection points on the gamma curve generated by the gamma curve generation unit.

5. 5. The display device according to claim 4, wherein the gamma curve correction unit divides the gamma curve into the plurality of sections based on the intersection point and a point within a second predetermined range from a point on the gamma curve generated by the gamma curve generation unit where a difference between the gamma curve generated by the gamma curve generation unit and the reference gamma curve is maximized.

6. A method for controlling a display device that corrects the luminance of an input image based on a gamma curve that represents a relationship between pre-correction luminance and post-correction luminance, comprising: a gamma curve generating step in which the display device generates a gamma curve based on a luminance distribution of the input image; a gamma curve correction step in which the display device corrects the gamma curve generated in the gamma curve generation step so that a difference between the gamma curve and a preset reference gamma curve falls within a first predetermined range; a luminance correction step of correcting a luminance of the input image based on the gamma curve corrected in the gamma curve correction step, a step of determining, for each of a plurality of sections into which the gamma curve is divided, a correction amount for the gamma curve in that section so that a difference from the reference gamma curve falls within the first predetermined range.

Citation Information

Patent Citations

  • Image processing apparatus, image processing method, and program

    JP2009017200A

  • Image processing apparatus, image processing method, and image processing program

    JP2011097465A

  • Image processing apparatus, image processing method, image processing program, and computer readable storage medium containing image processing program

    JP2014057234A