Image processing apparatus, image processing method, and program

The image processing device addresses overexposure in age-related color correction by targeting specific regions, enhancing image quality and surgical accuracy for older viewers.

JP2024154974AActive Publication Date: 2024-10-31SHINSHU UNIVERSITY +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023069254
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-20
Publication Date
2024-10-31
Estimated Expiration
2043-04-20

AI Technical Summary

Technical Problem

Existing image correction methods for age-related color changes result in increased overexposure, particularly for older individuals, leading to blown-out highlights in corrected images.

Method used

An image processing device and method that performs color correction only on the region of interest based on the viewer's age, using a detection unit to identify the region of interest and applying age-specific color correction to reduce overexposure.

Benefits of technology

Reduces the proportion of overexposure in images by focusing color correction on specific areas, maintaining natural brightness differences and improving surgical precision for older viewers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024154974000001_ABST
    Figure 2024154974000001_ABST
Patent Text Reader

Abstract

To provide an image processing apparatus, an image processing method, or a program, capable of correcting colors according to the age and reducing the proportion of overexposure in an image with the corrected colors.SOLUTION: A computing apparatus 5 as an image processing apparatus detects a region of interest in an image captured by an imaging unit 2, corrects colors, according to the age, in the detected region of interest, and outputs a local corrected image including the color-corrected region of interest and other regions. The image is an image for eye surgery, for example. The region of interest is a circular region at the center of an eyeball, for example.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an image processing device, an image processing method, or a program that performs color correction on an image according to the age of a person viewing the image. [Background technology]

[0002] Human visual characteristics change with age. Specifically, it is believed that colors become darker or yellowish as people get older. Regarding the change in visual characteristics with age, the following Patent Document 1 describes a method of correcting an image so as to compensate for the deterioration of visual characteristics that change with human age. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Patent No. 3552413 Summary of the Invention [Problem to be solved by the invention]

[0004] However, with the method of Patent Document 1, the amount of image correction increases as the subject becomes older, and as a result, whiteout is more likely to occur in the corrected image.

[0005] The present disclosure has been made in consideration of the above circumstances, and an objective of the present disclosure is to provide an image processing device, an image processing method, or a program that can perform color correction according to age and reduce the proportion of blown-out highlights in an image after color correction. [Means for solving the problem]

[0006] The image processing device of the present disclosure includes: an image acquisition unit that acquires an image; A detection unit that detects an area of ​​interest in the image; a correction unit that performs color correction on the attention area detected by the detection unit according to an age of a subject viewing the image; an output unit that outputs a locally corrected image including the region of interest and other regions after the color correction; Equipped with.

[0007] The image processing method of the present disclosure includes: an image acquisition step of acquiring an image; a detection step of detecting an area of ​​interest in the image; a correction step of performing color correction on the attention area detected in the detection step according to an age of a subject who views the image; an output step of outputting a locally corrected image including the region of interest and other regions after the color correction; Equipped with.

[0008] The program of the present disclosure is an image acquisition step of acquiring an image; a detection step of detecting an area of ​​interest in the image; a correction step of performing color correction on the attention area detected in the detection step according to an age of a subject who views the image; an output step of outputting a locally corrected image including the region of interest and other regions after the color correction; to be executed by the computer.

