WO2021260807A1 - Imaging device failure diagnosis system - Google Patents

Imaging device failure diagnosis system Download PDF

Info

Publication number
WO2021260807A1
WO2021260807A1 PCT/JP2020/024657 JP2020024657W WO2021260807A1 WO 2021260807 A1 WO2021260807 A1 WO 2021260807A1 JP 2020024657 W JP2020024657 W JP 2020024657W WO 2021260807 A1 WO2021260807 A1 WO 2021260807A1
Authority
WO
WIPO (PCT)
Prior art keywords
test chart
light
image pickup
failure diagnosis
subject
Prior art date
Application number
PCT/JP2020/024657
Other languages
French (fr)
Japanese (ja)
Inventor
稔康 新保
Original Assignee
三菱電機株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 三菱電機株式会社 filed Critical 三菱電機株式会社
Priority to JP2022524096A priority Critical patent/JP7118318B2/en
Priority to PCT/JP2020/024657 priority patent/WO2021260807A1/en
Publication of WO2021260807A1 publication Critical patent/WO2021260807A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules

Definitions

  • This disclosure relates to an image pickup device failure diagnosis system.
  • Patent Document 1 describes a color image pickup device provided with a test pattern projector.
  • the color image pickup device reflects a test pattern, a light source for illuminating the test pattern, and light that has passed through the test pattern, and transmits the light from the subject so that these lights are incident on the image pickup tube. It is equipped with a half mirror.
  • the color image pickup device detects color shift of an image caused by a failure of the image pickup device based on an image of a photographed test pattern.
  • the present disclosure has been made in order to solve the above-mentioned problems, and an object of the present disclosure is to provide a technique capable of frequently performing imaging for failure diagnosis of an imaging device.
  • the image pickup device failure diagnosis system includes a subject irradiation light emitting device that irradiates a subject with light, a test chart for imaging device failure diagnosis, a test chart irradiation light emitting device that irradiates a test chart with light, and a subject.
  • a half mirror having a surface, an image pickup device that images a subject by receiving a first light transmitted through the half mirror, and an image pickup device that captures a test chart by receiving a second light reflected by the half mirror.
  • a switching control unit that controls switching between a first mode in which the light emitting device for subject irradiation illuminates the subject and a second mode in which the light emitting device for test chart illuminates the test chart. I have.
  • FIG. 5 is a schematic diagram showing a configuration in which the test chart according to the first embodiment has a marker for alignment. It is a figure for demonstrating the reflection correction method which concerns on the specific example of Embodiment 1.
  • FIG. 13A is a block diagram showing a hardware configuration that realizes the function of the image pickup apparatus failure diagnosis control unit according to the first embodiment.
  • FIG. 13B is a block diagram showing a hardware configuration for executing software that realizes the function of the image pickup apparatus failure diagnosis control unit according to the first embodiment.
  • FIG. 1 is a block diagram showing a configuration of an image pickup apparatus failure diagnosis system 100 according to the first embodiment.
  • the image pickup device failure diagnosis system 100 includes a subject irradiation light emitting device 1, a test chart 2, a test chart irradiation light emitting device 3, a half mirror 4, an image pickup device 5, a storage device 6, and an image pickup device failure.
  • a diagnostic control unit 7 is provided.
  • the subject irradiation light emitting device 1 irradiates the subject with light.
  • the light emitted by the light emitting device 1 for illuminating the subject is reflected by the subject and propagates toward the half mirror 4.
  • the subject irradiation light emitting device 1 is an LED that irradiates the driver of the vehicle with light.
  • the test chart 2 is a test chart for diagnosing an image pickup device failure. More specifically, in the first embodiment, the test chart 2 is a transmission type test chart for diagnosing an image pickup device failure. Examples of test chart 2 include a test chart for resolution check, a test chart for uniformity check, a test chart for color reproducibility check (for example, Macbeth chart), a test chart for gradation check, or a human figure. Alternatively, a test chart showing a face can be mentioned.
  • the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light.
  • the light emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2 and propagates toward the half mirror 4.
  • the light emitting device 3 for irradiating the test chart is an LED that irradiates the test chart 2 with light.
  • the half mirror 4 was emitted by the light emitting device 1 for irradiating the subject, one surface through which the first light reflected by the subject was transmitted, and the light emitting device 3 for irradiating the test chart were emitted and passed through the test chart 2. It has the other surface, which reflects a second light. The first light and the second light emitted from the half mirror 4 propagate toward the image pickup apparatus 5, respectively.
  • the detailed structure of the half mirror 4 will be described later.
  • the image pickup apparatus 5 captures the subject by receiving the first light transmitted through the half mirror 4, and captures the test chart 2 by receiving the second light reflected by the half mirror 4.
  • An example of the image pickup apparatus 5 is a camera module or the like.
  • the image pickup apparatus 5 includes, for example, a lens, an image sensor, or the like. That is, in that case, the failure diagnosis of the image pickup apparatus 5 is, for example, a failure diagnosis of a lens, an image sensor, or the like.
  • the subject image obtained by the image pickup device 5 taking an image of the subject and the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 are output to the image pickup device failure diagnosis control unit 7. In the present specification, the image is a moving image or a still image.
  • the storage device 6 stores the expected value of the test chart image.
  • the storage device 6 outputs the expected value of the test chart image to be stored to the image pickup device failure diagnosis control unit 7.
  • the image pickup device failure diagnosis control unit 7 includes a switching control unit 10, a failure diagnosis unit 11, and a subject image correction unit 12.
  • the image pickup device failure diagnosis control unit 7 is a CPU.
  • the switching control unit 10 controls light emission and extinguishing of the subject irradiation light emitting device 1, respectively, and controls light emission and extinguishing of the test chart irradiation light emitting device 3.
  • the switching control unit 10 switches between a first mode in which the light emitting device 1 for irradiating the subject irradiates the subject with light and a second mode in which the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light. To control. Details will be described later.
  • the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 based on the test chart image obtained by the image pickup device 5 taking an image of the test chart 2. More specifically, in the first embodiment, the failure diagnosis unit 11 compares the test chart image obtained by the image pickup device 5 with the test chart 2 with the expected value stored in the storage device 6. Therefore, the failure of the image pickup apparatus 5 is diagnosed. Details will be described later.
  • the subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image obtained by the image pickup device 5 taking an image of the subject. Details will be described later.
  • FIG. 2 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of production and inspection.
  • FIG. 3 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of startup.
  • FIG. 4 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 during normal operation (in a steady state).
  • Test Chart LED indicates the function of the test chart irradiation light emitting device 3
  • Driver LED indicates the function of the subject irradiation light emitting device 1
  • Expect Data expected value data
  • Initial Data initial value data
  • Data startupData (startup data)
  • CyclicData cyclic data
  • Initial Check initial check
  • Cyclic Check cycle check
  • the function of the subject image correction unit 12 or the function of the subject image correction unit 12 is shown, the Reflect Correction (reflection correction) shows the function of the subject image correction unit 12, and the Sub CPU (sub CPU) is a sub CPU (not shown). Shows the function of.
  • the expected value of the test chart image is written in advance in the storage device 6 from an external device (not shown).
  • the storage device 6 stores the expected value of the test chart image in advance.
  • the expected value is, for example, a theoretical value, digital data that is the basis of the test chart 2, data obtained by photographing the test chart 2 with a reference machine, and the like.
  • the switching control unit 10 of the image pickup device failure diagnosis control unit 7 controls the light emitting device 3 for irradiating the test chart to irradiate the test chart 2 with light (step ST1).
  • the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
  • the light emitting device 3 for irradiating the test chart emits light
  • light enters from the outside of the image pickup device failure diagnosis system 100 in front of the surface of the half mirror 4 on the subject side (for example, the screen surface of the driver monitoring system). It may be shielded from light so as not to be shielded, or it may not be shielded from light assuming normal operation.
  • the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as the test chart image pickup data at the time of shipping inspection (step ST2). ..
  • the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST3).
  • the failure diagnosis unit 11 reads the test chart imaging data stored in step ST2 by the storage device 6 (step ST4).
  • the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST5). In the first embodiment, the failure diagnosis unit 11 diagnoses the soundness of the image sensor of the image pickup apparatus 5 in step ST5.
  • the failure diagnosis unit 11 diagnoses that the image pickup device 5 is normal in step ST5
  • the failure diagnosis unit 11 sets the expected value of the test chart image stored in the storage device 6 as the expected value of the test chart image in the image pickup device 5 as a test chart. Replace with imaged data (step ST6). That is, the failure diagnosis unit 11 updates the expected value of the test chart 2 stored in the storage device 6.
  • the failure diagnosis unit 11 diagnoses that the image pickup device 5 is abnormal in step ST5
  • the failure diagnosis unit 11 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST7).
  • the sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
  • the image pickup apparatus failure diagnosis control unit 7 executes each of the following steps.
  • the switching control unit 10 controls so that the light emitting device 3 for irradiating the test chart is turned off (step ST8).
  • the faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
  • the test chart image thus obtained is used as reflection data of the test chart 2 in the subject image.
  • the image pickup device failure diagnosis control unit 7 writes the reflection data obtained by the image pickup of the image pickup device 5 into the storage device 6 (step ST9).
  • the subject image correction unit 12 reads the reflection data stored in the storage device 6 (step ST10).
  • the subject image correction unit 12 creates reflection mask data based on the read reflection data (step ST11).
  • the reflection mask data is data used by the subject image correction unit 12 to correct the reflection of the test chart 2 in the subject image.
  • the subject image correction unit 12 writes the created reflection mask data in the storage device 6 (step ST12).
  • the switching control unit 10 of the image pickup device failure diagnosis control unit 7 causes the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light.
  • Control step ST20.
  • the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
  • the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as the test chart image pickup data at the time of startup (step ST21).
  • the failure diagnosis unit 11 reads the test chart imaging data stored in step ST21 by the storage device 6 (step ST22).
  • the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST23).
  • the expected value may be the expected value updated by the failure diagnosis unit 11 in step ST6, or as described above, the theoretical value, the digital data that is the basis of the test chart 2, or the test chart by the reference machine. It may be data or the like obtained by photographing 2.
  • the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST24).
  • the failure diagnosis unit 11 shall diagnose the soundness of the image sensor of the image pickup apparatus 5.
  • step ST24 When the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is normal in step ST24 and the function of correcting the reflection of the test chart 2 in the subject image is turned on, the steps from the following steps ST25 are taken. Each step up to ST29 is executed.
  • the switching control unit 10 controls so that the light emitting device 3 for irradiating the test chart is turned off (step ST25). Then, the faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. The test chart image thus obtained is used as reflection data of the test chart 2 in the subject image.
  • the image pickup device failure diagnosis control unit 7 writes the reflection data obtained by the image pickup of the image pickup device 5 into the storage device 6 (step ST26).
  • the subject image correction unit 12 reads the reflection data stored in step ST26 by the storage device 6 (step ST27).
  • the subject image correction unit 12 creates reflection mask data based on the read reflection data (step ST28).
  • the subject image correction unit 12 writes the created reflection mask data in the storage device 6 (step ST29).
  • the subject image correction unit 12 may create reflection mask data at each startup.
  • the failure diagnosis unit 11 diagnoses that the image pickup device 5 is abnormal in step ST24, the failure diagnosis unit 11 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST30).
  • the sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
  • the switching control unit 10 of the image pickup device failure diagnosis control unit 7 controls the subject irradiation light emitting device 1 to irradiate the subject with light.
  • Step ST40 the light (first light) emitted by the subject irradiation light emitting device 1 is reflected by the subject, propagates toward the half mirror 4, and passes through the half mirror 4.
  • the image pickup device failure diagnosis control unit 7 controls the image pickup device 5 to take an image of the subject by receiving the light (step ST41).
  • the subject image correction unit 12 acquires a subject image (imaging data) obtained by the imaging device 5 imaging the subject in step ST41 (step ST42).
  • the subject image correction unit 12 acquires the reflection mask data written in the storage device 6 in step ST29 described above (step ST43). Next, the subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image based on the acquired reflection mask data (step ST44).
  • the subject image correction unit 12 outputs the subject image after the reflection correction to a mechanism (not shown) that detects the state of the subject (driver) (step ST45).
  • the mechanism detects the state of the subject based on the subject image after the reflection correction.
  • step ST41 or step ST45 the switching control unit 10 controls the light emitting device 3 for irradiating the test chart to irradiate the test chart 2 with light (step ST46).
  • step ST46 the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
  • step ST46 the light emitting device 1 for irradiating the subject is turned off.
  • the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as test chart image pickup data (step ST47).
  • the failure diagnosis unit 11 reads the test chart imaging data stored in step ST47 by the storage device 6 (step ST48).
  • the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST49).
  • the expected value may be the expected value updated by the failure diagnosis unit 11 in step ST6, or as described above, the theoretical value, the digital data that is the basis of the test chart 2, or the test chart by the reference machine. It may be data or the like obtained by photographing 2.
  • the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST50).
  • the failure diagnosis unit 11 shall diagnose the soundness of the image sensor of the image pickup apparatus 5.
  • the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is normal in step ST50, the image pickup device failure diagnosis control unit 7 returns to the process of step ST40 and repeatedly executes each step from step ST40 to step ST50.
  • the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is abnormal in step ST50, the image pickup device failure diagnosis control unit 7 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST51).
  • the sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
  • FIG. 5 is a schematic diagram for explaining a specific example of the half mirror 4.
  • the figure on the left side of FIG. 5 shows the function of one surface emitted by the light emitting device 1 for subject irradiation and transmitting the first light reflected by the subject, and the figure on the right side of FIG. 5 is for test chart irradiation.
  • the function of the other surface from which the light emitting device 3 emits and reflects the second light that has passed through the test chart 2 is shown.
  • the incident direction of the first light on the half mirror 4 and the incident direction of the second light on the half mirror 4 are orthogonal to each other, and the half mirror 4 has one surface and the first one.
  • the angle formed by the incident direction of the light is an acute angle
  • the angle formed by the other surface and the incident direction of the second light is an acute angle.
  • a light emitting device 1 for subject irradiation (not shown) emits light, and the first light reflected by the subject is incident on one surface of the half mirror 4, and a part of the light is incident on one surface of the half mirror 4. It is absorbed by the half mirror 4, part of it is reflected by the half mirror 4, and most of it is transmitted through the half mirror 4.
  • the light emitting device 3 for irradiating the test chart (not shown) emits light
  • the second light passing through the test chart 2 (not shown) is incident on the other surface of the half mirror 4 and partially. Is absorbed by the half mirror 4, a part of the light is transmitted through the half mirror 4, and most of the light is reflected by the half mirror 4.
  • the first light transmitted through the half mirror 4 and the second light reflected by the half mirror 4 propagate toward the image pickup apparatus 5, respectively.
  • the subject or the test chart can be controlled. It is possible to selectively shoot any one of the two.
  • FIG. 6 is a schematic diagram for explaining an image pickup device failure diagnosis method by the image pickup device failure diagnosis system 100 (the storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown).
  • the image pickup apparatus 5 includes a lens 20 and an image sensor 21. Further, in the specific example, it is assumed that the function of correcting the reflection of the test chart 2 in the subject image is turned off.
  • the test chart 2 is installed in the emission direction of the first light by the light emitting device 3 for irradiating the test chart.
  • the half mirror 4 is installed at a position where the first light that has passed through the test chart 2 and the second light emitted by the subject irradiation light emitting device 1 and reflected by a subject (not shown) are orthogonal to each other.
  • the lens 20 of the image pickup apparatus 5 is installed at a position in a common propagation direction of the first light transmitted through one surface of the half mirror 4 and the second light reflected by the other surface of the half mirror 4. There is.
  • the image sensor 21 of the image pickup apparatus 5 is installed at a position in the propagation direction of the first light and the second light transmitted through the lens 20.
  • the switching control unit 10 controls the subject irradiation light emitting device 1 to irradiate the subject with light.
  • the first light emitted by the subject irradiation light emitting device 1 is reflected by a subject (not shown), propagates toward the half mirror 4, and passes through the half mirror 4.
  • the first light transmitted through the half mirror 4 passes through the lens 20 and is received by the image sensor 21.
  • the image pickup device failure diagnosis control unit 7 controls the image pickup device 5 to take an image of the subject.
  • the image pickup device failure diagnosis control unit 7 monitors whether the driver is looking away or falling asleep based on the subject image obtained by the image pickup device 5 taking an image of the driver of the subject. , It shall be controlled to issue a warning as needed through a speaker (not shown). Since the light emitting device 3 for irradiating the test chart is turned off here, the test chart 2 is not reflected in the subject image.
  • step ST46 the switching control unit 10 controls the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light.
  • the second light emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
  • the light emitting device 1 for illuminating the subject is turned off, the subject is not reflected in the test chart image obtained by the image pickup device 5 taking an image of the test chart 2.
  • step ST47 the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as test chart image pickup data.
  • step ST48 the failure diagnosis unit 11 reads the test chart imaging data stored in step ST47 by the storage device 6.
  • step ST49 the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6.
  • step ST50 the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart image data (test chart image) with the read expected value.
  • failure diagnosis of the image pickup apparatus 5 including the lens 20 and the image sensor 21 can be performed with high frequency. For example, in a driver monitoring product used in automatic operation, an image can be obtained. It is not necessary to incur a large cost such as mounting two sensors, and the reliability of failure diagnosis can be ensured.
  • FIG. 7 is a schematic diagram showing a configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment further includes a specific wavelength cutoff device 30 (the storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown). ).
  • the specific wavelength blocking device 30 is installed in front of one surface of the half mirror 4 to which the light emitting device 1 for subject irradiation emits and the first light reflected by the subject is incident.
  • the specific wavelength blocking device 30 transmits the first light and blocks light having a wavelength other than the wavelength of the first light.
  • An example of the specific wavelength blocking device 30 is a bandpass filter (optical filter) or the like.
  • the subject irradiation light emitting device 1 irradiates the subject with light having a specific wavelength other than visible light, such as near-infrared light, which is not so much contained in sunlight.
  • the specific wavelength blocking device 30 transmits light having the specific wavelength and blocks light having a wavelength other than the specific wavelength. This makes it possible to eliminate the influence of external light (sunlight, street lights, etc.) while the vehicle is running. It also has the effect of not making the driver aware of light emission and shooting.
  • the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light, passes through the test chart 2, and the second light reflected by the half mirror 4 is captured as an image by the image sensor 21. Is done.
  • the light emitting device 1 for irradiating the subject does not emit light, the light having a wavelength other than the specific wavelength of sunlight is blocked by the specific wavelength blocking device 30, and the light reflected by the subject is transmitted to the half mirror 4. Not reachable. This makes it possible to reduce the reflection of the subject in the test chart image.
  • FIG. 8 is a diagram for explaining the reflection of the test chart 2 on the subject image in the specific example of the first embodiment.
  • a graph showing the time course of the light emitting amount of the test chart irradiation light emitting device 3 a graph showing the time passage of the light emitting amount of the subject irradiation light emitting device 1, and the light emitting amount of the test chart irradiation light emitting device 3.
  • a graph showing the passage of time and the passage of light emission amount of the subject irradiation light emitting device 1 and the passage of time of the image obtained by the imaging of the imaging device 5 are shown in order.
  • step ST46 the switching control unit 10 controls the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light. Then, after the steps ST50 are executed from the above-mentioned step ST47, the process returns to the above-mentioned step ST40, and the switching control unit 10 controls the subject irradiation light emitting device 1 to irradiate the subject with light.
  • the light emitting device 1 for subject irradiation may start emitting light before the light emitting device 3 for irradiating the test chart is turned off in time.
  • the test chart 2 may be reflected in the subject image obtained by the image pickup of the image pickup device 5. be. Therefore, the subject image correction unit 12 corrects the subject image as follows.
  • FIG. 9 is a diagram for explaining the reflection data (reference image) in the specific example.
  • the solid line in the upper graph of FIG. 9 shows the time course of the light emission amount of the test chart irradiation light emitting device 3 (the dotted line shows the time passage of the light emission amount when the subject irradiation light emitting device 1 emits light), and the lower line shows.
  • the figure shows the time course of the image obtained by the image pickup of the image pickup apparatus 5.
  • step ST8 or step ST25 described above the switching control unit 10 controls the test chart irradiation light emitting device 3 to turn off while the test chart irradiation light emitting device 3 is emitting light.
  • the light emitting device 1 for irradiating the subject does not emit light.
  • the faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4.
  • the image pickup apparatus 5 captures a test chart by receiving the light.
  • the test chart image thus obtained is used as reflection data (reference image) of the test chart 2 in the subject image (the image on the lower right side of FIG. 9).
  • step ST11 or step ST28 described above the subject image correction unit 12 creates reflection mask data based on the reflection data.
  • the subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image based on the reflection mask data.
  • the subject image correction unit 12 simply subtracts the reflection mask data from the subject image, the reflection of the test chart 2 remains in the subject image, and the reflection is reflected from the portion of the subject image where the test chart 2 is not reflected. The mask data will be subtracted and the image quality will be deteriorated.
  • the test chart 2 has a marker 40 for alignment.
  • FIG. 10 is a schematic diagram showing a configuration in which the test chart 2 has a marker 40 for alignment. As shown in FIG. 10, in the specific example, the test chart 2 has a quadrangular shape, and alignment markers 40 are provided at the four corners of the quadrangle, respectively.
  • FIG. 11 is a diagram for explaining a reflection correction method according to a specific example of the first embodiment.
  • a graph showing the time course of the light emitting amount of the test chart irradiation light emitting device 3 a graph showing the time passage of the light emitting amount of the subject irradiation light emitting device 1, and the light emitting amount of the test chart irradiation light emitting device 3.
  • a graph showing the passage of time and the passage of light emission amount of the subject irradiation light emitting device 1 and the time passage, reflection data, and reflection mask data of the image obtained by the imaging of the imaging device 5 are shown. ..
  • the subject image correction unit 12 determines the test chart 2 based on the marker 40 of the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 immediately before the reflection correction (immediately before the step ST42). (Position deviation detection in FIG. 11).
  • the subject image correction unit 12 aligns the reflection mask data based on the specified installation position of the test chart 2, and aligns the reflection from the subject image in which the reflection of the test chart 2 occurs. Subtract the performed reflection mask data (subtraction of the reflection mask data in FIG. 11). This makes it possible to reduce the influence of the deviation of the installation position of the test chart 2 on the reflection correction.
  • FIG. 12 is a schematic diagram for explaining a configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment includes a plurality of test charts 2, a plurality of test chart irradiation light emitting devices 3, and a plurality of half mirrors 4. (The storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown).
  • the configuration of the image pickup device failure diagnosis system 100 shown in FIG. 12B is the same as the configuration of the image pickup device failure diagnosis system 100 further including the specific wavelength cutoff device 30 in FIG. 7.
  • the configuration of the image pickup device failure diagnosis system 100 shown in FIG. 12C is a configuration in which the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown in FIG. 12B.
  • the light-shielding plate 53 shown by C in FIG. 12 blocks light other than the first light transmitted through the half mirror 4 and the second light reflected by the half mirror 4. More specifically, for example, the shading plate 53 shown by C in FIG. 12 blocks the light emitted by the light emitting device 3 for irradiating the test chart, which did not pass through the test chart 2.
  • the image pickup device failure diagnosis system 100 includes a plurality of test charts 2, a plurality of test chart irradiation light emitting devices 3, and a plurality of half mirrors 4. It is a equipped configuration.
  • the image pickup apparatus failure diagnosis system 100 further includes a test chart 50 different from the test chart 2. Further, the image pickup device failure diagnosis system 100 further includes another test chart irradiation light emitting device 51 that irradiates another test chart 50 with light. Further, in the image pickup device failure diagnosis system 100, the test chart irradiation light emitting device 3 emits light, one surface that transmits the second light that has passed through the test chart 2, and another test chart irradiation light emitting device 51 emits light. And further comprises another half mirror 52 having another surface, which reflects a third light that has passed through another test chart 50.
  • the other surface of the half mirror 4 in each of the examples D, E, and F of FIG. 12 has a second light transmitted through another half mirror 52 and a third light reflected by another half mirror 52. Reflect each. Further, the image pickup apparatus 5 in each of the examples D, E, and F of FIG. 12 further takes an image of another test chart 50 by further receiving the third light reflected by the half mirror 4.
  • the switching control unit 10 (not shown) in each of the examples D, E, and F of FIG. 12 has a first mode in which the subject irradiation light emitting device 1 irradiates the subject with light, and a test chart irradiation light emitting device. 3 controls switching between a second mode in which the test chart 2 is illuminated with light and a third mode in which another test chart irradiation light emitting device 51 irradiates another test chart 50 with light.
  • the arrangement of the combination of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror is as described above. As long as it functions, it is not particularly limited.
  • the image pickup device failure diagnosis system 100 is a set of a combination of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52. I explained the configuration that only has. However, the image pickup apparatus failure diagnosis system 100 may include a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52. In that case, the light emitting device for irradiating the test chart further irradiates the light emitting device for irradiating the test chart with the light emitting device 3 for irradiating the test chart, and the light emitting device for irradiating the test chart passes through the test chart 2.
  • the half mirror 4 further reflects the additional light reflected by the further another half mirror.
  • the image pickup apparatus 5 further captures another test chart by further receiving the further light reflected by the half mirror 4.
  • the switching control unit 10 (not shown) switches from the further mode in which the light emitting device for irradiating the further another test chart irradiates the light to the further another test chart, or switches to the further mode. Further control.
  • the image pickup device failure diagnosis system 100 in each of the examples D, E, and F of FIG. 12 may further include the above-mentioned light-shielding plate 53.
  • the configuration of the image pickup device failure diagnosis system 100 shown by G in FIG. 12 is such that the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown by D in FIG.
  • the configuration of the image pickup device failure diagnosis system 100 shown by H in FIG. 12 is such that the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown by E in FIG.
  • the shading plate 53 shown by G and H in FIG. 12 blocks light other than the first light transmitted through the half mirror 4 and the second light and the third light reflected by the half mirror 4. More specifically, for example, the shading plate 53 shown by G and H in FIG. 12 blocks the light emitted by another test chart irradiation light emitting device 51 that did not pass through another test chart 50.
  • the image pickup device failure diagnosis system 100 includes a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52, the image pickup device failure diagnosis system 100 blocks light.
  • a light-shielding plate different from the plate 53 may be further provided.
  • the other light-shielding plate blocks the light emitted by the light-emitting device for irradiating another test chart, which has not passed through another test chart. According to the above configuration, it is possible to suppress reflection on the subject image or the test chart image due to unintended light leakage.
  • the image pickup apparatus failure diagnosis control unit 7 includes a processing circuit for executing the processing of each step shown in FIGS. 2, 3 and 4.
  • This processing circuit may be dedicated hardware, or may be a CPU (Central Processing Unit) that executes a program stored in the memory.
  • FIG. 13A is a block diagram showing a hardware configuration that realizes the function of the image pickup device failure diagnosis control unit 7.
  • FIG. 13B is a block diagram showing a hardware configuration for executing software that realizes the functions of the image pickup apparatus failure diagnosis control unit 7.
  • the processing circuit 101 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, or an ASIC (Application Specific Integrated Circuitd). Circuit), FPGA (Field-Programmable Gate Array) or a combination thereof is applicable.
  • ASIC Application Specific Integrated Circuitd
  • FPGA Field-Programmable Gate Array
  • the functions of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 may be realized by separate processing circuits, or these functions may be combined into one processing circuit. It may be realized by.
  • the functions of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup apparatus failure diagnosis control unit 7 are software, firmware, or software and firmware. It is realized by the combination with.
  • the software or firmware is described as a program and stored in the memory 103.
  • the processor 102 realizes each function of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup apparatus failure diagnosis control unit 7 by reading and executing the program stored in the memory 103. That is, the image pickup apparatus failure diagnosis control unit 7 stores a program in which the processing of each step shown in FIGS. 2, 3 and 4 is executed as a result when each of these functions is executed by the processor 102.
  • a memory 103 for the purpose is provided.
  • the memory 103 may be a computer-readable storage medium in which a program for causing the computer to function as the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 is stored. ..
  • the processor 102 corresponds to, for example, a CPU (Central Processing Unit), a processing device, a computing device, a processor, a microprocessor, a microcomputer, a DSP (Digital Signal Processor), or the like.
  • the memory 103 includes, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), an EPROM (Electrically-Volatilizer), an EPROM (Electrically-EPROM), or the like.
  • the function of the switching control unit 10 is realized by a processing circuit as dedicated hardware.
  • the functions of the failure diagnosis unit 11 and the subject image correction unit 12 may be realized by the processor 102 reading and executing the program stored in the memory 103.
  • the processing circuit can realize each of the above functions by hardware, software, firmware, or a combination thereof.
  • the image pickup device failure diagnosis system 100 emits light to the subject irradiation light emitting device 1 that irradiates the subject with light, the test chart 2 for the image pickup device failure diagnosis, and the test chart 2.
  • the test chart irradiation light emitting device 3 to be irradiated, the one surface of the subject irradiation light emitting device 1 that transmits the first light reflected by the subject, and the test chart irradiation light emitting device 3 are emitted.
  • the subject was imaged by receiving the first light transmitted through the half mirror 4 and the half mirror 4 having the other surface that reflects the second light that passed through the test chart 2, and the half mirror 4 reflected the light.
  • the image pickup device 5 that captures the test chart 2 by receiving the second light, the first mode in which the subject irradiation light emitting device 1 irradiates the subject with light, and the test chart irradiation light emitting device 3 is the test chart 2.
  • a switching control unit 10 for controlling switching between the second mode and the second mode of irradiating light is provided.
  • the image of the subject and the image for failure diagnosis of the image pickup apparatus 5 are performed. You can switch. Therefore, it is possible to frequently take pictures for failure diagnosis of the image pickup apparatus 5.
  • the shooting for failure diagnosis of the image pickup apparatus 5 is frequently performed without affecting the shooting of the subject. It can be carried out.
  • one of the sensors required for autonomous vehicles is an image sensor (CMOS or CCD, etc.).
  • the image sensor In order to establish automatic driving, the image sensor is required to perform high-precision imaging processing. Therefore, by adopting the above configuration, it is possible to frequently perform shooting for failure diagnosis of the image sensor, and it is possible to frequently perform failure diagnosis of the image sensor, so that the accuracy of the shooting process by the image sensor can be improved. It will also be possible to maintain.
  • the image pickup device failure diagnosis system 100 further includes a failure diagnosis unit 11 for diagnosing a failure of the image pickup device 5 based on a test chart image obtained by the image pickup device 5 taking an image of the test chart 2. I have. According to the above configuration, the failure diagnosis of the image pickup apparatus 5 can be frequently performed for the above-mentioned reason.
  • the image pickup device failure diagnosis system 100 further includes a storage device 6 for storing the expected value of the test chart image, and the failure diagnosis unit 11 includes the test chart image and the expected value stored in the storage device 6.
  • a blocking device 30 is installed. According to the above configuration, it is possible to suppress the influence of light having a wavelength other than the wavelength of the first light in the shooting of the subject or the shooting of the test chart 2.
  • the image pickup device failure diagnosis system 100 further includes a subject image correction unit 12 that corrects the reflection of the test chart 2 in the subject image obtained by the image pickup device 5 taking an image of the subject. .. According to the above configuration, the reflection of the test chart 2 in the subject image can be removed.
  • the test chart 2 in the image pickup apparatus failure diagnosis system 100 has a marker 40 for alignment. According to the above configuration, in the reflection correction, by appropriately aligning the position based on the marker 40, it is possible to reduce the influence of the deviation of the installation position of the test chart 2 on the reflection correction.
  • the image pickup device failure diagnosis system 100 includes a test chart 50 different from the test chart 2, another test chart irradiation light emitting device 51 that irradiates another test chart 50 with light, and a test chart irradiation.
  • another light emitting device 51 for test chart irradiation emits light and passes through another test chart 50.
  • the other surface of the half mirror 4 is a second light that has passed through another half mirror 52 and another half mirror 52.
  • Each of the reflected third light is reflected, the image pickup apparatus 5 further receives the third light reflected by the half mirror 4, another test chart 50 is further imaged, and the switching control unit 10 is a subject.
  • a first mode in which the light emitting device 1 for irradiation irradiates the subject with light a second mode in which the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light, and another light emitting device 3 for irradiating the test chart. Controls switching between a third mode of illuminating another test chart 50 with light.
  • the image pickup device 5 is provided with light other than the first light transmitted through the half mirror 4 and the second light and the third light reflected by the half mirror 4.
  • a light-shielding plate 53 is installed to block the light. According to the above configuration, it is possible to suppress reflection on a subject image or a test chart image due to unintended light leakage.
  • the image pickup device failure diagnosis system 100 includes a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52. According to the above configuration, by appropriately using three or more types of test charts, it is possible to switch to shooting for three or more types of failure diagnosis. Therefore, it is possible to frequently perform three or more types of failure diagnosis. It is possible to modify any component of the embodiment or omit any component of the embodiment.
  • the image pickup device failure diagnosis system can be used as a technique for diagnosing a failure of an image pickup device because it can frequently take pictures for failure diagnosis of the image pickup device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Studio Devices (AREA)

