Image processing apparatus and image processing system

The image processing device effectively separates diffuse reflectance and shadow images by leveraging known light source information from non-visible band images to enhance the precision of visible band image processing, addressing the challenges of current technologies in eigenimage decomposition.

WO2024176831A1PCT designated stage expired Publication Date: 2024-08-29SONY GROUP CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2024/004148
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-02-22
Filing Date
2024-02-07
Publication Date
2024-08-29

AI Technical Summary

Technical Problem

Current image processing technologies face challenges in accurately separating an input image into a diffuse reflectance image and a shadow image, as the eigenimage decomposition problem is ill-defined with two variables determined from one input image, leading to non-unique solutions and low precision in separation.

Method used

An image processing device and system that captures images in two wavelength bands, using a known light source for one band and an unknown light source for the other, incorporating a distance image to estimate diffuse reflectance and shadow images by normalizing distance attenuation and removing shadows, enabling precise separation of diffuse reflectance and shadow components.

Benefits of technology

The solution allows for highly accurate separation of diffuse reflectance and shadow images by utilizing the known light source information from the non-visible band to guide the processing of visible band images, stabilizing the generation of diffuse reflectance and shadow images.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024004148_29082024_PF_FP_ABST
    Figure JP2024004148_29082024_PF_FP_ABST
Patent Text Reader

Abstract

The present disclosure relates to an image processing apparatus and an image processing system that make it possible to highly accurately split an input image into a diffuse reflectance image and a shaded image. The image processing apparatus comprises: an input unit that receives input of a first wavelength band image obtained by capturing an image of a subject under an unknown light source environment including a first wavelength band, a second wavelength band image obtained by capturing an image of the subject under a known light source environment including a second wavelength band, and a range image of the subject; a second wavelength diffuse reflectance inference unit that infers, from the second wavelength band image and the range image, a second wavelength diffuse reflectance image which is a diffuse reflectance image of the subject by a light source of the second wavelength band; and a first wavelength diffuse reflectance and shading inference unit that infers, on the basis of the second wavelength diffuse reflectance image and the first wavelength band image, a first wavelength diffuse reflectance image and a first wavelength shaded image, which are, respectively, a diffuse reflectance image and a shaded image of the subject by a light source including the first wavelength band. The technology of the present disclosure is applicable to, for example, an image processing apparatus or the like that splits a visible band image into a diffuse reflectance image and a shaded image.
Need to check novelty before this filing date? Find Prior Art

Description

Image processing device and image processing system

[0001] The present disclosure relates to an image processing device and an image processing system, and more particularly to an image processing device and an image processing system that are capable of separating an input image into a diffuse reflectance image and a shaded image with high accuracy.

[0002] There is an intrinsic image decomposition technique that separates an input image into a diffuse reflectance image and a shading image. For example, Non-Patent Document 1 discloses a technique for estimating a reflectance image and a shading image using a convolutional neural network (CNN). The CNN comprises an encoder that gradually converts the input image into a feature vector and a decoder that converts the feature vector into a diffuse reflectance image and a shading image. Non-Patent Document 2 discloses a technique for estimating a diffuse reflectance image using visible light images with and without a flash. Other techniques include a technique that uses an indirect time-of-flight (iToF) sensor to generate an image in the non-visible band that eliminates the influence of shadows caused by ambient light (Non-Patent Document 3), and a technique that uses a CNN to estimate a facial diffuse reflectance image using two pairs of images obtained by an RGB sensor using visible light and an infrared sensor using infrared light (Non-Patent Document 4). As a means for removing the effects of ambient light, Patent Document 1 discloses a technology for removing the effects of ambient light by irradiating an object with light in a first wavelength range and light in a second wavelength range, and calculating the difference in pixel values ​​between an image of the object photographed while illuminated with light in the first wavelength range and an image of the object photographed without being illuminated with light, and the difference in pixel values ​​between an image of the object photographed while illuminated with light in the second wavelength range and an image of the object photographed without being illuminated with light.

[0003] Japanese Patent Application Laid-Open No. 2006-242909

[0004] Narihira et al., Direct Intrinsics: Learning Albedo-Shading Decomposition by Convolutional Regression, CVPR 2015Cao et al., Stereoscopic Flash and No-Flash Photography for Shape and Albedo Recovery, CVPR 2020Adam et al., Bayesian Time-of-Flight for Realtime Shape, Illumination and Albedo, TPAMI 2016Xia et al., A Dark Flash Normal Camera, ICCV, 2021

[0005] Intrinsic image decomposition is essentially an ill-posed problem of finding two variables, diffuse reflectance and shading, from a single input image, and the solution is not uniquely determined. Therefore, there is still room for improvement in the technology for separating an input image into a diffuse reflectance image and a shading image, and a technology that can separate the diffuse reflectance image and the shading image with high accuracy is desired.

[0006] The present disclosure has been made in view of the above circumstances, and makes it possible to separate an input image into a diffuse reflectance image and a shaded image with high accuracy.

[0007] An image processing device according to a first aspect of the present disclosure includes: an input unit that receives as input a first wavelength band image of a subject captured under an unknown light source environment including a first wavelength band, a second wavelength band image of the subject captured under a known light source environment including a second wavelength band, and a distance image of the subject; a second wavelength diffuse reflectance estimation unit that estimates a second wavelength diffuse reflectance image, which is a diffuse reflectance image of the subject captured under a light source in the second wavelength band, from the second wavelength band image and the distance image; and a first wavelength diffuse reflectance and shading estimation unit that estimates a first wavelength diffuse reflectance image and a first wavelength shading image, which are a diffuse reflectance image and shading image of the subject captured under a light source including a first wavelength band, based on the second wavelength diffuse reflectance image and the first wavelength band image.

[0008] In a first aspect of the present disclosure, a first wavelength band image obtained by capturing an object under an unknown light source environment including a first wavelength band, a second wavelength band image obtained by capturing an object under a known light source environment including a second wavelength band, and a distance image of the object are input, and a second wavelength diffuse reflectance image that is a diffuse reflectance image of the object captured under a light source of the second wavelength band is estimated from the second wavelength band image and the distance image, and a first wavelength diffuse reflectance image and a first wavelength shadow image that are a diffuse reflectance image and a shadow image of the object captured under a light source that includes the first wavelength band are estimated based on the second wavelength diffuse reflectance image and the first wavelength band image.

[0009] An image processing system according to a second aspect of the present disclosure includes: a first imaging device that images a subject under an unknown light source environment including a first wavelength band; a second imaging device that images the subject under a known light source environment including a second wavelength band; and an image processing device that estimates a first-wavelength diffuse reflectance image and a first-wavelength shadow image, which are a diffuse reflectance image and a shadow image of the subject under a light source including the first wavelength band, using a first wavelength band image of the subject captured by the first imaging device, a second wavelength band image of the subject captured by the second imaging device, and a distance image of the subject.

[0010] In a second aspect of the present disclosure, an object is imaged by a first imaging device under an unknown light source environment including a first wavelength band, and the object is imaged by a second imaging device under a known light source environment including a second wavelength band, and a first-wavelength diffuse reflectance image and a first-wavelength shadow image, which are diffuse reflectance images and shadow images of the object under a light source including the first wavelength band, are estimated using a first wavelength band image captured by the first imaging device, a second wavelength band image captured by the second imaging device, and a distance image of the object.

[0011] The image processing device of the present disclosure can be realized by causing a computer to execute a program. The program executed by the computer to realize the image processing device can be provided by transmitting it via a transmission medium or by recording it on a recording medium.

[0012] The image processing device may be an independent device or an internal block constituting a single device.

[0013] FIG. 1 is a block diagram showing a configuration example of a first embodiment of an image processing device of the present disclosure; FIG. 2 is a block diagram showing a detailed configuration example of a non-visible band diffuse reflectance estimating unit; FIG. 3 is a block diagram showing a detailed configuration example of a visible band diffuse reflectance and shadow estimating unit; and FIG. 4 is a flowchart for explaining processing executed by the image processing device. ij 16 is a diagram illustrating an example of the configuration of a first embodiment of an image processing system. FIG. 17 is a flowchart illustrating input image generation processing for generating an input image to be input to an image processing device. FIG. 18 is a flowchart illustrating details of the imaging processing using non-visible band light in step S32 of FIG. 7. FIG. 19 is a block diagram illustrating an example of the configuration of a second embodiment of an image processing system. FIG. 19 is a block diagram illustrating an example of the configuration of a third embodiment of an image processing system. FIG. 19 is a block diagram illustrating an example of the configuration of a second embodiment of an image processing device of the present disclosure. FIG. 19 is a block diagram illustrating an example of the detailed configuration of the visible band diffuse reflectance and shading estimation unit of FIG. 11. FIG. 19 is a block diagram illustrating an example of the detailed configuration of the non-visible band diffuse reflectance and surface roughness estimation unit of FIG. 13. FIG. 19 is a block diagram illustrating an example of the detailed configuration of the material parameter and shading ...6. FIG. 20 is a block diagram illustrating an example of the configuration of an embodiment of a computer to which the technology of the present disclosure is applied.