[0009] According to the image processing device, image processing method, and program of the present disclosure, color correction is performed on a region of interest of an image, rather than on the entire image, thereby reducing the proportion of blown out highlights in the corrected image. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a configuration diagram of a display system. [Diagram 2] 11 is a flowchart illustrating an example of an image correction process executed by the arithmetic device. [Diagram 3] 3 is a detailed flowchart of step S11 in FIG. 2. [Figure 4] 3 is an example of an original image acquired in step S1 of FIG. 2. [Diagram 5] 3 is an example of an image after mask processing obtained in step S2 of FIG. 2. [Figure 6] 3 is an example of an image after pixel value conversion obtained in step S3 of FIG. 2. [Figure 7] 3 is an example of a grayscale image obtained in step S4 of FIG. 2. [Figure 8] 3 is an example of a binarized image obtained in step S5 of FIG. 2. [Figure 9] 3 is an example of a binarized image after the first noise removal process obtained in step S6 of FIG. 2. [Figure 10] 3 is an example of a binarized image after the second noise removal process obtained in step S7 of FIG. 2. [Figure 11] This is an example of a mask obtained in step S9 of FIG. [Figure 12] 3 is an example of an extracted image of a region of interest obtained in step S10 of FIG. 2. [Figure 13] 3 is an example of a color-corrected attention area image obtained in step S11 of FIG. [Figure 14] 3 is an example of a locally corrected image obtained in step S12 of FIG. 2, including a region of interest after color correction and other regions. [Figure 15] FIG. 1 is a diagram illustrating an example of a density histogram (luminance distribution) of an image to explain the large-scale binarization method. [Figure 16] 3 is a diagram illustrating an example of the luminance distribution of an original image acquired in step S1 of FIG. 2. [Figure 17] FIG. 17 is a diagram illustrating an example of the luminance distribution when only the attention area is color-corrected for the image showing the luminance distribution in FIG. 16. [Figure 18] FIG. 17 is a diagram illustrating an example of the luminance distribution when the entire image is color-corrected with respect to the image showing the luminance distribution in FIG. 16. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of the present disclosure will be described with reference to the drawings. Fig. 1 shows a display system 1 of this embodiment. The display system 1 is configured as a system that displays a video of an ophthalmic surgery such as cataract surgery (a video of a patient's eye undergoing ophthalmic surgery) in real time during the surgery. Cataract surgery is a surgery in which a part or all of the crystalline lens of an eye affected by cataract is removed and an intraocular lens is inserted into the eye in place of the removed crystalline lens.

[0012] The display system 1 includes an imaging unit 2, an input unit 3, a display unit 4, and a computing device 5. The imaging unit 2 sequentially captures images of the patient's eye at each time point during ophthalmic surgery. That is, the imaging unit 2 captures a video of the patient's eye during ophthalmic surgery. The imaging unit 2 captures a video of the patient's eye viewed from the front. The video captured by the imaging unit 2 is sent to the computing device 5. The color of each pixel constituting the image captured by the imaging unit 2 is expressed, for example, by the color of the RGB display system. In the RGB display system, colors are expressed by a combination of the three primary colors R (red), G (green), and B (blue). The number of gradations or luminance gradations of each RGB primary color may be, for example, 256 gradations. In this case, the gradation value for each primary color is expressed, for example, from 0 to 255. The higher the gradation value, the higher the luminance. That is, the minimum gradation value "0" indicates the lowest luminance. Conversely, the maximum gradation value "255" indicates the highest luminance. Note that the number of gradations may be other than 256. When brightness is expressed in 256 gradations, a brightness of "0" indicates that the pixel color is "black," and a brightness of "255" indicates that the pixel color is "white."

[0013] The input unit 3 is a part that has a known structure such as buttons, a numeric keypad, a mouse, etc., and receives input from a user. Specifically, the input unit 3 receives input such as the age of a person who will view an image. The input content input to the input unit 3 is sent to the calculation device 5.

[0014] The display unit 4 is a part that displays an image. The display unit 4 is, for example, a liquid crystal display, but may be other types of displays such as a plasma display or an organic EL display. The display unit 4 may also be a head-mounted display. The display unit 4 is configured to be able to display color images. The color display system of the display unit 4 is, for example, an RGB display system.

[0015] The arithmetic device 5 is a part that is responsible for the overall control of the display system 1. The arithmetic device 5 has the same configuration as a normal computer, that is, it is composed of a CPU 6, RAM, ROM, etc. The arithmetic device 5 corresponds to the image processing device of the present disclosure.

[0016] The arithmetic device 5 includes a storage unit 7. The storage unit 7 is a non-volatile storage unit, and is a non-transitory tangible storage medium that non-temporarily stores computer-readable programs and data. The non-transitory tangible storage medium is realized by a semiconductor memory or a magnetic disk. The storage unit 7 may be configured as an internal storage unit built into the arithmetic device 5, or may be configured as an external storage unit external to the arithmetic device 5. The storage unit 7 stores various data such as a program 8 for processing executed by the CPU 6.

[0017] Next, the details of the process executed by the CPU 6 of the arithmetic device 5 based on the program 8 will be described. Figs. 2 and 3 are flow charts showing an example of the process. The processes of Figs. 2 and 3 are executed during ophthalmic surgery, for example. When the process of Fig. 2 is started, the CPU 6 acquires a current image captured by the imaging unit 2 (S1). Fig. 4 shows an example of an image acquired in step S1. The image of Fig. 4 is a front image of the patient's eye during cataract surgery, specifically, an image obtained while a surgical instrument is being inserted into the central region of the eyeball (the region of the pupil, iris, and cornea) and the crystalline lens is being broken up. Step S1 corresponds to the image acquisition step of the present disclosure. The CPU 6 that executes step S1 corresponds to the image acquisition unit.

[0018] The area of ​​interest, which is the area in the image that the subject (specifically, the surgeon performing the cataract surgery) looking at the image focuses on, is defined as a circular area (area of ​​the pupil, iris, and cornea) in the center of the surgical eye, and in the processing from step S2 onwards, the area of ​​interest is detected (extracted) from the image acquired in step S1. The area of ​​interest is the part of the eyeball (surgical eye) where the surgeon performs the surgical procedure (operation area, treatment area). The circle of the area of ​​interest is, for example, the outer circle of the iris.

[0019] Specifically, first, the image acquired in step S1 is masked (S2), with the rest of the image hidden (masked). Figure 5 shows an example of the image after the masking process in step S2. The masked image includes at least the circular area in the center of the eyeball (areas of the pupil, iris, and cornea).

[0020] Next, each pixel value of the image after the masking process is converted to either the minimum pixel value ("0" for 256 gradations) or the maximum pixel value ("255" for 256 gradations) with a predetermined threshold as the boundary (S3). Specifically, if the RGB values ​​of each pixel are smaller than the threshold, they are converted to the maximum pixel value (="255"), and if they are equal to or greater than the threshold, they are converted to the minimum pixel value (="0"). For example, if the RGB values ​​of a pixel are (125, 200, 50) and the threshold value is 130, the RGB values ​​are converted to (0, 255, 0).

[0021] Thus, in step S3, a brightness inversion process is performed to brighten dark areas (low brightness areas) in the image and darken bright areas (high brightness areas). This is to make the central eyeball area brighter than the peripheral area (sclera area), since the central eyeball area (area of ​​interest) is generally darker than the peripheral area. The threshold value may be a predetermined value so that the central eyeball area becomes brighter and the peripheral area becomes darker when pixel values ​​are converted. FIG. 6 shows an image after the pixel value conversion of step S3 has been performed on the image of FIG. 5.

[0022] Next, the image after step S3 is converted into a grayscale image (S4). Fig. 7 shows an image obtained by converting the image in Fig. 6 into a grayscale image.

[0023] Next, a binarization process is performed to convert the color of each pixel of the grayscale image obtained in step S4 into either white or black (S5). Specifically, the pixel value of each pixel of the grayscale image is converted so that if it is equal to or greater than a threshold value, it is converted to a value indicating white (e.g., "255"), and if it is less than the threshold value, it is converted to a value indicating black (e.g., "0"). The binarization process may be performed by any known method, for example, the grand rule method. The grand rule method is one of the discriminant analysis methods, and is a method for automatically determining an optimal threshold value based on the density histogram of an image. For example, as shown in FIG. 15, when the density histogram of an image is divided into class 0 and class 1 with a certain threshold value T as a boundary, the method is a method for determining the threshold value T as follows. - Class 0 and Class 1 are separated. -Data groups within each class are grouped together.

[0024] In a frontal image of the eyeball, density differences (brightness differences) are likely to occur between the central region of the eyeball (the circular region of the pupil, iris, and cornea) and the peripheral region (the region of the sclera). Therefore, by using the large rule, it is easy to obtain a threshold value suitable for dividing the central region and the peripheral region. Figure 8 shows an image after binarization processing of the image in Figure 7. As shown in Figure 8, a binarized image is obtained in which the central region of the eyeball is white and the peripheral region is black.

[0025] Steps S3 to S5 correspond to the binarization processing step of the present disclosure. The CPU 6 that executes steps S3 to S5 corresponds to the binarization processing section.

[0026] Next, noise regions in the binarized image obtained in step S5 are removed (S6, S7). Specifically, first, as a first noise removal process, for example, a known morphological transformation is applied to the binarized image (S6). For example, noise in the binarized image can be removed by applying an opening process of the morphological transformation to the binarized image. Note that the above opening process is a process of contraction followed by expansion. FIG. 9 shows the image after the morphological transformation is applied to the image of FIG. 8.

[0027] Next, as a second noise removal process, noise is removed based on the area of ​​each region in the binarized image after step S6 (S7). Specifically, the outline of the region in the binarized image where the pixel value is "255" (white) is obtained, and the area of ​​each region surrounded by the outline is calculated. At this time, even if it is the same white region, each region that is not continuous is calculated as a separate region. The area may be, for example, the number of pixels contained in the region. Then, the white region with the largest area is left, and the other white regions are removed as noise. Specifically, the color of the white regions with areas other than the largest area is inverted to the background color (black). FIG. 10 shows an image after noise removal based on the area is performed on the binarized image of FIG. 9. Note that steps S6 and S7 correspond to the noise removal step. The CPU 6 that executes steps S6 and S7 corresponds to the noise removal unit.

[0028] Next, a circle (a shape corresponding to the region of interest) is detected in the binarized image obtained in step S7 (S8). In other words, an element having a circular characteristic is detected in the binarized image. The circle may be detected based on, for example, a Hough transform. Step S8 corresponds to a shape detection step in the present disclosure. The CPU 6 that executes step S8 corresponds to a shape detection unit.

[0029] Next, a mask is generated that hides areas other than the circle detected in step S8 (in other words, the area outside the circle) (S9). Here, a circle is set with a diameter and center position according to the circular element detected in step S8, and a mask is generated that opens the inner area of ​​the circle and hides the outer area of ​​the circle. FIG. 11 illustrates an example of a mask generated based on the image in FIG. 10. Note that step S9 corresponds to the generating step in this disclosure. CPU 6 that executes step S9 corresponds to the generating unit.

[0030] Next, the mask generated in step S9 is applied to the original image acquired in step S1 (S10). Step S10 corresponds to a mask processing step. The CPU 6 that executes step S10 corresponds to a mask processing unit.

[0031] Fig. 12 shows an image after applying the mask of Fig. 11 to the image of Fig. 4. By the above-mentioned steps S2 to S10, the region of interest is detected (extracted) from the original image acquired in step S1. The detection of the region of interest by steps S2 to S10 is performed automatically. Note that steps S2 to S10 correspond to the detection step in this disclosure. CPU 6 that executes steps S2 to S10 corresponds to the detection unit.

[0032] Next, color correction is performed on the attention area extracted in steps S2 to S10 according to the age of the subject viewing the image (S11). Here, each pixel value of the attention area is corrected so that when the subject views the image displayed on the display unit 4, the color (including brightness) is perceived in the same way as a young person (e.g., a person aged 20). Furthermore, in step S11, color correction is not performed on areas of the original image other than the attention area. Note that step S11 corresponds to a correction step. CPU 6 executing step S11 corresponds to a correction unit.

[0033] FIG. 3 illustrates a detailed flow chart of the color correction in step S11. When the process in FIG. 3 is started, the CPU 6 sets the age of the subject who will view the image (S20). Specifically, the CPU 6 acquires the age information of the subject input from the input unit 3, and sets the age indicated by the acquired age information as the target age. The age information may be the exact age of the subject, a rough age (e.g., in the 60s), or the year the subject was born (in the Gregorian calendar, etc.). In addition, for example, when a person under the age of 20 is defined as a young person and a person older than 20 is defined as an elderly person, the subject may be defined as an elderly person. In this case, in step S20, an age higher than 20 is set.

[0034] Next, the color display system of each pixel in the region of interest extracted in steps S2 to S10 is converted from the RGB display system to the XYZ display system (S21). The values ​​of each pixel (R, G, B) are converted to tristimulus values ​​(X, Y, Z) in the XYZ display system. Here, the conversion from R (red), G (green), and B (blue) to X, Y, and Z is expressed by the following equations (E1) to (E3). X=a 11 R+a 12 G+a13 B (E1) Y=a 21 R+a 22 G+a 23 B (E2) Z=a 31 R+a 32 G+a 33 B (E3)

[0035] Coefficient a 11 , a 12 , a 13 , a 21 , a 22 , a 23 , a 31 , a 32 , a 33 are considered to be quantities that indicate the contribution of R to X, the contribution of G to X, the contribution of B to X, the contribution of R to Y, the contribution of G to Y, the contribution of B to Y, the contribution of R to Z, the contribution of G to Z, and the contribution of B to Z, respectively. 11 From a 33 The nine parameters are known constants, e.g., a 11 =0.4124, a 12 =0.3576, a 13 =0.1805, a 21 =0.2126, a 22 =0.7152, a 23 =0.0722, a 31 =0.0193, a 32 =0.1192, a 33 =0.9505.

[0036] Here, X R , X G , X B , Y R , Y G , Y B , Z R , Z G , Z B is defined by the following equations (E4) to (E6). Using these, we obtain equations (E7) to (E9). X R =a 11 R, X G =a 12 G, X B=a 13 B (E4) Y R =a 21 R, Y G =a 22 G,Y B =a 23 B (E5) Z R =a 31 R, Z G =a 32 G, Z B =a 33 B (E6) X=X R +X G +X B (E7) Y=Y R +Y G +Y B (E8) Z=Z R +Z G +Z B (E9)

[0037] Next, as color correction, the tristimulus values ​​X, Y, Z obtained by the conversion in step S21 are corrected (S22) so as to reduce the effect of changes (reductions) in the light transmittance of the crystalline lens due to yellowing of the crystalline lens with aging. Here, based on the light transmittance of the crystalline lens at the target age obtained in step S20 and the light transmittance of the crystalline lens at a reference age (e.g., 20 years old) that is predetermined as the age of young people, the tristimulus values ​​X, Y, Z are corrected so that the color vision of the target person when viewing an image approaches that of a person at the reference age. Specifically, the R, G, B components X in each of the tristimulus values ​​X, Y, Z are corrected so as to cancel out color vision changes (reductions in color vision) based on the crystalline lens transmittance ratio, which is the ratio of the crystalline lens transmittance at the target age to the reference age. n , Y n , Z n (n=R, G, B) are individually adjusted (corrected). More specifically, the corrected tristimulus values ​​X', Y', Z' are calculated using the following equations (E10), (E11), and (E12). X'=X R / K R (X) +X G / K G (X)+X B / K B (X) (E10) Y'=Y R / K R (Y) +Y G / K G (Y) +Y B / K B (Y) (E11) Z'=Z R / K R (Z) +Z G / K G (Z) +Z B / K B (Z) (E12)

[0038] Here, K R (X) , K G (X) , K B (X) , K R (Y) , K G (Y) , K B (Y) , K R (Z) , K G (Z) , K B (Z) is a value defined as the effective component ratio, and is calculated as follows:

[0039] If age-related decline in color vision is not taken into consideration, the above X n , Y n , Z n (n=R, G, B) is expressed by the following equations (E13) to (E15) based on the spectral distribution of the display unit 4. X n =kΣS(λ)x(λ)f n (λ) (E13) Y n =kΣS(λ)y(λ)f n (λ) (E14) Z n =kΣS(λ)z(λ)f n(λ) (E15)

[0040] In the above equations (E13) to (E15), λ is the wavelength of visible light. S(λ) is the spectral distribution of the D65 white point at wavelength λ. x(λ), y(λ), and z(λ) are the color matching functions of X, Y, and Z at wavelength λ, respectively. n (λ)(n=R, G, B), that is, f R (λ), f G (λ), f B (λ) are the spectral distributions of red, green, and blue on the display unit 4. k is an appropriate constant. The range of the sum in Σ is determined to include the entire visible light wavelength range, and specifically, may be, for example, from λ=380 to λ=780.

[0041] The above is for young, healthy people, but this changes with age as follows. According to the well-known research of Pokorny et al., the lens transmittance ratio F, which is the ratio of the optical transmittance of the lens at age A2 (where A2 can be taken to be A1 or greater) to the optical transmittance of the lens at age A1, is described by the following formula (E16). Note that ^ is the power and L is the optical density of the lens. F(λ, A2, A1)=10^{-L(λ, A2)} / 10^{-L(λ, A1)}=10^{L(λ, A1)-L(λ, A2)} (E16)

[0042] The optical density L of the crystalline lens is expressed by the following formula (E17) when A is greater than 20 and less than 60, and by formula (E18) when A is greater than 60, where A is age. L1 , T L2 is a suitable constant. L(λ, A)=T L1 (1+0.02(A-32))+T L2 (E17) L(λ, A)=T L1 (1.56+0.0667(A-60))+T L2 (E18)

[0043] Using the above F, with age, equations (E13) to (E15) change to the following equations (E19) to (E21). Xn * =kΣS(λ)x(λ)f n (λ)F(λ, A2, A1) (E19) Y n * =kΣS(λ)y(λ)f n (λ)F(λ, A2, A1) (E20) Z n * =kΣS(λ)z(λ)f n (λ)F(λ, A2, A1) (E21)

[0044] X shown in equations (E19) to (E21) n * , Y n * , Z n * is the color (tristimulus value X) perceived by a 1-year-old person. n , Y n , Z n ) is perceived by a person of age A2 when he / she sees the same color as the color of the person of age A2 (i.e., the reproduction of the color perceived by the person of age A2). Here, A1 is the reference age, and A2 is the target age obtained in step S10. In this case, X n * , Y n * , Z n * indicates the color that reproduces the color vision of a person of target age A2 when the color vision of a person of reference age A1 is used as the standard. Also, the color (X n , Y n , Z n ) is the color perceived by a person of the standard age.