Abstract

An imaging device failure diagnosis system (100) is provided with: a switching control unit (10) that controls switching between a first mode in which a subject irradiation light-emission device (1) applies light to a subject and a second mode in which a test chart irradiation light-emission device (3) applies light to a test chart (2).

Description

撮像装置故障診断システムImaging device failure diagnosis system
 本開示は、撮像装置故障診断システムに関する。 This disclosure relates to an image pickup device failure diagnosis system.
 特許文献1には、テストパターンプロジェクタを備えたカラー撮像装置が記載されている。当該カラー撮像装置は、テストパターンと、テストパターンを照明するための光源と、当該テストパターンを通過した光を反射し、被写体からの光を透過することにより、これらの光を撮像管に入射させるハーフミラーとを備えている。当該カラー撮像装置は、撮影したテストパターンの像に基づいて、撮像装置の故障に起因する画像の色ずれを検出する。 Patent Document 1 describes a color image pickup device provided with a test pattern projector. The color image pickup device reflects a test pattern, a light source for illuminating the test pattern, and light that has passed through the test pattern, and transmits the light from the subject so that these lights are incident on the image pickup tube. It is equipped with a half mirror. The color image pickup device detects color shift of an image caused by a failure of the image pickup device based on an image of a photographed test pattern.
特開昭61-71789号公報Japanese Unexamined Patent Publication No. 61-71789
 上記のような技術では、被写体を撮影する際には被写体を撮影するための準備(被写体に対する照明の準備等)、及びテストパターンを撮影する際にはテストパターンを撮影するための準備が必要なため、例えば、被写体の撮影中に、撮像装置の故障診断のための撮影を頻繁に行うことができないという問題がある。 With the above technology, it is necessary to prepare for shooting the subject (preparation of lighting for the subject, etc.) when shooting the subject, and preparation for shooting the test pattern when shooting the test pattern. Therefore, for example, there is a problem that it is not possible to frequently take a picture for failure diagnosis of an image pickup apparatus while taking a picture of a subject.
 本開示は、上記のような問題点を解決するためになされたものであり、撮像装置の故障診断のための撮影を頻繁に行うことができる技術を提供することを目的とする。 The present disclosure has been made in order to solve the above-mentioned problems, and an object of the present disclosure is to provide a technique capable of frequently performing imaging for failure diagnosis of an imaging device.
 本開示に係る撮像装置故障診断システムは、被写体に光を照射する被写体照射用発光装置と、撮像装置故障診断用のテストチャートと、テストチャートに光を照射するテストチャート照射用発光装置と、被写体照射用発光装置が出射し、被写体によって反射された第1の光を透過させる一方の面、及び、テストチャート照射用発光装置が出射し、テストチャートを通過した第2の光を反射する他方の面、を有するハーフミラーと、ハーフミラーを透過した第1の光を受光することにより被写体を撮像し、ハーフミラーが反射した第2の光を受光することによりテストチャートを撮像する撮像装置と、被写体照射用発光装置が被写体に光を照射する第1のモードと、テストチャート照射用発光装置がテストチャートに光を照射する第2のモードとの間の切り替えを制御する切り替え制御部と、を備えている。 The image pickup device failure diagnosis system according to the present disclosure includes a subject irradiation light emitting device that irradiates a subject with light, a test chart for imaging device failure diagnosis, a test chart irradiation light emitting device that irradiates a test chart with light, and a subject. One surface from which the light emitting device for irradiation emits and transmits the first light reflected by the subject, and the other surface from which the light emitting device for test chart emits and reflects the second light that has passed through the test chart. A half mirror having a surface, an image pickup device that images a subject by receiving a first light transmitted through the half mirror, and an image pickup device that captures a test chart by receiving a second light reflected by the half mirror. A switching control unit that controls switching between a first mode in which the light emitting device for subject irradiation illuminates the subject and a second mode in which the light emitting device for test chart illuminates the test chart. I have.
 本開示によれば、撮像装置の故障診断のための撮影を頻繁に行うことができる。 According to the present disclosure, it is possible to frequently take pictures for failure diagnosis of an imaging device.
