IMAGE PROCESSING APPARATUS, IMAGE PROCESSING SYSTEM, IMAGE PROCESSING METHOD, AND PROGRAM
The image processing device simplifies pupil detection by using visible and near-infrared images to adjust and align brightness, reducing costs and improving accuracy without requiring precise device alignment.
Patent Information
- Application Number
- JP2020560667
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2018-12-18
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2038-12-18
AI Technical Summary
Existing pupil detection systems require multiple specialized devices and precise alignment of light sources and imaging devices, leading to high costs and complexity.
An image processing device that receives visible and near-infrared images, adjusts brightness based on pixel value distributions, aligns the images, and inverts one to enhance pupil detection, eliminating the need for precise optical axis alignment and additional devices.
Reduces costs and improves detection accuracy by simplifying the setup and enhancing alignment and brightness adjustments, allowing for efficient pupil detection without complex device alignment.
Smart Images

Figure 0007560361000001 
Figure 0007560361000002 
Figure 0007560361000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to techniques for processing images, and in particular to techniques relating to pupil detection from images. [Background technology]
[0002] For example, in a walk-through gate where a camera is installed, when authentication is performed using an image of a body part (e.g., iris or face) of a person to be authenticated that is captured by the camera without the person to be authenticated standing still, it is necessary to quickly identify the position of that part in the image. When the iris or face is used as the part to be authenticated, if the position of the pupil can be detected quickly, the position of the iris or face can be quickly identified based on the position of the pupil. The human pupil has a retroreflective property with respect to near-infrared light (e.g., electromagnetic waves with a wavelength of about 850 nm (nanometer)). Patent Document 1 discloses a pupil detection device that detects the pupil based on the difference in brightness of the pupil from a difference image between two images of a subject irradiated with light of two different wavelengths (e.g., 850 nm and 950 nm) including 900 nm. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 4528980 Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology of Patent Document 1, the optical axis of two light sources with different wavelengths of light to be irradiated and the optical axis of two photographing devices that selectively receive the light of those wavelengths must be common. Therefore, it is necessary to adjust the installation positions of the two light sources, the two photographing devices, and a device such as a half mirror that changes the light path so that the optical axes of these light sources and photographing devices are common. Furthermore, it is necessary to accurately adjust the timing of light emission from the light source and the timing of photographing so that the photographing device that receives the light of the wavelength irradiated by the emitting light source performs photographing while the light source is emitting light. In addition, in order to simultaneously emit light from two light sources and simultaneously obtain two images irradiated with light of two wavelengths, a device that separates light into light with a wavelength longer than about 900 nm and light with a wavelength shorter than about 900 nm is required. Such a device may be a dichroic mirror that separates light into light with a wavelength longer than about 900 nm and light with a wavelength shorter than about 900 nm. Such a device may be a combination of a low-pass filter and a high-pass filter, each of which has a cutoff wavelength of about 900 nm.
[0005] Therefore, in the technology of Patent Document 1, in order to detect the pupil from an image, in addition to a device for capturing an image, two light sources and a device for separating near-infrared light at a specific wavelength are required. Furthermore, in addition to the two capturing devices, devices such as the two light sources and the half mirror must be accurately positioned. In other words, the technology of Patent Document 1 requires the cost of those devices and the cost of accurately installing those devices.
[0006] An object of the present disclosure is to provide an image processing device that reduces the cost for detecting pupils. [Means for solving the problem]
[0007] An image processing device according to one embodiment of the present disclosure includes a first input means for receiving a visible image of a face, a second input means for receiving a near-infrared image of the face, an adjustment means for adjusting a brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image, an alignment means for identifying a relative position where the visible image and the near-infrared image correspond, an inversion means for inverting the brightness of the adjusted visible image, a pupil detection means for detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image whose brightness has been inverted based on the relative position, and an output means for outputting information about the detected pupil.
[0008] An image processing method according to one aspect of the present disclosure includes receiving a visible image of a face, receiving a near-infrared image of the face, adjusting the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image, and identifying a relative position where the visible image and the near-infrared image correspond, inverting the brightness of the adjusted visible image, detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image with the inverted brightness based on the relative position, and outputting information about the detected pupil.
[0009] A storage medium according to one embodiment of the present disclosure stores a program that causes a computer to execute a first input process that receives a visible image of a face, a second input process that receives a near-infrared image of the face, an adjustment process that adjusts the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image, an alignment process that identifies a relative position where the visible image and the near-infrared image correspond, an inversion process that inverts the brightness of the adjusted visible image, a pupil detection process that detects the area of the pupil from a composite image obtained by adding together the visible image and the near-infrared image whose brightness has been inverted based on the relative position, and an output process that outputs information about the detected pupil.
[0010] One aspect of the present disclosure is also realized by a memory medium on which the above-mentioned program is stored. Effect of the Invention
[0011] The present disclosure has an effect of reducing the cost for detecting the pupil. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram illustrating an example of the configuration of an image processing system according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a flowchart illustrating an example of the operation of the image processing device according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a flowchart illustrating an example of the operation of the image processing device according to the first embodiment of the present disclosure. [Figure 4] FIG. 4 is a block diagram illustrating an example of a configuration of an authentication system according to the first and second modified examples of the first embodiment of the present disclosure. [Diagram 5] FIG. 5 is a flowchart illustrating an overall example of the operation of the authentication system according to the first and second modified examples of the first embodiment of the present disclosure. [Figure 6] FIG. 6 is a flowchart illustrating an example of the operation of the pupil detection process of the image processing device 100 according to the first to fourth modified examples of the first embodiment of the present disclosure. [Figure 7] FIG. 7 is a flowchart illustrating an example of the operation of the authentication process of the authentication device according to the first and fourth modified examples of the first embodiment of the present disclosure. [Figure 8] FIG. 8 is a flowchart illustrating an example of an operation of an authentication process of an authentication device according to the second modified example of the first embodiment of the present disclosure. [Figure 9] FIG. 9 is a block diagram illustrating an example of the configuration of an image processing system according to the third modified example of the first embodiment of the present disclosure. [Figure 10] FIG. 10 is a flowchart illustrating an overall example of the operation of the image processing system according to the third modified example of the first embodiment of the present disclosure. [Figure 11] FIG. 10 is a flowchart illustrating an example of the overall operation of the sunglasses determination process of the image processing system according to the third modified example of the first embodiment of the present disclosure. [Figure 12] FIG. 12 is a block diagram illustrating an example of a configuration of an authentication system according to the fourth modified example of the first embodiment of the present disclosure. [Figure 13] FIG. 13 is a flowchart illustrating an overall example of the operation of the authentication system according to the fourth modified example of the first embodiment of the present disclosure. [Figure 14] FIG. 14 is a flowchart illustrating an example of the operation of a light source control process in an authentication system according to the fourth modified example of the first embodiment of the present disclosure. [Figure 15] FIG. 15 is a block diagram illustrating an example of a configuration of an image processing device according to the second embodiment of the present disclosure. [Figure 16] FIG. 15 is a flowchart illustrating an example of the operation of the image processing device according to the second embodiment of the present disclosure. [Figure 17] FIG. 17 is a block diagram illustrating an example of a configuration of a computer capable of implementing an image processing device and an authentication device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Next, embodiments of the present disclosure will be described in detail with reference to the drawings.
[0014] <First embodiment> First, the configuration of the image processing device according to the first embodiment will be described, and then the operation of the image processing device according to the first embodiment will be described.
[0015] <Configuration> 1 is a block diagram illustrating an example of the configuration of an image processing system 1 according to the first embodiment. The image processing system 1 includes an image processing device 100, a visible imaging device 200, and a near-infrared imaging device 300.
[0016] 1 includes a first input section 110, a second input section 120, an adjustment section 130, a first detection section 140, a second detection section 150, an alignment section 160, an inversion section 170, a third detection section 180, and an output section 190. A visible imaging device 200 and a near-infrared imaging device 300 are connected to the image processing device 100.
[0017] The visible light imaging device 200 is an imaging device that captures images in the wavelength range of visible light. The visible light imaging device 200 is realized by, for example, a video camera or a digital camera. The visible light imaging device 200 outputs a captured image. The image output by the visible light imaging device 200 may be a color image. The image output by the visible light imaging device 200 may be a grayscale image. The image format is any of the formats that the image processing device 100 can decode.
[0018] The near-infrared imaging device 300 is an imaging device that captures images in the near-infrared wavelength range in which the human retina has retroreflective properties. The near-infrared imaging device 300 is realized by an infrared camera that can capture near-infrared light in a wavelength range in which the human retina has retroreflective properties (for example, a wavelength range including a wavelength of 850 nm). The near-infrared imaging device 300 outputs a captured image. The image output by the near-infrared imaging device 300 is, for example, a grayscale image. The image format may be any format that the image processing device 100 can decode.
[0019] The visible imaging device 200 and the near-infrared imaging device 300 are installed so as to be able to photograph the same object. The visible imaging device 200 and the near-infrared imaging device 300 may be installed, for example, adjacent to each other. The visible imaging device 200 and the near-infrared imaging device 300 may be installed so that their optical axes face in the same direction. The optical axis of the visible imaging device 200 may not be the same as the optical axis of the near-infrared imaging device 300. The visible imaging device 200 and the near-infrared imaging device 300 may be installed, for example, next to a gate such as a walk-through gate or a door. The visible imaging device 200 and the near-infrared imaging device 300 may be configured to photograph a person (for example, a person's face) passing through a gate or the like where the visible imaging device 200 and the near-infrared imaging device 300 are installed, at the same timing. The angle of view and the number of pixels of the visible imaging device 200 and the near-infrared imaging device 300 may not be the same.
[0020] In the following, a case will be described in which the visible light imaging device 200 and the near-infrared imaging device 300 capture the face of the same person at the same time.
[0021] The image processing device 100 is connected to the visible imaging device 200 wirelessly, wired, or a combination thereof so that the image processing device 100 can receive an image captured by the visible imaging device 200. Similarly, the image processing device 100 is connected to the near-infrared imaging device 300 wirelessly, wired, or a combination thereof so that the image processing device 100 can receive an image captured by the near-infrared imaging device 300.
[0022] The first input unit 110 receives an image captured by the visible imaging device 200 from the visible imaging device 200. When the visible imaging device 200 outputs a color image, the first input unit 110 converts the received color image into a grayscale image. The method of converting a color image into a grayscale image may be any of the existing methods according to the color space of the pixel value of each pixel. For example, when the pixel value of one pixel is represented by the shading values of three colors, red, green, and blue, the conversion method may be to multiply each of the shading values of the three colors of the pixel value by a predetermined weight for each pixel of the color image, add them up, and set the resulting value as the pixel value of the grayscale image. When the pixel value of the color image includes brightness as a component, the brightness may be set as the pixel value of the grayscale image. In the following description, the grayscale image output by the visible imaging device 200 and received by the first input unit 110, and the grayscale image converted from the color image output by the visible imaging device 200 and received by the first input unit 110 are referred to as visible input images. The visible input image may also be referred to as a “visible image.” The first input unit 110 sends the visible input image to the adjustment unit 130. The first input unit 110 may send the visible input image to the first detection unit 140.
[0023] The second input unit 120 receives an image captured by the near-infrared imaging device 300 from the near-infrared imaging device 300. In the following description, an image output by the near-infrared imaging device 300 and received by the second input unit 120 is referred to as a near-infrared input image. The near-infrared input image may also be referred to as a near-infrared image. The second input unit 120 sends the received near-infrared input image to the adjustment unit 130 and the second detection unit 150. The second input unit 120 may send the received near-infrared input image to the third detection unit 180.
[0024] The adjustment unit 130 receives a visible input image from the first input unit. The adjustment unit 130 further receives a near-infrared input image from the second input unit 120. The adjustment unit 130 matches the brightness level of the visible input image and the brightness level of the near-infrared input image based on the frequency distribution (i.e., histogram) of pixel values (i.e., brightness) of the visible input image and the frequency distribution of pixel values of the near-infrared input image. The adjustment unit 130 adjusts the pixel values of the visible input image so that the histogram of the visible input image approaches the histogram of the near-infrared input image, for example, as follows.
[0025] Specifically, the adjustment unit 130 first generates a histogram of the visible input image and a histogram of the near-infrared input image. The number and width of the bins of the histogram may be appropriately determined. Furthermore, the adjustment unit 130 detects a dark peak in the histogram of the visible input image and the histogram of the near-infrared input image. The dark peak may be, for example, a bin that satisfies a predetermined criterion in terms of frequency and represents the frequency of the darkest pixel value among the bins that are the peaks of the histogram (i.e., the maximum value of the frequency). The above-mentioned predetermined criterion may be, for example, exceeding a constant multiple of the mode that is less than 1 that is appropriately determined. The dark peak is not limited to this example. For example, it may be a pixel value indicated by a bin that has the highest frequency among the peaks in a predetermined range from the bin corresponding to the darkest pixel value. Note that the pixel value indicated by a bin may be a representative value (for example, an average, a maximum value, or a minimum value) of the range of pixel values corresponding to the bin. In the following description, a pixel value indicating a peak in the dark part of a histogram (that is, a pixel value indicated by a bin in the peak in the dark part of a histogram) is referred to as a dark peak pixel value.
[0026] The adjustment unit 130 first calculates a value (hereinafter referred to as a dark offset value) obtained by subtracting the dark peak pixel value of the visible input image from the dark peak pixel value of the near-infrared input image, and adds the calculated dark offset value to the pixel value of each pixel of the visible input image so that the dark peak of the histogram of the visible input image coincides with the dark peak of the histogram of the near-infrared input image.
[0027] The adjustment unit 130 may further adjust the pixel values of the visible input image so that, for example, a histogram of pixel values of the visible input image in a range excluding a range including a dark peak is closest to a histogram of pixel values of the near-infrared input image. The above-mentioned range including a dark peak may be, for example, a range including a bin of a dark peak and including successive bins having a frequency higher than a value obtained by multiplying the frequency of the dark peak by a predetermined constant. This predetermined constant may be appropriately determined. In the following description, the range of the bins in which the frequency distribution is represented by the histogram and that is not excluded as a range including a dark peak is referred to as a target range.
[0028] The adjustment unit 130 may adjust the pixel values of the visible input image by, for example, multiplying the difference between the pixel value of each pixel of the visible input image and the dark peak pixel value in a state in which the dark offset value has been added to the pixel value of each pixel by an adjustment factor. In other words, the adjustment of the pixel values of the visible input image in this case is to change the pixel value of each pixel of the visible input image to the sum of the dark peak pixel value and a value obtained by subtracting the dark peak pixel value from the pixel value and multiplying the result by the adjustment factor. The adjustment unit 130 may calculate an adjustment value that most closely matches the histogram of the near-infrared input image when the pixel values of the visible input image are adjusted.
[0029] The adjustment unit 130 may calculate an adjustment magnification ratio at which the distribution of frequencies in the target range of the histogram of the visible input image after adjustment is closest to the distribution of the target range of the histogram of the near-infrared input image. Specifically, the adjustment unit 130 may calculate, for example, the average of the absolute values of the differences in frequencies of corresponding bins in a common range between the target range of the histogram of the adjusted visible input image and the target range of the histogram of the near-infrared input image as a value representing the closeness of the distributions. Then, the adjustment unit 130 may specify an adjustment magnification ratio at which the value representing the closeness of the distributions is minimized. When the adjustment magnification ratio is the specified adjustment magnification ratio, the adjustment unit 130 makes the adjusted visible input image into a visible input image (hereinafter referred to as an adjusted visible image) whose pixel values have been adjusted so that the histogram approaches the histogram of the near-infrared input image.
[0030] If the pixel value of a pixel of the adjusted visible image becomes smaller than the minimum possible pixel value, adjustment unit 130 changes the pixel value of that pixel to the minimum possible pixel value. If the pixel value of a pixel of the adjusted visible image becomes larger than the maximum possible pixel value, adjustment unit 130 changes the pixel value of that pixel to the maximum possible pixel value. The minimum possible pixel value may be, for example, the minimum pixel value (i.e., the lower limit) in the range of pixel values of the visible input image. The maximum possible pixel value may be, for example, the maximum pixel value (i.e., the upper limit) in the range of pixel values of the visible input image. Even if the pixel value of a pixel of the adjusted visible image is no longer included in the range of pixel values of the visible input image, adjustment unit 130 does not need to change the pixel value of that pixel to the upper or lower limit of the range of pixel values.
[0031] The adjustment unit 130 may further detect a peak of the bright part of the histogram of the near-infrared input image. The peak of the bright part may be, for example, a bin that satisfies a predetermined standard in terms of frequency and represents the frequency of the brightest pixel value among bins that are the peaks of the histogram (i.e., the maximum value of frequency). The peak of the bright part may be, for example, a bin that satisfies a predetermined standard in terms of frequency and represents the frequency of the brightest pixel value among bins that are the peaks of the histogram (i.e., the maximum value of frequency). The above-mentioned predetermined standard may be, for example, exceeding a constant multiple of the mode that is less than 1, which is appropriately determined. The peak of the bright part is not limited to this example. For example, it may be a pixel value indicated by a bin that has the highest frequency among peaks in a predetermined range from the bin corresponding to the brightest pixel value. Note that the pixel value indicated by a bin may be a representative value (for example, an average, a maximum value, or a minimum value) of the range of pixel values corresponding to the bin.
[0032] The adjustment unit 130 may then remove a range including the bright peak from the target range of the near-infrared input image. The range including the bright peak that is removed from the target range may be, for example, a range including the bin of the bright peak and including successive bins with a frequency higher than a value obtained by multiplying the frequency of the bright peak by a predetermined constant. This predetermined constant may be determined as appropriate.
[0033] The adjustment unit 130 may further detect a peak in the bright part of the histogram of the visible input image in a manner similar to that used for detecting a peak in the bright part of the histogram of the near-infrared input image. The predetermined criterion used for detecting a peak in the bright part of the histogram of the visible input image may be different from the predetermined criterion used for detecting a peak in the bright part of the histogram of the near-infrared input image.
[0034] When a bright peak is detected in the histogram of the visible input image, the range including the bright peak may be excluded from the target range of the visible input image. The range including the bright peak of the visible input image may be defined similarly to the range including the bright peak of the near-infrared input image. When a bright peak is not detected in the histogram of the visible input image, the adjustment unit 130 does not perform processing to exclude the range including the bright peak of the visible input image from the target range.
[0035] When a range including a bright peak is excluded from a target range in at least one of a near-infrared input image or a visible input image, the adjustment unit 130 adjusts the visible input image based on the target range from which the range including the bright peak has been excluded.
[0036] The first detection unit 140 receives a visible input image from the first input unit 110. The first detection unit 140 detects a face from the received visible image. The method by which the first detection unit 140 detects a face from the visible input image may be any of various existing methods. If a face is not detected from the visible input image, the image processing device 100 may end the processing on the visible input image. If the first detection unit 140 detects a face from the visible input image, the adjustment unit 130 may perform the above-mentioned adjustment on the visible input image.
[0037] The second detection unit 150 receives a near-infrared image from the second input unit 120. The second detection unit 150 detects a face from the received near-infrared image. The method by which the second detection unit 150 detects a face from the near-infrared image may be any of various existing methods.
[0038] When the first detection section 140 detects a face from the visible input image and the second detection section 150 detects a face from the near-infrared image, the alignment section 160 aligns the adjusted visible image and the near-infrared input image, for example, as follows. The alignment section 160 specifies the relative positions of the adjusted visible image and the near-infrared input image, for example, when the adjusted visible image and the near-infrared input image are superimposed, at which the difference in the overlapping portion (for example, an index indicating the magnitude of the difference, which will be described later) is the smallest. The relative position may be represented, for example, by a vector indicating a parallel translation. The relative position may be represented, for example, by a parallel translation and a rotation (for example, an angle of rotation). Various existing methods can be used as a method for specifying the relative position.
[0039] Specifically, the positioning unit 160 may identify the relative positions of the adjusted visible image and the near-infrared input image at which the average absolute value of the difference in pixel value for each overlapping pixel in the overlapping portion between the adjusted visible image and the near-infrared input image is the smallest. In this case, the index representing the magnitude of the difference in the overlapping portion between the adjusted visible image and the near-infrared input image is the average absolute value of the difference in pixel value for each pixel. The index may be another index representing the magnitude of the difference between the images.
[0040] In addition, the alignment unit 160 may not use pixels having pixel values included in a bin range including a peak in the dark part of the histogram of the adjusted visible image and pixels having pixel values included in a bin range including a peak in the bright part of the histogram of the near-infrared input image in calculating the difference between the adjusted visible image and the near-infrared input image. Similarly, the alignment unit 160 may not use pixels having pixel values included in a bin range including a peak in the dark part of the histogram of the near-infrared input image and pixels having pixel values included in a bin range including a peak in the bright part of the histogram of the near-infrared input image in calculating the difference between the adjusted visible image and the near-infrared input image. When the pixel value of at least one of the overlapping pixels of the adjusted visible image and the pixel of the near-infrared input image is included in either the range including the peak in the bright part or the range including the peak in the dark part, the alignment unit 160 may exclude these pixels from the calculation of the difference in pixel values. For example, the alignment unit 160 may calculate an index representing the magnitude of the difference between the images from only the pixels that are not excluded from the calculation of the difference in pixel values.
[0041] The first detection unit 140 may detect facial feature points from the visible input image and transmit information on the detected facial feature points to the alignment unit 160. The information on the feature points may be, for example, the positions of the feature points in the image from which the feature points are extracted, and the types of the feature points. The information on the feature points is not limited to the above examples. The second detection unit 150 may detect facial feature points from the near-infrared input image and transmit the detected facial feature points to the alignment unit 160. The facial feature points may be, for example, predetermined feature points such as the corners of the eyes, the inner corners of the eyes, the pupils, the corners of the mouth, and the tip of the nose.
[0042] The alignment unit 160 may receive information on facial feature points in the visible input image from the first detection unit 140, and may receive facial feature points in the near-infrared input image from the second detection unit 150. Then, the alignment unit 160 calculates the relative positions of the visible input image and the near-infrared input image when the visible input image and the near-infrared input image are superimposed so that the difference in the positions of the corresponding facial feature points becomes the closest. Specifically, the alignment unit 160 may calculate a coordinate transformation such that the coordinates of the facial feature points detected in the visible input image become the coordinates of the facial feature points detected in the near-infrared input image that correspond to the facial feature points of the visible input image. Various existing methods can be applied as a method for calculating the coordinate transformation.
[0043] The inversion unit 170 receives the adjusted visible image from the adjustment unit 130. The inversion unit 170 inverts pixel values of the adjusted visible image to generate an inverted visible image in which the pixel values of the adjusted visible image are inverted. The inversion of pixel values may be, for example, subtracting a pixel value from a maximum pixel value in a range of pixel values of the image. The inversion of pixel values may be, for example, changing the sign of a pixel value from positive to negative.
[0044] The third detection unit 180 receives the inverted visible image from the inversion unit 170, and receives the input near-infrared image from, for example, the second input unit 120. The third detection unit 180 further receives from the alignment unit 160 the relative positions of the adjusted visible image and the near-infrared input image at which the difference between the overlapping parts is the smallest when the adjusted visible image and the near-infrared input image are overlapped. The third detection unit 180 generates a composite image by overlapping the adjusted visible image and the near-infrared input image in the overlapping area of the adjusted visible image and the near-infrared input image at the received relative position. Specifically, the third detection unit 180 calculates the sum of the adjusted visible image pixel value and the pixel value of the near-infrared input image at the position of each overlapping pixel in the overlapping area of the adjusted visible image and the near-infrared input image, and generates a composite image in which the calculated sum is the pixel value of the pixel at that position. The overlapping pixels represent pixels that exist at the same position when the two images are overlapped.
[0045] As described above, the human pupil has a retroreflective property for near-infrared electromagnetic waves. Therefore, in the near-infrared input image, the pupil area appears bright. However, since the human pupil does not have a retroreflective property for visible light, the pupil area appears dark in the visible input image. In the inverted visible image, the pupil area appears relatively bright. Therefore, in a composite image in which pixel values of the inverted visible image and the near-infrared input image are added for each corresponding pixel, the pupil area is expected to appear very bright.
[0046] The third detection unit 180 detects the pupil in the composite image. Specifically, the third detection unit 180 first binarizes the composite image, for example. The third detection unit 180 may set, for example, the pixel values of the pixels in the composite image having pixel values included in the bins of the peak brightness and pixels having pixel values brighter than these pixel values to 1, and may set the pixel values of the other pixels to 0. The third detection unit 180 may determine a frequency threshold (for example, a constant multiple of the peak frequency, i.e., the mode, which is less than 1) based on the frequency of the peak brightness. The third detection unit 180 may set, to 1, the pixel values of the pixels in the composite image having pixel values in a range of consecutive bins including the mode bin whose frequency exceeds a threshold or pixel values brighter than the pixel values represented by these bins, and may set the pixel values of the other pixels to 0. The third detection unit 180 may binarize the composite image using other methods. The third detection unit 180 may detect, as the pupil region, a connected region having a predetermined area or more of pixels to which the brighter of two pixel values is set by binarization. The third detection unit 180 may detect, as the pupil region, a connected region of the above-mentioned connected regions whose area is included in a predetermined range that is determined in advance by experiment, for example. The third detection unit 180 may detect, as the pupil region, a connected region of the above-mentioned connected regions whose ratio of the minor axis to the major axis is smaller than a predetermined value. In the following description, the third detection unit 180 may also be referred to as the pupil detection unit 180.
[0047] The output unit 190 outputs information on the pupil detected by the third detection unit 180. Specifically, the output unit 190 may output information representing the region of the pupil in the near-infrared input image. The information representing the region of the pupil may be information capable of identifying pixels included in the region detected as the region of the pupil (for example, a list of coordinates of pixels included in the region detected as the region of the pupil). The information on the pupil may be, for example, information representing the position of the pupil (for example, coordinates of the center of gravity or the like of the region representing the pupil). The information representing the position of the pupil may be, for example, information representing the position of the pupil in the near-infrared input image. The information representing the position of the pupil may be, for example, information representing the position of the pupil in the visible input image. The information representing the pupil may include a relative position in addition to the information representing the position of the pupil. The information representing the position of the pupil may include information representing the position of the pupil in the near-infrared input image and information representing the position of the pupil in the visible input image. The information on the pupil may be other information.
[0048] <<Operation>> Next, the operation of the image processing device 100 of this embodiment will be described in detail with reference to the drawings.
[0049] 2 and 3 are flowcharts showing an example of the operation of the image processing device 100 of this embodiment.
[0050] 2, first, the first input unit 110 acquires a visible image, for example, from the visible imaging device 200, and the second input unit 120 acquires a near-infrared image, for example, from the near-infrared imaging device 300 (step S101). The visible image acquired in step S101 is the above-mentioned visible input image. The near-infrared image acquired in step S101 is the above-mentioned near-infrared input image.
[0051] Next, the first detection unit 140 detects a face in the visible image acquired by the first input unit 110. Then, the second detection unit 150 detects a face in the near-infrared image acquired by the second input unit 120 (step S102). If there is an image in which a face is not detected, that is, if a face is not detected in either the visible image or the near-infrared image (YES in step S103), the image processing device 100 ends the operation shown in Fig. 2 and Fig. 3. If a face is detected in both the visible image and the near-infrared image, the image processing device 100 then performs the operation of step S104.
[0052] The adjustment unit 130 generates a histogram of pixel brightness for each of the visible image and the near-infrared image (step S104). The adjustment unit 130 matches the brightness level of the visible image and the near-infrared image based on the generated histogram (step S105). In step S105, the adjustment unit 130 adjusts the pixel values of the visible image (here, the visible input image) so that the histogram of the range excluding the range including the peak of the dark area and the range including the peak of the bright area approaches the histogram of the near-infrared input image, as described above. Then, the adjustment unit 130 generates an adjusted visible image in which the pixel values have been adjusted in this way.
[0053] Next, the alignment unit 160 aligns the visible image and the near-infrared image (step S106). The visible image in step S106 is the adjusted visible image generated by the adjustment unit 130. The near-infrared image in step S106 is the near-infrared input image. In the alignment in step S106, the alignment unit 160 derives the relative positions between the adjusted visible image and the near-infrared input image that minimize the difference in the overlapping portion between the adjusted visible image and the near-infrared input image. After the operation of step S106, the image processing device 100 performs the operation of step S107 shown in FIG. 3.
[0054] 3, next, the inversion unit 170 inverts the pixel values of the visible image (step S107). The visible image in step S107 is the adjusted visible image generated by adjusting the brightness level in step S105.
[0055] Next, the third detection unit 180 generates a composite image by adding up the pixel values of the overlapping pixels of the adjusted visible image and the near-infrared input image at the relative position obtained by the alignment in step S106 for each pixel (step S108). The third detection unit 180 detects the pupil from the composite image (step S109).
[0056] Then, the output unit 190 outputs the detected pupil information (step S110).
[0057] <<Effects>> The present embodiment described above has the effect of reducing the cost of detecting the pupil. The reason is that the adjustment unit 130 adjusts the brightness level of the visible image to match the brightness level of the near-infrared image, and the alignment unit 160 aligns the visible image and the near-infrared image. Therefore, it is not necessary to adjust the optical axes of the four devices, namely the two light sources and the two imaging devices, so that they are the same. Therefore, a device such as a half mirror that bends the optical axis is not necessary. In addition, it is not necessary to accurately arrange the two light sources, the two imaging devices, and the multiple half mirrors. Therefore, it is possible to reduce the cost of detecting the pupil.
[0058] This embodiment also has the effect of improving the performance of pupil detection because the adjustment unit 130 adjusts pixel values based on a histogram of a range other than the range including the dark peak and the range including the bright peak, and the alignment unit 160 also performs alignment using pixels other than those having pixel values included in the range of pixel values including the dark peak and the range of pixel values including the bright peak of the histogram.
[0059] Since the pupil has a retroreflective property in the near-infrared light, the pupil region in the near-infrared input image is bright. In other words, the pixel values of the pixels included in the pupil region in the near-infrared input image have a value representing brightness. The pupil does not have a retroreflective property for visible light. Therefore, the pupil region in the visible input image is dark. In other words, the pixel values of the pixels included in the pupil region have a value representing darkness. In regions other than the pupil, it can be considered that there are no regions that are dark in the visible input image and the adjusted visible image and bright in the near-infrared input image. In the adjusted visible image adjusted by the adjustment unit 130 and the near-infrared input image, the distribution of pixel values becomes close for pixels having pixel values excluding the pixel values appearing as peaks in the dark parts of the histogram and the pixel values appearing as peaks in the bright parts.
[0060] In the visible image (visible input image and adjusted visible image), the bright peaks correspond to pixel values in the shadow area, for example, and the dark peaks correspond to pixel values in the area of reflection by glasses or reflection by tears, for example. In the near-infrared input image, the bright peaks correspond to pixel values in the area of the pupil, for example, and the dark peaks correspond to pixel values in the area of low temperature, for example. The angle of reflection by glasses varies depending on the wavelength. Therefore, the area of reflection by glasses in the visible image is different from the area of reflection by glasses in the near-infrared image.
[0061] In this embodiment, since the influence of areas where the brightness differs greatly between the visible image and the near-infrared image, such as areas of reflection by glasses, on the adjustment of pixel values and the alignment can be suppressed, the accuracy of the adjustment of pixel values and the alignment can be improved, and therefore the accuracy of pupil detection can be improved.
[0062] <First Modification of the First Embodiment> Next, a first modified example of the first embodiment of the present disclosure will be described in detail with reference to the drawings. First, the configuration of this modified example will be described, and then the operation of this modified example will be described.
[0063] <<Configuration>> FIG. 4 is a block diagram showing an example of the configuration of an authentication system 10 according to this modified example.
[0064] The authentication system 10 shown in Fig. 4 includes an image processing device 100 which is a pupil detection device, a visible light imaging device 200, a near-infrared imaging device 300, and an authentication device 400. The image processing device 100, the visible light imaging device 200, and the near-infrared imaging device 300 are the same as the image processing device 100, the visible light imaging device 200, and the near-infrared imaging device 300 of the first embodiment. The authentication device 400 is communicably connected to the image processing device 100. The authentication device 400 may be included in the image processing device 100. In other words, the image processing device 100 may further operate as the authentication device 400.
[0065] The output unit 190 of this modified example outputs information on the detected pupil and a facial image. The output unit 190 of this modified example may output information on the position of the pupil as the information on the pupil. The facial image may be a visible input image acquired and output by the visible imaging device 200. In this case, the visible input image may be sent to the output unit 190 via, for example, the first input unit 110, the first detection unit 140, the alignment unit 160, and the third detection unit 180. The visible input image may be sent to the output unit 190 from the first input unit 110 via a path that is omitted in FIG. 4 for simplicity. The facial image may be an adjusted visible image adjusted by the adjustment unit 130. In this case, the adjusted visible image may be sent to the output unit 190 via, for example, the alignment unit 160 and the third detection unit 180. The adjusted visible image may be sent to the output unit 190 from the adjustment unit 130 via a path that is omitted in FIG. 4 for simplicity. The face image may be a near-infrared input image acquired and output by the near-infrared imaging device 300. In this case, the near-infrared input image may be sent from the second input unit 120 to the output unit 190 via the alignment unit 160 and the third detection unit 180. The infrared input image may be sent from the second input unit 120 to the output unit 190 via the third detection unit 180. The near-infrared input image may be sent from the second input unit 120 to the output unit 190 via a path that is omitted in FIG. 4 for simplicity. The type of image sent as the face image may be determined in advance.
[0066] The authentication device 400 includes an authentication unit 410 and a second output unit 420 .
[0067] The authentication unit 410 receives information on the detected pupil (for example, information on the position of the detected pupil) and a face image from the output unit 190 of the image processing device 100. For example, the authentication unit 410 identifies the position of the authentication part in the face image based on the received pupil information. The authentication unit 410 performs authentication based on the image of the authentication part whose position has been identified. The authentication part is at least a part of the face used for authentication. The authentication part may be, for example, the iris. The authentication part may be, for example, the face. The authentication part may be determined in advance. The authentication unit 410 performs authentication by any of the existing authentication methods using the image of the authentication part. Specifically, the authentication unit 410 extracts, for example, an image of the area of the authentication part according to the authentication method from the face image, and extracts a feature amount according to the authentication method from the extracted area. Then, the authentication unit 410 performs authentication using the extracted feature amount. This will be described in more detail below.
[0068] When the authentication part is the iris, the authentication unit 410 may extract the iris area from around the pupil area. When the authentication part is the face, the authentication unit 410 may estimate an area where the face area may exist based on the detected pupil position, and extract the face area from the estimated area. When the authentication part is the face, other facial feature points may be extracted based on the detected pupil position. As a method of authentication by the authentication unit 410, various existing methods according to the authentication part can be applied. The authentication unit 410 extracts a feature amount according to the authentication method from the image of the region of the authentication part. The authentication unit 410 compares the extracted feature amount with, for example, feature amounts preregistered in the authentication unit 410. Based on the result of the comparison, the authentication unit 410 determines whether the person in the face image from which the extracted feature amount was extracted is the same as the person in the face image from which the preregistered feature amount was extracted.
[0069] The second output unit 420 outputs the result of the authentication by the authentication unit 410.
[0070] <<Operation>> FIG. 5 is a flowchart showing an example of the overall operation of authentication system 10 of this modified example.
[0071] In the operation shown in FIG. 5, first, the image processing device 100 performs a pupil detection process (step S100). The pupil detection process will be described later. The pupil detection process provides the above-mentioned pupil information. The output unit 190 outputs the detected pupil information (for example, information on the position of the detected pupil) and a face image to the authentication device 400 (step S110). Then, the authentication device 400 performs an authentication process (step S120). The authentication process will be described later.
[0072] Fig. 6 is a flowchart showing an example of the operation of pupil detection processing of the image processing device 100 of this modified example. The operations from step S101 to step S109 shown in Fig. 6 are the same as the operations from step S101 to step S109 of the image processing device 100 of the first embodiment shown in Fig. 2 and Fig. 3. After the operation of step S109, the image processing device 100 ends the pupil detection processing shown in Fig. 6.
[0073] Fig. 7 is a flowchart showing an example of the operation of the authentication process of the authentication device 400 of this modified example. In the operation shown in Fig. 7, first, the authentication unit 410 receives information on the position of the pupil and a face image (step S121). Next, the authentication unit 410 extracts an area of the authentication part from the face image based on the position of the pupil (step S122). The authentication unit 410 extracts a feature amount from the extracted area of the authentication part (step S123). The authentication unit 410 performs authentication based on the extracted feature amount (step S124). The second output unit 420 outputs a result of the authentication (step S125).
[0074] <Second Modification of the First Embodiment> Next, a second modified example of the first embodiment will be described.
[0075] <<Configuration>> 4 is a block diagram showing the configuration of authentication system 10 of this modified example. The configuration of authentication system 10 of this modified example is the same as the configuration of authentication system 10 of the first modified example of the first embodiment. This modified example is the same as the first modified example of the first embodiment, except for the differences described below.
[0076] The output unit 190 of the image processing device 100 outputs the near-infrared input image as a face image.
[0077] The authentication unit 410 of the authentication device 400 extracts the iris as the authentication part. The authentication unit 410 also changes the pixel value of the pupil region of the near-infrared input image to another value. The other value may be, for example, a pixel value indicating a brightness darker than the brightness indicated by the average pixel value of the pixels of the iris region. The other value may be a pixel value indicating a brightness darker than the brightness indicated by the pixel value of the pupil region of the near-infrared input image. The other value may be determined experimentally in advance. By changing the pixel value of the pupil region so that the brightness indicated by the pixel value becomes darker, it is possible to reduce adverse effects such as a decrease in authentication accuracy due to a bright pupil region. The authentication unit 410 performs iris authentication as authentication.
[0078] <<Operation>> FIG. 5 is a flowchart showing the operation of authentication system 10 of this modified example. The overall operation of authentication system 10 of this modified example is the same as the overall operation of authentication system 10 of the first modified example of the first embodiment. The operations of steps S100 and S110 of authentication system 10 of this modified example are the same as the operations of steps S100 and S110 of authentication system 10 of the first modified example of the first embodiment. However, the face image output in step S110 is a near-infrared input image. The operation of the authentication process in step S120 of authentication system 10 of this modified example is different from the operation of the authentication process in step S120 of authentication system 10 of the first modified example of the first embodiment.
[0079] FIG. 8 is a flowchart showing an example of the operation of the authentication process of the authentication system 10 of this modified example. In the operation shown in FIG. 8, the authentication unit 410 receives information on the position of the pupil and a face image (step S221). The face image received in step S221 is a near-infrared input image. Next, the authentication unit 410 extracts an iris area from the face image based on the information on the position of the pupil (step S222). The authentication unit 410 sets the pixel value of the pupil area to another value (for example, a predetermined value) (step S223). The authentication unit 410 extracts a feature amount from the iris area (step S224). The authentication unit 410 performs authentication based on the extracted feature amount (step S225). The second output unit 420 outputs the result of the authentication (step S226).
[0080] <Third Modification of the First Embodiment> Next, a third modified example of the first embodiment will be described.
[0081] <<Configuration>> 9 is a block diagram showing an example of the configuration of an image processing system 2 of this modified example. The image processing system 2 includes an image processing device 101, a visible imaging device 200, and a near-infrared imaging device 300. The image processing device 101 is connected to the visible imaging device 200 so as to be able to acquire a visible image acquired by the visible imaging device 200. The image processing device 101 is connected to the near-infrared imaging device 300 so as to be able to acquire a near-infrared image acquired by the near-infrared imaging device 300. The image processing device 101 of this modified example includes the same components as the components of the image processing device 100 of the first embodiment, and a determination unit 181.
[0082] The third detection section 180 sends the visible image and the detected pupil information to the determination section 181. The third detection section 180 may send the inverted visible image to the determination section 181 as the visible image. The third detection section 180 may send the adjusted visible image to the determination section 181 as the visible image. The third detection section 180 may send the visible input image to the determination section 181 as the visible image. The type of visible image sent by the third detection section 180 may be determined in advance. The pupil information includes information specifying the position of the pupil in the visible image. The pupil information may include, for example, information representing the position of the pupil in the visible image. The pupil information may include, for example, a relative position and information representing the position of the pupil in the near-infrared input image. The relative position is the above-mentioned relative position. Specifically, the relative position is a relative position between the adjusted visible image and the near-infrared input image at which the difference in the overlapping portion between the adjusted visible image and the near-infrared input image is the smallest.
[0083] The determination unit 181 receives the visible image and the detected pupil information. The determination unit 181 detects the pupil at the pupil position in the visible image that is specified by the pupil information. In other words, it determines whether or not a pupil is present at the detected pupil position in the visible image.
[0084] For example, if a person whose face image is taken is wearing sunglasses, the eye area is blocked by the sunglasses that absorb visible light in the visible image, so the difference in brightness between the iris and the pupil is small. If the sunglasses are dark in color, there may be no clear difference in brightness between the iris and the pupil. If the sunglasses are even darker in color, there may be no clear difference in brightness in the area blocked by the sunglasses. However, in general, sunglasses often transmit near-infrared light. In other words, the transmittance of sunglasses for electromagnetic waves with near-infrared wavelengths is often higher than the transmittance for visible light. In such a case, if a bright area due to the retroreflection of the pupil exists in the near-infrared input image, it is possible to detect the pupil from the composite image.
[0085] The determination unit 181 may detect the pupil based on the difference between the brightness of the detected pupil region in the visible image and the brightness of the surrounding region of the pupil region (i.e., the region corresponding to the iris region). Specifically, the determination unit 181 may determine that the pupil is not detected when, for example, the difference between the average pixel value of the pixels in the pupil region in the visible image and the average pixel value of the pixels in the surrounding region of the pupil region is smaller than a predetermined threshold value. That is, in this case, the determination unit 181 may determine that sunglasses are present. In other words, in this case, the determination unit 181 may detect sunglasses. The determination unit 181 may determine that the pupil is detected when, for example, the difference between the average pixel value of the pixels in the pupil region in the visible image and the average pixel value of the pixels in the surrounding region of the pupil region is equal to or greater than the aforementioned threshold value. That is, in this case, the determination unit 181 may determine that sunglasses are not present. In other words, in this case, the determination unit 181 may determine that sunglasses are not detected.
[0086] The output unit 190 outputs the result of the detection of sunglasses. When the authentication device 400 of the first or second modification described above is connected to the image processing device 101, the output unit 190 may output information required for the authentication device 400 to perform authentication.
[0087] <<Operation>> Next, the operation of the image processing device 101 of this modified example will be described.
[0088] FIG. 10 is a flowchart showing an example of the overall operation of the image processing device 101 of this modified example. In the operation shown in FIG. 10, the image processing device 101 performs a pupil detection process (step S100). The pupil detection process in step S100 is the same as the pupil detection process of the image processing device 100 of the first modified example and the second modified example of the first embodiment in step S100 shown in FIG. 5. Next, the image processing device 101 performs a sunglasses determination process (step S130). The sunglasses determination process will be described in detail later. The image processing device 101 may further output information on the detected pupil and a face image (step S110). The operation of the image processing device 101 of this modified example in step S110 is the same as the operation of the image processing device 100 of the first modified example and the second modified example of the first embodiment in step S110 shown in FIG. 5.
[0089] FIG. 11 is a flowchart showing an example of the operation of the sunglasses determination process of the image processing device 100 of this modified example. In the operation shown in FIG. 11, the determination unit 181 first acquires information on the position of the pupil and a visible image of the face (step S131). The visible image of the face is the above-mentioned visible input image, adjusted visible image, or inverted visible image. The information on the position of the pupil is information that can identify the position of the detected pupil in the visible image. The determination unit 181 determines whether or not the pupil is detected at the position of the pupil in the visible image (step S132). If the pupil is detected (YES in step S133), the determination unit 181 determines that sunglasses are not present (step S134). If the pupil is not detected (NO in step S133), the determination unit 181 determines that sunglasses are present (step S135). The output unit 190 outputs the result of the determination of whether or not sunglasses are present (step S136).
[0090] <Fourth Modification of the First Embodiment> Next, a fourth modified example of the first embodiment will be described.
[0091] <<Configuration>> FIG. 12 is a block diagram showing a configuration of an authentication system 11 of this modified example. The authentication system 11 shown in FIG. 12 includes an image processing device 102, a visible imaging device 200, a near-infrared imaging device 300, an authentication device 400, and a light source 500. The visible imaging device 200 and the near-infrared imaging device 300 of this modified example are the same as the visible imaging device 200 and the near-infrared imaging device of the first embodiment. The authentication device 400 of this modified example is the same as the authentication device 400 of the first modified example of the first embodiment. The authentication device 400 of this modified example may be the same as the authentication device 400 of the second modified example of the first embodiment. The light source 500 is a light source that irradiates near-infrared light. The light source 500 is configured so that the intensity of the irradiated near-infrared light can be controlled from the outside.
[0092] The image processing device 102 includes the same components as the image processing device 100 of the first embodiment, and a light source control unit 182 .
[0093] The third detection unit 180 of this modification operates in the same manner as the third detection unit 180 of the first embodiment. The third detection unit 180 of this modification further determines whether or not a pupil is detected at the position of the detected pupil in the visible image. The visible image may be any one of the visible input image, the adjusted visible image, and the inverted visible image. The visible image for which the third detection unit 180 determines whether or not a pupil is detected may be determined in advance. The method of the third detection unit 180 of this modification for determining whether or not a pupil is detected from the visible image may be the same as the method of the determination unit 181 of the third modification for determining whether or not a pupil is detected from the visible image. When it is determined that a pupil is not detected from the visible image, the third detection unit 180 transmits an instruction to the light source control unit 182 to control the light source control unit 182 to increase the intensity of the near-infrared light irradiated by the light source 500.
[0094] The light source control unit 182 controls the light source 500 according to, for example, an instruction from the third detection unit 180. Specifically, the light source control unit 182 controls the intensity of light (i.e., near-infrared light) emitted by the light source 500. When the light source control unit 182 receives an instruction from the third detection unit 180, for example, the light source control unit 182 may be configured to increase the intensity of light emitted by the light source 500 by a predetermined amount. After the light source control unit 182 increases the intensity of the light emitted by the light source 500, the image processing device 102 again acquires a visible input image and a near-infrared input image, and detects the pupil based on the acquired visible input image and near-infrared input image. At that time, the light source control unit 182 may instruct the first input unit 110 to acquire a visible input image and the second input unit 120 to acquire a near-infrared input image via a path not shown in FIG. 12 for simplicity. The first input unit 110 and the second input unit 120 may be configured to acquire their respective images periodically.
[0095] <<Operation>> Next, the operation of the authentication system 11 of this modified example will be described.
[0096] FIG. 13 is a flowchart showing an example of the operation of the authentication system 11 of this modified example. In the example of the operation shown in FIG. 13, the image processing device 102 performs a pupil detection process (step S100). The pupil detection process in step S100 is the same as the pupil detection process in the first modified example of the first embodiment. Next, the image processing device 102 performs a light source control process (step S140). As will be described in detail later, if a pupil is not detected from the visible image, the image processing device 102 increases the intensity of the near-infrared light emitted by the light source 500 through the light source control process. Then, the image processing device 102 performs the pupil detection process again in a state in which the intensity of the near-infrared light has been increased. The output unit 190 outputs the information of the detected pupil and the face image obtained through the pupil detection process (step S110). The operation in step S110 is the same as the operation in step S110 in the first modified example of the first embodiment. However, when the pupil detection process is performed again, the pupil information and face image transmitted in step S110 are the pupil information and face image obtained in the pupil detection process performed again. Then, the authentication device 400 performs the authentication process (step S120). The authentication process in step S120 is the same as the operation of the authentication process in step S120 in the first modified example of the first embodiment.
[0097] FIG. 14 is a flowchart showing an example of the operation of the light source control process of the authentication system 11 of this modified example. In the example of the operation of FIG. 14, first, the third detection unit 180 determines whether a pupil is detected at the position of the pupil in the visible image (step S141). In step S141, the third detection unit 180 may determine whether a pupil is detected from the visible image, similar to the operation in step S132 of the determination unit 181 of the third modified example of the first embodiment. If a pupil is detected from the visible image (YES in step S142), the image processing device 102 ends the light source control process. If a pupil is not detected from the visible image (NO in step S142), the light source control unit 182 intensifies the irradiation light of the light source 500 (step S143). Then, the image processing device 102 performs the pupil detection process (step S144). The pupil detection process in step S144 may be the same as the pupil detection process in step S100.
[0098] For example, if the authentication part is the iris, the person being imaged is wearing sunglasses that absorb non-zero near-infrared light, the brightness of the iris area in the near-infrared input image will decrease. The light source control unit 182 of this modification can improve the brightness of the iris area in the near-infrared input image by increasing the intensity of the near-infrared light emitted by the light source 500. If the brightness of the iris area is improved and a clearer iris image is obtained, the accuracy of authentication will improve.
[0099] Note that the image processing device 102 may be configured such that, after the light source control unit 182 increases the intensity of the near-infrared light irradiated by the light source 500, the first input unit 110 does not acquire a visible input image and the second input unit 120 acquires a near-infrared input image. In this case, the output unit 190 may be configured to output information about the pupil detected based on the initially acquired visible input image and near-infrared input image, and the near-infrared input image acquired after the intensity of the irradiated near-infrared light has been increased.
[0100] The modifications of the first embodiment described above may be combined in any manner within the scope of the present invention.
[0101] <Second embodiment> Next, a second embodiment of the present disclosure will be described in detail with reference to the drawings.
[0102] <<Configuration>> Fig. 15 is a block diagram showing an example of the configuration of the image processing device 103 of this embodiment. The image processing device 103, an example of the configuration of which is shown in Fig. 15, includes a first input unit 110, a second input unit 120, an adjustment unit 130, a position alignment unit 160, an inversion unit 170, a pupil detection unit 180, and an output unit 190.
[0103] The first input unit 110 receives a visible image of a face. The second input unit 120 receives a near-infrared image of the face. The adjustment unit 130 adjusts the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image. The positioning unit 160 identifies a relative position where the visible image and the near-infrared image correspond. The inversion unit 170 inverts the brightness of the adjusted visible image. The pupil detection unit 180 detects the pupil area from a composite image obtained by adding the visible image and the near-infrared image whose brightness has been inverted based on the relative position. The output unit 190 outputs information on the detected pupil. The pupil detection unit 180 corresponds to the third detection unit 180 in the first embodiment.
[0104] <<Operation>> Next, the operation of the image processing device 103 of this embodiment will be described in detail with reference to the drawings.
[0105] FIG. 16 is a flowchart showing an example of the operation of the image processing device 103 of this embodiment. In the example of the operation shown in FIG. 16, first, the first input unit 110 acquires a visible image, and the second input unit 120 acquires a near-infrared image (step S201). This visible image corresponds to the visible input image of the first embodiment. The near-infrared image corresponds to the near-infrared input image of the first embodiment. Next, the adjustment unit 130 adjusts the brightness of the visible image based on the frequency distribution of pixel values of the visible image and the frequency distribution of pixel values of the near-infrared image (step S202). The visible image of step S202 corresponds to the visible input image of the first embodiment. The method of adjusting the brightness of the visible image may be the same as the method of adjusting the brightness of the visible input image by the adjustment unit 130 of the first embodiment. The adjustment unit 130 may generate an adjusted visible image whose brightness has been adjusted. Next, the alignment unit 160 performs alignment to identify the relative positions where the visible image and the near-infrared image correspond to each other (step S203). The visible image in step S203 may be the visible image whose brightness has been adjusted in step S202 (corresponding to the adjusted visible image in the first embodiment). Next, the inversion unit 170 inverts the pixel values of the adjusted visible image. The method by which the inversion unit 170 inverts the pixel values of the adjusted visible image may be the same as the method by which the inversion unit 170 in the first embodiment inverts the pixel values of the adjusted visible image. Then, the pupil detection unit 180 detects the pupil area from a composite image in which the pixel values of the visible image and the pixel values of the near-infrared are added together based on the relative positions (step S205). The visible image in step S205 is the adjusted visible image. Then, the output unit 190 outputs information on the detected pupil (step S206). The pupil information may be the same as the pupil information output by the output unit 190 in the first embodiment.
[0106] <<Effects>> This embodiment has the advantage that the cost required for detecting the pupil can be reduced for the same reason as the first embodiment has the advantage that the cost required for detecting the pupil can be reduced.
[0107] <Other embodiments> The image processing device and authentication device according to the above-mentioned embodiments of the present disclosure can each be realized by a computer including a memory into which a program read from a storage medium is loaded, and a processor that executes the program. The computer may be realized by a plurality of computers communicatively connected. The image processing device and authentication device according to the above-mentioned embodiments can each be realized by dedicated hardware, such as a circuit. The image processing device and authentication device according to the above-mentioned embodiments can each be realized by a combination of the above-mentioned computer and dedicated hardware.
[0108] FIG. 17 is a diagram showing an example of a hardware configuration of a computer 1000 that can realize the image processing device and authentication device according to the above-mentioned embodiment. In the example shown in FIG. 17, the computer 1000 includes a processor 1001, a memory 1002, a storage device 1003, and an I / O (Input / Output) interface 1004. The computer 1000 can also access a storage medium 1005. The memory 1002 and the storage device 1003 are, for example, storage devices such as a RAM (Random Access Memory) and a hard disk. The storage medium 1005 is, for example, a storage device such as a RAM or a hard disk, a ROM (Read Only Memory), or a portable storage medium. The storage device 1003 may be the storage medium 1005. The processor 1001 can read and write data and programs from the memory 1002 and the storage device 1003. The processor 1001 can access, for example, other devices via the I / O interface 1004. The processor 1001 can also access the storage medium 1005. The storage medium 1005 stores any one of the programs for causing the computer 1000 to operate as the image processing device and the authentication device according to the above-described embodiments.
[0109] The processor 1001 loads a program stored in the storage medium 1005, which causes the computer 1000 to operate as a device according to the above-described embodiment (i.e., either an image processing device or an authentication device), into the memory 1002. The processor 1001 then executes the program loaded into the memory 1002, causing the computer 1000 to operate as the above-described device.
[0110] The first input unit 110, the second input unit 120, the adjustment unit 130, the first detection unit 140, the second detection unit 150, the alignment unit 160, the inversion unit 170, the third detection unit 180, and the output unit 190 can be realized by a processor 1001 that executes a program loaded into a memory 1002. The determination unit 181 and the light source control unit 182 can also be realized by the processor 1001 that executes a program loaded into the memory 1002. The pupil detection unit 180 can also be realized by the processor 1001 that executes a program loaded into the memory 1002.
[0111] Some or all of the first input unit 110, the second input unit 120, the adjustment unit 130, the first detection unit 140, the second detection unit 150, the alignment unit 160, the inversion unit 170, the third detection unit 180, and the output unit 190 can be realized by dedicated circuits. Some or all of the determination unit 181, the light source control unit 182, and the pupil detection unit 180 can also be realized by dedicated circuits.
[0112] Furthermore, some or all of the above-described embodiments can be described as, but are not limited to, the following supplementary notes.
[0113] (Appendix 1) a first input means for receiving a visible image of a face; a second input means for receiving a near-infrared image of the face; an adjustment means for adjusting the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; a positioning means for identifying a relative position where the visible image and the near-infrared image correspond to each other; an inversion means for inverting the brightness of the adjusted visible image; a pupil detection means for detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative position; an output means for outputting the detected pupil information; An image processing device comprising:
[0114] (Appendix 2) a first detection means for detecting a face from the visible image; A second detection means for detecting a face from the near-infrared image; Equipped with The pupil detection means detects the pupil area when a face is detected from both the visible image and the near-infrared image. 2. An image processing device as described in claim 1.
[0115] (Appendix 3) The adjustment means adjusts the pixel values of the visible image so as to bring the distribution of pixel values of the visible image closer to the distribution of pixel values of the near-infrared image. 3. An image processing device according to claim 1 or 2.
[0116] (Appendix 4) The adjustment means adjusts pixel values of the visible image so that at least a part of the shape of the frequency distribution of the visible image approaches the shape of the frequency distribution of the near-infrared image in a range of pixel values excluding a first range including the darkest pixel value and a second range including the brightest pixel value of the near-infrared image. 4. The image processing device according to claim 1 ,
[0117] (Appendix 5) The adjustment means adjusts pixel values of the visible image so that a pixel value indicating a frequency peak in a first range from the darkest pixel value in the frequency distribution of the visible image matches a pixel value indicating a frequency peak in a second range from the darkest pixel value in the frequency distribution of the near-infrared image. 5. The image processing device according to claim 4.
[0118] (Appendix 6) A determination means for determining whether sunglasses are being worn based on pixel values of pixels in an area of the visible image that includes the area of the pupil. 6. The image processing device according to claim 1, further comprising:
[0119] (Appendix 7) A light source control means for controlling the intensity of light from a light source that irradiates the face with light based on pixel values of pixels in an area including the pupil area. 7. The image processing device according to claim 1, further comprising:
[0120] (Appendix 8) A visible light imaging device that captures the visible image; a near-infrared imaging device that captures the near-infrared image; An image processing device according to any one of claims 1 to 7, An image processing system comprising:
[0121] (Appendix 9) Receive a visible image of a face; receiving a near infrared image of the face; adjusting the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; a positioning means for identifying a relative position where the visible image and the near-infrared image correspond to each other; inverting the brightness of the adjusted visible image; detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative positions; outputting the detected pupil information; Image processing methods.
[0122] (Appendix 10) Detecting a face from the visible image; Detecting a face from the near-infrared image; If a face is detected from both the visible image and the near-infrared image, the pupil area is detected. 10. The image processing method according to claim 9.
[0123] (Appendix 11) The pixel values of the visible image are adjusted so that the distribution of the pixel values of the visible image approaches the distribution of the pixel values of the near-infrared image. 11. The image processing method according to claim 9 or 10.
[0124] (Appendix 12) The pixel values of the visible image are adjusted so that at least a part of the shape of the frequency distribution of the visible image approaches the shape of the frequency distribution of the near-infrared image in a range of pixel values excluding a first range including the darkest pixel value and a second range including the brightest pixel value of the near-infrared image. 12. An image processing method according to any one of claims 9 to 11.
[0125] (Appendix 13) The pixel values of the visible image are adjusted so that a pixel value indicating a frequency peak in a first range from the darkest pixel value in the frequency distribution of the visible image matches a pixel value indicating a frequency peak in a second range from the darkest pixel value in the frequency distribution of the near-infrared image. 13. An image processing method according to claim 12.
[0126] (Appendix 14) The wearing of sunglasses is determined based on pixel values of pixels in a region of the visible image that includes the pupil region. 14. An image processing method according to any one of claims 9 to 13.
[0127] (Appendix 15) Controlling the intensity of light from a light source that irradiates the face with light based on pixel values of pixels in an area including the pupil area. 15. An image processing method according to any one of claims 9 to 14.
[0128] (Appendix 16) a first input process for receiving a visible image of a face; a second input process for receiving a near infrared image of the face; an adjustment process for adjusting brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; a registration process for identifying a relative position between the visible image and the near-infrared image; an inversion process for inverting the brightness of the adjusted visible image; a pupil detection process for detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative position; an output process for outputting the detected pupil information; A storage medium that stores a program that causes a computer to execute the above.
[0129] (Appendix 17) The program is a first detection process for detecting a face from the visible image; A second detection process for detecting a face from the near-infrared image; and causing the computer to further execute the The pupil detection process detects the pupil area when a face is detected from both the visible image and the near-infrared image. 17. A storage medium as described in claim 16.
[0130] (Appendix 18) The adjustment process adjusts pixel values of the visible image so as to bring the distribution of pixel values of the visible image closer to the distribution of pixel values of the near-infrared image. 18. A storage medium according to claim 16 or 17.
[0131] (Appendix 19) The adjustment process adjusts pixel values of the visible image so that at least a part of the shape of the frequency distribution of the visible image approaches the shape of the frequency distribution of the near-infrared image in a range of pixel values excluding a first range including the darkest pixel value and a second range including the brightest pixel value of the near-infrared image. 19. A storage medium according to any one of appendixes 16 to 18.
[0132] (Appendix 20) The adjustment process adjusts pixel values of the visible image so that a pixel value indicating a frequency peak in a first range from the darkest pixel value in the frequency distribution of the visible image matches a pixel value indicating a frequency peak in a second range from the darkest pixel value in the frequency distribution of the near-infrared image. 20. The storage medium of claim 19.
[0133] (Appendix 21) The program is A determination process for determining whether sunglasses are being worn based on pixel values of pixels in a region of the visible image that includes the pupil region. 21. The storage medium according to any one of appendices 16 to 20, further causing a computer to execute the steps.
[0134] (Appendix 22) The program is A light source control process for controlling the intensity of light from a light source that irradiates the face with light based on pixel values of pixels in an area including the pupil area. 22. The storage medium according to any one of appendices 16 to 21, further causing a computer to execute the steps.
[0135] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above embodiment. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the present invention. [Explanation of symbols]
[0136] 1. Image Processing System 2. Image Processing System 10 Authentication System 11 Authentication System 100 Image processing device 101 Image processing device 102 Image processing device 103 Image processing device 110 First input section 120 Second input section 130 Adjustment section 140 First detection unit 150 Second detection unit 160 Alignment section 170 Inversion section 180 Third detection unit 180 Pupil detection unit 181 Judgment Department 182 Light source control unit 190 Output section 200 Visible Imaging Device 300 Near-infrared imaging device 400 Authentication Device 410 Authentication Department 420 Second output section 500 light sources 1000 Computers 1001 Processor 1002 Memory 1003 Storage device 1004 I / O Interface 1005 Storage medium
Claims
1. a first input means for receiving a visible image of a face; a second input means for receiving a near infrared image of the face; an adjustment means for adjusting the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; a registration means for determining a relative position where the adjusted visible image and the adjusted near-infrared image correspond to each other; an inversion means for inverting the brightness of the adjusted visible image; a pupil detection means for detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative position; an output means for outputting the detected pupil information; Equipped with the position alignment means, in a state in which the near-infrared image and the adjusted visible image are superimposed, specifies the relative position using remaining pixels remaining after excluding pixels whose pixel values fall within any of the first to fourth predetermined ranges and pixels overlapping with the pixels from the visible image and the near-infrared image in either one of the cases where a pixel value of a pixel of the adjusted visible image and a pixel of the near-infrared image that overlap each other is within a first predetermined range or a second predetermined range, or where a pixel value of a pixel of the near-infrared image is within a third predetermined range or a fourth predetermined range; the first predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the adjusted visible image, the second predetermined range is a range of pixel values set to include a bin of a peak of a dark area in a histogram of pixel values in the adjusted visible image, the third predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the near-infrared image, The fourth predetermined range is a range of pixel values set so as to include a bin of a peak of a dark area in a histogram of pixel values in the near-infrared image. Image processing device.
2. a first detection means for detecting a face from the visible image; a second detection means for detecting a face from the near-infrared image; Equipped with The pupil detection means detects the pupil area when a face is detected from both the visible image and the near-infrared image. The image processing device according to claim 1 .
3. The adjustment means adjusts the pixel values of the visible image so as to bring the distribution of pixel values of the visible image closer to the distribution of pixel values of the near-infrared image.
3. The image processing device according to claim 1 or 2.
4. The adjustment means adjusts pixel values of the visible image so that at least a part of the shape of the frequency distribution of the visible image approaches the shape of the frequency distribution of the near-infrared image in a range of pixel values excluding a first range including the darkest pixel value and a second range including the brightest pixel value of the near-infrared image. The image processing device according to claim 1 .
5. The adjustment means adjusts pixel values of the visible image so that a pixel value indicating a frequency peak in a first range from the darkest pixel value in the frequency distribution of the visible image matches a pixel value indicating a frequency peak in a second range from the darkest pixel value in the frequency distribution of the near-infrared image. The image processing device according to claim 1 .
6. A determination means for determining whether sunglasses are being worn based on pixel values of pixels in an area of the visible image that includes the area of the pupil. The image processing device according to claim 1 , further comprising:
7. A light source control means for controlling the intensity of light from a light source that irradiates the face with light based on pixel values of pixels in an area including the pupil area. The image processing device according to claim 1 , further comprising:
8. A visible light imaging device that captures the visible image; a near-infrared imaging device that captures the near-infrared image; An image processing device according to any one of claims 1 to 7, An image processing system comprising:
9. Receive a visible image of a face; receiving a near infrared image of the face; adjusting the brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; in a state where the near-infrared image and the adjusted visible image are superimposed, when a pixel value of a pixel of the adjusted visible image and a pixel of the near-infrared image that overlap each other is either within a first predetermined range or a second predetermined range, or a pixel value of a pixel of the near-infrared image is within a third predetermined range or a fourth predetermined range, a relative position where the visible image and the near-infrared image correspond to each other is specified using the remaining pixels obtained by excluding, from the visible image and the near-infrared image, pixels whose pixel values are within any of the first predetermined range to the fourth predetermined range and pixels that overlap the pixels, inverting the brightness of the adjusted visible image; detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative positions; Outputting the detected pupil information; the first predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the adjusted visible image, the second predetermined range is a range of pixel values set to include a bin of a peak of a dark area in a histogram of pixel values in the adjusted visible image, the third predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the near-infrared image, The fourth predetermined range is a range of pixel values set so as to include a bin of a peak of a dark area in a histogram of pixel values in the near-infrared image. Image processing methods.
10. a first input process for receiving a visible image of a face; a second input process for receiving a near infrared image of the face; an adjustment process for adjusting brightness of the visible image based on a frequency distribution of pixel values of the visible image and a frequency distribution of pixel values of the near-infrared image; a registration process for determining a relative position where the adjusted visible image and the adjusted near-infrared image correspond to each other; an inversion process for inverting the brightness of the adjusted visible image; a pupil detection process for detecting a pupil area from a composite image obtained by adding together the visible image and the near-infrared image, the brightness of which has been inverted, based on the relative position; an output process for outputting the detected pupil information; Run the following on your computer: the alignment process, in a state in which the near-infrared image and the adjusted visible image are superimposed, specifies the relative positions using remaining pixels obtained by excluding pixels whose pixel values fall within any of the first to fourth predetermined ranges and pixels that overlap with the pixels from the visible image and the near-infrared image in either of the cases where a pixel value of a pixel of the adjusted visible image and a pixel of the near-infrared image that overlap each other is within a first predetermined range or a second predetermined range, or where a pixel value of a pixel of the near-infrared image is within a third predetermined range or a fourth predetermined range; the first predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the adjusted visible image, the second predetermined range is a range of pixel values set to include a bin of a peak of a dark area in a histogram of pixel values in the adjusted visible image, the third predetermined range is a range of pixel values set to include a bin of a peak of bright areas in a histogram of pixel values in the near-infrared image, The fourth predetermined range is a range of pixel values set so as to include a bin of a peak of a dark area in a histogram of pixel values in the near-infrared image. program.
Citation Information
Patent Citations
Pupil detecting device and method, fixation point detecting device and method, and three-dimensional image display system
JP2001340300A
Pupil detection method
JP2008246004A
Face detection method, face detection system and face detection program
JP2015232771A
Control method for pupil detection light source apparatus
JP2016093253A
Pupil detection device, pupil detection method, and pupil detection program
JP2016095584A