[0045] And, X perceived by a person of reference age A1 n , Y n , Z n (n=R, G, B) n * , Y n * , Z n *The effective component ratio is defined as the ratio of (n=R, G, B). That is, the effective component ratio is defined by the following equations (E22) to (E24). K n (X) =X n * / X n (E22) K n (Y) =Y n * / Y n (E23) K n (Z) =Z n * / Z n (E24)

[0046] Effective component ratio K n (X) , K n (Y) , K n (Z) is a yellowing filter that shows the change in color vision (decrease in color vision) caused by the yellowing of the crystalline lens with aging (the age difference between the reference age and the target age). n (X) , K n (Y) , K n (Z) (n=R, G, B) is used in the above formulas (E10) to (E12). In the yellowing correction of formulas (E10) to (E12), the effective component ratio K n (X) , K n (Y) , K n (Z) In order to counter the effect of the yellowing filter, the R, G, and B components X at the tristimulus values ​​X, Y, and Z are n , Y n , Z n (n=R, G, B) with effective component ratio K n (X) , K n (Y) , K n (Z) The reciprocal of the effective component ratio K n (X) , K n(Y) , K n (Z) The correction coefficient, which is the reciprocal of n , Y n , Z n It is set every

[0047] Yellowing correction factor (effective component ratio K n (X) , K n (Y) , K n (Z) The effective component ratio K (the reciprocal of K ) may be calculated in advance for each combination of the reference age A1 and the target age A2 and stored in advance in the storage unit 7 shown in FIG. 1. Alternatively, the effective component ratio K n (X) , K n (Y) , K n (Z) The yellowing correction coefficient, which is the inverse of the yellowing correction coefficient, may be calculated. The reference age A1 may be set to an arbitrary age by inputting the reference age A1 using the input unit 3.

[0048] Referring to equations (E4) to (E9), the nine values ​​that indicate the contributions of R, G, and B to the tristimulus values ​​X, Y, and Z before yellowing correction are a 11 , a 12 , a 13 , a 21 , a 22 , a 23 , a 31 , a 32 , a 33 In contrast, the nine values ​​that indicate the contributions of R, G, and B to the tristimulus values ​​X', Y', and Z' after yellowing correction shown in equations (E10) to (E12) are a 11 / K R (X) , a 12 / K G (X) , a 13 / K B (X) , a 21 / K R (Y) , a 22 / K G(Y) , a 23 / K B (Y) , a 31 / K R (Z) , a 32 / K G (Z) , a 33 / K B (Z) In other words, yellowing correction is equivalent to individually adjusting (correcting) the nine numerical values ​​that indicate the contribution of R, G, and B in the RGB display system to the tristimulus values ​​X, Y, and Z, respectively.

[0049] In this manner, the yellowing correction in step S12 is performed. Next, the values ​​of each pixel after the yellowing correction are converted from the tristimulus values ​​X', Y', Z' to RGB display system values ​​(R', G', B') (S23) using the following equations (E25) to (E27). R'=b 11 X'+b 12 Y'+b 13 Z' (E25) G'=b 21 X'+b 22 Y'+b 23 Z' (E26) B'=b 31 X'+b 32 Y'+b 33 Z' (E27)