[0014] Hereinafter, modes for carrying out the technology of the present disclosure (hereinafter referred to as embodiments) will be described with reference to the accompanying drawings. Note that in this specification and the drawings, components having substantially the same functional configurations will be assigned the same reference numerals to avoid redundant description. The description will be given in the following order: 1. First embodiment of image processing device 2. Flowchart of image processing device 3. First embodiment of image processing system 4. Flowchart of input image generation processing of image processing system 5. Second embodiment of image processing system 6. Third embodiment of image processing system 7. Second embodiment of image processing device 8. Third embodiment of image processing device 9. Fourth embodiment of image processing device 10. Summary 11. Example of computer configuration

[0015] 1. First Embodiment of Image Processing Apparatus> FIG. 1 is a block diagram showing an example of the configuration of a first embodiment of an image processing apparatus according to the present disclosure.

[0016] The image processing device 1 in FIG. 1 is a device that inputs a visible band image of a subject captured using visible band light, separates the visible band image into a diffuse reflectance image and a shadow image, and outputs the separated images. The image processing device 1 receives a non-visible band image of the subject captured using non-visible band light and a distance image of the subject as guide information for separating the visible band image into a diffuse reflectance image and a shadow image. The diffuse reflectance image is an image having the diffuse reflectance component (also referred to as object color or albedo) of the subject as pixel values, and the shadow image is an image having the shadow component due to a light source (illumination) or the like as pixel values. The distance image is an image having depth values, which are information about the distance to the subject, as pixel values. Hereinafter, the output diffuse reflectance image will be referred to as a visible band diffuse reflectance image, and the shadow image will be referred to as a visible band shadow image.

[0017] In this embodiment, visible band light refers to light having a wavelength in the RGB wavelength band ranging from 400 to 700 nm, for example. Non-visible band light refers to light having a wavelength in the infrared wavelength band ranging from 780 to 1000 nm, for example. A non-visible band image is an image obtained by illuminating a subject only with a known light source such as a flashlight, without including ambient light. A known light source refers to a light source whose three-dimensional position, wavelength of light emitted from the light source, emission intensity, etc. are known, for example.

[0018] The image processing device 1 includes an input unit 11, a non-visible band diffuse reflectance estimation unit 12, a visible band diffuse reflectance and shadow estimation unit 13, and an output unit 14.

[0019] A non-visible band image obtained by imaging a subject under a known light source environment, a distance image of the subject, and a visible band image obtained by imaging the subject under an unknown light source environment are input to the input unit 11. The input unit 11 supplies the input non-visible band image and distance image to the non-visible band diffuse reflectance estimation unit 12, and supplies the input visible band image to the visible band diffuse reflectance and shadow estimation unit 13.

[0020] The non-visible band diffuse reflectance estimation unit 12 estimates (generates) a non-visible band diffuse reflectance image, which is a diffuse reflectance image of the subject caused by non-visible band light, from the non-visible band image and distance image supplied from the input unit 11. The non-visible band diffuse reflectance estimation unit 12 supplies the estimated non-visible band diffuse reflectance image to the visible band diffuse reflectance and shadow estimation unit 13.

[0021] The visible band diffuse reflectance and shading estimation unit 13 estimates (generates) a visible band diffuse reflectance image and a visible band shading image based on the visible band image supplied from the input unit 11 and the non-visible band diffuse reflectance image supplied from the non-visible band diffuse reflectance estimation unit 12. The visible band diffuse reflectance and shading estimation unit 13 supplies the estimated visible band diffuse reflectance image and visible band shading image to the output unit 14. The output unit 14 outputs the visible band diffuse reflectance image and the visible band shading image to outside the device.

[0022] The image processing device 1 configured as described above first generates a non-visible band diffuse reflectance image of the subject from the non-visible band image and distance image of the subject. Next, the image processing device 1 generates a visible band diffuse reflectance image from the generated non-visible band diffuse reflectance image and the input visible band image. By using the generated non-visible band diffuse reflectance image as guide information when generating the visible band diffuse reflectance image, the image processing device 1 can separate the input visible band image into a visible band diffuse reflectance image and a visible band shadow image with high accuracy. By using the non-visible band diffuse reflectance image in the process of separating the visible band diffuse reflectance image and the shadow image, the visible band diffuse reflectance image can be generated stably.

[0023] FIG. 2 is a block diagram showing an example of the detailed configuration of the non-visible band diffuse reflectance estimating unit 12. As shown in FIG.

[0024] The non-visible band diffuse reflectance estimation unit 12 includes a distance attenuation normalization unit 31 , a normal estimation unit 32 , and a non-visible band shadow removal unit 33 .

[0025] The non-visible band image and the distance image are input to the distance attenuation normalization unit 31. The distance attenuation normalization unit 31 generates a non-visible band distance attenuation-corrected image from the non-visible band image and the distance image. The non-visible band distance attenuation-corrected image is an image in which the influence of distance attenuation on the non-visible band image has been corrected. The non-visible band image is an image of a subject illuminated only by a known light source such as a flashlight. Because the amount of light from a light source attenuates in inverse proportion to the square of the distance, the distance attenuation normalization unit 31 multiplies the pixel values ​​(luminance values) of the non-visible band image by the square of the distance to the subject obtained from the distance image to generate an image in which the influence of distance attenuation has been corrected (hereinafter referred to as the non-visible band distance attenuation-corrected image). The generated non-visible band distance attenuation-corrected image is supplied to the non-visible band shadow removal unit 33. In the non-visible band distance attenuation-corrected image, the attenuation of light according to distance has been corrected, but variations in luminance due to differences in reflectance still exist. If we can assume that the reflection in the captured scene is diffuse reflection, the brightness change in the non-visible band distance attenuation corrected image is caused only by the difference in non-visible band reflectance and attenuation due to the cosine of the angle between the normal direction of the subject and the light ray incident from a known light source.

[0026] A distance image is input to the normal estimation unit 32. The normal estimation unit 32 estimates (generates) a normal image based on the input distance image and supplies it to the invisible band shadow removal unit 33. Any known method can be used to estimate the normal image using the distance image. For example, there is a method of converting the gradient of distance information into a normal, or a method using principal component analysis. As a method using principal component analysis, there is a method disclosed in the non-patent document "Surface reconstruction from unorganized points. In Proc. of ACM SIGGRAPH, 1992," in which a point cloud is generated from distance information and internal camera parameters, principal component analysis is performed on the point cloud around a point of interest, and a direction perpendicular to the principal component direction is used as a normal vector.

[0027] The non-visible band shadow removal unit 33 uses the normal image obtained by the normal estimation unit 32 to remove shadows caused by the angle between the normal direction and light rays incident from a known light source from the non-visible band distance attenuation corrected image obtained by the distance attenuation normalization unit 31. In other words, the non-visible band shadow removal unit 33 removes the attenuation caused by the angle between the normal direction of the subject and the light rays incident from the known light source from among the brightness changes in the non-visible band distance attenuation corrected image caused by differences in non-visible band reflectance and attenuation caused by the angle (cosine of the angle) between the normal direction of the subject and the light rays incident from the known light source. The non-visible band distance attenuation corrected image after the removal is an image of brightness changes due only to differences in non-visible band reflectance, i.e., a non-visible band diffuse reflectance image.

[0028] Generally, when it is assumed that the reflection of the object is diffuse reflection, the observed luminance value I is expressed by the following equation (1): I=A invis ・I L ・L・N ・・・・・・・・(1) In formula (1), A invis is the reflectance in the non-visible band, I L is the intensity of the invisible light incident on the surface of the object, L is the vector of the direction of the infrared light (invisible light) light source as seen from the surface of the object, and N is the normal to the surface of the object.

[0029] Intensity of non-visible light incident on the object surface I L Since the subject is now illuminated with non-visible light only from a known light source, the attenuation is inversely proportional to the square of the distance d, and so can be expressed as the following equation (2): where I L A' represents the intensity of infrared light when the distance to the subject is 1. The distance attenuation normalization unit 31, which corrects the attenuation of light according to the distance d, multiplies the pixel value (luminance value) of the non-visible band image by the square of the distance, so the luminance value I1 of the non-visible band distance attenuation corrected image is expressed by equation (3): I1 = A invis ・I L '・L・N・・・・・・・・・(3)

