Image processing device, image processing method, and image processing program
The image processing device corrects skin color by classifying individuals into groups and applying adjusted correction filters, addressing the issue of uniform skin color correction that distorts original tones, achieving accurate and detailed skin tone adjustments.
Patent Information
- Application Number
- JP2023043684
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-20
- Publication Date
- 2024-10-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing image processing devices uniformly correct a person's skin color, which can significantly impair the original skin color in the corrected image.
An image processing device that acquires an image and corrects skin color based on the skin color tendency of the person, using a processing unit to classify individuals into groups by country or region, and applies correction filters with filter coefficients adjusted for skin color trends, considering individual differences.
The device achieves more appropriate skin color correction, accounting for variations between individuals and regions, ensuring accurate and detailed skin tone adjustments.
Smart Images

Figure 2024133743000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosure of this specification relates to an image processing device, an image processing method, and a program. [Background technology]
[0002] 2. Description of the Related Art Image processing devices that correct the appearance of skin of a person included in an image are known (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2016-110197 A Summary of the Invention [Problem to be solved by the invention]
[0004] In this type of image processing device, the skin of a person is uniformly corrected so as to approach a specific color, for example, but this may result in the person's original skin color being significantly impaired in the corrected image.
[0005] The present invention has been made in view of the above circumstances, and an object of the present invention is to more appropriately correct the skin color of a person included in an image. [Means for solving the problem]
[0006] An image processing device according to one embodiment of the present invention includes a processing unit that acquires an image and corrects the skin color of a person included in the image based on the tendency of the skin color of the person. Effect of the Invention
[0007] According to an embodiment of the present invention, the skin color of a person included in an image can be corrected more appropriately. [Brief description of the drawings]
[0008] [Figure 1] 1 is a diagram illustrating a hardware configuration of an image processing apparatus according to an embodiment of the present invention. [Diagram 2] 1 is a functional block diagram of an image processing device according to an embodiment of the present invention. [Diagram 3] FIG. 4 is a flowchart showing an image correction process executed by a processing unit of the image processing device according to an embodiment of the present invention. [Figure 4] FIG. 4 is a diagram showing a subroutine of the color information acquisition process (step S102) in FIG. [Diagram 5] 4 is a diagram showing an example of an image that is a target of the image correction process of FIG. 3. [Figure 6] FIG. 4 is a diagram showing a subroutine of the filter coefficient setting process (step S103) in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] An image processing device according to an embodiment of the present invention, and an image processing method and an image processing program executed by the image processing device, which is an example of a computer, will be described in detail with reference to the drawings.
[0010] 1 is a diagram showing a hardware configuration of an image processing device 1 according to an embodiment of the present invention. The image processing device 1 is, for example, a digital camera. Note that the image processing device 1 may be another type of device, such as a smartphone, a feature phone, a tablet terminal, a PC (Personal Computer), a PDA (Personal Digital Assistant), or a portable game machine.
[0011] As shown in FIG. 1, the image processing device 1 includes a processing unit 11, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, an input unit 14, an output unit 15, a memory unit 16, a communication unit 17, a drive 18, an imaging unit 19, a battery 20, a bus 21 and an input / output interface 22.
[0012] The processing unit 11, the ROM 12, and the RAM 13 are interconnected via a bus 21. An input / output interface 22 is further connected to the bus 21. The input / output interface 22 is connected to the input unit 14, the output unit 15, the storage unit 16, the communication unit 17, the drive 18, the imaging unit 19, and the battery 20.
[0013] The image processing device 1 may have other configurations that are not shown in Fig. 1. That is, the image processing device 1 has a degree of freedom in its configuration, and various design changes are possible.
[0014] The processing unit 11 is, for example, a single processor or a multiprocessor, and includes at least one processor. When the processing unit 11 includes multiple processors, the processing unit 11 may be packaged as a single device, or may be configured as multiple devices that are physically separated within the image processing device 1.
[0015] The processing unit 11 is not particularly limited, and may be, for example, a central processing unit (CPU), a graphics processing unit (GPU), etc. Furthermore, the processing unit 11 may include a hardware circuit such as a field-programmable gate array (FPGA), an application specific integrated circuit (ASIC), etc.
[0016] The processing unit 11 may be, for example, two or more CPUs working together to execute various processes.
[0017] The processing unit 11 reads out a program stored in, for example, the ROM 12, expands the program in a work area secured in the RAM 13, and executes the expanded program.
[0018] The programs executed by the processing unit 11 include an image processing program 12A according to one embodiment of the present invention. The image processing program 12A is stored in, for example, a ROM 12. An image processing device 1, which is an example of a computer, executes an image processing method according to one embodiment of the present invention by the image processing program 12A.
[0019] The processing unit 11 executes a series of processes, such as acquiring an image and correcting the skin color of a person based on the tendency of the skin color of the person included in the image.
[0020] By executing the image processing program 12A, it becomes possible to appropriately correct the skin color of a person included in an image. The image processing program 12A will be described in detail later.
[0021] The input unit 14 is a keyboard, a pointing device, a touch panel, or the like, and receives input from a user, for example.
[0022] The output unit 15 includes, for example, a display device that displays images, a speaker that outputs sound, and the like.
[0023] The storage unit 16 is a semiconductor memory such as a dynamic random access memory (DRAM), and stores, for example, various data tables relating to image processing, image data, and the like.
[0024] The communication unit 17 connects the image processing device 1 to an external device via a network including the Internet so that they can communicate with each other. The communication unit 17 may have a short-range communication function such as Bluetooth (registered trademark) or Wi-Fi (registered trademark).
[0025] Removable media such as magnetic disks, optical disks, magneto-optical disks, and semiconductor memories are appropriately loaded into the drive 18. Programs read from the removable media by the drive 18 are installed in the storage unit 16 as necessary. Image data may be stored in the removable media.
[0026] The imaging unit 19 is a camera including an optical lens and an image sensor. A user can use the imaging unit 19 to take an image of, for example, a person.
[0027] The battery 20 supplies power to each component of the image processing device 1. The battery 20 is, for example, a lithium ion battery.
[0028] 2 is a functional block diagram of the image processing device 1. A processing unit 11 that performs various controls of the image processing device 1 is realized by the processing unit 11 that executes arithmetic processing, executing various programs including an image processing program 12A.
[0029] 2, the processing unit 11 includes a communication processing unit 31, an output processing unit 32, an input processing unit 33, a classification processing unit 34, an information acquisition unit 35, a color appearance acquisition unit 36, a filter setting unit 37, and a correction unit 38. Each functional block is realized by an image processing program 12A executed by an image processing device 1, which is an example of a computer. Each functional block may be realized in part or in whole by hardware such as a dedicated logic circuit.
[0030] The communication processing unit 31 executes a process for communicating with an external device via the communication unit 17. The communication processing unit 31 executes a process for transmitting and receiving image data to and from an external device via a network, for example.
[0031] The output processing unit 32 executes a process for displaying an image on the screen of the output unit 15. The output processing unit 32 executes a process for displaying an image captured by the imaging unit 19 on the screen of the output unit 15, for example.
[0032] The input processing unit 33 executes a process of accepting an operation by a user on the input unit 14. The input processing unit 33 executes a process of accepting an operation by a user on the input unit 14 to instruct image correction processing, for example.
[0033] The classification processing unit 34 classifies people included in an image into groups. As an example, the classification processing unit 34 classifies people into groups based on meta information of an image file (for example, GPS (Global Positioning System) data included in EXIF (Exchangeable image file format)). The groups classified here are, for example, countries and regions. Furthermore, the "image" here includes, for example, images captured by the imaging unit 19, images stored in removable media, images acquired from an external device via the communication processing unit 31, and the like.
[0034] The information acquisition unit 35 acquires color information of the skin of a person included in the image. Here, "color information" refers to, for example, a luminance signal (hereinafter also referred to as "luminance information") Y for expressing the YUV color space, and two color difference signals (hereinafter also referred to as "color difference information") U and V. As will be described in detail later, the information acquisition unit 35 acquires color information of the skin of a person based on color information of multiple points (forehead, nostrils, etc.) on the face of the person included in the image. Note that the color information may be based on other methods, such as RGB.
[0035] The color likelihood acquisition unit 36 acquires information indicating the skin color likelihood in the group classified by the classification processing unit 34, based on the skin color information acquired by the information acquisition unit 35. Although there are trends in skin color depending on the country or region, there are also differences in the skin color of individuals within the country or region.
[0036] Therefore, the color likelihood acquisition unit 36 acquires information indicating the skin color likelihood in a group as, for example, numerical data. For example, this numerical data has a higher value as the skin color is closer to a preset reference color, and a lower value as the skin color differs from the reference color.
[0037] For example, a correction filter 12B for each group is stored in the ROM 12. The correction filter 12B for each group has a filter coefficient that is set in advance in consideration of the skin color tendency of the corresponding group (such as a country or region).
[0038] The filter setting unit 37 acquires the correction filter 12B corresponding to the group classified by the classification processing unit 34, and adjusts the filter coefficient of the acquired correction filter 12B based on the information indicating the skin color-likeness acquired by the color-likeness acquisition unit 36.
[0039] Using the filter coefficients thus set, the correction unit 38 corrects the skin color of the person. This makes it possible to perform detailed skin color correction that takes into account differences in skin color between individuals, for example.
[0040] Fig. 3 shows a flowchart of the image correction process executed by the processing unit 11. For example, when an operation to instruct the image correction process is performed on the input unit 14, execution of the image correction process in Fig. 3 is started. For convenience, an image to be subjected to the image correction process is referred to as "image IMG".
[0041] As shown in FIG. 3, the processing unit 11 classifies people included in the image IMG into groups (step S101).
[0042] Specifically, the processing unit 11 classifies people included in the image IMG into groups indicating countries or regions based on location information (such as GPS) included as meta-information in the image file of the image IMG.
[0043] In this manner, the processing unit 11 operating as the classification processing unit 34 classifies people into groups based on information about the country or region.
[0044] The processing unit 11 operating as the classification processing unit 34 may, for example, acquire skin color information of multiple points on a person's face extracted by face recognition processing on the image IMG, determine whether or not this color information falls within a predetermined range of a color space, and classify the person into a group indicating a country or region based on the determination result. Here, the color space is a YUV space. The color space may be replaced with another color space such as an RGB color space. The above-mentioned predetermined range of the color space is set in advance for each group.
[0045] For example, the processing unit 11 classifies the person into country A when the color information falls within a predetermined range R1 of the color space, and classifies the person into country B when the color information falls within a predetermined range R2 of the color space.
[0046] The processing unit 11 operating as the classification processing unit 34 may classify people into groups indicating countries or regions based on other information, such as skeletal information of the person's face obtained from the image IMG.
[0047] The processing unit 11 operating as the classification processing unit 34 may classify people into groups indicating countries or regions based on two or more elements of the meta information contained in the image file, the judgment results using a color space for skin color information, and other information (such as skeletal information).
[0048] The processing unit 11 acquires skin color information of the person included in the image IMG (step S102).
[0049] Fig. 4 shows a subroutine of the color information acquisition process (step S102). Fig. 5 shows an example of an image IMG. In Fig. 5, reference numeral 100 indicates both eyes of a person appearing in the image IMG. Reference numeral 110 indicates the forehead of the person appearing in the image IMG. Reference numeral 120 indicates both nostrils of the person appearing in the image IMG.
[0050] As shown in FIG. 4, the processing unit 11 performs face measurement (step S102a).
[0051] In step S102a, the processing unit 11 performs measurements in the order of both eyes 100, the forehead 110, and both nostrils 120. Both nostrils include the right nostril located on the right side of the face and the left nostril located on the left side of the face. Each part is identified as one area of the image by image recognition based on a feature amount or the like set in advance.
[0052] The above "measurement" refers to obtaining luminance information and color difference information contained in the image information of the person in the image IMG. Note that the measurement of each part is not limited to the above order.
[0053] It is preferable to use the forehead 110 and both nostrils 120 as measurement targets since they are relatively unaffected by external factors such as shadows, glasses, and masks.
[0054] The eyes 100, the forehead 110, and the nostrils 120 are examples of measurement targets. Other parts of the person captured in the image IMG may be used as measurement targets.
[0055] The processing unit 11 determines whether or not the variation in the measurement values is large (step S102b).
[0056] Specifically, in step S102b, the processing unit 11 determines whether the difference in color information between the forehead 110 and both nostrils 120 is equal to or greater than a first threshold. As a more specific example, the processing unit 11 performs threshold determination on the difference between the luminance signal of the forehead 110 and the luminance signals of both nostrils 120 (average luminance of the left and right), or performs threshold determination on the difference between the maximum and minimum values of the luminance signals or color difference signals of the forehead 110 and both nostrils 120. The processing unit 11 may perform variation determination by calculating the standard deviation or the like of the distribution of the luminance signals or color difference signals of the forehead 110 and both nostrils 120.
[0057] If the measurement values vary widely (step S102b: YES), for example, there is a possibility that a shadow is cast on the person's face in the image IMG. In this case, there is a large difference in luminance value between the shaded and unshaded parts. It may be difficult to determine the skin color with sufficient accuracy using the luminance value of the shaded part. Therefore, it is preferable to use the luminance value of the unshaded part for skin color determination.
[0058] Therefore, if the variation in the measurement values is large (step S102b: YES), the processing unit 11 determines whether the luminance values of both eyes 100 measured in step S102a are both less than a second threshold value (in other words, whether both eyes 100 are dark) (step S102c).
[0059] For example, the luminance value of the white part of the eye is used for this threshold determination. The second threshold is, for example, a luminance value Y=90.
[0060] If the luminance values of both eyes 100 are less than the second threshold (step S102c: YES), there is a possibility that the entire face of the person is in shadow in the image IMG. In this case, the processing unit 11 exits the subroutine of FIG. 4 at this point and enters the subroutine of FIG. 6 (described later).
[0061] If the luminance value of at least one of the eyes 100 is equal to or greater than the second threshold (step S102c: NO), the side (right or left side of the face) on which the eye with the luminance value equal to or greater than the second threshold is located is estimated to be in a state where there is no shadow, or if there is a shadow, the shadow is light enough to allow skin color determination to be performed. In this case, the processing unit 11 acquires color information (luminance information and color difference information) of the nostril on the side on which the eye with the higher luminance value is located as color information (luminance information and color difference information) of the person's skin included in the image IMG (step S102d).
[0062] On the other hand, if the variation in the measurement values is not large (step S102b: NO), the processing unit 11 acquires color information (brightness information and color difference information) of the skin of the person contained in the image IMG based on color information (brightness information and color difference information) of the forehead 110 and both nostrils 120 (step S102e).
[0063] Specifically, in step S102e, the processing unit 11 acquires the average luminance values and the average color difference signal values of the three locations, the forehead 110 and both nostrils 120, as skin color information (luminance information and color difference information) of the person contained in the image IMG.
[0064] If the brightness of the person's face in the image IMG is not sufficient, it is difficult to determine the skin color with sufficient accuracy. Therefore, the processing unit 11 determines whether the person's face is shown with sufficient brightness in the image IMG (step S102f).
[0065] Specifically, in step S102f, the processing unit 11 determines whether the median of the luminance values included in the skin color information acquired in step S102d or step S102e is equal to or greater than a third threshold. If the median is less than the third threshold (step S102f: NO), the brightness of the person's face is not sufficiently ensured, making it difficult to perform skin color judgment with sufficient accuracy. In this case, the processing unit 11 exits the subroutine in FIG. 4 and enters the subroutine in FIG. 6 (described later).
[0066] If the median luminance value included in the skin color information acquired in step S102d or step S102e is equal to or greater than the third threshold (step S102f: YES), the brightness of the person's face is sufficiently ensured, so that skin color determination can be performed with sufficient accuracy. In this case, the processing unit 11 enters the subroutine of FIG. 6 (described later) to perform detailed skin color correction that takes into account differences in skin color between individuals, for example.
[0067] As described above, the median of the luminance values included in the skin color information acquired in step S102d or step S102e is used for the threshold determination in step S102f. In another embodiment, for example, the average value of the luminance values included in this color information may be used for the threshold determination, or the luminance value of a representative point included in this color information may be used for the threshold determination. Also, the most frequent value of the luminance values included in this color information may be used for the threshold determination.
[0068] In this manner, in step S102, the processing unit 11 operating as the information acquisition unit 35 acquires skin color information of the person based on color information of multiple locations (forehead, nostrils, etc.) in the person's face included in the image IMG.
[0069] Also, in step S102, the processing unit 11 operating as the information acquisition unit 35 acquires the difference in color information between multiple locations (forehead, nostrils, etc.), and if this difference is less than a first threshold value (in other words, if the measurement values of each location do not vary greatly), acquires color information of the person's skin based on the color information of the multiple locations.
[0070] The multiple locations on the person's face that are to be the measurement locations include a first location (e.g., the right nostril) located on the right side of the face and a second location (e.g., the left nostril) located on the left side of the face. In step S102, the processing unit 11 operating as the information acquisition unit 35 acquires the difference in color information between the multiple locations (e.g., the right nostril and the left nostril), and if this difference is equal to or greater than a first threshold (in other words, if the measurement values of each location vary greatly), acquires luminance information of the person's left and right eyes 100 included in the image IMG, and acquires the person's skin color information based on the color information of the location on the side where the brighter eye is located, between the first location (e.g., the right nostril) and the second location (e.g., the left nostril).
[0071] The processing unit 11 sets a filter coefficient of the correction filter 12B corresponding to the group classified by the classification processing unit 34 based on the information indicating the color-likeness of the skin of the person included in the image IMG (step S103). For convenience, the information indicating the color-likeness of the skin of the person included in the image IMG is referred to as a "color-likeness degree."
[0072] FIG. 6 shows a subroutine of the filter coefficient setting process (step S103).
[0073] The processing unit 11 calculates a color-likeness degree based on the skin color information acquired in step S102 (step S103a).
[0074] Although the skin color of each person differs, there are tendencies in skin color depending on the country or region. In this embodiment, for example, for each group (in other words, country or region), a reference skin color for people belonging to that group is set in advance using statistical data or the like. As an example, a color close to white is set in country A, and a color close to brown is set in country B as the reference color.
[0075] Information on the reference colors of each group is stored in the storage unit 16, for example.
[0076] The color-likeness degree is expressed, for example, by a numerical value from 0 to 100. The closer the skin color information acquired by the information acquiring unit 35 is to the reference color of the group classified by the classification processing unit 34, for example, in color space, the closer the color-likeness degree numerical value is to 100. The farther the skin color information acquired by the information acquiring unit 35 is from the reference color of the group classified by the classification processing unit 34, for example, in color space, the closer the color-likeness degree numerical value is to 0.
[0077] The color-likeness degree may be set as a value from 0 to 100 based on the Gaussian distribution of colors that have been determined by a certain number of people to be reference colors for that group (in other words, that country or region).
[0078] In this case, the color-likeness value is 100 for a color that is at the center of the Gaussian distribution, and the further a color is from the center of the Gaussian distribution, the closer the value is to 0. The color-likeness value is 0 for a color that deviates from the standard deviation.
[0079] For example, a data table of standard deviations, medians, etc. of Gaussian distributions of color difference information is stored for each group in the storage unit 16. The processing unit 11 calculates the color-likeness degree by using the data table showing the Gaussian distributions of the reference colors corresponding to the groups classified by the classification processing unit 34.
[0080] The following is an example of the numerical values of a data table for a Gaussian distribution. For example, the data table is set as 8-bit YUV values from 0 to 255 in the ranges of 117≦Y≦170, 98≦U≦110, and 155≦V≦166. Within this range, a color with UV=(101,161) is set to 100 as the highest value of color-likeness. The further the UV value deviates from this value, the closer the color-likeness approaches 0.
[0081] Thus, in step S103a, the processing unit 11 operating as the color-likeness acquisition unit 36 acquires information indicating the skin color-likeness (color-likeness degree) in the group classified by the classification processing unit 34 based on the skin color information acquired by the information acquisition unit 35.
[0082] In this embodiment, information indicating the skin color-likeness (color-likeness degree) in the groups classified by the classification processing unit 34 can be managed as numerical data.
[0083] If the person's face is entirely in shadow in the image IMG (step S102c: YES) or if the brightness of the person's face is not sufficiently ensured (step S102f: NO), it is difficult to perform detailed skin color correction based on the color-likeness. In this case, the processing unit 11 sets the color-likeness value to 0 (step S103b).
[0084] The processing unit 11 reads out from the ROM 12 the correction filter 12B corresponding to the group classified in step S101 (step S103c).
[0085] As described above, the correction filter 12B for each group has a filter coefficient that is set in advance in consideration of the skin color tendency of the corresponding group (country, region, etc.). In order to perform detailed skin color correction that takes into account differences in skin color among individuals, it is preferable to adjust the filter coefficient.
[0086] Therefore, the processing unit 11 adjusts the filter coefficient of the correction filter 12B read out in step S103c based on the color-likeness degree set in step S103a (or step S103b) (step S103d).
[0087] For example, the processing unit 11 calculates an adjustment value according to the color-likeness degree. A function used to calculate the adjustment value is prepared in advance for each group, for example. The processing unit 11 sets a filter coefficient according to the color-likeness degree by multiplying the calculated adjustment value by the filter coefficient, for example.
[0088] When the color-likeness degree is 0, the processing unit 11 does not adjust the filter coefficient of the correction filter 12B.
[0089] In this way, in step S103d, the processing unit 11 operating as the filter setting unit 37 acquires the correction filter 12B corresponding to the group classified by the classification processing unit 34, and adjusts the filter coefficient of the acquired correction filter 12B based on the information indicating the skin color-likeness (color-likeness degree).
[0090] Even in the same country or region, the color of the iris of the eye and the skin color may differ depending on the region. Therefore, the processing unit 11 may adjust the filter coefficient of the correction filter 12B based on the color information of the iris.
[0091] For example, the processing unit 11 acquires color information of the eyes (more specifically, the irises) of a person included in the image IMG. The processing unit 11 calculates an adjustment value according to the degree of color-likeness, and also calculates an adjustment value according to the color information of the person's eyes (in other words, a lower group (e.g., a region in a country or region) narrowed down by this color information). The processing unit 11 multiplies the two calculated adjustment values by the filter coefficient, etc., to adjust the filter coefficient to a value that takes into account the lower group (in other words, takes into account the skin tendencies of the region in a country or region).
[0092] In this way, the processing unit 11 operating as the filter setting unit 37 may obtain eye color information of a person included in the image IMG, and adjust the filter coefficient of the correction filter 12B corresponding to the group classified by the classification processing unit 34 based on the eye color information of the person.
[0093] The processing unit 11 corrects the skin color of the person included in the image IMG using the filter coefficient set in step S103 (step S104).
[0094] This allows for detailed skin color correction that takes into account not only differences in skin color between countries or regions, but also differences in skin color between individuals. For example, if the filter coefficient is not adjusted, the skin color would be corrected to be excessively brighter than the original skin color, but by adjusting the filter coefficient according to the color-likeness, the skin color can be corrected to an appropriate brightness for the original skin color.
[0095] It should be noted that, when the color-likeness degree is 0, it is difficult to perform detailed skin color correction that takes into account differences in skin color between individuals. Therefore, in this case, the processing unit 11 does not need to perform skin color correction (step S104).
[0096] In this manner, in step S104, the processing unit 11 operating as the correction unit 38 uses the filter coefficients set by the filter setting unit 37 to correct the skin color of the person included in the image IMG.
[0097] The above-described embodiment is a specific example shown to facilitate understanding of the invention, and the present invention is not limited to the above-described embodiment, and should be understood as including various modified and alternative forms of the above-described embodiment. For example, it will be understood that the above-described embodiment can be embodied by modifying the components within the scope of the invention. It will also be understood that various embodiments can be implemented by appropriately combining multiple components disclosed in the above-described embodiment. Furthermore, it will be understood by those skilled in the art that various embodiments can be implemented by deleting some components from all the components shown in the embodiment, or by adding some components to the components shown in the embodiment. [Explanation of symbols]
[0098] 1: Image processing device 11: Processor 12: ROM 12A: Image processing program 12B: Correction filter 13: RAM 14: Input section 15: Output section 16: Storage section 17: Communications Department 18: Drive 19: Imaging section 20: Battery 21: Bus 22: Input / Output Interface 30: Processing section 31: Communication processing unit 32: Output processing section 33: Input processing section 34: Classification processing section 35: Information acquisition department 36: Color acquisition unit 37: Filter setting section 38: Correction section
Claims
1. Acquire an image, correcting the skin color of the person based on the tendency of the skin color of the person included in the image; A processing unit is provided. Image processing device.
2. The processing unit includes: Classifying people included in the image into one of a plurality of groups; correcting the skin color of the person based on a reference color corresponding to the classified group; The image processing device according to claim 1 .
3. The processing unit includes: classifying said persons into groups based on country or region information; The image processing device according to claim 2 .
4. The processing unit includes: determining whether or not skin color information of a person included in the image falls within a predetermined range of a color space; classifying the person into groups based on the results of the determination; 4. The image processing device according to claim 2.
5. A correction filter for each of the groups is provided, The processing unit includes: Obtain a correction filter corresponding to the classified group; adjusting the filter coefficient of the correction filter based on information indicating a skin color similarity of the person in the classified group; The image processing device according to claim 2 .
6. The processing unit includes: Obtaining eye color information of the person included in the image; adjusting the filter coefficient of the correction filter based on eye color information of the person; The image processing device according to claim 5 .
7. The processing unit includes: correcting the skin color of the person using the set filter coefficients; 7. The image processing device according to claim 5 or 6.
8. The processing unit includes: acquiring skin color information of the person based on color information of a plurality of points on the face of the person included in the image; The image processing device according to claim 1 .
9. The processing unit includes: Obtaining differences in color information between the plurality of locations; If the difference is less than a first threshold, skin color information of the person is acquired based on the color information of the plurality of locations. The image processing device according to claim 8.
10. the plurality of locations include a first location located on a right side of the face and a second location located on a left side of the face, The processing unit includes: Obtaining differences in color information between the plurality of locations; If the difference is equal to or greater than a first threshold, luminance information of the left and right eyes of the person included in the image is acquired; acquiring skin color information of the person based on color information of one of the first and second locations, the one on which the lighter eye is located; 10. The image processing device according to claim 8 or 9.
11. Acquire an image, correcting the skin color of the person based on the tendency of the skin color of the person included in the image; Image processing methods.
12. Acquire an image, correcting the skin color of the person based on the tendency of the skin color of the person included in the image; program.
Citation Information
Patent Citations
Image processor, image processing system, image processing method, and program
JP2016110197A