[0050] Coefficient b 11 , b 12 , b 13 , b 21 , b 22 , b 23 , b 31 , b 32 , b 33 are considered to be quantities that indicate the contribution of X to R, the contribution of Y to R, the contribution of Z to R, the contribution of X to G, the contribution of Y to G, the contribution of Z to G, the contribution of X to B, the contribution of Y to B, and the contribution of Z to B, respectively. 11 From b 33 The nine parameters are known constants, e.g., b 11 =3.2406, b 12 =-1.5372, b13 =-0.4986, b 21 =-0.9689, b 22 =1.8758, b 23 =0.0415, b 31 =0.0557, b 32 =-0.2040, b 33 =1.0570.

[0051] Fig. 13 shows an image after the color correction of step S11 has been performed on the image of the region of interest in Fig. 12. Returning to Fig. 2, next, the image of the region of interest after the color correction of step S11 is composited with the original image acquired in step S1 (S12). Specifically, the region of interest in the original image is replaced with the region of interest after the color correction. Fig. 14 shows an image (locally corrected image) obtained by compositely combining the region of interest after the color correction with the original image.

[0052] Next, the locally corrected image obtained in step S12 is output to the display unit 4 for display (S13). This allows the locally corrected image to be presented to the subject (surgeon). Note that steps S12 and S13 correspond to an output step. The CPU 6 that executes steps S12 and S13 corresponds to the output unit.