実施の形態1に係る撮像装置故障診断システムの構成を示すブロック図である。It is a block diagram which shows the structure of the image pickup apparatus failure diagnosis system which concerns on Embodiment 1. FIG. 生産時及び検査時における、実施の形態1に係る撮像装置故障診断システムによる撮像装置故障診断方法を示すフローチャートである。It is a flowchart which shows the image pickup apparatus failure diagnosis method by the image pickup apparatus failure diagnosis system which concerns on Embodiment 1 at the time of production and inspection. 起動時における、実施の形態1に係る撮像装置故障診断システム100による撮像装置故障診断方法を示すフローチャートである。It is a flowchart which shows the image pickup apparatus failure diagnosis method by the image pickup apparatus failure diagnosis system 100 which concerns on Embodiment 1 at the time of activation. 通常動作時における、実施の形態1に係る撮像装置故障診断システムによる撮像装置故障診断方法を示すフローチャートである。It is a flowchart which shows the image pickup apparatus failure diagnosis method by the image pickup apparatus failure diagnosis system which concerns on Embodiment 1 at the time of a normal operation. 実施の形態1に係るハーフミラーの具体例を説明するための概略図である。It is a schematic diagram for demonstrating the specific example of the half mirror which concerns on Embodiment 1. FIG. 実施の形態1に係る撮像装置故障診断システムによる撮像装置故障診断方法を説明するための概略図である。It is a schematic diagram for demonstrating the image pickup apparatus failure diagnosis method by the image pickup apparatus failure diagnosis system which concerns on Embodiment 1. FIG. 実施の形態1に係る撮像装置故障診断システムが特定波長遮断装置をさらに備えている構成を示す概略図である。It is a schematic diagram which shows the structure which further includes the specific wavelength cutoff device in the image pickup apparatus failure diagnosis system which concerns on Embodiment 1. FIG. 実施の形態1の具体例における被写体画像へのテストチャートの映り込みを説明するための図である。It is a figure for demonstrating the reflection of the test chart in the subject image in the specific example of Embodiment 1. FIG. 実施の形態1の具体例における映り込みデータを説明するための図である。It is a figure for demonstrating the reflection data in the specific example of Embodiment 1. FIG. 実施の形態1に係るテストチャートが位置合わせ用のマーカーを有している構成を示す概略図である。FIG. 5 is a schematic diagram showing a configuration in which the test chart according to the first embodiment has a marker for alignment. 実施の形態1の具体例に係る映り込み補正方法を説明するための図である。It is a figure for demonstrating the reflection correction method which concerns on the specific example of Embodiment 1. FIG. 実施の形態1に係る撮像装置故障診断システム100が複数のテストチャート、複数のテストチャート照射用発光装置及び複数のハーフミラーを備えている構成を説明するための概略図であるIt is a schematic diagram for demonstrating the configuration which includes the image pickup apparatus failure diagnosis system 100 which concerns on Embodiment 1, a plurality of test charts, a plurality of test chart irradiation light emitting devices, and a plurality of half mirrors. 図13Aは、実施の形態1に係る撮像装置故障診断制御部の機能を実現するハードウェア構成を示すブロック図である。図13Bは、実施の形態1に係る撮像装置故障診断制御部の機能を実現するソフトウェアを実行するハードウェア構成を示すブロック図である。FIG. 13A is a block diagram showing a hardware configuration that realizes the function of the image pickup apparatus failure diagnosis control unit according to the first embodiment. FIG. 13B is a block diagram showing a hardware configuration for executing software that realizes the function of the image pickup apparatus failure diagnosis control unit according to the first embodiment.
 以下、本開示をより詳細に説明するため、本開示を実施するための形態について、添付の図面に従って説明する。
実施の形態1.
 図1は、実施の形態1に係る撮像装置故障診断システム100の構成を示すブロック図である。図1が示すように、撮像装置故障診断システム100は、被写体照射用発光装置1、テストチャート2、テストチャート照射用発光装置3、ハーフミラー4、撮像装置5、記憶装置6、及び撮像装置故障診断制御部7を備えている。
Hereinafter, in order to explain the present disclosure in more detail, a mode for carrying out the present disclosure will be described with reference to the accompanying drawings.
Embodiment 1.
FIG. 1 is a block diagram showing a configuration of an image pickup apparatus failure diagnosis system 100 according to the first embodiment. As shown in FIG. 1, the image pickup device failure diagnosis system 100 includes a subject irradiation light emitting device 1, a test chart 2, a test chart irradiation light emitting device 3, a half mirror 4, an image pickup device 5, a storage device 6, and an image pickup device failure. A diagnostic control unit 7 is provided.
 被写体照射用発光装置1は、被写体に光を照射する。被写体照射用発光装置1が出射した光は、被写体に反射され、ハーフミラー4に向かって伝搬する。より詳細には、実施の形態1では、被写体照射用発光装置1は、車両の運転者に光を照射するLEDである。 The subject irradiation light emitting device 1 irradiates the subject with light. The light emitted by the light emitting device 1 for illuminating the subject is reflected by the subject and propagates toward the half mirror 4. More specifically, in the first embodiment, the subject irradiation light emitting device 1 is an LED that irradiates the driver of the vehicle with light.
 テストチャート2は、撮像装置故障診断用のテストチャートである。より詳細には、実施の形態1では、テストチャート2は、撮像装置故障診断用の透過型のテストチャートである。テストチャート2の例として、解像度チェック用のテストチャート、均一性チェック用のテストチャート、色の再現性チェック用のテストチャート(例えば、マクベスチャート)、階調チェック用のテストチャート、又は人間の体型若しくは顔が写っているテストチャート等が挙げられる。 The test chart 2 is a test chart for diagnosing an image pickup device failure. More specifically, in the first embodiment, the test chart 2 is a transmission type test chart for diagnosing an image pickup device failure. Examples of test chart 2 include a test chart for resolution check, a test chart for uniformity check, a test chart for color reproducibility check (for example, Macbeth chart), a test chart for gradation check, or a human figure. Alternatively, a test chart showing a face can be mentioned.
 テストチャート照射用発光装置3は、テストチャート2に光を照射する。テストチャート照射用発光装置3が出射した光は、テストチャート2を通過し、ハーフミラー4に向かって伝搬する。実施の形態1では、テストチャート照射用発光装置3は、テストチャート2に光を照射するLEDである。 The light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light. The light emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2 and propagates toward the half mirror 4. In the first embodiment, the light emitting device 3 for irradiating the test chart is an LED that irradiates the test chart 2 with light.
 ハーフミラー4は、被写体照射用発光装置1が出射し、被写体によって反射された第1の光を透過させる一方の面、及び、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を反射する他方の面、を有する。ハーフミラー4から出射された第1の光及び第2の光は、それぞれ、撮像装置5に向かって伝搬する。ハーフミラー4の詳細な構造については後述する。 The half mirror 4 was emitted by the light emitting device 1 for irradiating the subject, one surface through which the first light reflected by the subject was transmitted, and the light emitting device 3 for irradiating the test chart were emitted and passed through the test chart 2. It has the other surface, which reflects a second light. The first light and the second light emitted from the half mirror 4 propagate toward the image pickup apparatus 5, respectively. The detailed structure of the half mirror 4 will be described later.
 撮像装置5は、ハーフミラー4を透過した第1の光を受光することにより被写体を撮像し、ハーフミラー4が反射した第2の光を受光することによりテストチャート2を撮像する。撮像装置5の例として、カメラモジュール等が挙げられる。撮像装置5は、例えば、レンズ、又はイメージセンサ等を備えている。つまり、その場合、撮像装置5の故障診断は、例えば、レンズ、又はイメージセンサ等の故障診断である。撮像装置5が被写体を撮像することにより得られた被写体画像と、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像とは、撮像装置故障診断制御部7に出力される。なお、本明細書において、画像は、動画像又は静止画像である。
 記憶装置6は、テストチャート画像の期待値を記憶する。記憶装置6は、記憶するテストチャート画像の期待値を撮像装置故障診断制御部7に出力する。
The image pickup apparatus 5 captures the subject by receiving the first light transmitted through the half mirror 4, and captures the test chart 2 by receiving the second light reflected by the half mirror 4. An example of the image pickup apparatus 5 is a camera module or the like. The image pickup apparatus 5 includes, for example, a lens, an image sensor, or the like. That is, in that case, the failure diagnosis of the image pickup apparatus 5 is, for example, a failure diagnosis of a lens, an image sensor, or the like. The subject image obtained by the image pickup device 5 taking an image of the subject and the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 are output to the image pickup device failure diagnosis control unit 7. In the present specification, the image is a moving image or a still image.
The storage device 6 stores the expected value of the test chart image. The storage device 6 outputs the expected value of the test chart image to be stored to the image pickup device failure diagnosis control unit 7.
 撮像装置故障診断制御部7は、切り替え制御部10、故障診断部11、及び被写体画像補正部12を備えている。実施の形態1では、撮像装置故障診断制御部7は、CPUである。
 切り替え制御部10は、被写体照射用発光装置1の発光及び消灯をそれぞれ制御し、テストチャート照射用発光装置3の発光及び消灯をそれぞれ制御する。切り替え制御部10は、被写体照射用発光装置1が被写体に光を照射する第1のモードと、テストチャート照射用発光装置3がテストチャート2に光を照射する第2のモードとの間の切り替えを制御する。詳細については後述する。
The image pickup device failure diagnosis control unit 7 includes a switching control unit 10, a failure diagnosis unit 11, and a subject image correction unit 12. In the first embodiment, the image pickup device failure diagnosis control unit 7 is a CPU.
The switching control unit 10 controls light emission and extinguishing of the subject irradiation light emitting device 1, respectively, and controls light emission and extinguishing of the test chart irradiation light emitting device 3. The switching control unit 10 switches between a first mode in which the light emitting device 1 for irradiating the subject irradiates the subject with light and a second mode in which the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light. To control. Details will be described later.
 故障診断部11は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像に基づいて、撮像装置5の故障を診断する。より詳細には、実施の形態1では、故障診断部11は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像と、記憶装置6が記憶する期待値とを比較することにより、撮像装置5の故障を診断する。詳細については後述する。
 被写体画像補正部12は、撮像装置5が被写体を撮像することにより得られた被写体画像における、テストチャート2の映り込みを補正する。詳細については後述する。
The failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 based on the test chart image obtained by the image pickup device 5 taking an image of the test chart 2. More specifically, in the first embodiment, the failure diagnosis unit 11 compares the test chart image obtained by the image pickup device 5 with the test chart 2 with the expected value stored in the storage device 6. Therefore, the failure of the image pickup apparatus 5 is diagnosed. Details will be described later.
The subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image obtained by the image pickup device 5 taking an image of the subject. Details will be described later.
 以下で、実施の形態1に係る撮像装置故障診断システム100の動作について図面を参照して説明する。図2は、生産時及び検査時における、撮像装置故障診断システム100による撮像装置故障診断方法を示すフローチャートである。図3は、起動時における、撮像装置故障診断システム100による撮像装置故障診断方法を示すフローチャートである。図4は、通常動作時(定常状態時)における、撮像装置故障診断システム100による撮像装置故障診断方法を示すフローチャートである。なお、図2、図3及び図4におけるMain Function(主機能)は、撮像装置故障診断制御部7の機能、又は撮像装置故障診断制御部7の切り替え制御部10の機能を示し、Test Chart LED(テストチャートLED)は、テストチャート照射用発光装置3の機能を示し、Driver LED(ドライバーLED)は、被写体照射用発光装置1の機能を示し、Expect Data(期待値データ)、Initial Data(初期データ)、Startup Data(スタートアップデータ)及びCyclic Data(サイクリックデータ)は、それぞれ、記憶装置6が記憶するデータを示し、Initial Check(初期チェック)及びCyclic Check(周期チェック)は、それぞれ、故障診断部11の機能、又は被写体画像補正部12の機能を示し、Reflect Correction(映り込み補正)は、被写体画像補正部12の機能を示し、Sub CPU(サブCPU)は、サブCPU(図示せず)の機能を示す。 Hereinafter, the operation of the image pickup apparatus failure diagnosis system 100 according to the first embodiment will be described with reference to the drawings. FIG. 2 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of production and inspection. FIG. 3 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of startup. FIG. 4 is a flowchart showing a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 during normal operation (in a steady state). The Main Function in FIGS. 2, 3 and 4 indicates the function of the image pickup device failure diagnosis control unit 7 or the function of the switching control unit 10 of the image pickup device failure diagnosis control unit 7, and is a Test Chart LED. (Test chart LED) indicates the function of the test chart irradiation light emitting device 3, Driver LED (driver LED) indicates the function of the subject irradiation light emitting device 1, Expect Data (expected value data), Initial Data (initial value data). Data), StartupData (startup data) and CyclicData (cyclic data) indicate the data stored in the storage device 6, respectively, and Initial Check (initial check) and Cyclic Check (cycle check) respectively indicate a failure diagnosis. The function of the subject image correction unit 12 or the function of the subject image correction unit 12 is shown, the Reflect Correction (reflection correction) shows the function of the subject image correction unit 12, and the Sub CPU (sub CPU) is a sub CPU (not shown). Shows the function of.
 まず、以下で、生産時及び検査時における、撮像装置故障診断システム100による撮像装置故障診断方法について説明する。
 図2が示すように、撮像装置故障診断システム100の生産時において、記憶装置6には、図示しない外部機器から、テストチャート画像の期待値が予め書き込まれる。または、記憶装置6は、テストチャート画像の期待値を予め記憶している。当該期待値は、例えば、理論値、テストチャート2の元となっているデジタルデータ、又は、リファレンス機がテストチャート2を撮影することにより得たデータ等である。
First, a method of diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of production and inspection will be described below.
As shown in FIG. 2, at the time of production of the image pickup device failure diagnosis system 100, the expected value of the test chart image is written in advance in the storage device 6 from an external device (not shown). Alternatively, the storage device 6 stores the expected value of the test chart image in advance. The expected value is, for example, a theoretical value, digital data that is the basis of the test chart 2, data obtained by photographing the test chart 2 with a reference machine, and the like.
 撮像装置故障診断システム100の検査時において、撮像装置故障診断制御部7の切り替え制御部10は、テストチャート照射用発光装置3がテストチャート2に光を照射するように制御する(ステップST1)。これにより、テストチャート照射用発光装置3が出射した光(第2の光)は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。そして、撮像装置5は、当該光を受光することによりテストチャート2を撮像する。なお、テストチャート照射用発光装置3が光を出射する際、ハーフミラー4における被写体側の面の前方(例えば、ドライバーモニタリングシステムのスクリーン面)は、撮像装置故障診断システム100の外部から光が入らないように遮光されていてもよいし、通常の動作を想定して、遮光されていなくてもよい。 At the time of inspection of the image pickup device failure diagnosis system 100, the switching control unit 10 of the image pickup device failure diagnosis control unit 7 controls the light emitting device 3 for irradiating the test chart to irradiate the test chart 2 with light (step ST1). As a result, the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. Then, the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. When the light emitting device 3 for irradiating the test chart emits light, light enters from the outside of the image pickup device failure diagnosis system 100 in front of the surface of the half mirror 4 on the subject side (for example, the screen surface of the driver monitoring system). It may be shielded from light so as not to be shielded, or it may not be shielded from light assuming normal operation.
 次に、撮像装置故障診断制御部7は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像を、出荷検査時のテストチャート撮像データとして記憶装置6に書き込む(ステップST2)。 Next, the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as the test chart image pickup data at the time of shipping inspection (step ST2). ..
 次に、故障診断部11は、記憶装置6が記憶するテストチャート画像の期待値を読み込む(ステップST3)。
 次に、故障診断部11は、記憶装置6がステップST2で記憶したテストチャート撮像データを読み込む(ステップST4)。
Next, the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST3).
Next, the failure diagnosis unit 11 reads the test chart imaging data stored in step ST2 by the storage device 6 (step ST4).
 次に、故障診断部11は、読み込んだテストチャート撮像データ(テストチャート画像)と、読み込んだ期待値とを比較することにより、撮像装置5の故障を診断する(ステップST5)。実施の形態1では、故障診断部11は、ステップST5において、撮像装置5のイメージセンサの健全性を診断するものとする。 Next, the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST5). In the first embodiment, the failure diagnosis unit 11 diagnoses the soundness of the image sensor of the image pickup apparatus 5 in step ST5.
 故障診断部11は、ステップST5において、撮像装置5が正常であると診断した場合、撮像装置5におけるテストチャート画像の期待値として、記憶装置6が記憶するテストチャート画像の期待値を、テストチャート撮像データに置き換える(ステップST6)。つまり、故障診断部11は、記憶装置6が記憶するテストチャート2の期待値を更新する。 When the failure diagnosis unit 11 diagnoses that the image pickup device 5 is normal in step ST5, the failure diagnosis unit 11 sets the expected value of the test chart image stored in the storage device 6 as the expected value of the test chart image in the image pickup device 5 as a test chart. Replace with imaged data (step ST6). That is, the failure diagnosis unit 11 updates the expected value of the test chart 2 stored in the storage device 6.
 故障診断部11は、ステップST5において撮像装置5が異常であると診断した場合、図示しないサブCPUに撮像装置5が異常であることを通知する(ステップST7)。当該サブCPUは、図示しない外部のECU(Electronic Control Unit)に撮像装置5の異常を通知する。 When the failure diagnosis unit 11 diagnoses that the image pickup device 5 is abnormal in step ST5, the failure diagnosis unit 11 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST7). The sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
 また、撮像装置故障診断制御部7は、被写体画像におけるテストチャート2の映り込みを補正する機能がオンになっている場合、以下の各ステップを実行する。
 まず、切り替え制御部10は、テストチャート照射用発光装置3が消灯するように制御する(ステップST8)。そして、テストチャート照射用発光装置3が完全に消灯しないことによって出射された微かな光は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。撮像装置5は、当該光を受光することによりテストチャート2を撮像する。これにより得られたテストチャート画像は、被写体画像におけるテストチャート2の映り込みデータとして用いられる。
Further, when the function of correcting the reflection of the test chart 2 in the subject image is turned on, the image pickup apparatus failure diagnosis control unit 7 executes each of the following steps.
First, the switching control unit 10 controls so that the light emitting device 3 for irradiating the test chart is turned off (step ST8). Then, the faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. The image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. The test chart image thus obtained is used as reflection data of the test chart 2 in the subject image.
 次に、撮像装置故障診断制御部7は、撮像装置5の撮像により得られた映り込みデータを記憶装置6に書き込む(ステップST9)。
 次に、被写体画像補正部12は、記憶装置6が記憶する映り込みデータを読み込む(ステップST10)。
Next, the image pickup device failure diagnosis control unit 7 writes the reflection data obtained by the image pickup of the image pickup device 5 into the storage device 6 (step ST9).
Next, the subject image correction unit 12 reads the reflection data stored in the storage device 6 (step ST10).
 次に、被写体画像補正部12は、読み込んだ映り込みデータに基づいて、映り込みマスクデータを作成する(ステップST11)。当該映り込みマスクデータは、被写体画像補正部12が被写体画像におけるテストチャート2の映り込みを補正する際に用いるデータである。
 次に、被写体画像補正部12は、作成した映り込みマスクデータを記憶装置6に書き込む(ステップST12)。
Next, the subject image correction unit 12 creates reflection mask data based on the read reflection data (step ST11). The reflection mask data is data used by the subject image correction unit 12 to correct the reflection of the test chart 2 in the subject image.
Next, the subject image correction unit 12 writes the created reflection mask data in the storage device 6 (step ST12).
 以下で、起動時における、撮像装置故障診断システム100による撮像装置故障診断方法について説明する。
 図3が示すように、撮像装置故障診断システム100の起動時において、撮像装置故障診断制御部7の切り替え制御部10は、テストチャート照射用発光装置3がテストチャート2に光を照射するように制御する(ステップST20)。これにより、テストチャート照射用発光装置3が出射した光(第2の光)は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。そして、撮像装置5は、当該光を受光することによりテストチャート2を撮像する。
Hereinafter, a method for diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 at the time of startup will be described.
As shown in FIG. 3, when the image pickup device failure diagnosis system 100 is started, the switching control unit 10 of the image pickup device failure diagnosis control unit 7 causes the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light. Control (step ST20). As a result, the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. Then, the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light.
 次に、撮像装置故障診断制御部7は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像を、起動時のテストチャート撮像データとして記憶装置6に書き込む(ステップST21)。
 次に、故障診断部11は、記憶装置6がステップST21で記憶したテストチャート撮像データを読み込む(ステップST22)。
Next, the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as the test chart image pickup data at the time of startup (step ST21).
Next, the failure diagnosis unit 11 reads the test chart imaging data stored in step ST21 by the storage device 6 (step ST22).
 次に、故障診断部11は、記憶装置6が記憶するテストチャート画像の期待値を読み込む(ステップST23)。当該期待値は、ステップST6で故障診断部11が更新した期待値であってもよいし、上述の通り、理論値、テストチャート2の元となっているデジタルデータ、又は、リファレンス機がテストチャート2を撮影することにより得たデータ等であってもよい。 Next, the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST23). The expected value may be the expected value updated by the failure diagnosis unit 11 in step ST6, or as described above, the theoretical value, the digital data that is the basis of the test chart 2, or the test chart by the reference machine. It may be data or the like obtained by photographing 2.
 次に、故障診断部11は、読み込んだテストチャート撮像データ(テストチャート画像)と、読み込んだ期待値とを比較することにより、撮像装置5の故障を診断する(ステップST24)。ここにおいても、故障診断部11は、撮像装置5のイメージセンサの健全性を診断するものとする。 Next, the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST24). Here, too, the failure diagnosis unit 11 shall diagnose the soundness of the image sensor of the image pickup apparatus 5.
 撮像装置故障診断制御部7は、ステップST24において撮像装置5が正常であると診断し且つ被写体画像におけるテストチャート2の映り込みを補正する機能がオンになっている場合、以下のステップST25からステップST29までの各ステップを実行する。 When the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is normal in step ST24 and the function of correcting the reflection of the test chart 2 in the subject image is turned on, the steps from the following steps ST25 are taken. Each step up to ST29 is executed.
 まず、切り替え制御部10は、テストチャート照射用発光装置3が消灯するように制御する(ステップST25)。そして、テストチャート照射用発光装置3が完全に消灯しないことによって出射された微かな光は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。撮像装置5は、当該光を受光することによりテストチャート2を撮像する。これにより得られたテストチャート画像は、被写体画像におけるテストチャート2の映り込みデータとして用いられる。 First, the switching control unit 10 controls so that the light emitting device 3 for irradiating the test chart is turned off (step ST25). Then, the faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. The image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. The test chart image thus obtained is used as reflection data of the test chart 2 in the subject image.
 次に、撮像装置故障診断制御部7は、撮像装置5の撮像により得られた映り込みデータを記憶装置6に書き込む(ステップST26)。
 次に、被写体画像補正部12は、記憶装置6がステップST26で記憶した映り込みデータを読み込む(ステップST27)。
Next, the image pickup device failure diagnosis control unit 7 writes the reflection data obtained by the image pickup of the image pickup device 5 into the storage device 6 (step ST26).
Next, the subject image correction unit 12 reads the reflection data stored in step ST26 by the storage device 6 (step ST27).
 次に、被写体画像補正部12は、読み込んだ映り込みデータに基づいて、映り込みマスクデータを作成する(ステップST28)。
 次に、被写体画像補正部12は、作成した映り込みマスクデータを記憶装置6に書き込む(ステップST29)。以上のように、被写体画像補正部12は、起動時毎に、映り込みマスクデータを作成してもよい。
Next, the subject image correction unit 12 creates reflection mask data based on the read reflection data (step ST28).
Next, the subject image correction unit 12 writes the created reflection mask data in the storage device 6 (step ST29). As described above, the subject image correction unit 12 may create reflection mask data at each startup.
 一方で、故障診断部11は、ステップST24において撮像装置5が異常であると診断した場合、図示しないサブCPUに撮像装置5が異常であることを通知する(ステップST30)。当該サブCPUは、図示しない外部のECU(Electronic Control Unit)に撮像装置5の異常を通知する。 On the other hand, when the failure diagnosis unit 11 diagnoses that the image pickup device 5 is abnormal in step ST24, the failure diagnosis unit 11 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST30). The sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
 以下で、通常動作時における、撮像装置故障診断システム100による撮像装置故障診断方法について説明する。
 図4が示すように、撮像装置故障診断システム100の通常動作時において、撮像装置故障診断制御部7の切り替え制御部10は、被写体照射用発光装置1が被写体に光を照射するように制御する(ステップST40)。これにより、被写体照射用発光装置1が出射した光(第1の光)は、被写体に反射され、ハーフミラー4に向かって伝搬し、ハーフミラー4を透過する。
 次に、撮像装置故障診断制御部7は、撮像装置5が、当該光を受光することにより被写体を撮像するように制御する(ステップST41)。
Hereinafter, a method for diagnosing an image pickup device failure by the image pickup device failure diagnosis system 100 during normal operation will be described.
As shown in FIG. 4, during the normal operation of the image pickup device failure diagnosis system 100, the switching control unit 10 of the image pickup device failure diagnosis control unit 7 controls the subject irradiation light emitting device 1 to irradiate the subject with light. (Step ST40). As a result, the light (first light) emitted by the subject irradiation light emitting device 1 is reflected by the subject, propagates toward the half mirror 4, and passes through the half mirror 4.
Next, the image pickup device failure diagnosis control unit 7 controls the image pickup device 5 to take an image of the subject by receiving the light (step ST41).
 次に、被写体画像におけるテストチャート2の映り込みを補正する機能がオンになっている場合、以下のステップST42からステップST45を実行する。
 まず、被写体画像補正部12は、ステップST41で撮像装置5が被写体を撮像することにより得られた被写体画像(撮像データ)を取得する(ステップST42)。
Next, when the function of correcting the reflection of the test chart 2 in the subject image is turned on, the following steps ST42 to ST45 are executed.
First, the subject image correction unit 12 acquires a subject image (imaging data) obtained by the imaging device 5 imaging the subject in step ST41 (step ST42).
 次に、被写体画像補正部12は、上述のステップST29で記憶装置6に書き込んだ映り込みマスクデータを取得する(ステップST43)。
 次に、被写体画像補正部12は、取得した映り込みマスクデータに基づいて、被写体画像における、テストチャート2の映り込みを補正する(ステップST44)。
Next, the subject image correction unit 12 acquires the reflection mask data written in the storage device 6 in step ST29 described above (step ST43).
Next, the subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image based on the acquired reflection mask data (step ST44).
 次に、被写体画像補正部12は、映り込み補正後の被写体画像を、被写体(運転者)の状態検知を行う機構(図示せず)に出力する(ステップST45)。当該機構は、映り込み補正後の被写体画像に基づいて被写体の状態検知を行う。 Next, the subject image correction unit 12 outputs the subject image after the reflection correction to a mechanism (not shown) that detects the state of the subject (driver) (step ST45). The mechanism detects the state of the subject based on the subject image after the reflection correction.
 ステップST41又はステップST45の次のステップとして、切り替え制御部10は、テストチャート照射用発光装置3がテストチャート2に光を照射するように制御する(ステップST46)。これにより、テストチャート照射用発光装置3が出射した光(第2の光)は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。そして、撮像装置5は、当該光を受光することによりテストチャート2を撮像する。なお、ステップST46の際には、被写体照射用発光装置1は消灯している。 As the next step of step ST41 or step ST45, the switching control unit 10 controls the light emitting device 3 for irradiating the test chart to irradiate the test chart 2 with light (step ST46). As a result, the light (second light) emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. Then, the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. At the time of step ST46, the light emitting device 1 for irradiating the subject is turned off.
 次に、撮像装置故障診断制御部7は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像を、テストチャート撮像データとして記憶装置6に書き込む(ステップST47)。 Next, the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as test chart image pickup data (step ST47).
 次に、故障診断部11は、記憶装置6がステップST47で記憶したテストチャート撮像データを読み込む(ステップST48)。
 次に、故障診断部11は、記憶装置6が記憶するテストチャート画像の期待値を読み込む(ステップST49)。当該期待値は、ステップST6で故障診断部11が更新した期待値であってもよいし、上述の通り、理論値、テストチャート2の元となっているデジタルデータ、又は、リファレンス機がテストチャート2を撮影することにより得たデータ等であってもよい。