[0030] The value obtained by dividing both sides of equation (3) by the vector L of the infrared light source direction and the normal N of the object surface is the reflectance A as shown in equation (4). invis 'Let's say. The luminance value I1 of the non-visible band distance attenuation corrected image is calculated by the distance attenuation normalization unit 31, the vector L of the direction of the infrared light source is known, and the normal N of the object surface of the subject is calculated by the normal estimation unit 32. Therefore, the reflectance A invis ' can be calculated.

[0031] Reflectance A invis ' is the reflectance A in the non-visible band invis The intensity (amount of light) of infrared light when the subject distance is 1 is I L ', that is, the reflectance in the non-visible band A invis The visible band diffuse reflectance and shadow estimation unit 13 at the subsequent stage uses texture and edge information of the non-visible band diffuse reflectance image, so the non-visible band diffuse reflectance image to be output is invis Instead of an image with pixel values ​​of invis Reflectance A multiplied by a predetermined constant invis There is no problem even if the pixel value is an image with a value of '. invis When you want to output a non-visible band diffuse reflectance image with pixel values ​​of I, for example, you can calculate the infrared light intensity I when the subject distance is 1 in advance. L' is obtained by calibration, and A invis ' / I L ' is divided by ' and the resulting image is stored as the pixel value.

[0032] FIG. 3 is a block diagram showing an example of the detailed configuration of the visible band diffuse reflectance and shadow estimation unit 13.

[0033] The visible band diffuse reflectance and shading estimation unit 13 includes a feature extraction unit 51, a visible band diffuse reflectance estimation unit 52, and a visible band shading estimation unit 53. The visible band diffuse reflectance and shading estimation unit 13 is supplied with a visible band image from the input unit 11 and also supplied with a non-visible band diffuse reflectance image from the non-visible band diffuse reflectance estimation unit 12.

[0034] The feature extraction unit 51 extracts image features from the non-visible band diffuse reflectance image and the visible band image, and supplies them to the visible band diffuse reflectance estimation unit 52 and the visible band shade estimation unit 53. The visible band diffuse reflectance estimation unit 52 estimates (generates) a visible band diffuse reflectance image based on the supplied features, and supplies it to the output unit 14. The visible band shade estimation unit 53 estimates (generates) a visible band shade image based on the supplied features, and supplies it to the output unit 14.

[0035] The visible band diffuse reflectance and shading estimation unit 13 can be implemented by a CNN predictor using a CNN (convolutional neural network). The CNN, for example, includes an encoder with multiple convolutional layers and pooling layers that performs filtering and downsampling, and a decoder with multiple deconvolutional layers and depooling layers that performs filtering and upsampling. When the visible band diffuse reflectance and shading estimation unit 13 is implemented by a CNN predictor, the feature extraction unit 51 corresponds to an encoder that extracts features, and the visible band diffuse reflectance estimation unit 52 and the visible band shading estimation unit 53 correspond to decoders that generate images based on the extracted features. In the training process of the CNN predictor, parameters of the CNN predictor are trained using teacher images of visible band diffuse reflectance images and visible band shading images generated, for example, by computer graphics (CG).

[0036] 2. Flowchart of Image Processing Device Next, the process (image processing) of separating a visible band image into a visible band diffuse reflectance image and a visible band shadow image, which is executed by the image processing device 1 of the first embodiment, will be described with reference to the flowchart in Fig. 4. This process is started, for example, when a non-visible band image, a distance image, and a visible band image are input to the image processing device 1.

[0037] First, in step S11, the input unit 11 acquires an input non-visible band image, a distance image, and a visible band image. The input unit 11 supplies the non-visible band image and the distance image to the non-visible band diffuse reflectance estimation unit 12, and supplies the visible band image to the visible band diffuse reflectance and shadow estimation unit 13.

[0038] In step S12, the distance attenuation normalization unit 31 of the non-visible band diffuse reflectance estimator 12 generates a non-visible band distance attenuation-corrected image from the non-visible band image and the distance image. More specifically, the distance attenuation normalization unit 31 generates the non-visible band distance attenuation-corrected image by multiplying the pixel values ​​(luminance values) of the non-visible band image by the square of the distance to the subject obtained from the distance image. The generated non-visible band distance attenuation-corrected image is supplied to the non-visible band shadow remover 33.

[0039] In step S13, the normal estimation unit 32 generates a normal image based on the distance image supplied from the input unit 11, and supplies the normal image to the non-visible band shadow removal unit 33. The processes of steps S12 and S13 can be executed in parallel (simultaneously).

[0040] In step S14, the non-visible band shadow remover 33 uses the non-visible band distance attenuation corrected image obtained by the distance attenuation normalizer 31 and the normal image obtained by the normal estimator 32 to remove shadows caused by the angle between the normal direction and the light ray incident from the known light source, according to the above-mentioned equation (4), and generates a non-visible band diffuse reflectance image. The generated non-visible band diffuse reflectance image is supplied to the visible band diffuse reflectance and shadow estimator 13.

[0041] In step S15, the visible band diffuse reflectance and shadow estimation unit 13 generates a visible band diffuse reflectance image and a visible band shadow image from the non-visible band diffuse reflectance image supplied from the non-visible band shadow removal unit 33 and the visible band image supplied from the input unit 11. The generated visible band diffuse reflectance image and visible band shadow image are supplied to the output unit 14.

[0042] In step S16, the output unit 14 outputs the visible band diffuse reflectance image and the visible band shadow image to the outside of the device, and the process ends.

[0043] As described above, according to the process of separating a visible band image into a visible band diffuse reflectance image and a visible band shaded image executed by the image processing device 1 of the first embodiment, a non-visible band diffuse reflectance image of a subject is generated from a non-visible band image and a distance image of the subject, and the generated non-visible band diffuse reflectance image is used as guide information to separate and generate a visible band diffuse reflectance image and a visible band shaded image. By using the non-visible band diffuse reflectance image as guide information, a visible band diffuse reflectance image can be generated stably.

[0044] <Calculation Method Without Using CNN> In the above example, an example was described in which a visible band diffuse reflectance image and a visible band shadow image are generated (separated) using CNN as the processing of the visible band diffuse reflectance and shadow estimation unit 13. However, a visible band diffuse reflectance image and a visible band shadow image can also be generated in a configuration that does not use CNN. Below, a method for generating a visible band diffuse reflectance image and a visible band shadow image without using CNN will be described.

[0045] For example, the visible band diffuse reflectance and shadow estimation unit 13 can calculate the pixel value of adjacent pixels based on the condition that the relationship between the pixel values ​​of adjacent pixels in the non-visible band diffuse reflectance image and the visible band diffuse reflectance image is similar. i Vis , the pixel value at pixel position i of the non-visible band diffuse reflectance image estimated by the non-visible band diffuse reflectance estimation unit 12 is A i Invis The pixel values ​​at pixel position i of the visible band diffuse reflectance image and the visible band shading image to be obtained are respectively A"i Vis , S" i Vis Then, for example, by using the recursive least squares method, the pixel value A" of the visible band diffuse reflectance image that minimizes the cost function of Equation (5) is calculated. i Vis and the pixel value S" of the visible band shaded image i Vis By calculating the above, a visible band diffuse reflectance image and a visible band shadow image can be generated.

[0046] In equation (5), j represents a pixel position in the vicinity of pixel position i. ij is the non-visible band diffuse reflectance image A Invis is a weight parameter using the above and is expressed by equation (6). FIG. 5 shows the weight parameter w in Equation (6). ij The weight parameter w ij is the pixel value A of pixel position i in the range from 0 to 1. i Invis and the pixel value A at pixel position j j Invis The smaller the difference between the weights, the larger the value. ij is the non-visible band diffuse reflectance image A Invis In this case, the pixel value A at pixel position i is i Invis and the pixel value A at pixel position j j Invis is close to the pixel value A at pixel position i of the visible band diffuse reflectance image. i Vis and the pixel value A at pixel position j i Vis This has the effect of making the values ​​closer to each other.

[0047] 3. First Embodiment of Image Processing System FIG. 6 is a block diagram showing an example of the configuration of a first embodiment of an image processing system including the image processing device 1 of FIG.

[0048] The image processing system 70 shown in FIG. 6 includes a non-visible band camera system 81, a depth camera 82, a visible band camera 83, and a control device 84 in addition to the image processing device 1 of FIG.

[0049] The non-visible band camera system 81 captures an image of a subject with non-visible band light based on an imaging start trigger from the control device 84, and outputs the non-visible band image to the image processing device 1. The non-visible band camera system 81 has a non-visible band light source 91, a non-visible band camera 92, and an image processing unit 93. The environment in which the non-visible band camera system 81 captures an image of a subject is an environment in which ambient light is present.