[0053] After that, the process returns to step S1, and the above-described steps S1 to S13 are performed on the image at the next time point. In this manner, steps S1 to S13 are repeated on the images at each time point that constitute the moving image captured by the imaging unit 2.

[0054] As described above, in this embodiment, color correction is performed only on the region of interest, so the proportion of blown-out highlights in the image after color correction can be reduced. Table 1 below shows the proportion of blown-out highlights in the entire image after correction for each age group when color correction is performed on the entire image and when color correction is performed only on the region of interest for the same original image. Note that the "reduction rate of blown-out highlights" in Table 1 is the difference between the blown-out highlights rate (global correction) and the blown-out highlights rate (local correction). As shown in Table 1, local correction of only the region of interest reduces the blown-out highlights rate compared to global correction, and the reduction rate is particularly large for older subjects.

[0055] [Table 1]

[0056] Fig. 16 illustrates the luminance distribution of the original image acquired in step S1. Reference numeral "101" in Fig. 16 indicates the luminance distribution of a circular region (attention region) at the center of the eyeball in the original image. Reference numeral "102" indicates the luminance distribution of regions other than the attention region in the original image.

[0057] Fig. 17 illustrates the luminance distribution of the corrected image obtained by steps S1 to S12, i.e., the case where only the attention area of ​​the original image is color-corrected. Reference numeral "201" in Fig. 17 indicates the luminance distribution of the circular area (attention area) at the center of the eyeball in the locally corrected image. Reference numeral "202" indicates the luminance distribution of the area other than the attention area in the locally corrected image. The luminance distribution of reference numeral "102" in Fig. 16 and the luminance distribution of reference numeral "202" in Fig. 17 are the same.

