Control device, control method, and program

By synchronizing multiple light sources and imaging devices, the method efficiently derives reflection characteristics of an object, reducing imaging time without compromising data quality.

JP7551387B2Active Publication Date: 2024-09-17CANON KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2020131687
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-03
Publication Date
2024-09-17
Estimated Expiration
2040-08-03

AI Technical Summary

Technical Problem

Existing methods for acquiring reflection characteristics of an object, such as BRDF and SVBRDF, require extensive imaging for each light incident direction, leading to prolonged imaging times.

Method used

A control device with multiple light sources is used to simultaneously illuminate an object, and imaging is performed synchronously, allowing the derivation of reflection characteristics based on specified incident angles, thereby reducing imaging time.

Benefits of technology

This approach significantly shortens the time required for imaging while maintaining the accuracy of reflection characteristic data acquisition.

✦ Generated by Eureka AI based on patent content.
Patent Text Reader

Abstract

To provide processing for reducing time required for imaging to acquire reflection characteristics of an object.SOLUTION: A control unit controls illumination means having a plurality of light sources and imaging means, and has: control means that simultaneously turns on some of the plurality of light sources and controls the illumination means and the imaging means to pick up an image of an object irradiated with light generated through the simultaneous turn-on of the light sources; specification means that specifies one angle of incident from among angles of incident of the rays of light incident on the object from the light sources that have been simultaneously turned on; and derivation means that derives reflection characteristics of the object on the basis of, image data obtained by picking up the image of the object and the specified one angle of incident.SELECTED DRAWING: Figure 7
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a technique for acquiring the reflection characteristics of an object. [Background technology]

[0002] In recent years, measurement data of BRDF (Bidirectional Reflectance Distribution Function), which represents reflectance characteristics that change depending on the lighting direction and the observation direction, has been used to evaluate the texture of the material of an object. Furthermore, measurement data of SVBRDF (Spatially Varying Bidirectional Reflectance Distribution Function), which represents a two-dimensional distribution of reflectance characteristics, has also been used. Patent Document 1 discloses a technology in which illumination light is applied to an object from multiple directions, the object is photographed by a camera from multiple directions, and reflectance characteristic data of the object is created based on the multiple images obtained. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2007-219715 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the technique disclosed in Patent Document 1 has a problem in that imaging takes a long time because imaging is performed for each direction of light incidence.

[0005] The present invention has been made in consideration of the above-mentioned problems, and has an object to provide a process for shortening the time required for imaging to obtain the reflection characteristics of an object. [Means for solving the problem]

[0006] In order to solve the above problems, the control device according to the present invention includes a lighting means having a plurality of light sources. and an imaging means. A control device for controlling A part of the plurality of light sources is turned on simultaneously, and an image of an object illuminated by the light from the light sources is captured. The illumination means and the imaging means. A control means for controlling the a determining unit that determines, among angles of incidence of light incident on the object from each of the simultaneously turned on light sources, one angle of incidence that is close to an angle of incidence corresponding to the specularly reflected light received by the imaging unit; Based on image data obtained by imaging the object, The specified incident angle is used as a parameter of the reflection model. A derivation means for deriving a reflection characteristic of the object; Having It is characterized by: Effect of the Invention

[0007] According to the present invention, it is possible to reduce the time required for imaging to obtain the reflection characteristics of an object. [Brief description of the drawings]

[0008] [Figure 1] FIG. 1 is a schematic diagram for explaining a configuration of a reflection characteristic acquisition system; [Diagram 2] Block diagram showing the hardware configuration of the control device [Diagram 3] Block diagram showing the functional configuration of the control device [Figure 4] Flowchart showing the process of the measurement application [Diagram 5] Flowchart showing a process for calculating lighting conditions [Figure 6] FIG. 1 is a schematic diagram for explaining an example of a calculated illumination condition; [Figure 7] FIG. 1 is a schematic diagram for explaining an example of a lighting sequence of light sources; [Figure 8] Flowchart showing a process for acquiring captured image data [Figure 9] 1 is a flowchart showing a process for deriving the reflectance characteristics of a target object. [Figure 10] A schematic diagram to explain the reflection characteristics of a single point on a target object [Figure 11] Flowchart showing a process for calculating lighting conditions DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] Hereinafter, the present embodiment will be described with reference to the drawings. Note that the following embodiment does not necessarily limit the present invention. Furthermore, not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention.