Next, the failure diagnosis unit 11 reads the test chart imaging data stored in step ST47 by the storage device 6 (step ST48).
Next, the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6 (step ST49). The expected value may be the expected value updated by the failure diagnosis unit 11 in step ST6, or as described above, the theoretical value, the digital data that is the basis of the test chart 2, or the test chart by the reference machine. It may be data or the like obtained by photographing 2.
 次に、故障診断部11は、読み込んだテストチャート撮像データ(テストチャート画像)と、読み込んだ期待値とを比較することにより、撮像装置5の故障を診断する(ステップST50)。ここにおいても、故障診断部11は、撮像装置5のイメージセンサの健全性を診断するものとする。 Next, the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart imaging data (test chart image) with the read expected value (step ST50). Here, too, the failure diagnosis unit 11 shall diagnose the soundness of the image sensor of the image pickup apparatus 5.
 撮像装置故障診断制御部7は、ステップST50において撮像装置5が正常であると診断した場合、ステップST40の処理に戻り、ステップST40からステップST50までの各ステップを繰り返し実行する。 When the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is normal in step ST50, the image pickup device failure diagnosis control unit 7 returns to the process of step ST40 and repeatedly executes each step from step ST40 to step ST50.
 撮像装置故障診断制御部7は、ステップST50において撮像装置5が異常であると診断した場合、図示しないサブCPUに撮像装置5が異常であることを通知する(ステップST51)。当該サブCPUは、図示しない外部のECU(Electronic Control Unit)に撮像装置5の異常を通知する。 When the image pickup device failure diagnosis control unit 7 diagnoses that the image pickup device 5 is abnormal in step ST50, the image pickup device failure diagnosis control unit 7 notifies a sub CPU (not shown) that the image pickup device 5 is abnormal (step ST51). The sub CPU notifies an external ECU (Electronic Control Unit) (not shown) of an abnormality in the image pickup device 5.
 以下で、実施の形態1に係るハーフミラー4の具体例について図面を参照して説明する。図5は、ハーフミラー4の具体例を説明するための概略図である。図5の左側の図は、被写体照射用発光装置1が出射し、被写体によって反射された第1の光を透過させる一方の面の機能を示し、図5の右側の図は、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を反射する他方の面の機能を示す。 Hereinafter, a specific example of the half mirror 4 according to the first embodiment will be described with reference to the drawings. FIG. 5 is a schematic diagram for explaining a specific example of the half mirror 4. The figure on the left side of FIG. 5 shows the function of one surface emitted by the light emitting device 1 for subject irradiation and transmitting the first light reflected by the subject, and the figure on the right side of FIG. 5 is for test chart irradiation. The function of the other surface from which the light emitting device 3 emits and reflects the second light that has passed through the test chart 2 is shown.
 図5が示すように、第1の光のハーフミラー4への入射方向と第2の光のハーフミラー4への入射方向とは、直交し、ハーフミラー4は、一方の面と第1の光の入射方向とのなす角が鋭角になり且つ他方の面と第2の光の入射方向とのなす角が鋭角になるように配置されている。 As shown in FIG. 5, the incident direction of the first light on the half mirror 4 and the incident direction of the second light on the half mirror 4 are orthogonal to each other, and the half mirror 4 has one surface and the first one. The angle formed by the incident direction of the light is an acute angle, and the angle formed by the other surface and the incident direction of the second light is an acute angle.
 図5の左側の図の例において、図示しない被写体照射用発光装置1が出射し、被写体によって反射された第1の光は、ハーフミラー4の一方の面に入射し、一部がハーフミラー4に吸収され、一部がハーフミラー4に反射され、大部分がハーフミラー4を透過する。 In the example of the figure on the left side of FIG. 5, a light emitting device 1 for subject irradiation (not shown) emits light, and the first light reflected by the subject is incident on one surface of the half mirror 4, and a part of the light is incident on one surface of the half mirror 4. It is absorbed by the half mirror 4, part of it is reflected by the half mirror 4, and most of it is transmitted through the half mirror 4.
 図5の右側の図の例において、図示しないテストチャート照射用発光装置3が出射し、図示しないテストチャート2を通過した第2の光は、ハーフミラー4の他方の面に入射し、一部がハーフミラー4に吸収され、一部がハーフミラー4を透過し、大部分がハーフミラー4に反射される。
 これにより、ハーフミラー4を透過した第1の光と、ハーフミラー4に反射された第2の光は、それぞれ、撮像装置5に向かって伝搬する。