[0058] FIG. 18 illustrates a luminance distribution when color correction similar to that in step S11 is performed on the entire original image (i.e., both the attention area and other areas) shown by the luminance distribution in FIG. 16. Reference numeral "301" in FIG. 18 indicates the luminance distribution of a circular area (attention area) at the center of the eyeball in the overall corrected image. Reference numeral "302" indicates the luminance distribution of areas other than the attention area in the overall corrected image. The luminance distribution of reference numeral "201" in FIG. 17 and the luminance distribution of reference numeral "301" in FIG. 18 are the same. Note that FIGS. 17 and 18 show the luminance distribution when color correction is performed on a subject whose age is 70 years old.

[0059] As shown in Fig. 18, when color correction is performed on the entire image, the luminance difference between the region of interest and other regions (especially the luminance difference on the high luminance (high pixel value) side) is large. In contrast, when color correction is performed only on the region of interest of the image, as shown in Fig. 17, the luminance difference between the region of interest and other regions is smaller than that in Fig. 18.

[0060] In this way, the local correction of this embodiment can reduce the unnaturalness of a large luminance difference between the region of interest and other regions.

[0061] In addition, in this embodiment, since color correction is performed on the region of interest in the ophthalmic surgery image, it is possible to make it easier for the surgeon to perform ophthalmic surgery, even if the surgeon is elderly. Since color correction is performed on the circular region in the center of the eyeball as the region of interest, it is possible to make it easier for the surgeon to perform cataract surgery (removal of the crystalline lens, insertion of an intraocular lens, etc.).

