Image display device, program and continuous scene determination method
The image display device addresses color correction challenges by using face detection and continuous scene determination to maintain skin tone consistency across varying scenes, ensuring high-quality video output.
Patent Information
- Application Number
- JP2023058826
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2043-03-31
AI Technical Summary
Conventional image display devices face challenges in performing appropriate color correction due to unknown shooting and editing environments, leading to variations in video characteristics based on content or scene.
An image display device with a face detection unit, histogram detection unit, continuous scene determination unit, and color correction unit that maintains color correction even when face detection changes, using histogram analysis and continuous scene determination to adjust skin tones in real-time.
Ensures accurate and comfortable color display by maintaining consistent skin tone correction across scene changes, even when face detection is lost, by utilizing real-time face detection and continuous scene determination.
Smart Images

Figure 2024146108000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD An embodiment of the present invention relates to an image display device, a program, and a method for determining consecutive scenes. [Background technology]
[0002] Conventionally, in imaging devices such as digital cameras, a technology has been disclosed in which a face is detected from an image of a person using AI (Artificial Intelligence) technology, and the skin color of the detected face is corrected. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 4983643 Summary of the Invention [Problem to be solved by the invention]
[0004] However, when trying to apply conventional technology to image display devices such as televisions, there is a problem in that the environment when the input video was shot and edited is unknown, and the video characteristics differ for each content or scene, making it difficult to perform color correction appropriate for the content or scene. [Means for solving the problem]
[0005] An image display device of an embodiment is an image display device that processes input video data and outputs it to a display unit, and is equipped with a face detection unit that detects a person's face from the video data, a histogram detection unit that performs histogram detection related to color information from the video data, a continuous scene determination unit that determines continuous scenes using the histogram detection result in the histogram detection unit, and a color correction unit that performs color correction on the video data, and the color correction unit continues color correction if the detection result in the face detection unit changes from face detection to no face detection, as long as the continuous scene determination unit has determined the scene to be continuous. [Brief description of the drawings]
[0006] [Figure 1] FIG. 1 is a schematic diagram illustrating an example of an image display device according to an embodiment. [Diagram 2] FIG. 2 is a functional block diagram showing the functional configuration of the skin image correction unit. [Diagram 3] FIG. 3 is a diagram showing an example of a face detection method in the face detection section. [Figure 4] FIG. 4 is a diagram showing an example of a histogram detection method in the histogram detection unit. [Diagram 5] FIG. 5 is a diagram showing an example of adding restrictions to histogram detection. [Figure 6] FIG. 6 is a diagram showing an example of determining whether a scene is continuous or not based on the number of pixels in the hue region of the CbCr space. [Figure 7] FIG. 7 is a diagram showing an example of a shift degree calculation. [Figure 8] FIG. 8 is a diagram showing an example of color correction in the color correction unit. [Figure 9] FIG. 9 is a flowchart showing an example of the flow of the skin image correction process executed by the skin image correcting unit. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0007] The image display device, the program, and the continuous scene determination method will be described in detail below with reference to the accompanying drawings.
[0008] FIG. 1 is a schematic diagram showing an example of an image display device 1 according to an embodiment.
[0009] The image display device 1 includes an image processing unit 10 and a display unit 12. The image display device 1 transfers data that has been subjected to image processing by the image processing unit 10 to the display unit 12, and displays the data on the display unit 16.
[0010] Video data 40 is input to the image processing unit 10 from a tuner unit, an HDMI (High-Definition Multimedia Interface) (registered trademark) terminal, etc. (not shown). The image processing unit 10 outputs video data 42 obtained by image processing the input video data 40 to the display unit 12.
[0011] The image processing unit 10 includes an image quality adjustment unit 20 and a skin image correction unit 22 .
[0012] Image quality adjustment unit 20 has a function of adjusting gamma, color tone, brightness, etc., of input image data 40. Image quality adjustment unit 20 adjusts input image data 40 to generate image data 41, and outputs the image data 41 to skin image correction unit 22.
[0013] In order to display a good image even when the environment (conditions) at the time of shooting or editing is unknown, the skin image correction unit 22 determines the scene to be corrected and performs color correction in real time on the image data 41 input from the image quality adjustment unit 20.
[0014] FIG. 2 is a functional block diagram showing the functional configuration of the skin image correction unit 22. As shown in FIG.
[0015] As shown in FIG. 2, the skin image correction unit 22 has a face detection unit 23, a histogram detection unit 24, a color shift degree calculation unit 25 which is a color shift detection unit, a color correction parameter generation unit 26, a color correction unit 27, and a continuous scene determination unit .
[0016] In general, skin image correction unit 22 detects the degree of shift in hue or saturation of skin color in video data 41 (input video) input from image quality adjustment unit 20 in color shift degree calculation unit 25 using the face detection result in face detection unit 23, the histogram detection result in histogram detection unit 24, and the continuous scene determination in continuous scene determination unit 28. Skin image correction unit 22 generates correction parameters according to the degree of shift in hue or saturation in color correction parameter generation unit 26 based on the degree of shift in hue or saturation detected in color shift degree calculation unit 25, and performs color correction in color correction unit 27.
[0017] The face detection unit 23, the histogram detection unit 24, the color shift degree calculation unit 25, the color correction parameter generation unit 26, and the color correction unit 27 may be realized by hardware or software, or may be realized by using both hardware and software.
[0018] The display unit 12 includes a display driver 14 and a display unit 16. The display unit 16 is a display that displays an image. The display unit 16 is, for example, an organic light emitting diode (EL) display, a liquid crystal display, or the like.
[0019] The display driver 14 converts the video data 42 input from the image processor 10 into a voltage and current for driving the display unit 16 , and drives the display unit 16 .
[0020] Next, each component of the skin image correction unit 22 will be described in detail.
[0021] The face detection unit 23 detects a human face from the video data 41 input from the image quality adjustment unit 20. Here, FIG. 3 is a diagram showing an example of a face detection method in the face detection unit 23. As shown in FIG. 3, the face detection method includes a method of dividing the video data 41 into a plurality of areas using a DNN (Deep Neural Network) that has been trained in advance to detect various faces, and determining the probability (0 to 1) that a human face is included in each area. According to such a method, the numerical value of an area that includes a human face is high, and the numerical value of an area that does not include a human face is low, so that the face detection unit 23 detects an area with a value larger than a certain threshold as including a human face, and an area with a value smaller than the threshold as not including a human face. If the area with a human face is equal to or larger than a certain area, the face detection unit 23 detects it as a human face.
[0022] The histogram detection unit 24 detects a histogram of hues from the video data 41 input from the image quality adjustment unit 20. Here, Fig. 4 is a diagram showing an example of a histogram detection method in the histogram detection unit 24. Fig. 4(a) shows a hue distribution based on CbCr in a YCbCr signal, and Fig. 4(b) shows a YCbCr color space. The histogram detection by the histogram detection unit 24 involves, for example, determining the number of pixels distributed in a specific hue in the entire image related to the video data 41, or in a partial area of the image related to the video data 41 including a person's face, and generating a histogram.
[0023] Here, Fig. 5 is a diagram showing an example of limiting histogram detection. As shown in Fig. 5, the histogram detection unit 24 may limit the detection range of saturation in a three-dimensional YCbCr color space (Fig. 5(a)) or limit the detection range of luminance in a three-dimensional YCbCr color space (Fig. 5(b)) in histogram detection. Note that in this embodiment, the range of saturation and luminance in the three-dimensional YCbCr color space is limited, but the present invention is not limited to this, and any other method may be used as long as the color (hue, saturation) can be corrected to look natural and beautiful.
[0024] Even if a face is not detected, if the image characteristics of each content and scene are the same, the continuous scene determination unit 28 performs continuous scene determination so that correction can be continued. Specifically, the continuous scene determination unit 28 determines whether the scene is continuous or non-continuous depending on the degree of similarity between the previous frame and the current frame based on the hue histogram detection by the histogram detection unit 24.
[0025] The purpose of continuous scene judgment is to determine whether a series of scenes have the same tendency, such as reddish or bluish colors, due to factors such as the lighting at the time of shooting or color grading, and whether switching corrections would cause a strange effect.
[0026] The continuous scene determination unit 28 determines that a scene is a continuous scene when there is movement in the subject, such as when the direction of the face changes, or when the camera slowly zooms in and out. The continuous scene determination unit 28 also determines that a scene is a continuous scene when the cuts are changed (angle switching).
[0027] In this embodiment, the continuous scene determination unit 28 uses a method of determining continuous scenes by calculating the similarity between the previous frame and the current frame based on the number of pixels in the hue region of the CbCr space, as shown in Fig. 6. For example, the continuous scene determination unit 28 calculates the similarity according to the accumulation of the difference in frequency of all hues or the difference in frequency of a specific hue between the previous frame and the current frame of the video data, as will be described in detail below.
[0028] Fig. 6 is a diagram showing an example of determining whether a scene is continuous or not based on the number of pixels in a hue region in the CbCr space. The continuous scene determination unit 28 divides the hue of the YCbCr input signal into 32 regions in the CbCr space as shown in Fig. 6(a), and determines the number of pixels of the input data corresponding to each region as H[n] and the number of pixels of the previous frame as Ho[n]. If the following formula (1) is satisfied, the scene is determined to be continuous, and if the following formula (1) is not satisfied, the scene is determined to be non-continuous.
[0029]
number
[0030] Furthermore, the continuous scene determination unit 28 may determine that a scene is continuous when the following formula (2) without squaring is satisfied, and determine that a scene is non-continuous when the following formula (2) is not satisfied.
[0031]
number
[0032] Furthermore, the continuous scene determination unit 28 may determine that a scene is a continuous scene when the following formula (3), which may be a part of the hue, is satisfied, and determine that a scene is a non-continuous scene when the following formula (3) is not satisfied.
[0033]
number
[0034] Color shift degree calculation unit 25 detects the degree of hue shift of skin color in video data 41 input from image quality adjustment unit 20, using the face detection result in face detection unit 23, the histogram detection result in histogram detection unit 24, and the continuous scene determination in continuous scene determination unit 28. Color shift degree calculation unit 25 detects, for example, the degree to which the hue of skin color in video data 41 input from image quality adjustment unit 20 has shifted toward red or yellow.
[0035] For example, when the hue of the skin color is shifted toward red, the color shift degree calculation unit 25 calculates a "red shift amount" indicating the degree of the red shift. When the hue of the skin color is shifted toward yellow, the color shift degree calculation unit 25 calculates a "yellow shift amount" indicating the degree of the yellow shift. On the other hand, when the hue of the skin color is not shifted toward red and when the hue of the skin color is not shifted toward yellow, the color shift degree calculation unit 25 sets the "red shift amount" and the "yellow shift amount" indicating the degree of the red shift to 0.
[0036] In addition, even if the detection result in the face detection section 23 changes from "face detected" to "face not detected", if a continuous scene is determined, the color shift degree calculation section 25 maintains the previous hue shift degree detection information.
[0037] 7 is a diagram showing an example of a shift degree calculation by the color shift degree calculation unit 25. To calculate the shift degree of the skin color hue from red, for example, a center value C of the skin color hue is calculated from the acquired hue histogram data as shown in FIG. 7(a) by the following formula (4).
[0038]
number
[0039] As shown in FIG. 7B, the color shift degree calculation unit 25 determines that the shift amount is greater as the center value C of the flesh-color hue is smaller, and calculates the degree of shift toward red.
[0040] A color correction parameter generating unit 26 generates color correction parameters to be applied to a color correcting unit 27 based on the “amount of shift toward red” or the “amount of shift toward yellow” detected by the color shift degree calculating unit 25 .
[0041] For example, the color correction parameter generation unit 26 has a standard color management table (CMS[m]) that is applied when there is no hue shift, a color management table (CMR[m]) that is optimal when the degree of red shift (RH; 0 to 1) is 1, and a color management table (CMY[m]) that is optimal when the degree of yellow shift (YH; 0 to 1) is 1.
[0042] Based on the degree of red shift, the color correction parameter generation unit 26 determines the color correction parameters to be finally applied to the color correction unit 27 as a color management table (CM[m]) to be finally applied to the color correction unit 27. Here, CM[m] is composed of elements of hue H[h], saturation S[s], and brightness V[v]. That is, m=h×s×v.
[0043] The color correction parameter generating unit 26 uses a standard color management table (CMS[m]) that is adapted when there is no hue shift. Also, the color correction parameter generating unit 26 uses an optimal color management table (CMR[m]) when the degree of red shift (RH, 0 to 1) is 1. Also, the color correction parameter generating unit 26 uses an optimal color management table (CMY[m]) when the degree of yellow shift (YH, 0 to 1) is 1.
[0044] When the degree of red shift and the degree of yellow shift in the detection result by the color shift degree calculation unit 25 are both 0, the color correction parameter generation unit 26 CM[m]=CMS[m] are used as color correction parameters to be applied to the color correction unit 27.
[0045] Furthermore, when the degree of red shift in the detection result by the color shift degree calculation unit 25 is not 0, the color correction parameter generation unit 26 CM[m]=RH×CMR[m]+(1-RH)×CMS[m] are used as color correction parameters to be applied to the color correction unit 27.
[0046] Furthermore, when the degree of yellow shift in the detection result by the color shift degree calculation unit 25 is not 0, the color correction parameter generation unit 26 CM[m]=YH×CMY[m]+(1-YH)×CMS[m] are used as color correction parameters to be applied to the color correction unit 27.
[0047] Here, when CMS[m] is a value that adds a little redness to the skin color area, CMR[m] is a value that is a certain amount of redness added minus (-), and CMY[m] is a value that is a certain amount of redness added plus (+). When the image data 41 (input image) input from the image quality adjustment unit 20 is shifted toward red, excessive correction can be suppressed. Also, when the image data 41 (input image) input from the image quality adjustment unit 20 is shifted toward yellow, insufficient correction can be compensated for.
[0048] The color correction unit 27 performs color correction on the video data 41 input from the image quality adjustment unit 20 based on the color management table (CM[m]) applied by the color correction parameter generation unit .
[0049] Fig. 8 is a diagram showing an example of color correction in the color correction unit 27. CM[m] is composed of elements of hue H[h], saturation S[s], and brightness V[v]. Hue H[h], saturation S[s], and brightness V[v] represent the correction degree of hue, saturation, and brightness at the point where h, s, and v overlap in the three-dimensional YCbCr space (see Fig. 8(d)).
[0050] It should be noted that the color correction unit 27 performs interpolation for intermediate values between points using the correction values of adjacent points.
[0051] Next, an example of the flow of the skin image correction process executed by the skin image corrector 22 will be described.
[0052] Fig. 9 is a flowchart showing an example of the flow of skin image correction processing executed by skin image correction unit 22. As shown in Fig. 9, face detection unit 23 divides video data 41 input from image quality adjustment unit 20 into a plurality of areas, and detects whether each area contains a human face (step S1).
[0053] If the area containing a human face is equal to or larger than a certain area (Yes in step S2), face detection unit 23 determines that a human face has been detected in video data 41, and proceeds to step S3. On the other hand, if the area containing a human face is smaller than a certain area (No in step S2), face detection unit 23 determines that a human face has not been detected in video data 41, and proceeds to step S5.
[0054] In step S 3 , the histogram detection unit 24 obtains a histogram of the hue from the video data 41 input from the image quality adjustment unit 20 .
[0055] Next, the color shift degree calculation unit 25 uses the face detection result in the face detection unit 23 and the histogram detection result in the histogram detection unit 24 to calculate the "amount of shift toward red" which indicates the degree to which the skin color hue of the video data 41 input from the image quality adjustment unit 20 has shifted toward red (step S4).
[0056] Next, the color correction parameter generating unit 26 generates color correction parameters to be applied to the color correcting unit 27 based on the "amount of shift toward red" detected by the color shift degree calculating unit 25 (step S8).
[0057] Finally, the color correction unit 27 performs color correction on the video data 41 input from the image quality adjustment unit 20 based on the parameters for color correction applied by the color correction parameter generation unit 26 (step S9).
[0058] On the other hand, if the area containing a human face is less than the certain area (No in step S2), the continuous scene determination unit 28 performs continuous scene determination based on the hue histogram detection by the histogram detection unit 24 (step S5).
[0059] If the continuous scene determination unit 28 determines that the scenes are continuous (Yes in step S5), the process proceeds to step S6. On the other hand, if the continuous scene determination unit 28 determines that the scenes are not continuous (No in step S5), the process proceeds to step S7.
[0060] That is, even if a face is not detected (No in step S2), if a continuous scene is determined (Yes in step S5), the color shift degree calculation unit 25 maintains (holds) the calculation value of the previous frame (step S6) and proceeds to step S8.
[0061] On the other hand, if no face is detected (No in step S2) and if the scene is not determined to be a continuous scene (No in step S5), the color shift degree calculation unit 25 resets the "amount of shift toward red," which indicates the degree to which the skin color hue of the video data 41 input from the image quality adjustment unit 20 has shifted toward red, to 0 (step S7), and proceeds to step S8.
[0062] In this way, according to the image display device of the embodiment, by detecting faces, the degree of hue shift, and consecutive scene determination in real time, and correcting skin color to match the characteristics of the input image, it is possible to display beautiful skin colors even in content where the environment (conditions) at the time of shooting or editing are unknown, and to display good images.
[0063] In particular, according to the image display device of the embodiment, continuous scenes are determined based on the acquired information of the hue histogram, and even when a change occurs from face detection to not, if it is determined to be a continuous scene, color correction is continued, so that appropriate color correction can be performed even in scenes where a face is not detected, and natural, optimal color display can be performed in more scenes.
[0064] In this embodiment, even if the detection result in the face detection unit 23 changes from "face detection yes" to "face detection no", if the continuous scene determination unit 28 has determined that the scene is a continuous scene, the color shift degree calculation unit 25 holds the detection result, but this is not limited to this. That is, even if the detection result in the face detection unit 23 changes from "face detection yes" to "face detection no", it is sufficient for the color correction unit 27 to continue color correction if the continuous scene determination unit 28 has determined that the scene is a continuous scene, and it is also possible to fix or reduce the change in the correction amount, or to change it gradually, without switching to no correction.
[0065] In general scene change detection, a scene change is often determined based on the difference in pixel values between previous and next frames, differences in applications, etc., but when there is movement in the subject, such as when the face direction changes, or when the camera slowly zooms in and out, it is often possible to determine that the scene is a continuous scene, but it is difficult to determine that the scene is a continuous scene when the cuts change. On the other hand, the hue histogram can obtain similar characteristics if the elements such as the lighting, subject, and color grading at the time of shooting are the same. Therefore, according to the image display device of the first embodiment, not only when there is movement in the subject, such as when the face direction changes, or when the camera slowly zooms in and out, but also when the cuts change, it is possible to determine that the scene is a continuous scene with high accuracy.
[0066] The program (software) executed by the image display device 1 of this embodiment is provided in a state that it is pre-installed in a ROM or the like.
[0067] The program (software) executed by the image display device 1 of this embodiment may be configured to be provided by being recorded in an installable or executable format on a computer-readable recording medium such as a CD-ROM, a flexible disk (FD), a CD-R, or a DVD (Digital Versatile Disc).
[0068] Furthermore, the program (software) executed by the image display device 1 of this embodiment may be stored on a computer connected to a network such as the Internet and provided by being downloaded via the network. Also, the program (software) executed by the image display device 1 of this embodiment may be provided or distributed via a network such as the Internet.
[0069] Although the embodiment of the present invention has been described above, the embodiment is presented as an example and is not intended to limit the scope of the invention. This new embodiment can be embodied in various other forms, and various omissions, substitutions, and modifications can be made without departing from the spirit of the invention. The above embodiment is included in the scope and spirit of the invention, and is included in the scope of the invention and its equivalents described in the claims. [Explanation of symbols]
[0070] 1 Image display device 12 Display section 23 Face detection section 24 Histogram detector 25 Color shift detector 26 Color correction parameter generator 27 Color Correction Section 28 Continuous scene determination unit
Claims
1. An image display device that processes input video data and outputs the processed video data to a display unit, a face detection unit that detects a human face from the video data; a histogram detection unit that performs histogram detection relating to color information from the video data; a continuous scene determination unit that determines continuous scenes using a histogram detection result by the histogram detection unit; a color correction unit that performs color correction on the video data; Equipped with the color correction unit continues color correction when the continuous scene determination unit has determined that the scene is a continuous scene even if the detection result of the face detection unit has changed from "face detection yes" to "face detection no." 1. An image display device comprising:
2. a color shift detection unit that detects a shift degree of a hue or a saturation of a skin color of the video data using a face detection result by the face detection unit, a histogram detection result by the histogram detection unit, and a result of the continuous scene determination by the continuous scene determination unit; a color correction parameter generating unit that generates a parameter for color correction based on the degree of shift in hue or saturation of the skin color detected by the color shift detecting unit; Equipped with the color shift detection unit continues color correction when the continuous scene determination unit has determined that the scene is a continuous scene even if the detection result of the face detection unit has changed from "face detection yes" to "face detection no." 2. The image display device according to claim 1 .
3. the continuous scene determination unit determines whether the scene is continuous or non-continuous based on a degree of similarity between the hue histogram of the video data and a previous frame of the video data; 2. The image display device according to claim 1 .
4. the continuous scene determination unit calculates the similarity according to an accumulation of differences in frequencies of all hues or differences in frequencies of a specific hue between a previous frame and a current frame of the video data; 4. The image display device according to claim 3.
5. A computer that controls an image display device that processes input video data and outputs the processed video data to a display unit. a face detection unit that detects a human face from the video data; a histogram detection unit that performs histogram detection relating to color information from the video data; a continuous scene determination unit that determines continuous scenes using a histogram detection result by the histogram detection unit; a color correction unit that performs color correction on the video data; Functioning as a the color correction unit continues color correction when the continuous scene determination unit has determined that the scene is a continuous scene even if the detection result of the face detection unit has changed from "face detection yes" to "face detection no." A program characterized by:
6. A method for determining consecutive scenes in an image display device that processes input video data and outputs the processed video data to a display unit, comprising the steps of: determining whether the scene is a continuous or non-continuous scene based on a degree of similarity between the hue histogram of the video data and a previous frame; A method for determining consecutive scenes.
Citation Information
Patent Citations
Dynamic self-adaption skin color segmentation method and device
CN103106386A
Video scene change detection method based on self-adaptation threshold value
CN104243769A
Portrait face adjustment methods and device, memory medium and terminal
CN109618098A
Display device and display method
CN111541924A
Color correction processing method and color correction processing module using it
JP2006318276A