[0010] [First embodiment] <Configuration of the reflection characteristic acquisition system> In this embodiment, a plurality of light sources are turned on simultaneously to irradiate an object with light, and the reflection characteristics of the object are derived based on an image obtained by capturing an image of the object. Fig. 1 is a schematic diagram for explaining the configuration of a reflection characteristic acquisition system in this embodiment. Fig. 1(a) is a schematic diagram showing the entire reflection characteristic acquisition system, and Fig. 1(b) is a schematic diagram showing an illumination device 106 included in the reflection characteristic acquisition system.

[0011] The object 101 is an object to be measured. The fixing jig 102 is a fixing jig for fixing the object 101. The imaging device 103 is an imaging device for imaging the object 101. As the imaging device 103, for example, a monochrome camera having an area sensor of 4096×3000 pixels and capable of obtaining a linear signal value as a 16-bit pixel value with respect to the luminance on the object 101 can be used. Note that the imaging device 103 has a trigger imaging function for performing imaging in response to an input trigger signal. By performing imaging by synchronizing the illumination device 106 and the imaging device 103 described later, the time required for imaging can be further shortened.

[0012] The lens 104 is a lens attached to the imaging device 103 for use. A telecentric lens is used for the lens 104 in order to make the optical system on the imaging device 103 side in the reflection characteristic acquisition system a telecentric optical system. The telecentric optical system is an optical system having a telecentric structure in which the optical axis of the lens and the principal ray are parallel on the light incident side. By making the optical system on the imaging device 103 side a telecentric optical system, only light reflected from the object 101 that is parallel to the optical axis of the lens 104, as indicated by an arrow 105, can be received by the imaging device 103. Since the object 101 is tilted with respect to the optical axis of the lens 104, a telecentric lens with a tilt mechanism may be used for the lens 104.

[0013] The lighting device 106 is a lighting device for irradiating the object 101 with light from a plurality of directions. The light source 107 is a light source arranged on the surface of the lighting device 106. In this embodiment, 18×18 light sources 107 are arranged on a two-dimensional plane. The smaller the interval at which the light sources 107 are arranged, the higher the angular resolution of the reflection characteristic can be obtained. In addition, the larger the range at which the light sources 107 are arranged, the wider the angular range of the reflection characteristic can be obtained. For example, an LED (Light Emitting Diode) can be used as the light source 107. An LED generally has a directional characteristic in which the luminance differs depending on the direction, as shown by the arrow 108. In this embodiment, an LED having a directional characteristic with a half-value angle of 60° is used. In addition, the position of each light source 107 is defined by a position a in the row direction and a position b in the column direction. The positions a and b take integer values ​​from 1 to 18. For example, the position of the light source 107 at the upper left is (a,b)=(1,1), and the position of the light source 107 at the lower right is (a,b)=(18,18).

[0014] Next, the positions and orientations of the object 101, the imaging device 103, and the lighting device 106 will be described. The axis 109 is an axis perpendicular to the object 101 and passing through the center of the object 101. The optical axis 110 is the optical axis of the imaging device 103. The axis 111 is an axis perpendicular to the lighting device 106 and passing through the center of the lighting device 106. The axis 109, the optical axis 110, and the axis 111 are on the same plane, and the positions and orientations of the imaging device 103 and the lighting device 106 are set so that the angle 112 between the axis 109 and the optical axis 110 and the angle 113 between the axis 109 and the axis 111 are equal. In this embodiment, the angles 112 and 113 are both set to 45°, but they may be 30° or 60° as long as they are the same angle.