[0050] The non-visible band light source 91 irradiates the subject with non-visible band light under the control of the non-visible band camera 92. The three-dimensional position of the non-visible band light source 91, the wavelength of the light irradiated from the non-visible band light source 91, the emission intensity, and the like are known. The non-visible band camera 92 is, for example, an infrared camera that receives infrared light in the non-visible band, and generates a non-visible band image and outputs it to the image processing unit 93. Specifically, the non-visible band camera 92 outputs to the image processing unit 93 a first non-visible band image obtained by capturing an image of the subject without emitting non-visible band light from the non-visible band light source 91, and a second non-visible band image obtained by capturing an image of the subject with the non-visible band light. The image processing unit 93 calculates the difference between the first non-visible band image obtained by capturing an image of the subject without emitting non-visible band light from the non-visible band light source 91 and the second non-visible band image obtained by capturing an image of the subject with the non-visible band light. The image processing unit 93 outputs the generated non-visible band image to the image processing device 1 .

[0051] In order to generate a non-visible band image that does not contain an ambient light component in an environment where ambient light is present, the non-visible band camera system 81 performs two imaging operations to generate a first non-visible band image in a state where the subject is not irradiated with non-visible band light and a second non-visible band image in a state where the subject is irradiated with non-visible band light. If the imaging environment is one where ambient light is not present, it is sufficient to capture an image once in which the subject is irradiated with non-visible band light, and the image processing unit 93 can also be omitted.

[0052] The depth camera 82 generates a distance image of the subject based on an imaging start trigger from the control device 84, and outputs the image to the image processing device 1. The depth camera 82 can use any method to image the subject, such as a stereo camera method, a structured light method, or a time of flight (ToF) method.

[0053] The visible band camera 83 is composed of an RGB camera that receives light including the RGB wavelength band, and generates a color image based on an imaging start trigger from the control device 84, and outputs it to the image processing device 1 as a visible band image.

[0054] The control device 84 controls the operation of the entire image processing system 70. For example, the control device 84 generates an imaging start trigger for executing imaging as an imaging control signal and outputs the imaging start trigger to the non-visible band camera system 81, the depth camera 82, and the visible band camera 83. The imaging start trigger is adjusted so that the non-visible band light from the non-visible band light source 91 of the non-visible band camera system 81 and the active light when the depth camera 82 emits infrared light or the like as active light do not affect imaging by other devices. The control device 84 is not an independent device, but may be incorporated as part of a device such as the non-visible band camera system 81 or the image processing device 1.

[0055] The image processing device 1 acquires a non-visible band image input from the non-visible band camera system 81, a distance image input from the depth camera 82, and a visible band image input from the visible band camera 83, and performs the image processing described in the flowchart of Figure 4, i.e., the processing of separating the visible band image into a visible band diffuse reflectance image and a visible band shadow image.

[0056] 7 , an input image generation process will be described in which the non-visible band camera system 81, the depth camera 82, and the visible band camera 83 generate input images to be input to the image processing device 1. This process is started, for example, when a user issues an instruction to start imaging to the control device 84.

[0057] First, in step S31, the control device 84 generates an imaging start trigger for executing imaging as an imaging control signal, and outputs it to the non-visible band camera system 81, the depth camera 82, and the visible band camera 83. The imaging start trigger is output so that, for example, the imaging timing of each of the non-visible band camera system 81, the depth camera 82, and the visible band camera 83 is slightly shifted so that the active light does not affect imaging by other devices.

[0058] In step S32, the non-visible band camera system 81 receives an imaging start trigger from the control device 84, performs imaging using non-visible band light, generates a non-visible band image that does not include ambient light components, and outputs the image to the image processing device 1. Detailed processing of step S32 will be described later with reference to the flowchart in FIG.

[0059] In step S33 , the depth camera 82 performs imaging for a distance image based on an imaging start trigger from the control device 84 , generates a distance image of the subject, and outputs it to the image processing device 1 .

[0060] In step S34 , the visible band camera 83 performs imaging for a visible band image based on an imaging start trigger from the control device 84 , and outputs the visible band image (color image) to the image processing device 1 .

[0061] This completes the input image generation process. The processes in steps S32, S33, and S34 may be performed in part or in whole in parallel. However, it is necessary to control the active light so that it does not affect the imaging of other devices.

[0062] FIG. 8 is a flowchart illustrating the details of the imaging process using non-visible band light in step S32 of FIG.

[0063] In the processing of Figure 8, first, the non-visible band camera 92 controls the non-visible band light source 91 to be turned off in step S51, and then performs image capture in step S52 to generate a first non-visible band image in a state where non-visible band light is not irradiated onto the subject, and outputs the first non-visible band image to the image processing unit 93.

[0064] Next, the non-visible band camera 92 controls the non-visible band light source 91 to turn on in step S53, and performs imaging in step S54 to generate a second non-visible band image of the subject irradiated with non-visible band light, and outputs it to the image processing unit 93.

[0065] In step S55, the image processing unit 93 calculates the difference between two images, the first non-visible band image obtained by capturing an image of the subject without emitting non-visible band light, and the second non-visible band image obtained by capturing an image of the subject by emitting non-visible band light, generates a non-visible band image that does not include ambient light components, outputs it to the image processing device 1, and ends the processing of Figure 8.

[0066] 5. Second Embodiment of Image Processing System FIG. 9 is a block diagram showing an example of the configuration of a second embodiment of an image processing system including the image processing device 1 of FIG.

[0067] In FIG. 9, the same parts as those in the image processing system of the first embodiment shown in FIG. 6 are denoted by the same reference numerals, and the description of those parts will be omitted.

[0068] The image processing system 70 shown in Fig. 9 includes a non-visible band camera system 81', a visible band camera 83, and a control device 84 in addition to the image processing device 1 of Fig. 1. Therefore, when the image processing system 70 of the second embodiment in Fig. 9 is compared with the image processing system 70 of the first embodiment in Fig. 6, the depth camera 82 is omitted, and the non-visible band camera system 81 is changed to a non-visible band camera system 81'.

[0069] In the image processing system 70 of the second embodiment, a non-visible band camera system 81′ generates a non-visible band image and a distance image and outputs them to the image processing device 1. The non-visible band camera system 81′ includes a non-visible band light source 91, a non-visible band camera 92′, and an image processing unit 93′.

[0070] The non-visible band camera 92′ is a camera having, in a pixel array unit that receives non-visible band light, imaging pixels (normal pixels) that output imaging signals corresponding to the amount of received light, and phase difference pixels (image plane phase difference pixels) that output phase difference signals. The phase difference pixels are pixels that can block part of their light receiving areas (pupil division) and detect the distance to a subject (focus position) based on the signal difference (phase difference) between two phase difference pixels whose light-blocking areas are symmetrical. The number of phase difference pixels arranged in the pixel array unit is smaller than the number of imaging pixels.

[0071] Similar to the image processing unit 93 of the first embodiment, the image processing unit 93′ uses pixel signals of the imaging pixels to generate a non-visible band image, which is an image of a subject illuminated only by a known non-visible band light source 91 and does not include ambient light, and outputs the non-visible band image to the image processing device 1. The pixel signals of the phase difference pixels are generated by interpolation processing or the like. The image processing unit 93′ also uses pixel signals of the phase difference pixels to generate a distance image of the subject and outputs the distance image to the image processing device 1. The distance image using the pixel signals of the phase difference pixels has a low resolution. The image processing unit 93′ performs resolution conversion processing to improve the resolution of the distance image, generates a high-resolution distance image, and outputs the distance image to the image processing device 1. For example, the resolution conversion processing can utilize the technology disclosed in International Publication No. 2020 / 209040, which improves resolution by referring to a non-visible band image or a visible band image generated by the visible band camera 83.

[0072] The image processing system 70 of the second embodiment is configured as described above. In the example of FIG. 9 , an example has been described in which the non-visible band camera 92′ is configured as a camera having phase difference pixels in part of its pixel array. However, the camera having phase difference pixels in part of its pixel array may be the visible band camera 83 instead of the non-visible band camera 92′. In this case, the visible band camera 83 generates a visible band image and a distance image and outputs them to the image processing device 1. A resolution conversion process for improving the resolution of the distance image is also performed as appropriate.

[0073] 6. Third Embodiment of Image Processing System FIG. 10 is a block diagram showing an example of the configuration of a third embodiment of an image processing system including the image processing device 1 of FIG.

[0074] In FIG. 10, the same parts as those in the image processing system of the first embodiment shown in FIG. 6 are denoted by the same reference numerals, and the description of those parts will be omitted.

[0075] The image processing system 70 shown in Fig. 10 includes an iToF module 101, a visible band camera 83, and a control device 84 in addition to the image processing device 1 of Fig. 1. Therefore, when comparing the image processing system 70 of the third embodiment in Fig. 10 with the image processing system 70 of the first embodiment in Fig. 6, the non-visible band camera system 81 and the depth camera 82 have been changed to the iToF module 101.