[0062] In the above embodiment, the region of interest is automatically detected, so that it is possible to perform real-time color correction on the moving image captured by the image capturing unit 2. Moreover, since the shape corresponding to the region of interest is detected after removing noise areas in the binarized image, the detection accuracy can be improved.

[0063] The present disclosure is not limited to the above-described embodiment, and various modifications are possible. For example, in the above-described embodiment, an example of color correction of an ophthalmic surgery image was shown, but a surgery image of a site other than the eye may be color corrected. In addition, for example, an eye image during a procedure other than surgery (e.g., during an eye examination) may be color corrected. In addition, color correction may be performed on images other than surgery or examination.

[0064] In the above embodiment, yellowing correction is exemplified as color correction, but the color correction method is not limited to the method of this embodiment. In addition to or instead of yellowing correction, correction (miosis correction) to counteract the effect of the reduction in pupil diameter due to aging may be performed. In this case, gamma correction described in Japanese Patent No. 7120556 may be performed.

[0065] In addition, in the above embodiment, an example is shown in which the local correction image is output to the display unit 4, but the local correction image may also be output to an image projection device (projector), or the local correction image may be output to an image printing device that prints the local correction image on paper media, etc. [Explanation of symbols]

[0066] 1 Display System 2. Photography Department 3. Input section 4 Display section 5. Calculation device (image processing device) 6 CPU 7 Memory section 8. Program