[0015] The control device 114 is a device that controls the imaging device 103 and the lighting device 106 and performs a series of processes for acquiring a captured image of the object 101. FIG. 2 is a block diagram showing a hardware configuration of the control device 114. The control device 114 includes a CPU 201, a ROM 202, and a RAM 203. The control device 114 also includes a VC (video card) 204, a general-purpose I / F (interface) 205, a SATA (serial ATA) I / F 206, and a NIC (network interface card) 207. The CPU 201 executes an OS (operating system) and various programs stored in the ROM 202, a HDD (hard disk drive) 212, etc., using the RAM 203 as a work memory. The CPU 201 also controls each component via a system bus 208. Note that, in the process according to the flowchart described later, program codes stored in the ROM 202, the HDD 212, etc. are expanded in the RAM 203 and executed by the CPU 201. A display 214 is connected to the VC 204. To the general-purpose I / F 205, an input device 210 such as a mouse or a keyboard, the imaging device 103, and the lighting device 106 are connected via a serial bus 209. To the SATA I / F 206, an HDD 212 and a general-purpose drive 213 that reads and writes from and to various recording media are connected via a serial bus 211. The NIC 207 inputs and outputs information to and from external devices. The CPU 201 uses the HDD 212 and various recording media mounted on the general-purpose drive 213 as storage locations for various data. The CPU 201 displays a GUI (Graphical User Interface) provided by a program on a display 214, and receives inputs such as user instructions accepted via the input device 210.

[0016] <Control device functional configuration> FIG. 3 is a block diagram showing the functional configuration of the control device 114. The imaging driver 301 is a group of instructions for controlling the imaging device 103. The lighting driver 302 is a group of instructions for controlling the lighting device 106, and includes an instruction for turning on or off a plurality of light sources individually. The input driver 303 is a group of instructions for controlling the input device 210, and the display driver 304 is a group of instructions for controlling the display 214. The lighting condition calculation unit 305 is a group of instructions for calculating lighting conditions used in the image acquisition control unit 306. The image acquisition control unit 306 is a group of instructions for sending instructions to the imaging driver 301 and the lighting driver 302 and performing a series of processes for acquiring captured image data. The reflection characteristic derivation unit 307 is a group of instructions for deriving reflection characteristic information of a target object based on the captured image data acquired by the image acquisition control unit 306. The display management unit 308 is a group of instructions for managing information input by a user via the input device 210, displaying measurement results on the display 214, and the like. The measurement application 309 is a set of commands for linking the sets of commands 301 to 308 together to function as one measurement application.

[0017] <Measurement application processing> Fig. 4 is a flowchart showing the processing of the measurement application 309. The processing shown in the flowchart of Fig. 4 starts when a user inputs an instruction via the input device 210 and the CPU 201 accepts the input instruction. Hereinafter, each step (process) will be represented by adding an S before the reference symbol.

[0018] In S401, the illumination condition calculation unit 305 calculates the illumination conditions when irradiating the target object with light. The details of the process of calculating the illumination conditions will be described later. In S402, the image acquisition control unit 306 controls the irradiation of light by the illumination device 106 and the imaging by the imaging device 103 based on the calculated illumination conditions, and acquires captured image data. The details of the process of acquiring the captured image data will be described later. In S403, the reflection characteristic derivation unit 307 derives the reflection characteristics of the target object by processing the captured image data acquired in S402. The details of the process of deriving the reflection characteristics of the target object will be described later. In S404, the display management unit 308 displays on the display 214 corresponding to the derived reflection characteristics of the target object, and ends the process.

[0019] <Process for calculating lighting conditions> Fig. 5 is a flowchart showing a process of calculating the illumination conditions. Fig. 6 is a schematic diagram for explaining an example of the calculated illumination conditions. Fig. 7 is a schematic diagram for explaining an example of the lighting sequence of the light sources. Hereinafter, the process of calculating the illumination conditions will be described in detail with reference to Figs. 5 to 7. Note that the description will be given assuming that the illumination device 106 has 18 light sources in the horizontal direction and 18 light sources in the vertical direction.