[0076] The iToF module 101 is a ranging module capable of calculating the distance to a subject using an indirect ToF method, and includes a non-visible band light source 111 and an iToF sensor 112. The non-visible band light source 111 emits infrared light that is repeatedly switched on (High) and off (Low) at a modulation frequency f, for example, under the control of the iToF sensor 112. The iToF sensor 112 generates a distance image that calculates the distance to the subject and a non-visible band image that calculates the brightness of the subject, for example, using a 4-phase method, and outputs these to the image processing device 1. The 4-phase method is a detection method in which reflected light is received at light reception timings that are shifted in phase by 0°, 90°, 180°, and 270° relative to the irradiation timing of the irradiated light. In the 4-phase method, the iToF sensor 112 receives reflected light by changing the phase in a time-division manner, such that in a certain frame period, the phase is 0° relative to the irradiation timing of the irradiated light, in the next frame period, the phase is 90°, in the next frame period, the phase is 180°, and in the next frame period, the phase is 270°.

[0077] In the indirect ToF method, the depth value d can be calculated using the following equation (7): Furthermore, the intensity C of the received reflected light can be calculated using the following equation (8). In equation (7), c represents the speed of light, and f represents the modulation frequency of the irradiated light. 0 , I 90 , I 180 , I270 represents the detection signal (pixel signal) obtained when the phase is set to 0°, 90°, 180°, and 270°. Intensity C corresponds to the magnitude of the reflected light received by the pixel, i.e., brightness information (brightness value).