In the example of the figure on the right side of FIG. 5, the light emitting device 3 for irradiating the test chart (not shown) emits light, and the second light passing through the test chart 2 (not shown) is incident on the other surface of the half mirror 4 and partially. Is absorbed by the half mirror 4, a part of the light is transmitted through the half mirror 4, and most of the light is reflected by the half mirror 4.
As a result, the first light transmitted through the half mirror 4 and the second light reflected by the half mirror 4 propagate toward the image pickup apparatus 5, respectively.
 このようにハーフミラー4の一方の面及び他方の面の各特性を用い、被写体照射用発光装置1の発光及び消灯、並びにテストチャート2の発光及び消灯をそれぞれ制御することにより、被写体又はテストチャート2のうちの何れか一方を選択的に撮影することが可能である。 In this way, by using the characteristics of one surface and the other surface of the half mirror 4 to control the light emission and extinguishing of the subject irradiation light emitting device 1 and the light emission and extinguishing of the test chart 2, the subject or the test chart can be controlled. It is possible to selectively shoot any one of the two.
 以下で、実施の形態1に係る撮像装置故障診断システム100による撮像装置故障診断方法の具体例について図面を参照して説明する。図6は、撮像装置故障診断システム100による撮像装置故障診断方法を説明するための概略図である(記憶装置6及び撮像装置故障診断制御部7の図示は省略)。なお、当該具体例では、撮像装置5は、レンズ20、及びイメージセンサ21を備えている。また、当該具体例では、被写体画像におけるテストチャート2の映り込みを補正する機能は、オフになっているものとする。 Hereinafter, a specific example of the image pickup device failure diagnosis method by the image pickup device failure diagnosis system 100 according to the first embodiment will be described with reference to the drawings. FIG. 6 is a schematic diagram for explaining an image pickup device failure diagnosis method by the image pickup device failure diagnosis system 100 (the storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown). In the specific example, the image pickup apparatus 5 includes a lens 20 and an image sensor 21. Further, in the specific example, it is assumed that the function of correcting the reflection of the test chart 2 in the subject image is turned off.
 図6が示すように、テストチャート照射用発光装置3による第1の光の出射方向に、テストチャート2が設置されている。ハーフミラー4は、テストチャート2を通過した第1の光と、被写体照射用発光装置1が出射し、図示しない被写体によって反射された第2の光とが直交する位置に設置されている。 As shown in FIG. 6, the test chart 2 is installed in the emission direction of the first light by the light emitting device 3 for irradiating the test chart. The half mirror 4 is installed at a position where the first light that has passed through the test chart 2 and the second light emitted by the subject irradiation light emitting device 1 and reflected by a subject (not shown) are orthogonal to each other.
 撮像装置5のレンズ20は、ハーフミラー4の一方の面を透過した第1の光、及びハーフミラー4の他方の面に反射された第2の光の共通する伝搬方向の位置に設置されている。撮像装置5のイメージセンサ21は、レンズ20を透過した第1の光及び第2の光の伝搬方向の位置に設置されている。 The lens 20 of the image pickup apparatus 5 is installed at a position in a common propagation direction of the first light transmitted through one surface of the half mirror 4 and the second light reflected by the other surface of the half mirror 4. There is. The image sensor 21 of the image pickup apparatus 5 is installed at a position in the propagation direction of the first light and the second light transmitted through the lens 20.
 まず、上述のステップST40において、切り替え制御部10は、被写体照射用発光装置1が被写体に光を照射するように制御する。これにより、被写体照射用発光装置1が出射した第1の光は、図示しない被写体に反射され、ハーフミラー4に向かって伝搬し、ハーフミラー4を透過する。ハーフミラー4を透過した第1の光は、レンズ20を透過し、イメージセンサ21に受光される。そして、上述のステップST41において、撮像装置故障診断制御部7は、撮像装置5が被写体を撮像するように制御する。当該具体例では、撮像装置故障診断制御部7は、撮像装置5が被写体の運転者を撮像することにより得られた被写体画像に基づいて、運転者がよそ見や居眠りをしていないか等監視し、図示しないスピーカを介して必要に応じて警告を発するように制御するものとする。なお、ここにおいて、テストチャート照射用発光装置3は消灯しているため、被写体画像には、テストチャート2は映り込んでいない。 First, in step ST40 described above, the switching control unit 10 controls the subject irradiation light emitting device 1 to irradiate the subject with light. As a result, the first light emitted by the subject irradiation light emitting device 1 is reflected by a subject (not shown), propagates toward the half mirror 4, and passes through the half mirror 4. The first light transmitted through the half mirror 4 passes through the lens 20 and is received by the image sensor 21. Then, in step ST41 described above, the image pickup device failure diagnosis control unit 7 controls the image pickup device 5 to take an image of the subject. In the specific example, the image pickup device failure diagnosis control unit 7 monitors whether the driver is looking away or falling asleep based on the subject image obtained by the image pickup device 5 taking an image of the driver of the subject. , It shall be controlled to issue a warning as needed through a speaker (not shown). Since the light emitting device 3 for irradiating the test chart is turned off here, the test chart 2 is not reflected in the subject image.
 次に、上述のステップST46において、切り替え制御部10は、テストチャート照射用発光装置3がテストチャート2に光を照射するように制御する。これにより、テストチャート照射用発光装置3が出射した第2の光は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。そして、撮像装置5は、当該光を受光することによりテストチャート2を撮像する。なお、ここにおいて、被写体照射用発光装置1は消灯しているため、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像には、被写体は映り込んでいない。 Next, in step ST46 described above, the switching control unit 10 controls the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light. As a result, the second light emitted by the light emitting device 3 for irradiating the test chart passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. Then, the image pickup apparatus 5 takes an image of the test chart 2 by receiving the light. Here, since the light emitting device 1 for illuminating the subject is turned off, the subject is not reflected in the test chart image obtained by the image pickup device 5 taking an image of the test chart 2.
 次に、上述のステップST47において、撮像装置故障診断制御部7は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像を、テストチャート撮像データとして、記憶装置6に書き込む。次に、ステップST48において、故障診断部11は、記憶装置6がステップST47で記憶したテストチャート撮像データを読み込む。次に、ステップST49において、故障診断部11は、記憶装置6が記憶するテストチャート画像の期待値を読み込む。 Next, in step ST47 described above, the image pickup device failure diagnosis control unit 7 writes the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 into the storage device 6 as test chart image pickup data. Next, in step ST48, the failure diagnosis unit 11 reads the test chart imaging data stored in step ST47 by the storage device 6. Next, in step ST49, the failure diagnosis unit 11 reads the expected value of the test chart image stored in the storage device 6.
 次に、ステップST50において、故障診断部11は、読み込んだテストチャート撮像データ(テストチャート画像)と、読み込んだ期待値とを比較することにより、撮像装置5の故障を診断する。 Next, in step ST50, the failure diagnosis unit 11 diagnoses the failure of the image pickup device 5 by comparing the read test chart image data (test chart image) with the read expected value.
 当該具体例の構成によれば、レンズ20及びイメージセンサ21(光電変換素子)を含めた撮像装置5の故障診断を高頻度に実施可能となり、例えば、自動運転で用いられるドライバーモニタリング製品において、イメージセンサを2つ搭載するなどの大きなコストをかける必要もなく、故障診断の信頼性を確保することができる。 According to the configuration of the specific example, failure diagnosis of the image pickup apparatus 5 including the lens 20 and the image sensor 21 (photoelectric conversion element) can be performed with high frequency. For example, in a driver monitoring product used in automatic operation, an image can be obtained. It is not necessary to incur a large cost such as mounting two sensors, and the reliability of failure diagnosis can be ensured.
 以下で、実施の形態1に係る撮像装置故障診断システム100が特定波長遮断装置30をさらに備えている構成について図面を参照して説明する。図7は、実施の形態1に係る撮像装置故障診断システム100が特定波長遮断装置30をさらに備えている構成を示す概略図である(記憶装置6及び撮像装置故障診断制御部7の図示は省略)。 Hereinafter, the configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment further includes the specific wavelength cutoff device 30 will be described with reference to the drawings. FIG. 7 is a schematic diagram showing a configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment further includes a specific wavelength cutoff device 30 (the storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown). ).
 特定波長遮断装置30は、被写体照射用発光装置1が出射し、被写体によって反射された第1の光が入射するハーフミラー4の一方の面の前方に設置されている。特定波長遮断装置30は、第1の光を透過させ且つ第1の光の波長以外の波長の光を遮断する。特定波長遮断装置30の例として、バンドパスフィルター(光学フィルター)等が挙げられる。 The specific wavelength blocking device 30 is installed in front of one surface of the half mirror 4 to which the light emitting device 1 for subject irradiation emits and the first light reflected by the subject is incident. The specific wavelength blocking device 30 transmits the first light and blocks light having a wavelength other than the wavelength of the first light. An example of the specific wavelength blocking device 30 is a bandpass filter (optical filter) or the like.
 当該例では、例えば、被写体照射用発光装置1は、近赤外光のような太陽光にあまり含まれない可視光以外の特定の波長の光を被写体に照射する。その場合、特定波長遮断装置30は、当該特定の波長の光を透過させ且つ当該特定の波長以外の波長の光を遮断する。これにより、車両の走行中の外光(太陽光又は街灯等)の影響を排除することができる。また、運転者に発光及び撮影を意識させないという効果も奏する。 In this example, for example, the subject irradiation light emitting device 1 irradiates the subject with light having a specific wavelength other than visible light, such as near-infrared light, which is not so much contained in sunlight. In that case, the specific wavelength blocking device 30 transmits light having the specific wavelength and blocks light having a wavelength other than the specific wavelength. This makes it possible to eliminate the influence of external light (sunlight, street lights, etc.) while the vehicle is running. It also has the effect of not making the driver aware of light emission and shooting.
 また、テストチャート撮影時には、テストチャート照射用発光装置3がテストチャート2に光を照射し、テストチャート2を通過し、ハーフミラー4によって反射された第2の光がイメージセンサ21に映像として取り込まれる。この際、被写体照射用発光装置1は、発光せず、太陽光のうち特定の波長以外の波長の光は、特定波長遮断装置30にて遮断され、被写体に反射した光は、ハーフミラー4に到達しない。これにより、テストチャート画像における被写体の映り込みを低減することが可能である。 Further, at the time of shooting the test chart, the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light, passes through the test chart 2, and the second light reflected by the half mirror 4 is captured as an image by the image sensor 21. Is done. At this time, the light emitting device 1 for irradiating the subject does not emit light, the light having a wavelength other than the specific wavelength of sunlight is blocked by the specific wavelength blocking device 30, and the light reflected by the subject is transmitted to the half mirror 4. Not reachable. This makes it possible to reduce the reflection of the subject in the test chart image.
 以下で、実施の形態1に係る撮像装置故障診断システム100による撮像装置故障診断方法における映り込み補正方法の具体例について図面を参照して説明する。図8は、実施の形態1の具体例における被写体画像へのテストチャート2の映り込みを説明するための図である。図8において、上から、テストチャート照射用発光装置3の発光量の時間経過を示すグラフ、被写体照射用発光装置1の発光量の時間経過を示すグラフ、テストチャート照射用発光装置3の発光量の時間経過と被写体照射用発光装置1の発光量の時間経過とを示すグラフ、及び撮像装置5の撮像により得られた画像の時間経過が順番に示されている。 Hereinafter, a specific example of the reflection correction method in the image pickup device failure diagnosis method by the image pickup device failure diagnosis system 100 according to the first embodiment will be described with reference to the drawings. FIG. 8 is a diagram for explaining the reflection of the test chart 2 on the subject image in the specific example of the first embodiment. In FIG. 8, from the top, a graph showing the time course of the light emitting amount of the test chart irradiation light emitting device 3, a graph showing the time passage of the light emitting amount of the subject irradiation light emitting device 1, and the light emitting amount of the test chart irradiation light emitting device 3. A graph showing the passage of time and the passage of light emission amount of the subject irradiation light emitting device 1 and the passage of time of the image obtained by the imaging of the imaging device 5 are shown in order.
 まず、上述のステップST46において、切り替え制御部10は、テストチャート照射用発光装置3がテストチャート2に光を照射するように制御する。そして、上述のステップST47からステップST50が実行された後に、上述のステップST40に戻り、切り替え制御部10は、被写体照射用発光装置1が被写体に光を照射するように制御する。 First, in step ST46 described above, the switching control unit 10 controls the test chart irradiation light emitting device 3 to irradiate the test chart 2 with light. Then, after the steps ST50 are executed from the above-mentioned step ST47, the process returns to the above-mentioned step ST40, and the switching control unit 10 controls the subject irradiation light emitting device 1 to irradiate the subject with light.
 これにより、図8のAの矢印が示すように、テストチャート照射用発光装置3の消灯が間に合わずに、被写体照射用発光装置1が発光を開始してしまう場合がある。そのような場合、または、撮像装置故障診断システム100の外部からの光を完全に遮光できない場合等では、撮像装置5の撮像により得られた被写体画像にテストチャート2が映り込んでしまう可能性がある。そこで、被写体画像補正部12は、以下のように被写体画像の補正を行う。 As a result, as indicated by the arrow A in FIG. 8, the light emitting device 1 for subject irradiation may start emitting light before the light emitting device 3 for irradiating the test chart is turned off in time. In such a case, or when the light from the outside of the image pickup device failure diagnosis system 100 cannot be completely blocked, the test chart 2 may be reflected in the subject image obtained by the image pickup of the image pickup device 5. be. Therefore, the subject image correction unit 12 corrects the subject image as follows.
 図9は、当該具体例における映り込みデータ(リファレンス画像)を説明するための図である。図9の上段のグラフの実線は、テストチャート照射用発光装置3の発光量の時間経過を示し(点線は、被写体照射用発光装置1が発光した場合の発光量の時間経過を示す)、下段の図は、撮像装置5の撮像により得られた画像の時間経過を示す。 FIG. 9 is a diagram for explaining the reflection data (reference image) in the specific example. The solid line in the upper graph of FIG. 9 shows the time course of the light emission amount of the test chart irradiation light emitting device 3 (the dotted line shows the time passage of the light emission amount when the subject irradiation light emitting device 1 emits light), and the lower line shows. The figure shows the time course of the image obtained by the image pickup of the image pickup apparatus 5.
 上述のステップST8又はステップST25において、テストチャート照射用発光装置3が発光している状態で、切り替え制御部10は、テストチャート照射用発光装置3が消灯するように制御する。なお、この際、被写体照射用発光装置1は発光しない。テストチャート照射用発光装置3が完全に消灯しないことによって出射された微かな光は、テストチャート2を通過し、ハーフミラー4に向かって伝搬し、ハーフミラー4によって反射される。撮像装置5は、当該光を受光することによりテストチャートを撮像する。これにより得られたテストチャート画像は、被写体画像におけるテストチャート2の映り込みデータ(リファレンス画像)として用いられる(図9の下段右側の画像)。 In step ST8 or step ST25 described above, the switching control unit 10 controls the test chart irradiation light emitting device 3 to turn off while the test chart irradiation light emitting device 3 is emitting light. At this time, the light emitting device 1 for irradiating the subject does not emit light. The faint light emitted when the light emitting device 3 for irradiating the test chart is not completely turned off passes through the test chart 2, propagates toward the half mirror 4, and is reflected by the half mirror 4. The image pickup apparatus 5 captures a test chart by receiving the light. The test chart image thus obtained is used as reflection data (reference image) of the test chart 2 in the subject image (the image on the lower right side of FIG. 9).
 そして、上述のステップST11又はステップST28において、被写体画像補正部12は、映り込みデータに基づいて、映り込みマスクデータを作成する。そして、上述のステップST42において、被写体画像補正部12は、映り込みマスクデータに基づいて、被写体画像における、テストチャート2の映り込みを補正する。 Then, in step ST11 or step ST28 described above, the subject image correction unit 12 creates reflection mask data based on the reflection data. Then, in step ST42 described above, the subject image correction unit 12 corrects the reflection of the test chart 2 in the subject image based on the reflection mask data.
 なお、車両の走行中の撮影時には車両の振動により、テストチャート2とイメージセンサ21の位置関係がわずかにずれる可能性がある。そのため、被写体画像補正部12が、被写体画像から、単純に映り込みマスクデータを減算すると、被写体画像にテストチャート2の映り込みが残り、被写体画像における、テストチャート2の映っていない部分から映り込みマスクデータを引くこととなり、画質を悪化させることとなる。 It should be noted that there is a possibility that the positional relationship between the test chart 2 and the image sensor 21 may be slightly deviated due to the vibration of the vehicle during shooting while the vehicle is running. Therefore, when the subject image correction unit 12 simply subtracts the reflection mask data from the subject image, the reflection of the test chart 2 remains in the subject image, and the reflection is reflected from the portion of the subject image where the test chart 2 is not reflected. The mask data will be subtracted and the image quality will be deteriorated.
 この対策として、当該具体例では、テストチャート2は、位置合わせ用のマーカー40を有する。図10は、テストチャート2が位置合わせ用のマーカー40を有している構成を示す概略図である。図10が示すように、当該具体例では、テストチャート2は、四角形の形状を有し、当該四角形の四隅にそれぞれ、位置合わせ用のマーカー40が設けられている。 As a countermeasure, in the specific example, the test chart 2 has a marker 40 for alignment. FIG. 10 is a schematic diagram showing a configuration in which the test chart 2 has a marker 40 for alignment. As shown in FIG. 10, in the specific example, the test chart 2 has a quadrangular shape, and alignment markers 40 are provided at the four corners of the quadrangle, respectively.
 図11は、実施の形態1の具体例に係る映り込み補正方法を説明するための図である。図11において、上から、テストチャート照射用発光装置3の発光量の時間経過を示すグラフ、被写体照射用発光装置1の発光量の時間経過を示すグラフ、テストチャート照射用発光装置3の発光量の時間経過と被写体照射用発光装置1の発光量の時間経過とを示すグラフ、及び撮像装置5の撮像により得られた画像の時間経過と映り込みデータと映り込みマスクデータとが示されている。 FIG. 11 is a diagram for explaining a reflection correction method according to a specific example of the first embodiment. In FIG. 11, from the top, a graph showing the time course of the light emitting amount of the test chart irradiation light emitting device 3, a graph showing the time passage of the light emitting amount of the subject irradiation light emitting device 1, and the light emitting amount of the test chart irradiation light emitting device 3. A graph showing the passage of time and the passage of light emission amount of the subject irradiation light emitting device 1 and the time passage, reflection data, and reflection mask data of the image obtained by the imaging of the imaging device 5 are shown. ..
 まず、被写体画像補正部12は、映り込み補正の直前に(ステップST42の直前に)撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像のマーカー40に基づいて、テストチャート2の設置位置を特定する(図11の位置ずれ検出)。次に、被写体画像補正部12は、特定したテストチャート2の設置位置に基づいて、映り込みマスクデータの位置合わせを行い、テストチャート2の映り込みが発生している被写体画像から、位置合わせを行った映り込みマスクデータを引く(図11の映り込みマスクデータ減算)。これにより、映り込み補正に対する、テストチャート2の設置位置のずれによる影響を低減することが可能である。 First, the subject image correction unit 12 determines the test chart 2 based on the marker 40 of the test chart image obtained by the image pickup device 5 taking an image of the test chart 2 immediately before the reflection correction (immediately before the step ST42). (Position deviation detection in FIG. 11). Next, the subject image correction unit 12 aligns the reflection mask data based on the specified installation position of the test chart 2, and aligns the reflection from the subject image in which the reflection of the test chart 2 occurs. Subtract the performed reflection mask data (subtraction of the reflection mask data in FIG. 11). This makes it possible to reduce the influence of the deviation of the installation position of the test chart 2 on the reflection correction.
 以下で、実施の形態1に係る撮像装置故障診断システム100が複数のテストチャート2、複数のテストチャート照射用発光装置3及び複数のハーフミラー4を備えている構成について図面を参照して説明する。図12は、実施の形態1に係る撮像装置故障診断システム100が複数のテストチャート2、複数のテストチャート照射用発光装置3及び複数のハーフミラー4を備えている構成を説明するための概略図である(記憶装置6及び撮像装置故障診断制御部7の図示は省略)。 Hereinafter, a configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment includes a plurality of test charts 2, a plurality of test chart irradiation light emitting devices 3, and a plurality of half mirrors 4 will be described with reference to the drawings. .. FIG. 12 is a schematic diagram for explaining a configuration in which the image pickup device failure diagnosis system 100 according to the first embodiment includes a plurality of test charts 2, a plurality of test chart irradiation light emitting devices 3, and a plurality of half mirrors 4. (The storage device 6 and the image pickup device failure diagnosis control unit 7 are not shown).
 図12のBが示す撮像装置故障診断システム100の構成は、図7における特定波長遮断装置30をさらに備えている撮像装置故障診断システム100の構成と同様の構成である。図12のCが示す撮像装置故障診断システム100の構成は、図12のBが示す撮像装置故障診断システム100において、撮像装置5に遮光板53が設置されている構成である。図12のCが示す遮光板53は、ハーフミラー4を透過した第1の光及びハーフミラー4が反射した第2の光、以外の光を遮断する。より詳細には、例えば、図12のCが示す遮光板53は、テストチャート2を通過しなかった、テストチャート照射用発光装置3が出射した光を遮断する。 The configuration of the image pickup device failure diagnosis system 100 shown in FIG. 12B is the same as the configuration of the image pickup device failure diagnosis system 100 further including the specific wavelength cutoff device 30 in FIG. 7. The configuration of the image pickup device failure diagnosis system 100 shown in FIG. 12C is a configuration in which the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown in FIG. 12B. The light-shielding plate 53 shown by C in FIG. 12 blocks light other than the first light transmitted through the half mirror 4 and the second light reflected by the half mirror 4. More specifically, for example, the shading plate 53 shown by C in FIG. 12 blocks the light emitted by the light emitting device 3 for irradiating the test chart, which did not pass through the test chart 2.
 図12のCの例では、遮光板53の構成により、撮像装置5による撮像において、ハーフミラー4を透過した第1の光及びハーフミラー4が反射した第2の光、以外の光による影響を抑制することができる。 In the example of C in FIG. 12, due to the configuration of the light-shielding plate 53, the influence of light other than the first light transmitted through the half mirror 4 and the second light reflected by the half mirror 4 in the image pickup by the image pickup apparatus 5 is affected. It can be suppressed.
 図12のD、E及びFが示す撮像装置故障診断システム100の各構成は、撮像装置故障診断システム100が複数のテストチャート2、複数のテストチャート照射用発光装置3及び複数のハーフミラー4を備えている構成である。 In each configuration of the image pickup device failure diagnosis system 100 shown by D, E, and F of FIG. 12, the image pickup device failure diagnosis system 100 includes a plurality of test charts 2, a plurality of test chart irradiation light emitting devices 3, and a plurality of half mirrors 4. It is a equipped configuration.
 より詳細には、図12のD、E及びFの各例では、撮像装置故障診断システム100は、テストチャート2とは別のテストチャート50をさらに備えている。また、撮像装置故障診断システム100は、別のテストチャート50に光を照射する別のテストチャート照射用発光装置51をさらに備えている。また、撮像装置故障診断システム100は、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を透過させる一方の面、及び別のテストチャート照射用発光装置51が出射し、別のテストチャート50を通過した第3の光を反射する他方の面、を有する別のハーフミラー52をさらに備えている。 More specifically, in each of the examples D, E, and F of FIG. 12, the image pickup apparatus failure diagnosis system 100 further includes a test chart 50 different from the test chart 2. Further, the image pickup device failure diagnosis system 100 further includes another test chart irradiation light emitting device 51 that irradiates another test chart 50 with light. Further, in the image pickup device failure diagnosis system 100, the test chart irradiation light emitting device 3 emits light, one surface that transmits the second light that has passed through the test chart 2, and another test chart irradiation light emitting device 51 emits light. And further comprises another half mirror 52 having another surface, which reflects a third light that has passed through another test chart 50.
 また、図12のD、E及びFの各例におけるハーフミラー4の他方の面は、別のハーフミラー52を透過した第2の光と、別のハーフミラー52が反射した第3の光とをそれぞれ反射する。また、図12のD、E及びFの各例における撮像装置5は、ハーフミラー4が反射した第3の光をさらに受光することにより別のテストチャート50をさらに撮像する。 Further, the other surface of the half mirror 4 in each of the examples D, E, and F of FIG. 12 has a second light transmitted through another half mirror 52 and a third light reflected by another half mirror 52. Reflect each. Further, the image pickup apparatus 5 in each of the examples D, E, and F of FIG. 12 further takes an image of another test chart 50 by further receiving the third light reflected by the half mirror 4.
 また、図12のD、E及びFの各例における切り替え制御部10(図示せず)は、被写体照射用発光装置1が被写体に光を照射する第1のモードと、テストチャート照射用発光装置3がテストチャート2に光を照射する第2のモードと、別のテストチャート照射用発光装置51が別のテストチャート50に光を照射する第3のモードとの間の切り替えを制御する。 Further, the switching control unit 10 (not shown) in each of the examples D, E, and F of FIG. 12 has a first mode in which the subject irradiation light emitting device 1 irradiates the subject with light, and a test chart irradiation light emitting device. 3 controls switching between a second mode in which the test chart 2 is illuminated with light and a third mode in which another test chart irradiation light emitting device 51 irradiates another test chart 50 with light.
 なお、図12のD、E及びFの各例が示すように、別のテストチャート50と別のテストチャート照射用発光装置51と別のハーフミラーとの組み合わせの配置は、当該組み合わせが上記の機能を奏する限り、特に限定されない。 As shown by the examples of D, E, and F in FIG. 12, the arrangement of the combination of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror is as described above. As long as it functions, it is not particularly limited.
 また、図12のD、E及びFの各例では、撮像装置故障診断システム100が、別のテストチャート50と別のテストチャート照射用発光装置51と別のハーフミラー52との組み合わせを1組だけ備えている構成について説明した。しかし、撮像装置故障診断システム100は、別のテストチャート50と別のテストチャート照射用発光装置51と別のハーフミラー52との組み合わせを複数備えていてもよい。その場合、さらなる別のテストチャート照射用発光装置は、さらなる光をさらなる別のテストチャートに照射し、さらなる別のハーフミラーは、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を透過させる一方の面、及びさらなる別のテストチャート照射用発光装置が出射し、さらなる別のテストチャートを通過したさらなる光を反射する他方の面、を有する。また、その場合、ハーフミラー4は、さらなる別のハーフミラーが反射したさらなる光をさらに反射する。また、その場合、撮像装置5は、ハーフミラー4が反射したさらなる光をさらに受光することによりさらなる別のテストチャートをさらに撮像する。また、その場合、切り替え制御部10(図示せず)は、さらなる別のテストチャート照射用発光装置がさらなる別のテストチャートに光を照射するさらなるモードからの切り替え、又は当該さらなるモードへの切り替えをさらに制御する。 Further, in each of the examples D, E, and F of FIG. 12, the image pickup device failure diagnosis system 100 is a set of a combination of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52. I explained the configuration that only has. However, the image pickup apparatus failure diagnosis system 100 may include a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52. In that case, the light emitting device for irradiating the test chart further irradiates the light emitting device for irradiating the test chart with the light emitting device 3 for irradiating the test chart, and the light emitting device for irradiating the test chart passes through the test chart 2. It has one surface that allows the second light to pass through, and another surface that the light emitting device for still another test chart emits and reflects further light that has passed through yet another test chart. Further, in that case, the half mirror 4 further reflects the additional light reflected by the further another half mirror. Further, in that case, the image pickup apparatus 5 further captures another test chart by further receiving the further light reflected by the half mirror 4. Further, in that case, the switching control unit 10 (not shown) switches from the further mode in which the light emitting device for irradiating the further another test chart irradiates the light to the further another test chart, or switches to the further mode. Further control.
 以上の構成によれば、適宜、上記の各テストチャートとして複数種のテストチャートを用いることにより、画質評価の内容を変更することが可能であり、評価する項目に応じて最適なチャートを用いることによって、診断機能の性能を向上することができる。 According to the above configuration, it is possible to change the content of the image quality evaluation by appropriately using a plurality of types of test charts as each of the above test charts, and the optimum chart is used according to the items to be evaluated. Therefore, the performance of the diagnostic function can be improved.
 なお、上記のように撮像装置故障診断システム100が複数の発光装置を備えている構成では、各発光装置が出射した光が意図した光路ではなく、別の光路でイメージセンサに映り込むことが考えられる。そこで、図12のD、E及びFの各例における撮像装置故障診断システム100は、上述の遮光板53をさらに備えていてもよい。図12のGが示す撮像装置故障診断システム100の構成は、図12のDが示す撮像装置故障診断システム100において、撮像装置5に遮光板53が設置されている構成である。図12のHが示す撮像装置故障診断システム100の構成は、図12のEが示す撮像装置故障診断システム100において、撮像装置5に遮光板53が設置されている構成である。 In the configuration where the image pickup device failure diagnosis system 100 is provided with a plurality of light emitting devices as described above, it is conceivable that the light emitted by each light emitting device is reflected in the image sensor in a different optical path instead of the intended optical path. Be done. Therefore, the image pickup device failure diagnosis system 100 in each of the examples D, E, and F of FIG. 12 may further include the above-mentioned light-shielding plate 53. The configuration of the image pickup device failure diagnosis system 100 shown by G in FIG. 12 is such that the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown by D in FIG. The configuration of the image pickup device failure diagnosis system 100 shown by H in FIG. 12 is such that the light-shielding plate 53 is installed in the image pickup device 5 in the image pickup device failure diagnosis system 100 shown by E in FIG.
 図12のG及びHが示す遮光板53は、ハーフミラー4を透過した第1の光並びにハーフミラー4が反射した第2の光及び第3の光、以外の光を遮断する。より詳細には、例えば、図12のG及びHが示す遮光板53は、別のテストチャート50を通過しなかった、別のテストチャート照射用発光装置51が出射した光を遮断する。なお、撮像装置故障診断システム100が、別のテストチャート50と別のテストチャート照射用発光装置51と別のハーフミラー52との組み合わせを複数備えている場合、撮像装置故障診断システム100は、遮光板53とは別の遮光板をさらに備えていてもよい。その場合、例えば、当該別の遮光板は、さらなる別のテストチャートを通過しなかった、さらなる別のテストチャート照射用発光装置が出射した光を遮断する。
 以上の構成によれば、意図しない光の漏れによる、被写体画像又はテストチャート画像への映り込みを抑制することができる。