[0020] In S501, the lighting condition calculation unit 305 sets the number of simultaneous lights in the horizontal direction based on an instruction from the user. In this embodiment, the lighting condition calculation unit 305 sets the number of simultaneous lights in the horizontal direction to 3. In S502, the lighting condition calculation unit 305 sets the number of simultaneous lights in the vertical direction based on an instruction from the user. In this embodiment, the lighting condition calculation unit 305 sets the number of simultaneous lights in the vertical direction to 2. In S503, the lighting condition calculation unit 305 determines lighting groups by dividing a surface on which multiple light sources are arranged into multiple regions based on the set number of simultaneous lights in the horizontal direction and the set number of simultaneous lights in the vertical direction. In this embodiment, the lighting condition calculation unit 305 divides the surface horizontally into three and the surface vertically into two. As a result, six lighting groups are created, each having six light sources in the horizontal direction and nine light sources in the vertical direction, as shown in the region 701 in FIG. 7. In S504, the lighting condition calculation unit 305 determines the lighting order of the light sources. The lighting order is the order shown by the arrow 702 in FIG. 7. That is, the lighting device 106 turns on the light sources for each lighting group in sequence in the order of the arrow 702 starting from the upper left light source. In S505, the lighting condition calculation unit 305 outputs the lighting conditions in the data format shown in FIG. 6. The lighting conditions include the imaging order and the positions of the light sources to be turned on for each lighting group. By calculating the lighting conditions in this way, it is possible to space the light sources that are turned on simultaneously. Even when multiple light sources are turned on simultaneously, by spaced apart the light sources that are turned on simultaneously, it is possible to receive light in an amount similar to that when one light source is turned on for each incident direction.

[0021] <Process for acquiring captured image data> Fig. 8 is a flowchart showing a process for acquiring captured image data. Details of the process for acquiring captured image data will be described below with reference to Fig. 8. It is assumed that the target object is fixed to a fixing jig 102.

[0022] In S801, the image acquisition control unit 306 sets the conditions for capturing an image. The conditions set here are the shutter speed, ISO sensitivity, etc. of the image capturing device 103. In addition, the illumination conditions derived in S401 are set as the illumination conditions of the illumination device 106. The shutter speed, ISO sensitivity, etc. are set based on information obtained via a UI provided by the display management unit 308. S802 is a step for starting a loop process of S803 to S805. The processes of S803 to S805 are performed each time the light sources are simultaneously turned on. In S803, the image acquisition control unit 306 causes the illumination device 106 to simultaneously turn on a plurality of light sources designated based on the illumination conditions. In S804, the image acquisition control unit 306 sends a synchronization signal to the image capturing device 103 for capturing an image in synchronization with the simultaneous turning on of the light sources, and the image capturing device 103 uses the synchronization signal as a trigger to capture an image according to the image capturing conditions. In S805, the image acquisition control unit 306 causes the illumination device 106 to turn off a plurality of light sources designated based on the illumination conditions. Next, the image acquisition control unit 306 changes the positions of the light sources that are turned on simultaneously, returns to S803, and performs the processes of S803 to S805. When all the light sources have been turned on and images captured in the processes of S803 to S805, the image acquisition control unit 306 proceeds to S806 and ends the loop process of S803 to S805.

[0023] In this manner, the image acquisition control unit 306 in this embodiment captures images each time the position of the simultaneously lit light sources is changed, and captures captured image data of the target object for each simultaneously lit light source position. Since the number of simultaneously lit light sources in this embodiment is six, a total of 54 images are captured. If images were captured without simultaneous lighting, 324 images would be required. In this embodiment, the imaging time can be shortened by capturing images with multiple light sources simultaneously lit.

[0024] <Processing to derive the reflection characteristics of a target object> 9 is a flowchart showing a process for deriving the reflectance characteristics of a target object. The process for deriving the reflectance characteristics of a target object will be described in detail below with reference to FIG.