[0078] Detection signal I 0 , I 90 , I 180 , I 270 may contain an ambient light component, but (I 90 -I 270 ), (I 0 -I 180 Since the ambient light component is removed in the process of calculating the difference between the two signals, the intensity C is a signal that is not affected by the ambient light even if the ambient light component is present in the imaging environment. A detailed description of the 4-phase indirect ToF method is disclosed, for example, in Japanese Patent Application Laid-Open No. 2020-173128.

[0079] The iToF module 101 generates a distance image whose pixel values ​​are the depth value d in equation (7), and generates a non-visible band image whose pixel values ​​are the intensity C in equation (8), and outputs these to the image processing device 1. By using the iToF module 101, the calculation (image processing) for removing the ambient light component from the two images is unnecessary, and the non-visible band image and the distance image can be generated simultaneously. Compared to the image processing system of the first embodiment, the number of cameras is reduced, and imaging can be performed more easily to acquire the non-visible band image and the distance image.

[0080] The image processing system 70 is not limited to the first to third embodiments described above, and may be realized in other configurations as long as it can acquire three types of images, i.e., non-visible band images, distance images, and visible band images, and input them to the image processing device 1.

[0081] 7. Second Embodiment of Image Processing Device FIG. 11 is a block diagram showing a configuration example of a second embodiment of an image processing device according to the present disclosure.

[0082] In FIG. 11, the same parts as those of the image processing apparatus of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and the description of those parts will be omitted.

[0083] Compared to the first embodiment shown in FIG. 1, the image processing device 1 shown in FIG. 11 has changed the non-visible band diffuse reflectance estimation unit 12 and the visible band diffuse reflectance and shading estimation unit 13 to a non-visible band diffuse reflectance estimation unit 12B and a visible band diffuse reflectance and shading estimation unit 13B.

[0084] The non-visible band diffuse reflectance estimation unit 12B is common to the non-visible band diffuse reflectance estimation unit 12 in that it generates a non-visible band diffuse reflectance image from the input non-visible band image and distance image. In addition, the non-visible band diffuse reflectance estimation unit 12B differs from the non-visible band diffuse reflectance estimation unit 12 in that it outputs the input distance image to the visible band diffuse reflectance and shadow estimation unit 13B.

[0085] The visible band diffuse reflectance and shading estimation unit 13B estimates (generates) a visible band diffuse reflectance image and a visible band shading image based on the visible band image supplied from the input unit 11 and the non-visible band diffuse reflectance image and distance image supplied from the non-visible band diffuse reflectance estimation unit 12B. In other words, the visible band diffuse reflectance and shading estimation unit 13B differs from the non-visible band diffuse reflectance estimation unit 12 in that it generates a visible band diffuse reflectance image and a visible band shading image using not only the non-visible band diffuse reflectance image and the visible band image, but also the distance image.

[0086] FIG. 12 is a block diagram showing a detailed configuration example of the visible band diffuse reflectance and shadow estimation unit 13B.

[0087] The visible band diffuse reflectance and shading estimation unit 13B includes a feature extraction unit 51B, a visible band diffuse reflectance estimation unit 52, and a visible band shading estimation unit 53. Therefore, compared to the visible band diffuse reflectance and shading estimation unit 13 of the first embodiment shown in Fig. 3, the feature extraction unit 51B has been modified.

[0088] The feature extraction unit 51B is supplied with the visible band image from the input unit 11, and is also supplied with the non-visible band diffuse reflectance image and the distance image from the non-visible band diffuse reflectance estimation unit 12B.

[0089] The feature extraction unit 51B extracts image features from the non-visible band diffuse reflectance image, distance image, and visible band image, and supplies them to the visible band diffuse reflectance estimation unit 52 and the visible band shading estimation unit 53. The visible band diffuse reflectance estimation unit 52 estimates (generates) a visible band diffuse reflectance image based on the supplied features, and supplies it to the output unit 14. The visible band shading estimation unit 53 estimates (generates) a visible band shading image based on the supplied features, and supplies it to the output unit 14. The visible band diffuse reflectance and shading estimation unit 13B can be implemented by a CNN predictor using CNN.

[0090] According to the image processing device 1 of the second embodiment configured as described above, a visible band diffuse reflectance image and a visible band shadow image are estimated using the distance image in addition to the non-visible band diffuse reflectance image and the visible band image distance image. The distance image reflects shape information of the subject (object), and shape information is correlated with shadows, so it is expected that the estimation of the visible band reflectance image and the shadow image can be performed more stably. Instead of the distance image, a normal image generated by the normal estimation unit 32 may be input to the visible band diffuse reflectance and shadow estimation unit 13B, and the visible band diffuse reflectance image and the visible band shadow image may be estimated using the non-visible band diffuse reflectance image, the visible band image distance image, and the normal image. Alternatively, both the distance image and the normal image may be input to the visible band diffuse reflectance and shadow estimation unit 13B to estimate the visible band diffuse reflectance image and the visible band shadow image.

[0091] 8. Third Embodiment of Image Processing Device FIG. 13 is a block diagram showing a configuration example of a third embodiment of an image processing device according to the present disclosure.

[0092] In FIG. 13, the same parts as those of the image processing apparatus of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and the description of those parts will be omitted.

[0093] Compared to the first embodiment shown in FIG. 1, the image processing device 1 shown in FIG. 13 has changed the non-visible band diffuse reflectance estimation unit 12 and the visible band diffuse reflectance and shading estimation unit 13 to a non-visible band diffuse reflectance and surface roughness estimation unit 12C and a material parameter and shading estimation unit 13C.

[0094] The image processing device 1 of the third embodiment is configured to estimate and output various material parameters other than visible band diffuse reflectance. As material parameters that can be output by the image processing device 1, for example, parameters of the Phong reflection model, which is one of the reflection models used in CG, are adopted. In addition to the above-mentioned visible band diffuse reflectance, parameters of the Phong reflection model include visible band specular reflectance and surface roughness. Of course, parameters required for any reflection model other than the Phong reflection model can also be used as material parameters. The Phong reflection model is described, for example, in "Phong, "Illumination for computer generated pictures," Communications of the ACM 18.6 (1975): pp. 311-317" etc.

[0095] The non-visible band diffuse reflectance and surface roughness estimation unit 12C is a modification of the non-visible band diffuse reflectance estimation unit 12 so as to estimate a surface roughness image, which is one of the material parameters, in addition to a non-visible band diffuse reflectance image. The material parameter and shading estimation unit 13C is a modification of the visible band diffuse reflectance and shading estimation unit 13 so as to estimate a visible band specular reflectance image, which is another material parameter, in addition to the visible band diffuse reflectance.

[0096] The non-visible band diffuse reflectance and surface roughness estimation unit 12C is similar to the non-visible band diffuse reflectance estimation unit 12 in that it generates a non-visible band diffuse reflectance image from the input non-visible band image and distance image. Additionally, the non-visible band diffuse reflectance and surface roughness estimation unit 12C estimates a surface roughness image, which is one of the material parameters, and outputs it to the material parameter and shading estimation unit 13C. The surface roughness image is an image having the surface roughness of the object expressed as a predetermined number of bits as pixel values. Surface roughness, which is one of the material parameters, is a value that is invariant across wavelength bands. Therefore, more stable estimation can be expected by obtaining a surface roughness image using a non-visible band image, whose lighting environment is known, as input, rather than obtaining a surface roughness image using a visible band image, whose lighting environment is unknown, as input. Therefore, the non-visible band diffuse reflectance and surface roughness estimation unit 12C estimates the non-visible band diffuse reflectance image and surface roughness image, and outputs them to the material parameter and shading estimation unit 13C.

[0097] The material parameter and shading estimation unit 13C estimates (generates) and outputs a visible band diffuse reflectance image, a visible band specular reflectance image, and a visible band shading image based on the visible band image supplied from the input unit 11 and the non-visible band diffuse reflectance image and surface roughness image supplied from the non-visible band diffuse reflectance and surface roughness estimation unit 12C. The visible band specular reflectance image is an image having, as pixel values, the specular reflectance of the subject due to a light source including the visible band. More specifically, the material parameter and shading estimation unit 13C uses the non-visible band diffuse reflectance image and the visible band image to generate and output a visible band diffuse reflectance image, a visible band specular reflectance image, and a visible band shading image, and outputs the surface roughness image acquired from the non-visible band diffuse reflectance and surface roughness estimation unit 12C as is.

[0098] FIG. 14 is a block diagram showing a detailed configuration example of the non-visible band diffuse reflectance and surface roughness estimation unit 12C.

[0099] The non-visible band diffuse reflectance and surface roughness estimation unit 12C includes a distance attenuation normalization unit 31, a normal estimation unit 32, and a non-visible band shadow removal unit 33, which are the same as those in the first embodiment, as well as a feature extraction unit 201 and a surface roughness estimation unit 202.

[0100] An invisible band image is input to the feature extraction unit 201. The feature extraction unit 201 extracts image features from the invisible band image and supplies them to a surface roughness estimation unit 202. The surface roughness estimation unit 202 estimates (generates) a surface roughness image based on the supplied feature values ​​and supplies it to a material parameter and shade estimation unit 13C ( FIG. 13 ).

[0101] The feature extraction unit 201 and the surface roughness estimation unit 202 can be realized by a CNN predictor using CNN. In the learning process of the CNN predictor, parameters of the CNN predictor are learned using a training image of a surface roughness image generated by, for example, CG.

[0102] FIG. 15 is a block diagram showing a detailed configuration example of the material parameter and shade estimation unit 13C.

[0103] The material parameter and shading estimation unit 13C includes a feature extraction unit 51, a visible band diffuse reflectance estimation unit 52, a visible band shading estimation unit 53, and a visible band specular reflectance estimation unit 221. Compared to the first embodiment shown in Fig. 3, the visible band specular reflectance estimation unit 221 is added. The visible band diffuse reflectance estimation unit 52 and the visible band specular reflectance estimation unit 221 constitute a material parameter estimation unit 231 that estimates material parameters.

[0104] The visible band specular reflectance estimation unit 221 estimates (generates) a visible band specular reflectance image based on the feature amounts supplied from the feature amount extraction unit 51, and supplies the image to the output unit 14. The material parameter and shading estimation unit 13C outputs the surface roughness image acquired from the non-visible band diffuse reflectance and surface roughness estimation unit 12C as is.

[0105] The material parameter and shading estimation unit 13C can be realized by a CNN predictor using CNN. In the learning process of the CNN predictor, the parameters of the CNN predictor are learned using teacher images of a non-visible band diffuse reflectance image, a visible band specular reflectance image, and a visible band shading image generated by, for example, CG.

[0106] According to the image processing device 1 of the third embodiment configured as described above, in addition to the visible band diffuse reflectance image and the visible band shadow image, it is possible to estimate and output other material parameters, such as a visible band specular reflectance image and a surface roughness image. The surface roughness image can be estimated with high accuracy and stability by estimating it from a non-visible band image in which the lighting environment is known. The visible band specular reflectance image can also be estimated with high accuracy and stability by estimating it using the non-visible band diffuse reflectance image as guide information.

[0107] 9. Fourth Embodiment of Image Processing Device FIG. 16 is a block diagram showing a configuration example of a fourth embodiment of an image processing device according to the present disclosure.

[0108] In FIG. 16, the same parts as those of the image processing apparatus of the first embodiment shown in FIG. 1 are denoted by the same reference numerals, and the description of those parts will be omitted.

[0109] 1, the image processing device 1 shown in Fig. 16 has a difference from the first embodiment shown in Fig. 1 in that the visible band diffuse reflectance and shading estimation unit 13 is changed to a material parameter and shading estimation unit 13D. The material parameter and shading estimation unit 13D is a modification of the visible band diffuse reflectance and shading estimation unit 13 so as to estimate material parameters other than the visible band diffuse reflectance.

[0110] The fourth embodiment is similar to the third embodiment in that it estimates and outputs a visible band specular reflectance image and a surface roughness image in addition to a visible band diffuse reflectance image and a visible band shadow image. While the surface roughness image was estimated by the non-visible band diffuse reflectance and surface roughness estimation unit 12C in the third embodiment, the fourth embodiment is configured to estimate the surface roughness image by the material parameter and shadow estimation unit 13D. That is, the material parameter and shadow estimation unit 13D estimates (generates) and outputs the visible band diffuse reflectance image, visible band specular reflectance image, surface roughness image, and visible band shadow image based on the visible band image supplied from the input unit 11 and the non-visible band diffuse reflectance image from the non-visible band diffuse reflectance estimation unit 12.

[0111] FIG. 17 is a block diagram showing a detailed configuration example of the material parameter and shade estimation unit 13D.

[0112] The material parameter and shading estimation unit 13D includes a feature extraction unit 51, a visible band diffuse reflectance estimation unit 52, a visible band shading estimation unit 53, a visible band specular reflectance estimation unit 221, and a surface roughness estimation unit 241. Compared to the third embodiment shown in FIG. 15 , the surface roughness estimation unit 241 is newly added. The visible band diffuse reflectance estimation unit 52, the visible band specular reflectance estimation unit 221, and the surface roughness estimation unit 241 constitute a material parameter estimation unit 231. The surface roughness estimation unit 241 estimates (generates) a surface roughness image based on the supplied feature amounts and supplies the image to the output unit 14.

[0113] The material parameter and shading estimation unit 13D can be realized by a CNN predictor using CNN. In the learning process of the CNN predictor, the parameters of the CNN predictor are learned using training images, which are a non-visible band diffuse reflectance image, a visible band specular reflectance image, a surface roughness image, and a visible band shading image, which are generated using, for example, CG.

[0114] According to the image processing device 1 of the fourth embodiment configured as described above, in addition to the visible band diffuse reflectance image and the visible band shadow image, it is possible to estimate and output a visible band specular reflectance image and a surface roughness image. The visible band specular reflectance and surface roughness are material parameters other than the visible band diffuse reflectance. These material parameters can also be estimated stably and with high accuracy by using the non-visible band diffuse reflectance image as guide information.

[0115] 10. Summary The image processing device 1 described above includes an input unit that receives as input a first wavelength band image of a subject captured under an unknown light source environment including a first wavelength band, a second wavelength band image of a subject captured under a known light source environment including a second wavelength band, and a distance image of the subject, a second wavelength diffuse reflectance estimation unit that estimates a second wavelength diffuse reflectance image that is a diffuse reflectance image of the subject captured under a light source in the second wavelength band from the second wavelength band image and the distance image, and a first wavelength diffuse reflectance and shading estimation unit that estimates a first wavelength diffuse reflectance image and a first wavelength shading image that are a diffuse reflectance image and shading image of the subject captured under a light source including the first wavelength band, based on the second wavelength diffuse reflectance image and the first wavelength band image.

[0116] In the above-described embodiment, light in the RGB wavelength bands ranging from 400 to 700 nm is used as the first wavelength band light to produce a first wavelength band image, and light in the infrared wavelength band ranging from 780 to 1000 nm is used as the second wavelength band light to produce a second wavelength band image to produce a non-visible band image.

[0117] That is, the image processing device 1 of the above-described embodiment comprises: an input unit 11 to which a visible band image obtained by capturing an image of a subject under an unknown light source environment including the visible band, a non-visible band image obtained by capturing an image of the subject under a known light source environment including the non-visible band, and a distance image of the subject are input; non-visible band diffuse reflectance estimation units 12, 12B, 12C that estimate a non-visible band diffuse reflectance image which is a diffuse reflectance image of the subject under a light source in the non-visible band from the non-visible band image and the distance image; and visible band diffuse reflectance and shading estimation units 13, 13B, 13C, 13D that estimate a visible band diffuse reflectance image and a visible band shading image which are a diffuse reflectance image and shading image of the subject under a light source including the visible band, based on the non-visible band diffuse reflectance image and the visible band image.

[0118] By estimating a non-visible band diffuse reflectance image from a non-visible band image and a distance image and using this as guide information when estimating a visible band diffuse reflectance image and a visible band shadow image, it is possible to stably separate an input visible band image into a visible band diffuse reflectance image and a visible band shadow image with high accuracy.By using a light source of infrared light in the non-visible band as a known light source, which is invisible to the human eye, it is possible to reduce discomfort caused by the presence or absence of light emission (flash).

[0119] The present technology is not limited to separating the first wavelength band and the second wavelength band into visible light and non-visible light. For example, the light source environment including the light of the first wavelength band of the first wavelength band image may be a light source environment of visible light and infrared light in the range of 400 to 850 nm, and the light source environment including the light of the second wavelength band of the second wavelength band image may be a light source environment of infrared light around 850 nm. Alternatively, the light source environment including the light of the first wavelength band of the first wavelength band image may be a light source environment of infrared light around 850 nm, and the light source environment including the light of the second wavelength band of the second wavelength band image may be a light source environment of infrared light around 940 nm.

[0120] The image processing system 70 includes a first imaging device that captures an image of a subject under an unknown light source environment including a first wavelength band (e.g., a visible band), a second imaging device that captures an image of the subject under a known light source environment including a second wavelength band (e.g., a non-visible band), and an image processing device 1 that estimates a first-wavelength diffuse reflectance image and a first-wavelength shadow image, which are diffuse reflectance images and shadow images of the subject captured under a light source including the first wavelength band. The first imaging device corresponds to the visible band camera 83 in the above-described embodiment, and the second imaging device corresponds to the non-visible band camera system 81, the non-visible band camera system 81′, or the iToF module 101. When the second imaging device is the non-visible band camera system 81 and generates only second wavelength band images (visible band images), a depth camera 82 that generates a distance image can be provided as a third imaging device. When the second imaging device is an iToF module 101 or a non-visible band camera system 81' and generates a second wavelength band image (non-visible band image) and a distance image, the depth camera 82 as the third imaging device is not required, and a simpler device configuration can be realized.

[0121] In the above-described embodiment, an example has been described in which the visible band image generated by the first imaging device is a color image, but the visible band image may also be a monochrome image.

[0122] 11. Example of Computer Configuration The series of processes performed by the image processing device 1 and the image processing unit 93 (93′) described above can be executed by hardware or software. When the series of processes are executed by software, a program constituting the software is installed in a computer. Here, the computer includes a microcomputer incorporated in dedicated hardware, and, for example, a general-purpose personal computer that can execute various functions by installing various programs.

[0123] FIG. 18 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processes by a program.

[0124] In the computer, a CPU (Central Processing Unit) 301, a ROM (Read Only Memory) 302, and a RAM (Random Access Memory) 303 are interconnected by a bus 304.

[0125] An input / output interface 305 is also connected to the bus 304. An input unit 306, an output unit 307, a storage unit 308, a communication unit 309, and a drive 310 are connected to the input / output interface 305.

[0126] The input unit 306 includes a keyboard, mouse, microphone, touch panel, input terminal, etc. The output unit 307 includes a display, speaker, output terminal, etc. The storage unit 308 includes a hard disk, RAM disk, non-volatile memory, etc. The communication unit 309 includes a network interface, etc. The drive 310 drives a removable recording medium 311 such as a magnetic disk, optical disk, magneto-optical disk, or semiconductor memory.

[0127] In a computer configured as described above, the CPU 301 performs the above-described series of processes by, for example, loading a program stored in the storage unit 308 into the RAM 303 via the input / output interface 305 and the bus 304 and executing the program. The RAM 303 also stores data and the like necessary for the CPU 301 to execute various processes.

[0128] The program executed by the computer (CPU 301) can be provided by being recorded on a removable recording medium 311 such as a package medium, for example. The program can also be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.

[0129] In a computer, the program can be installed in the storage unit 308 via the input / output interface 305 by inserting the removable recording medium 311 into the drive 310. The program can also be received by the communication unit 309 via a wired or wireless transmission medium and installed in the storage unit 308. Alternatively, the program can be installed in the ROM 302 or the storage unit 308 in advance.

[0130] In this specification, the steps described in the flowcharts may be performed in chronological order in the order described, but they do not necessarily have to be processed in chronological order, and may be performed in parallel or at any necessary timing, such as when a call is made.

[0131] The embodiments of the present disclosure are not limited to the above-described embodiments, and various modifications are possible within the scope of the gist of the technology of the present disclosure.

[0132] For example, it is possible to adopt a configuration in which all or part of the above-described embodiments are combined.

[0133] For example, the technology of the present disclosure can be configured as a cloud computing system in which a single function is shared and processed collaboratively by multiple devices via a network.

[0134] Furthermore, each step described in the above flowchart can be executed by one device, or can be shared and executed by a plurality of devices.

[0135] Furthermore, when one step includes multiple processes, the multiple processes included in that one step can be executed by one device or can be shared and executed by multiple devices.

[0136] The effects described in this specification are merely examples and are not limiting, and there may be effects other than those described in this specification.

[0137] The technology disclosed herein may have the following configuration: (1) An image processing device comprising: an input unit that receives as input a first wavelength band image of a subject captured under an unknown light source environment including a first wavelength band, a second wavelength band image of the subject captured under a known light source environment including a second wavelength band, and a distance image of the subject, a second wavelength diffuse reflectance estimation unit that estimates a second wavelength diffuse reflectance image that is a diffuse reflectance image of the subject captured under a light source of the second wavelength band from the second wavelength band image and the distance image, and a first wavelength diffuse reflectance and shading estimation unit that estimates a first wavelength diffuse reflectance image and a first wavelength shading image that are a diffuse reflectance image and shading image of the subject captured under a light source including the first wavelength band, based on the second wavelength diffuse reflectance image and the first wavelength band image. (2) The image processing device described in (1), wherein the first wavelength band is a visible band, and the second wavelength band is a non-visible band. (3) The image processing device according to (2), wherein the non-visible band is a wavelength band of infrared light. (4) The image processing device according to any of (1) to (3), wherein the second-wavelength diffuse reflectance estimating unit comprises: a distance attenuation normalizing unit that generates, from the second wavelength band image and the distance image, a second-wavelength band distance attenuation corrected image that is an image obtained by correcting the effect of distance attenuation on the second wavelength band image; a normal estimating unit that estimates a normal image based on the distance image; and a shading removing unit that removes shading from the second-wavelength band distance attenuation corrected image using the normal image to generate the second-wavelength diffuse reflectance image. (5) The image processing device according to any of (1) to (4), wherein the first-wavelength diffuse reflectance and shading estimating unit comprises: a feature extracting unit that extracts feature amounts from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimating unit that estimates the first-wavelength diffuse reflectance image based on the feature amounts; and a first-wavelength shading estimating unit that estimates the first-wavelength shading image based on the feature amounts. (6) The image processing device according to any one of (1) to (5), wherein the first wavelength diffuse reflectance and shadow estimation unit is configured with a CNN predictor.(7) The image processing device according to any one of (1) to (5), wherein the first-wavelength diffuse reflectance and shading estimation unit is configured to perform calculations based on a condition that a relationship between pixel values ​​of adjacent pixels is similar between the second-wavelength diffuse reflectance image and the first-wavelength diffuse reflectance image. (8) The image processing device according to any one of (1) to (3) and (6), wherein the first-wavelength diffuse reflectance and shading estimation unit estimates the first-wavelength diffuse reflectance image and the first-wavelength shading image based on the second-wavelength diffuse reflectance image, the first wavelength band image, and the distance image. (9) The image processing device according to (8), wherein the first-wavelength diffuse reflectance and shading estimation unit has: a feature extraction unit that extracts feature amounts from the second-wavelength diffuse reflectance image, the distance image, and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength shading image based on the feature amounts; and a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the feature amounts. (10) The image processing device according to any one of (1) to (3) and (6), wherein the second-wavelength diffuse reflectance estimating unit estimates a surface roughness image of the object in addition to the second-wavelength diffuse reflectance image from the second wavelength band image and the distance image. (11) The image processing device according to any one of (1) to (3), (6) and (10), wherein the first-wavelength diffuse reflectance and shading estimating unit estimates a first-wavelength specular reflectance image that is a specular reflectance image of the object under a light source including the first wavelength band in addition to the first-wavelength diffuse reflectance image and the first-wavelength shading image, based on the second-wavelength diffuse reflectance image and the first wavelength band image. (12) The image processing device according to (11), wherein the first-wavelength diffuse reflectance and shading estimation unit includes: a feature extraction unit that extracts feature amounts from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the feature amounts; a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the feature amounts; and a first-wavelength specular reflectance estimation unit that estimates the first-wavelength specular reflectance image based on the feature amounts.(13) The image processing device according to any one of (1) to (3) and (6), wherein the first-wavelength diffuse reflectance and shading estimation unit estimates, based on the second-wavelength diffuse reflectance image and the first wavelength band image, a surface roughness image of the subject and a first-wavelength specular reflectance image that is a specular reflectance image of the subject under a light source that includes the first wavelength band, in addition to the first-wavelength diffuse reflectance image and the first-wavelength shading image. (14) The image processing device according to (13), wherein the first-wavelength diffuse reflectance and shading estimation unit includes: a feature extraction unit that extracts feature amounts from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the feature amounts; a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the feature amounts; a first-wavelength specular reflectance estimation unit that estimates the first-wavelength specular reflectance image based on the feature amounts; and a first-wavelength surface roughness image estimation unit that estimates the surface roughness image based on the feature amounts. (15) An image processing system comprising: a first imaging device that images a subject under an unknown light source environment including a first wavelength band; a second imaging device that images the subject under a known light source environment including a second wavelength band; and an image processing device that estimates a first-wavelength diffuse reflectance image and a first-wavelength shadow image, which are diffuse reflectance images and shadow images of the subject under a light source including the first wavelength band, using a first wavelength band image of the subject imaged by the first imaging device, a second wavelength band image of the subject imaged by the second imaging device, and a distance image of the subject. (16) The image processing system described in (15), in which the first imaging device generates the first wavelength band image and a front distance image and outputs them to the image processing device. (17) The image processing system described in (15), in which the second imaging device generates the second wavelength band image and a front distance image and output them to the image processing device. (18) The image processing system according to (17), wherein the second imaging device is a distance measuring module that generates the second wavelength band image and the distance image by an indirect ToF method. (19) The image processing system according to (15), further comprising a third imaging device that generates the distance image and outputs it to the image processing device.

[0138] REFERENCE SIGNS LIST 1 Image processing device, 11 Input unit, 12, 12B Non-visible band diffuse reflectance estimation unit, 12C Non-visible band diffuse reflectance and surface roughness estimation unit, 13, 13B Visible band diffuse reflectance and shading estimation unit, 13C, 13D Material parameter and shading estimation unit, 14 Output unit, 31 Distance attenuation normalization unit, 32 Normal estimation unit, 33 Non-visible band shading removal unit, 51, 51B Feature extraction unit, 52 Visible band diffuse reflectance estimation unit, 53 Visible band shading estimation unit, 70 Image processing system, 81, 81' Non-visible band camera system, 82 Depth camera, 83 Visible band camera, 84 Control device, 91 Non-visible band light source, 92, 92' Non-visible band camera, 93, 93' Image processing unit, 101 iToF module, 111 Non-visible band light source, 112 iToF sensor, 201 feature extraction unit, 202 surface roughness estimation unit, 221 visible band specular reflectance estimation unit, 231 material parameter estimation unit, 241 surface roughness estimation unit, 301 CPU, 302 ROM, 303 RAM, 306 input unit, 307 output unit, 308 storage unit, 309 communication unit, 310 drive

Claims

1. An image processing device comprising: an input unit for inputting a first wavelength band image of a subject captured in an unknown light source environment including a first wavelength band, a second wavelength band image of the subject captured in a known light source environment including a second wavelength band, and a distance image of the subject; a second wavelength diffuse reflectance estimation unit for estimating a second wavelength diffuse reflectance image which is a diffuse reflectance image of the subject captured by a light source of the second wavelength band from the second wavelength band image and the distance image; and a first wavelength diffuse reflectance and shadow estimation unit for estimating a first wavelength diffuse reflectance image and a first wavelength shadow image which are a diffuse reflectance image and a shadow image of the subject captured by a light source including the first wavelength band, based on the second wavelength diffuse reflectance image and the first wavelength band image.

2. The image processing device according to claim 1, wherein the first wavelength band is a visible band, and the second wavelength band is a non-visible band.

3. The image processing device according to claim 2, wherein the non-visible band is an infrared light wavelength band.

4. The image processing device according to claim 1, wherein the second wavelength diffuse reflectance estimation unit comprises: a distance attenuation normalization unit that generates a second wavelength band distance attenuation corrected image, which is an image obtained by correcting the effect of distance attenuation on the second wavelength band image, from the second wavelength band image and the distance image; a normal estimation unit that estimates a normal image based on the distance image; and a shading removal unit that uses the normal image to remove shading from the second wavelength band distance attenuation corrected image and generate the second wavelength diffuse reflectance image.

5. The image processing device according to claim 1, wherein the first-wavelength diffuse reflectance and shading estimation unit has: a feature extraction unit that extracts features from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the features; and a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the features.

6. The image processing device according to claim 1, wherein the first wavelength diffuse reflectance and shadow estimation unit is configured as a CNN predictor.

7. The image processing device according to claim 1, wherein the first-wavelength diffuse reflectance and shadow estimation unit is configured to calculate based on the condition that the relationship between pixel values ​​of adjacent pixels is close in the second-wavelength diffuse reflectance image and the first-wavelength diffuse reflectance image.

8. The image processing device according to claim 1, wherein the first-wavelength diffuse reflectance and shading estimation unit estimates the first-wavelength diffuse reflectance image and the first-wavelength shading image based on the second-wavelength diffuse reflectance image, the first wavelength band image, and the distance image.

9. The image processing device according to claim 8, wherein the first-wavelength diffuse reflectance and shading estimation unit has: a feature extraction unit that extracts features from the second-wavelength diffuse reflectance image, the distance image, and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the features; and a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the features.

10. The image processing device according to claim 1, wherein the second-wavelength diffuse reflectance estimation unit estimates a surface roughness image of the subject in addition to the second-wavelength diffuse reflectance image from the second wavelength band image and the distance image.

11. The image processing device described in claim 1, wherein the first-wavelength diffuse reflectance and shadow estimation unit estimates a first-wavelength specular reflectance image, which is a specular reflectance image of the subject caused by a light source including the first wavelength band, in addition to the first-wavelength diffuse reflectance image and the first-wavelength shadow image, based on the second-wavelength diffuse reflectance image and the first wavelength band image.

12. The image processing device according to claim 11, wherein the first-wavelength diffuse reflectance and shading estimation unit comprises: a feature extraction unit that extracts features from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the features; a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the features; and a first-wavelength specular reflectance estimation unit that estimates the first-wavelength specular reflectance image based on the features.

13. The image processing device described in claim 1, wherein the first-wavelength diffuse reflectance and shadow estimation unit estimates, based on the second-wavelength diffuse reflectance image and the first wavelength band image, in addition to the first-wavelength diffuse reflectance image and the first-wavelength shadow image, a surface roughness image of the subject and a first-wavelength specular reflectance image which is a specular reflectance image of the subject caused by a light source including the first wavelength band.

14. The image processing device of claim 13, wherein the first-wavelength diffuse reflectance and shading estimation unit comprises: a feature extraction unit that extracts features from the second-wavelength diffuse reflectance image and the first wavelength band image; a first-wavelength diffuse reflectance estimation unit that estimates the first-wavelength diffuse reflectance image based on the features; a first-wavelength shading estimation unit that estimates the first-wavelength shading image based on the features; a first-wavelength specular reflectance estimation unit that estimates the first-wavelength specular reflectance image based on the features; and a first-wavelength surface roughness image estimation unit that estimates the surface roughness image based on the features.

15. An image processing system comprising: a first imaging device that images a subject under an unknown light source environment including a first wavelength band; a second imaging device that images the subject under a known light source environment including a second wavelength band; and an image processing device that estimates a first-wavelength diffuse reflectance image and a first-wavelength shadow image, which are diffuse reflectance images and shadow images of the subject caused by a light source including the first wavelength band, using a first wavelength band image of the subject imaged by the first imaging device, a second wavelength band image of the subject imaged by the second imaging device, and a distance image of the subject.

16. The image processing system according to claim 15, wherein the first imaging device generates the first wavelength band image and a front distance image and outputs them to the image processing device.

17. The image processing system according to claim 15, wherein the second imaging device generates the second wavelength band image and a front distance image and outputs them to the image processing device.

18. The image processing system according to claim 17, wherein the second imaging device is a distance measuring module that generates the second wavelength band image and the distance image by an indirect ToF method.

19. The image processing system according to claim 15, further comprising a third imaging device that generates the distance image and outputs it to the image processing device.

Citation Information

Patent Citations

  • Imaging apparatus, imaging method, program, recording medium, and integrated circuit

    JP2009267436A

  • Texture acquisition system, texture acquisition apparatus, and texture acquisition program

    JP2022060641A

  • Image processing device and image processing method

    JP2023005997A

  • Image processing method, image processing apparatus, and spectroscopic camera

    JP2023019929A