The shading plate 53 shown by G and H in FIG. 12 blocks light other than the first light transmitted through the half mirror 4 and the second light and the third light reflected by the half mirror 4. More specifically, for example, the shading plate 53 shown by G and H in FIG. 12 blocks the light emitted by another test chart irradiation light emitting device 51 that did not pass through another test chart 50. When the image pickup device failure diagnosis system 100 includes a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52, the image pickup device failure diagnosis system 100 blocks light. A light-shielding plate different from the plate 53 may be further provided. In that case, for example, the other light-shielding plate blocks the light emitted by the light-emitting device for irradiating another test chart, which has not passed through another test chart.
According to the above configuration, it is possible to suppress reflection on the subject image or the test chart image due to unintended light leakage.
 撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各機能は、処理回路により実現される。すなわち、撮像装置故障診断制御部7は、図2、図3及び図4に示した各ステップの処理を実行するための処理回路を備える。この処理回路は、専用のハードウェアであってもよいが、メモリに記憶されたプログラムを実行するCPU(Central Processing Unit)であってもよい。 Each function of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 is realized by a processing circuit. That is, the image pickup apparatus failure diagnosis control unit 7 includes a processing circuit for executing the processing of each step shown in FIGS. 2, 3 and 4. This processing circuit may be dedicated hardware, or may be a CPU (Central Processing Unit) that executes a program stored in the memory.
 図13Aは、撮像装置故障診断制御部7の機能を実現するハードウェア構成を示すブロック図である。図13Bは、撮像装置故障診断制御部7の機能を実現するソフトウェアを実行するハードウェア構成を示すブロック図である。 FIG. 13A is a block diagram showing a hardware configuration that realizes the function of the image pickup device failure diagnosis control unit 7. FIG. 13B is a block diagram showing a hardware configuration for executing software that realizes the functions of the image pickup apparatus failure diagnosis control unit 7.
 上記処理回路が図13Aに示す専用のハードウェアの処理回路101である場合、処理回路101は、例えば、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuit)、FPGA(Field-Programmable Gate Array)又はこれらを組み合わせたものが該当する。 When the processing circuit is the processing circuit 101 of the dedicated hardware shown in FIG. 13A, the processing circuit 101 may be, for example, a single circuit, a composite circuit, a programmed processor, a parallel programmed processor, or an ASIC (Application Specific Integrated Circuitd). Circuit), FPGA (Field-Programmable Gate Array) or a combination thereof is applicable.
 撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各機能を別々の処理回路で実現してもよいし、これらの機能をまとめて1つの処理回路で実現してもよい。 The functions of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 may be realized by separate processing circuits, or these functions may be combined into one processing circuit. It may be realized by.
 上記処理回路が図13Bに示すプロセッサ102である場合、撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各機能は、ソフトウェア、ファームウェア又はソフトウェアとファームウェアとの組み合わせによって実現される。
 なお、ソフトウェア又はファームウェアは、プログラムとして記述されてメモリ103に記憶される。
When the processing circuit is the processor 102 shown in FIG. 13B, the functions of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup apparatus failure diagnosis control unit 7 are software, firmware, or software and firmware. It is realized by the combination with.
The software or firmware is described as a program and stored in the memory 103.
 プロセッサ102は、メモリ103に記憶されたプログラムを読み出して実行することにより、撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各機能を実現する。すなわち、撮像装置故障診断制御部7は、これらの各機能がプロセッサ102によって実行されるときに、図2、図3及び図4に示した各ステップの処理が結果的に実行されるプログラムを記憶するためのメモリ103を備える。 The processor 102 realizes each function of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup apparatus failure diagnosis control unit 7 by reading and executing the program stored in the memory 103. That is, the image pickup apparatus failure diagnosis control unit 7 stores a program in which the processing of each step shown in FIGS. 2, 3 and 4 is executed as a result when each of these functions is executed by the processor 102. A memory 103 for the purpose is provided.
 これらのプログラムは、撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各手順又は方法をコンピュータに実行させる。メモリ103は、コンピュータを、撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12として機能させるためのプログラムが記憶されたコンピュータ可読記憶媒体であってもよい。 These programs cause the computer to execute each procedure or method of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7. The memory 103 may be a computer-readable storage medium in which a program for causing the computer to function as the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 is stored. ..
 プロセッサ102には、例えば、CPU(Central Processing Unit)、処理装置、演算装置、プロセッサ、マイクロプロセッサ、マイクロコンピュータ、またはDSP(Digital Signal Processor)などが該当する。 The processor 102 corresponds to, for example, a CPU (Central Processing Unit), a processing device, a computing device, a processor, a microprocessor, a microcomputer, a DSP (Digital Signal Processor), or the like.
 メモリ103には、例えば、RAM(Random Access Memory)、ROM(Read Only Memory)、フラッシュメモリ、EPROM(Erasable Programmable Read Only Memory)、EEPROM(Electrically-EPROM)などの不揮発性又は揮発性の半導体メモリ、ハードディスク、フレキシブルディスク等の磁気ディスク、フレキシブルディスク、光ディスク、コンパクトディスク、ミニディスク、CD(Compact Disc)、DVD(Digital Versatile Disc)などが該当する。 The memory 103 includes, for example, a RAM (Random Access Memory), a ROM (Read Only Memory), a flash memory, an EPROM (Erasable Programmable Read Only Memory), an EPROM (Electrically-Volatilizer), an EPROM (Electrically-EPROM), or the like. This includes hard disks, magnetic disks such as flexible disks, flexible disks, optical discs, compact disks, mini disks, CDs (Compact Disc), DVDs (Digital Versaille Disc), and the like.
 撮像装置故障診断制御部7における、切り替え制御部10、故障診断部11及び被写体画像補正部12の各機能について一部を専用のハードウェアで実現し、一部をソフトウェア又はファームウェアで実現してもよい。 Even if some of the functions of the switching control unit 10, the failure diagnosis unit 11, and the subject image correction unit 12 in the image pickup device failure diagnosis control unit 7 are realized by dedicated hardware, and some are realized by software or firmware. good.
 例えば、切り替え制御部10の機能は、専用のハードウェアとしての処理回路で機能を実現する。故障診断部11及び被写体画像補正部12については、プロセッサ102がメモリ103に記憶されたプログラムを読み出して実行することにより機能を実現してもよい。
 このように、処理回路は、ハードウェア、ソフトウェア、ファームウェア又はこれらの組み合わせにより上記機能のそれぞれを実現することができる。
For example, the function of the switching control unit 10 is realized by a processing circuit as dedicated hardware. The functions of the failure diagnosis unit 11 and the subject image correction unit 12 may be realized by the processor 102 reading and executing the program stored in the memory 103.
As described above, the processing circuit can realize each of the above functions by hardware, software, firmware, or a combination thereof.
 以上のように、実施の形態1に係る撮像装置故障診断システム100は、被写体に光を照射する被写体照射用発光装置1と、撮像装置故障診断用のテストチャート2と、テストチャート2に光を照射するテストチャート照射用発光装置3と、被写体照射用発光装置1が出射し、被写体によって反射された第1の光を透過させる一方の面、及び、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を反射する他方の面、を有するハーフミラー4と、ハーフミラー4を透過した第1の光を受光することにより被写体を撮像し、ハーフミラー4が反射した第2の光を受光することによりテストチャート2を撮像する撮像装置5と、被写体照射用発光装置1が被写体に光を照射する第1のモードと、テストチャート照射用発光装置3がテストチャート2に光を照射する第2のモードとの間の切り替えを制御する切り替え制御部10と、を備えている。 As described above, the image pickup device failure diagnosis system 100 according to the first embodiment emits light to the subject irradiation light emitting device 1 that irradiates the subject with light, the test chart 2 for the image pickup device failure diagnosis, and the test chart 2. The test chart irradiation light emitting device 3 to be irradiated, the one surface of the subject irradiation light emitting device 1 that transmits the first light reflected by the subject, and the test chart irradiation light emitting device 3 are emitted. The subject was imaged by receiving the first light transmitted through the half mirror 4 and the half mirror 4 having the other surface that reflects the second light that passed through the test chart 2, and the half mirror 4 reflected the light. The image pickup device 5 that captures the test chart 2 by receiving the second light, the first mode in which the subject irradiation light emitting device 1 irradiates the subject with light, and the test chart irradiation light emitting device 3 is the test chart 2. A switching control unit 10 for controlling switching between the second mode and the second mode of irradiating light is provided.
 上記の構成によれば、被写体への光の照射とテストチャート2への光の照射との間の切り替えを行うことにより、被写体の撮影と撮像装置5の故障診断のための撮影との間の切り替えを行うことができる。よって、撮像装置5の故障診断のための撮影を頻繁に行うことができる。 According to the above configuration, by switching between the irradiation of the subject with light and the irradiation of the test chart 2 with light, the image of the subject and the image for failure diagnosis of the image pickup apparatus 5 are performed. You can switch. Therefore, it is possible to frequently take pictures for failure diagnosis of the image pickup apparatus 5.
 また、例えば、上記の構成において、被写体の撮影の合間にテストチャート2を一定サイクル毎に撮像することにより、被写体の撮影に影響せずに、撮像装置5の故障診断のための撮影を頻繁に行うことができる。 Further, for example, in the above configuration, by capturing the test chart 2 at regular cycle intervals between the shooting of the subject, the shooting for failure diagnosis of the image pickup apparatus 5 is frequently performed without affecting the shooting of the subject. It can be carried out.
 また、例えば、自動運転車両に必要なセンサの1つにイメージセンサ(CMOS又はCCDなど)がある。自動運転を成立させるためには、イメージセンサには、高精度な撮影処理が求められる。そこで、上記の構成を採用することにより、イメージセンサの故障診断のための撮影を頻繁に行うことができ、イメージセンサの故障診断を頻繁に行うことができるため、イメージセンサによる撮影処理の精度を維持することも可能となる。 Also, for example, one of the sensors required for autonomous vehicles is an image sensor (CMOS or CCD, etc.). In order to establish automatic driving, the image sensor is required to perform high-precision imaging processing. Therefore, by adopting the above configuration, it is possible to frequently perform shooting for failure diagnosis of the image sensor, and it is possible to frequently perform failure diagnosis of the image sensor, so that the accuracy of the shooting process by the image sensor can be improved. It will also be possible to maintain.
 実施の形態1に係る撮像装置故障診断システム100は、撮像装置5がテストチャート2を撮像することにより得られたテストチャート画像に基づいて、撮像装置5の故障を診断する故障診断部11をさらに備えている。
 上記の構成によれば、上述の理由により、撮像装置5の故障診断を頻繁に行うことができる。
The image pickup device failure diagnosis system 100 according to the first embodiment further includes a failure diagnosis unit 11 for diagnosing a failure of the image pickup device 5 based on a test chart image obtained by the image pickup device 5 taking an image of the test chart 2. I have.
According to the above configuration, the failure diagnosis of the image pickup apparatus 5 can be frequently performed for the above-mentioned reason.
 実施の形態1に係る撮像装置故障診断システム100は、テストチャート画像の期待値を記憶する記憶装置6をさらに備え、故障診断部11は、テストチャート画像と、記憶装置6が記憶する期待値とを比較することにより、撮像装置5の故障を診断する。
 上記の構成によれば、テストチャート画像と期待値との比較により、撮像装置5の故障診断を好適に行うことができる。
The image pickup device failure diagnosis system 100 according to the first embodiment further includes a storage device 6 for storing the expected value of the test chart image, and the failure diagnosis unit 11 includes the test chart image and the expected value stored in the storage device 6. By comparing the above, the failure of the image pickup apparatus 5 is diagnosed.
According to the above configuration, the failure diagnosis of the image pickup apparatus 5 can be suitably performed by comparing the test chart image with the expected value.
 実施の形態1に係る撮像装置故障診断システム100において、ハーフミラー4における一方の面の前方には、第1の光を透過させ且つ第1の光の波長以外の波長の光を遮断する特定波長遮断装置30が設置されている。
 上記の構成によれば、被写体の撮影、又はテストチャート2の撮影における、第1の光の波長以外の波長の光による影響を抑制することができる。
In the image pickup apparatus failure diagnosis system 100 according to the first embodiment, a specific wavelength that transmits the first light and blocks light having a wavelength other than the wavelength of the first light in front of one surface of the half mirror 4. A blocking device 30 is installed.
According to the above configuration, it is possible to suppress the influence of light having a wavelength other than the wavelength of the first light in the shooting of the subject or the shooting of the test chart 2.
 実施の形態1に係る撮像装置故障診断システム100は、撮像装置5が被写体を撮像することにより得られた被写体画像における、テストチャート2の映り込みを補正する被写体画像補正部12をさらに備えている。
 上記の構成によれば、被写体画像における、テストチャート2の映り込みを除去することができる。