Claims

1. an image acquisition unit that acquires an image; A detection unit that detects an area of ​​interest in the image; a correction unit that performs color correction on the attention area detected by the detection unit according to an age of a subject viewing the image; an output unit that outputs a locally corrected image including the region of interest and other regions after the color correction; An image processing device comprising:

2. The image processing apparatus according to claim 1 , wherein the image is a surgical image.

3. The image processing device according to claim 1 or 2, wherein the image is an image of an eye.

4. The image processing device according to claim 3 , wherein the detection unit detects a circular area in the image as the region of interest.

5. The image is a video; The image processing device according to claim 1 , wherein the correction section performs the color correction on images at each time point of the moving image.

6. The image processing device according to claim 1 , wherein the detection section includes a binarization processing section that performs a binarization process on the image, and detects the region of interest based on a binarized image that is the image that has been subjected to the binarization process.

7. The detection unit is a shape detection unit that detects a shape corresponding to the region of interest in the binarized image; a generation unit that generates a mask that hides an area other than the shape detected by the shape detection unit; a mask processing unit that applies the mask to the image before the binarization processing; The image processing device according to claim 6 .

8. the detection unit includes a noise removal unit that removes a noise region in the binarized image; The image processing device according to claim 7 , wherein the shape detection section detects a shape corresponding to the region of interest based on the binarized image after the noise region has been removed.

9. an image acquisition step of acquiring an image; a detection step of detecting an area of ​​interest in the image; a correction step of performing color correction on the attention area detected in the detection step according to an age of a subject who views the image; an output step of outputting a locally corrected image including the region of interest and other regions after the color correction; An image processing method comprising:

10. an image acquisition step of acquiring an image; a detection step of detecting an area of ​​interest in the image; a correction step of performing color correction on the attention area detected in the detection step according to an age of a subject who views the image; an output step of outputting a locally corrected image including the region of interest and other regions after the color correction; A program that causes a computer to execute the following.

Citation Information

Patent Citations

  • Image processor

    JP1997097333A

  • Color television receiver and eyeglass for television watching

    JP2001251641A

  • Medical signal processing device and medical observation system

    JP2018138142A

  • Image correction method, image correction device, and program

    JP7120556B1

  • Image processing device

    JP3552413B2