[0025] In S901, the reflection characteristic derivation unit 307 calculates pixel values ​​OBJ in the captured image of the target object for each simultaneous lighting of the light source. i,u,v and the pixel value REF in the captured image of the white board for each simultaneous lighting of the light source i,u,v The reflection characteristic deriving unit 307 reads in the reflectance R i,u,v Calculate. R i,u,v =OBJ i,u,v / REF i,u,v (1) Here, i is a label for identifying a captured image. In this embodiment, the label i takes an integer value from 1 to 54. Furthermore, u is an index indicating a pixel position in the horizontal direction of the captured image, and v is an index indicating a pixel position in the vertical direction of the captured image. In this embodiment, the index u takes an integer value from 1 to 4096, and the index v takes an integer value from 1 to 3000.

[0026] In S902, the reflection characteristic derivation unit 307 calculates the reflection angle (θ R(i,u,v) ,φ R(i,u,v) ) is calculated, where θ R(i,u,v) is the zenith angle of reflection, and φ R(i,u,v) is the azimuth angle of the reflection angle. Since imaging is performed using a telecentric lens, the zenith angle and azimuth angle of the reflection angle are constant values ​​regardless of the captured image (i) or pixel position (u, v). In this embodiment, imaging is performed by setting angle 112 to 45°, so the zenith angle and azimuth angle of the reflection angle are the values ​​shown by equations (2) and (3). θ R(i,u,v) =45 (2) φ R(i,u,v) =0 (3) In S903, the reflection characteristic derivation unit 307 calculates the incident angle (θ I(i,j,u,v) ,φ I(i,j,u,v) ) is calculated, where θ I(i,j,u,v) is the zenith angle of incidence, and φ I(i,j,u,v)is the azimuth angle of the incident angle. In this embodiment, since multiple light sources are simultaneously lit to capture an image, the incident angle is calculated for each light source that is simultaneously lit, and j is a label for identifying the light source. For example, if the number of light sources simultaneously lit is 2, j will be 1 or 2. The incident angle is calculated using position information (x u,v ,y u,v ,z u,v ) and the position information in real space of each light source corresponding to each captured image (x L(i,j) ,y L(i,j) ,z L(i,j) The incidence angle is calculated according to equation (4), equation (5), equation (6), equation (7), and equation (8). L i,j,u,v,1 =x L(i,j) -x u,v (4) L i,j,u,v,2 =y L(i,j) -y u,v (5) L i,j,u,v,3 =Z L(i,j) -z u,v (6)

[0027]

number

[0028] In addition, location information (x u,v ,y u,v ,z u,v ), and location information (x L(u,v) ,y L(u,v) ,z L(u,v) ) and use predetermined values.

[0029] In S904, the reflection characteristic derivation unit 307 calculates the incidence angle (θ' I(i,u,v) ,φ' I(i,u,v) Here, the specular reflection direction is the direction in which the image capture device 103 receives specularly reflected light reflected from the target object. I(i,u,v) is the zenith angle of incidence used in S905, and φ' I(i,u,v)is the azimuth angle of the incident angle used in S905. Specifically, by using the formula (9), the reflection angle calculated in S902 is regarded as the incident angle corresponding to the regular reflection direction, and the difference Δ between the incident angle calculated in S903 and the incident angle corresponding to the regular reflection direction is calculated. i,j,u,v Furthermore, the difference Δ i,j,u,v The angle of incidence j for which is smallest is identified, and the angle of incidence corresponding to the identified angle of incidence j is set as the angle of incidence used in S905.

[0030]

number

[0031] Here, the reason for specifying the incidence angle close to the incidence angle corresponding to the specular reflection direction will be described. FIG. 10 is a schematic diagram for explaining the reflection characteristics of a certain point on a target object. In the graph in FIG. 10, the horizontal axis indicates the incidence angle, and the vertical axis indicates the reflectance. The incidence angle 1001 is the incidence angle corresponding to the specular reflection direction. The measured value 1002 is a value obtained at an incidence angle closer to the incidence angle corresponding to the specular reflection direction than the measured value 1003. The reflection model 1004 is a reflection model approximated to the measured value. As shown in FIG. 10, in the reflection characteristics of a general object, the reflectance peaks at the incidence angle corresponding to the specular reflection direction, and the reflectance changes significantly in the vicinity of that incidence angle. The measured value 902 obtained at an incidence angle closer to the incidence angle corresponding to the specular reflection direction has a higher reflectance than the measured value 903.

[0032] For example, if the reflectances corresponding to two light sources that are turned on simultaneously are measured values ​​902 and 903, the reflectance measured at a certain pixel will be the sum of measured values ​​902 and 903. In other words, a measured value affected by light from multiple light sources will be obtained at one pixel. Therefore, in this embodiment, by ignoring the influence of measured value 903, which has a small reflectance, it is possible to derive the reflection characteristics based on information similar to that obtained when one light source is turned on, even when imaging is performed with multiple light sources turned on simultaneously.

[0033] In S905, the reflection characteristic derivation unit 307 calculates the reflectance information R i,u,v and the reflection angle (θ R(i,u,v) ,φ R(i,u,v) ), the incident angle determined in S904, and the position information (x u,v ,y u,v ,z u,v ) is read. Furthermore, the reflection characteristic derivation unit 307 uses the read information and the reflection model to derive a two-dimensional distribution of the parameters of the reflection model as the reflection characteristic of the target object. Here, as the reflection model, a known reflection model such as the Torrance Sparrow model can be used.

[0034] <Advantages of the First Embodiment> As described above, the control device in this embodiment is a control device that controls an illumination device having a plurality of light sources and an imaging device. The control device controls the illumination device and the imaging device so as to simultaneously turn on some of the plurality of light sources and capture an image of an object illuminated with light by the simultaneous lighting. The control device also specifies one of the angles of incidence of light incident on the object from each of the simultaneously turned on light sources, and derives the reflection characteristics of the object based on the image data obtained by capturing an image of the object and the specified one angle of incidence. This makes it possible to reduce the time required for imaging to obtain the reflection characteristics of the object. Also, information close to that obtained when one light source is turned on for each direction of light incidence can be obtained, and the reflection characteristics can be derived based on the obtained information.

[0035] <Modification> In S401, instead of the illumination condition calculation unit 305 calculating the illumination conditions, the image acquisition control unit 306 may acquire information on the illumination conditions stored in advance in the HDD 212 or the like, and control the irradiation of light and imaging.

[0036] In S404, the display manager 308 may not perform display corresponding to the reflection characteristics of the target object, but the reflection characteristic derivation unit 307 may directly record the derived parameters in the HDD 212 or the like.

[0037] In S402, in order to reduce uneven illuminance on the target object, the image acquisition control unit 306 may capture an image of a white diffuse reflector in the same manner as the target object, and perform uneven illuminance correction.

[0038] In S905, the reflection characteristic derivation unit 307 may derive the reflection characteristic of the target object using a reflection model that takes into account the influence of multiple light sources. For example, the reflection characteristic derivation unit 307 can derive the reflection characteristic R of the target object using the following formulas (10) and (11). Here, R surf is a well-known surface reflection model such as the Cook-Torrance model, and R diffuse is a known diffuse reflection model such as the Lambertian model, and N is the number of light sources that are turned on simultaneously. R=R surf +R diffuse +R other (10) R other =(N-1)*R diffuse (11) [Second embodiment] In the first embodiment, the reflection characteristics of the target object are derived based on the captured image obtained by simultaneously turning on the light sources. However, when the target object has low gloss clarity, if the number of light sources that are simultaneously turned on increases, the influence of the reflectance corresponding to the reflection angle far from the regular reflection direction cannot be ignored. In other words, the number of light sources that can be set to be simultaneously turned on differs depending on the gloss clarity of the target object. Therefore, in this embodiment, a pre-imaging of the target object is performed, and the gloss clarity of the target object is estimated based on the image obtained by the pre-imaging. In addition, the optimal illumination condition is calculated according to the estimated gloss clarity of the target object. Note that the hardware configuration and functional configuration of the control device in this embodiment are the same as those in the first embodiment, so the description will be omitted. In the following, the parts that are different between this embodiment and the first embodiment will be mainly described. Note that the same configuration as in the first embodiment will be described with the same reference numerals.

[0039] <Process for calculating lighting conditions> Fig. 11 is a flowchart showing the process of calculating the illumination condition. The process of calculating the illumination condition will be described in detail below with reference to Fig. 11. In S1101, the image acquisition control unit 306 turns on one light source of the illumination device 106, and captures an image of the target object and the white diffuse reflector using the imaging device 103. The light source to be turned on may be a light source at a predetermined position, or may be a light source at a position determined based on a user instruction.

[0040] In S1102, the illumination condition calculation unit 305 assumes that the gloss clarity of the target object is uniform regardless of position, and estimates the gloss clarity of the target object based on the captured images of the target object and the white board. u,v and the pixel value REF in the captured image of the white board u,v and the reflectance R u,v Calculate. R u,v =OBJ u,v / REF u,v (12) Here, u is an index indicating the pixel position in the horizontal direction of the captured image, and v is an index indicating the pixel position in the vertical direction of the image.

[0041] Next, the illumination condition calculation unit 305 calculates the reflection angle (θ R(u,v) ,φ R(u,v) ) is calculated, where θ R(u,v) is the zenith angle of reflection, and φ R(u,v) is the azimuth angle of the reflection angle. Since imaging is performed using a telecentric lens and angle 112 is set to 45°, the zenith angle and azimuth angle of the reflection angle are the values ​​shown by equations (13) and (14). θ R(u,v) =45 (13) φ R(u,v) =0 (14) Next, the illumination condition calculation unit 305 calculates the incident angle (θ I(u,v) ,φ I(u,v) ) is calculated, where θ I(u,v) is the zenith angle of incidence, and φ I(u,v)is the azimuth angle of the incident angle. The incident angle is calculated by the position information (x u,v ,y u,v ,z u,v ) and the position information in real space of each light source corresponding to each captured image (x L ,y L ,z L The incidence angle is calculated according to equation (15), equation (16), equation (17), equation (18), and equation (19). L u,v,1 =x L -x u,v (15) L u,v,2 =y L -y u,v (16) L u,v,3 =Z L -z u,v (17)

[0042]

number

[0043] Next, the illumination condition calculation unit 305 calculates the reflectance R u,v and the reflection angle (θ R(u,v) ,φ R(u,v) ) and the angle of incidence (θ I(u,v) ,φ I(u,v) ), and location information (x u,v ,y u,v ,z u,v ) is read. Furthermore, the illumination condition calculation unit 305 estimates the gloss clarity of the target object using the read information and the reflection model, and outputs a parameter representing the gloss clarity. Here, a known reflection model such as a Gaussian function model can be used as the reflection model. In this case, for example, the difference between the incidence angle at which the reflectance value is maximized and the incidence angle at which the reflectance value is half the maximum value is calculated as a value representing the gloss clarity.

[0044] In S1103, the illumination condition calculation unit 305 calculates the optimal illumination condition according to the estimated gloss clarity of the target object. First, the illumination condition calculation unit 305 calculates the number of simultaneous lights in the horizontal direction based on the gloss clarity of the target object. Specifically, the illumination condition calculation unit 305 calculates the number of simultaneous lights in the horizontal direction based on position information in real space corresponding to the center of the captured image, position information in real space of each light source corresponding to each captured image, and a value representing gloss clarity. Here, the illumination condition calculation unit 305 calculates the number of simultaneous lights in the horizontal direction so that light is incident from an incident angle that is different from the incident angle corresponding to the specular reflection direction so that the reflectance is sufficiently attenuated. For example, the illumination condition calculation unit 305 calculates the number of simultaneous lights in the horizontal direction assuming that the reflectance is sufficiently attenuated at about three times the value representing the gloss clarity. Next, the illumination condition calculation unit 305 calculates the number of simultaneous lights in the vertical direction based on the value representing the gloss clarity, similar to the horizontal direction. Next, the lighting condition calculation unit 305 determines the lighting groups and the lighting order based on the calculated simultaneous lighting numbers in the horizontal direction and the vertical direction, and outputs the calculated lighting conditions.

[0045] <Effects of the second embodiment> As described above, the control device in this embodiment estimates the gloss clarity of the target object based on the image obtained by pre-capture and calculates the illumination conditions based on the estimated gloss clarity. This makes it possible to simultaneously turn on the light sources at intervals appropriate for the target object and to derive the reflection characteristics of the target object with high accuracy.

[0046] [Other embodiments] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions. [Explanation of symbols]

[0047] 114 Control device 306 Image acquisition control unit 307 Reflection characteristic derivation part

Claims

1. A control device for controlling an illumination means having a plurality of light sources and an imaging means, a control means for controlling the illumination means and the imaging means so as to simultaneously light up some of the plurality of light sources and to image an object illuminated with light by the simultaneous lighting; a specifying means for specifying, among angles of incidence of light incident on the object from each of the simultaneously turned on light sources, one angle of incidence close to an angle of incidence corresponding to the specularly reflected light received by the imaging means; a derivation means for deriving a reflection characteristic of the object by using the identified one incident angle as a parameter of a reflection model based on image data obtained by capturing an image of the object; A control device comprising:

2. 2. The control device according to claim 1, wherein the control means controls the imaging means having a telecentric optical system to image the object.

3. A setting unit for setting a lighting condition for the simultaneous lighting is further provided, 3. The control device according to claim 1, wherein the control means controls the lighting means based on the set lighting conditions.

4. 4. The control device according to claim 3, wherein the setting means sets the number of light sources to be turned on simultaneously as the illumination condition.

5. 5. The control device according to claim 4, wherein the setting means divides the plurality of light sources into a plurality of groups based on the number of light sources that are turned on simultaneously.

6. The control device according to claim 5 , wherein the control means turns on one light source in each of the plurality of groups.

7. 7. The control device according to claim 3, wherein the setting means sets the illumination conditions based on gloss clarity of the object.

8. 5. The control device according to claim 4, wherein the setting means determines the light sources to be simultaneously turned on and the order in which the light sources are turned on, based on the number of light sources to be simultaneously turned on.

9. Further comprising a selection means for selecting at least one lighting pattern from a plurality of lighting patterns, 9. The control device according to claim 1, wherein the control means controls the lighting means based on the selected lighting pattern.

10. A program for causing a computer to function as each of the means of the control device according to any one of claims 1 to 9.

11. A control method for controlling an illumination means having a plurality of light sources and an imaging means, comprising the steps of: a control step of controlling the illumination means and the imaging means so as to simultaneously light up some of the plurality of light sources and to image an object illuminated with light by the simultaneous lighting; a specifying step of specifying one incidence angle close to an incidence angle corresponding to specularly reflected light received by the imaging means, among incidence angles of light incident on the object from each of the simultaneously turned on light sources; a derivation step of deriving a reflection characteristic of the object by using the identified one incidence angle as a parameter of a reflection model based on image data obtained by capturing an image of the object; A control method comprising the steps of:

Citation Information

Patent Citations

  • Method and device for preparing reflectance property data of object

    JP2007219715A

  • Optical characteristic measurement device

    JP2014211322A

  • Optical characteristic measurement device and optical characteristic measurement method

    JP2015049079A

  • Sample measurement device and sample measurement program

    JP2016038222A

  • Image processing system, image processing method and program

    JP2018141653A