The image pickup device failure diagnosis system 100 according to the first embodiment further includes a subject image correction unit 12 that corrects the reflection of the test chart 2 in the subject image obtained by the image pickup device 5 taking an image of the subject. ..
According to the above configuration, the reflection of the test chart 2 in the subject image can be removed.
 実施の形態1に係る撮像装置故障診断システム100におけるテストチャート2は、位置合わせ用のマーカー40を有する。
 上記の構成によれば、映り込み補正において、マーカー40に基づいて、適宜位置合わせを行うことにより、映り込み補正に対する、テストチャート2の設置位置のずれによる影響を低減することができる。
The test chart 2 in the image pickup apparatus failure diagnosis system 100 according to the first embodiment has a marker 40 for alignment.
According to the above configuration, in the reflection correction, by appropriately aligning the position based on the marker 40, it is possible to reduce the influence of the deviation of the installation position of the test chart 2 on the reflection correction.
 実施の形態1に係る撮像装置故障診断システム100は、テストチャート2とは別のテストチャート50と、別のテストチャート50に光を照射する別のテストチャート照射用発光装置51と、テストチャート照射用発光装置3が出射し、テストチャート2を通過した第2の光を透過させる一方の面、及び別のテストチャート照射用発光装置51が出射し、別のテストチャート50を通過した第3の光を反射する他方の面、を有する別のハーフミラー52と、をさらに備え、ハーフミラー4の他方の面は、別のハーフミラー52を透過した第2の光と、別のハーフミラー52が反射した第3の光とをそれぞれ反射し、撮像装置5は、ハーフミラー4が反射した第3の光をさらに受光することにより別のテストチャート50をさらに撮像し、切り替え制御部10は、被写体照射用発光装置1が被写体に光を照射する第1のモードと、テストチャート照射用発光装置3がテストチャート2に光を照射する第2のモードと、別のテストチャート照射用発光装置3が別のテストチャート50に光を照射する第3のモードとの間の切り替えを制御する。 The image pickup device failure diagnosis system 100 according to the first embodiment includes a test chart 50 different from the test chart 2, another test chart irradiation light emitting device 51 that irradiates another test chart 50 with light, and a test chart irradiation. A third surface from which the light emitting device 3 emits light and transmits a second light passing through the test chart 2, and another light emitting device 51 for test chart irradiation emits light and passes through another test chart 50. Further comprising another half mirror 52 having another surface that reflects light, the other surface of the half mirror 4 is a second light that has passed through another half mirror 52 and another half mirror 52. Each of the reflected third light is reflected, the image pickup apparatus 5 further receives the third light reflected by the half mirror 4, another test chart 50 is further imaged, and the switching control unit 10 is a subject. A first mode in which the light emitting device 1 for irradiation irradiates the subject with light, a second mode in which the light emitting device 3 for irradiating the test chart irradiates the test chart 2 with light, and another light emitting device 3 for irradiating the test chart. Controls switching between a third mode of illuminating another test chart 50 with light.
 上記の構成によれば、2種類のテストチャートを適宜用いることによって、別の故障診断のための撮影への切り替えをさらに行うことができる。よって、2種類の故障診断を頻繁に行うことができる。 According to the above configuration, by appropriately using two types of test charts, it is possible to further switch to shooting for another failure diagnosis. Therefore, two types of failure diagnosis can be performed frequently.
 実施の形態1に係る撮像装置故障診断システム100は、撮像装置5には、ハーフミラー4を透過した第1の光並びにハーフミラー4が反射した第2の光及び第3の光、以外の光を遮断する遮光板53が設置されている。
 上記の構成によれば、意図しない光の漏れによる、被写体画像又はテストチャート画像への映り込みを抑制することができる。
In the image pickup device failure diagnosis system 100 according to the first embodiment, the image pickup device 5 is provided with light other than the first light transmitted through the half mirror 4 and the second light and the third light reflected by the half mirror 4. A light-shielding plate 53 is installed to block the light.
According to the above configuration, it is possible to suppress reflection on a subject image or a test chart image due to unintended light leakage.
 実施の形態1に係る撮像装置故障診断システム100は、別のテストチャート50と別のテストチャート照射用発光装置51と別のハーフミラー52との組み合わせを複数備えている。
 上記の構成によれば、3種類以上のテストチャートを適宜用いることによって、3種類以上の故障診断のための撮影への切り替えを行うことができる。よって、3種類以上の故障診断を頻繁に行うことができる。
 なお、実施の形態の任意の構成要素の変形、もしくは実施の形態の任意の構成要素の省略が可能である。
The image pickup device failure diagnosis system 100 according to the first embodiment includes a plurality of combinations of another test chart 50, another test chart irradiation light emitting device 51, and another half mirror 52.
According to the above configuration, by appropriately using three or more types of test charts, it is possible to switch to shooting for three or more types of failure diagnosis. Therefore, it is possible to frequently perform three or more types of failure diagnosis.
It is possible to modify any component of the embodiment or omit any component of the embodiment.
 本開示に係る撮像装置故障診断システムは、撮像装置の故障診断のための撮影を頻繁に行うことができるため、撮像装置の故障を診断する技術に利用可能である。 The image pickup device failure diagnosis system according to the present disclosure can be used as a technique for diagnosing a failure of an image pickup device because it can frequently take pictures for failure diagnosis of the image pickup device.
 1 被写体照射用発光装置、2 テストチャート、3 テストチャート照射用発光装置、4 ハーフミラー、5 撮像装置、6 記憶装置、7 撮像装置故障診断制御部、10 切り替え制御部、11 故障診断部、12 被写体画像補正部、20 レンズ、21 イメージセンサ、30 特定波長遮断装置、40 マーカー、50 別のテストチャート、51 別のテストチャート照射用発光装置、52 別のハーフミラー、53 遮光板、100 撮像装置故障診断システム、101 処理回路、102 プロセッサ、103 メモリ。 1 Subject irradiation light emitting device, 2 Test chart, 3 Test chart irradiation light emitting device, 4 Half mirror, 5 Imaging device, 6 Storage device, 7 Imaging device failure diagnosis control unit, 10 Switching control unit, 11 Failure diagnosis unit, 12 Subject image correction unit, 20 lenses, 21 image sensor, 30 specific wavelength blocking device, 40 marker, 50 different test chart, 51 different test chart irradiation light emitting device, 52 different half mirror, 53 shading plate, 100 imaging device Failure diagnosis system, 101 processing circuit, 102 processor, 103 memory.

Claims (9)

  1.  被写体に光を照射する被写体照射用発光装置と、
     撮像装置故障診断用のテストチャートと、
     前記テストチャートに光を照射するテストチャート照射用発光装置と、
     前記被写体照射用発光装置が出射し、前記被写体によって反射された第1の光を透過させる一方の面、及び、前記テストチャート照射用発光装置が出射し、前記テストチャートを通過した第2の光を反射する他方の面、を有するハーフミラーと、
     前記ハーフミラーを透過した第1の光を受光することにより前記被写体を撮像し、前記ハーフミラーが反射した第2の光を受光することにより前記テストチャートを撮像する撮像装置と、
     前記被写体照射用発光装置が前記被写体に光を照射する第1のモードと、前記テストチャート照射用発光装置が前記テストチャートに光を照射する第2のモードとの間の切り替えを制御する切り替え制御部と、を備えていることを特徴とする、撮像装置故障診断システム。
    A light emitting device for subject irradiation that irradiates the subject with light,
    A test chart for diagnostic imaging equipment failure and
    A test chart irradiation light emitting device that irradiates the test chart with light,
    One surface from which the subject irradiation light emitting device emits and transmits the first light reflected by the subject, and the second light emitted from the test chart irradiation light emitting device and passed through the test chart. The other side, which reflects, has a half mirror,
    An imaging device that images the subject by receiving the first light transmitted through the half mirror and images the test chart by receiving the second light reflected by the half mirror.
    Switching control for controlling switching between a first mode in which the subject irradiation light emitting device irradiates the subject with light and a second mode in which the test chart irradiation light emitting device irradiates the test chart with light. An image pickup device failure diagnosis system characterized by having a unit and a unit.
  2.  前記撮像装置が前記テストチャートを撮像することにより得られたテストチャート画像に基づいて、前記撮像装置の故障を診断する故障診断部をさらに備えていることを特徴とする、請求項1に記載の撮像装置故障診断システム。 The first aspect of claim 1, wherein the image pickup apparatus further includes a failure diagnosis unit for diagnosing a failure of the image pickup apparatus based on a test chart image obtained by imaging the test chart. Imaging device failure diagnosis system.
  3.  前記テストチャート画像の期待値を記憶する記憶装置をさらに備え、
     前記故障診断部は、前記テストチャート画像と、前記記憶装置が記憶する期待値とを比較することにより、前記撮像装置の故障を診断することを特徴とする、請求項2に記載の撮像装置故障診断システム。
    Further equipped with a storage device for storing the expected value of the test chart image,
    The image pickup device failure according to claim 2, wherein the failure diagnosis unit diagnoses the failure of the image pickup device by comparing the test chart image with the expected value stored in the storage device. Diagnostic system.
  4.  前記ハーフミラーにおける前記一方の面の前方には、前記第1の光を透過させ且つ前記第1の光の波長以外の波長の光を遮断する特定波長遮断装置が設置されていることを特徴とする、請求項1に記載の撮像装置故障診断システム。 A specific wavelength blocking device that transmits the first light and blocks light having a wavelength other than the wavelength of the first light is installed in front of the one surface of the half mirror. The imaging device failure diagnosis system according to claim 1.
  5.  前記撮像装置が前記被写体を撮像することにより得られた被写体画像における、前記テストチャートの映り込みを補正する被写体画像補正部をさらに備えていることを特徴とする、請求項1に記載の撮像装置故障診断システム。 The image pickup apparatus according to claim 1, wherein the image pickup apparatus further includes a subject image correction unit for correcting the reflection of the test chart in the subject image obtained by imaging the subject. Failure diagnosis system.
  6.  前記テストチャートは、位置合わせ用のマーカーを有することを特徴とする、請求項5に記載の撮像装置故障診断システム。 The imaging device failure diagnosis system according to claim 5, wherein the test chart has a marker for alignment.
  7.  前記テストチャートとは別のテストチャートと、
     前記別のテストチャートに光を照射する別のテストチャート照射用発光装置と、
     前記テストチャート照射用発光装置が出射し、前記テストチャートを通過した第2の光を透過させる一方の面、及び前記別のテストチャート照射用発光装置が出射し、前記別のテストチャートを通過した第3の光を反射する他方の面、を有する別のハーフミラーと、をさらに備え、
     前記ハーフミラーの前記他方の面は、前記別のハーフミラーを透過した第2の光と、前記別のハーフミラーが反射した第3の光とをそれぞれ反射し、
     前記撮像装置は、前記ハーフミラーが反射した第3の光をさらに受光することにより前記別のテストチャートをさらに撮像し、
     前記切り替え制御部は、前記被写体照射用発光装置が前記被写体に光を照射する第1のモードと、前記テストチャート照射用発光装置が前記テストチャートに光を照射する第2のモードと、前記別のテストチャート照射用発光装置が前記別のテストチャートに光を照射する第3のモードとの間の切り替えを制御することを特徴とする、請求項1に記載の撮像装置故障診断システム。
    A test chart different from the test chart and
    Another test chart irradiation light emitting device that irradiates the other test chart with light,
    The test chart irradiation light emitting device emits one surface through which the second light passing through the test chart is transmitted, and the other test chart irradiation light emitting device emits and passes through the other test chart. Further comprising another half mirror, which has the other surface, which reflects a third light.
    The other surface of the half mirror reflects the second light transmitted through the other half mirror and the third light reflected by the other half mirror, respectively.
    The image pickup apparatus further images the other test chart by further receiving the third light reflected by the half mirror.
    The switching control unit is divided into a first mode in which the subject irradiation light emitting device irradiates the subject with light, and a second mode in which the test chart irradiation light emitting device irradiates the test chart with light. The image pickup device failure diagnosis system according to claim 1, wherein the light emitting device for irradiating the test chart controls switching between the third mode and the light emitting device for irradiating the other test chart.
  8.  前記撮像装置には、前記ハーフミラーを透過した第1の光並びに前記ハーフミラーが反射した第2の光及び第3の光、以外の光を遮断する遮光板が設置されていることを特徴とする、請求項7に記載の撮像装置故障診断システム。 The image pickup device is characterized in that a light-shielding plate that blocks light other than the first light transmitted through the half mirror and the second light and the third light reflected by the half mirror is installed. The image pickup device failure diagnosis system according to claim 7.
  9.  前記別のテストチャートと前記別のテストチャート照射用発光装置と前記別のハーフミラーとの組み合わせを複数備えていることを特徴とする、請求項8に記載の撮像装置故障診断システム。 The imaging device failure diagnosis system according to claim 8, further comprising a plurality of combinations of the other test chart, the light emitting device for irradiating the other test chart, and the other half mirror.
PCT/JP2020/024657 2020-06-23 2020-06-23 Imaging device failure diagnosis system WO2021260807A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2022524096A JP7118318B2 (en) 2020-06-23 2020-06-23 Imaging device failure diagnosis system
PCT/JP2020/024657 WO2021260807A1 (en) 2020-06-23 2020-06-23 Imaging device failure diagnosis system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2020/024657 WO2021260807A1 (en) 2020-06-23 2020-06-23 Imaging device failure diagnosis system

Publications (1)

Publication Number Publication Date
WO2021260807A1 true WO2021260807A1 (en) 2021-12-30

Family

ID=79282739

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2020/024657 WO2021260807A1 (en) 2020-06-23 2020-06-23 Imaging device failure diagnosis system

Country Status (2)

Country Link
JP (1) JP7118318B2 (en)
WO (1) WO2021260807A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54163833U (en) * 1978-05-09 1979-11-16
JP2002316580A (en) * 2001-04-24 2002-10-29 Murakami Corp Mirror device with built-in camera
JP2020031358A (en) * 2018-08-23 2020-02-27 日本信号株式会社 Imaging apparatus and monitoring system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS54163833U (en) * 1978-05-09 1979-11-16
JP2002316580A (en) * 2001-04-24 2002-10-29 Murakami Corp Mirror device with built-in camera
JP2020031358A (en) * 2018-08-23 2020-02-27 日本信号株式会社 Imaging apparatus and monitoring system

Also Published As

Publication number Publication date
JPWO2021260807A1 (en) 2021-12-30
JP7118318B2 (en) 2022-08-15

Similar Documents

Publication Publication Date Title
CA2783538C (en) Device and method for detecting vehicle license plates
CN113939772B (en) Metrology targets for scan metrology
US9720148B2 (en) Camera system, in particular for a vehicle, and method for ascertaining pieces of image information of a detection area
KR100751280B1 (en) Test apparatus, imaging appatus and test method
JP5033291B2 (en) Protective device for safeguarding hazardous areas and method for checking the functional reliability of the device
US20080266391A1 (en) Apparatus for and Method of Measuring Image
JP2007310162A (en) Inspecting device and inspecting method, and manufacturing method for pattern substrate using same inspecting method
WO2021260807A1 (en) Imaging device failure diagnosis system
JP3768029B2 (en) Pattern defect repair device
KR20080067150A (en) Scanner module and image scanning apparatus employing the same
TWM573824U (en) An optical sensing device
JP2020139822A (en) Inspection device, inspection system and inspection method
WO2019102609A1 (en) Monitor device
JP2007071785A (en) Method for inspecting projector
JP2002300442A (en) Camera system
JP5517179B1 (en) Inspection method and inspection apparatus
JPH0815093A (en) Device for inspecting headlight
JP5449728B2 (en) Inspection device
JP2008032401A (en) Method and device for inspecting infrared cut-off filter
JP7390278B2 (en) Appearance inspection method, appearance inspection device, processing method and device for structures
JP2019114848A (en) Photographing system, photographing unit, information processing unit, abnormality detection method of photographing unit
US20220417482A1 (en) Projection system and control method therefor
KR101034995B1 (en) Vision inspection apparatus for spool flange sueface
JP2007171430A (en) Automatic focus camera, projection display device and dlp projector
JP2024032431A (en) Anomaly detection system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20942093

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2022524096

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20942093

Country of ref document: EP

Kind code of ref document: A1