[go: up one dir, main page]

WO2017064746A1 - Imaging device, endoscopic device and imaging method - Google Patents

Imaging device, endoscopic device and imaging method Download PDF

Info

Publication number
WO2017064746A1
WO2017064746A1 PCT/JP2015/078871 JP2015078871W WO2017064746A1 WO 2017064746 A1 WO2017064746 A1 WO 2017064746A1 JP 2015078871 W JP2015078871 W JP 2015078871W WO 2017064746 A1 WO2017064746 A1 WO 2017064746A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
color
wavelength band
imaging
mask
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/JP2015/078871
Other languages
French (fr)
Japanese (ja)
Inventor
愌䞀 今出
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Olympus Corp
Original Assignee
Olympus Corp
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 Olympus Corp filed Critical Olympus Corp
Priority to PCT/JP2015/078871 priority Critical patent/WO2017064746A1/en
Publication of WO2017064746A1 publication Critical patent/WO2017064746A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G02OPTICS
    • G02BOPTICAL ELEMENTS, SYSTEMS OR APPARATUS
    • G02B23/00Telescopes, e.g. binoculars; Periscopes; Instruments for viewing the inside of hollow bodies; Viewfinders; Optical aiming or sighting devices
    • G02B23/24Instruments or systems for viewing the inside of hollow bodies, e.g. fibrescopes
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B35/00Stereoscopic photography
    • G03B35/08Stereoscopic photography by simultaneous recording
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B35/00Stereoscopic photography
    • G03B35/08Stereoscopic photography by simultaneous recording
    • G03B35/12Stereoscopic photography by simultaneous recording involving recording of different viewpoint images in different colours on a colour film
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B35/00Stereoscopic photography
    • G03B35/18Stereoscopic photography by simultaneous viewing
    • G03B35/26Stereoscopic photography by simultaneous viewing using polarised or coloured light separating different viewpoint images
    • GPHYSICS
    • G03PHOTOGRAPHY; CINEMATOGRAPHY; ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ELECTROGRAPHY; HOLOGRAPHY
    • G03BAPPARATUS OR ARRANGEMENTS FOR TAKING PHOTOGRAPHS OR FOR PROJECTING OR VIEWING THEM; APPARATUS OR ARRANGEMENTS EMPLOYING ANALOGOUS TECHNIQUES USING WAVES OTHER THAN OPTICAL WAVES; ACCESSORIES THEREFOR
    • G03B9/00Exposure-making shutters; Diaphragms
    • G03B9/08Shutters
    • G03B9/10Blade or disc rotating or pivoting about axis normal to its plane
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/555Constructional details for picking-up images in sites, inaccessible due to their dimensions or hazardous conditions, e.g. endoscopes or borescopes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/70Circuitry for compensating brightness variation in the scene
    • H04N23/75Circuitry for compensating brightness variation in the scene by influencing optical camera components

Definitions

  • the present invention relates to an imaging device, an endoscope device, an imaging method, and the like.
  • Various methods for optically 3D measuring the surface shape of an object have been proposed.
  • a method of projecting active pattern illumination onto an object and performing stereo three-dimensional distance measurement by binocular stereoscopic vision is proposed. is there.
  • stereo measurement matching processing is performed using a characteristic part (for example, an edge) of an image, and a distance to an object is obtained.
  • a characteristic part for example, an edge
  • a characteristic part is intentionally added to the subject, and distance measurement can be accurately performed even in a part without a characteristic part (for example, a flat part).
  • Patent Documents 1 and 2 disclose a technique for switching left and right imaging light paths with a mechanical shutter in time and acquiring left and right images in a time-sharing manner.
  • Patent Document 2 discloses a technique of inserting an RG filter in the left half of a single imaging optical path and a GB filter in the right half, and separating the left and right images from the R image and the B image of the captured image. Yes.
  • the RG filter and the GB filter are retracted from the imaging optical path, and an observation image is acquired.
  • inspection may be performed by capturing an observation image that is not stereo shooting, and stereo measurement may be performed at a portion to be examined in detail.
  • switching between flat illumination and active pattern illumination can be considered, but the illumination mechanism becomes complicated.
  • convenience can be improved when real-time stereo measurement can be performed while performing normal observation, but it is preferable that illumination switching is not accompanied at that time. .
  • an imaging apparatus an endoscope apparatus, an imaging method, and the like that can capture a normal observation image while performing illumination with active pattern illumination.
  • One embodiment of the present invention includes an image including a first color image, a second color image having a longer wavelength side than the first color, and a third color image having a longer wavelength side than the second color.
  • An imaging unit that captures an image and can capture the first color image and the third color image as a stereo image, and is included in the wavelength band of the first color and included in the wavelength band of the second color
  • a pattern illumination having a given light amount distribution in a second wavelength band that is included in the first wavelength band that is not included in the wavelength band of the third color and that is not included in the wavelength band of the second color.
  • an illumination unit includes an illumination.
  • a pattern illumination having a given light amount distribution in a first wavelength band included in the first color wavelength band and a second wavelength band included in the third color wavelength band is a subject. Is irradiated. Since the first wavelength band and the second wavelength band are not included in the wavelength band of the second color, the image of the second color is an image that is not affected by a given light amount distribution due to pattern illumination. This makes it possible to capture a normal observation image while performing illumination with active pattern illumination.
  • Another aspect of the present invention relates to an endoscope apparatus that includes the imaging apparatus described above.
  • a first color image, a second color image having a longer wavelength side than the first color, and a third color image having a longer wavelength side than the second color when the image of the first color and the image of the third color can be captured as a stereo image, the first color that is included in the wavelength band of the first color and not included in the wavelength band of the second color.
  • the present invention relates to an imaging method for imaging a captured image including an image of one color, an image of the second color, and an image of the third color.
  • An example of pattern illumination The example of the waveform of the light quantity of pattern illumination, the reflection coefficient distribution of a to-be-photographed object, and a captured image.
  • Explanatory drawing of a correction process Explanatory drawing of a correction process.
  • Second configuration example of illumination unit The structural example of an imaging part.
  • the structural example of an imaging part The structural example of an imaging part.
  • the 1st detailed structural example of a fixed mask and a movable mask The 1st detailed structural example of a fixed mask and a movable mask.
  • the 2nd detailed structural example of a fixed mask and a movable mask The 2nd detailed structural example of a fixed mask and a movable mask.
  • an industrial endoscope apparatus will be described below as an application example of the present invention.
  • the present invention is not limited to application to an industrial endoscope apparatus, and a stereo shooting method (with an imaging system having parallax).
  • a method of detecting the phase difference between the two images and acquiring subject distance information), a three-dimensional measuring device that measures a three-dimensional shape, and an imaging device having a three-dimensional measuring function for example, a medical endoscope device, Microscopes, industrial cameras, robot vision functions, etc. are applicable.
  • Pattern illumination In order to obtain a high-quality observation image, it is generally premised that the subject is illuminated uniformly. However, when performing stereo measurement, distance information to the subject cannot be obtained unless there is a feature that easily obtains a phase difference. Therefore, a method of irradiating the subject with pattern illumination that is intentionally characterized is used.
  • an observation mode for capturing an observation image using white light and a measurement mode for performing stereo measurement by the color phase difference method are switched and used.
  • conventional pattern illumination it is necessary to have a function of switching the illumination itself so that uniform illumination is performed in the observation mode and pattern illumination is performed in the measurement mode.
  • a method is used in which pattern illumination is always performed in the observation mode or in the measurement mode, and the pattern in the observation mode is erased by a spectral filter or image processing. Thereby, the illumination switching function can be made unnecessary.
  • this method will be described.
  • FIG. 1 schematically shows an example of pattern illumination.
  • FIG. 1 shows a plan view of the pattern illumination PL (for example, a plan view when projected onto a plane perpendicular to the optical axis of the imaging system) and an example of the light quantity characteristic in the AA section.
  • x is a position (coordinate) in a direction perpendicular to the optical axis.
  • a small circle pattern DT whose brightness changes is an illumination pattern regularly arranged.
  • the outside of the small circle pattern DT is illumination with flat brightness, and the inside of the small circle pattern DT is illumination darker than that.
  • a waveform obtained by multiplying the amount of light of pattern illumination PL and the reflection coefficient distribution of the subject is obtained as an imaging waveform (sensor output) as shown in FIG.
  • the sensor output in FIG. 2 represents a pixel value or a luminance value (or brightness of image formation on the sensor surface) at a pixel corresponding to the position x.
  • a solid line indicates a sensor output when pattern illumination is performed, and a dotted line indicates a sensor output when flat illumination is performed.
  • FIG. 3 shows a first spectral characteristic example of pattern illumination and a first spectral characteristic example of a pupil in the observation mode and the stereo measurement mode.
  • Dotted lines with B, G, R, and IR symbols represent spectral characteristics of the color filter of the image sensor.
  • B, G, and R are spectral characteristics of the blue, green, and red filters of the image sensor, respectively.
  • IR is an infrared sensitivity characteristic and passes through any of the blue, green, and red filters.
  • the wavelength bands are set to five ⁇ Pv1, Pb, Pv2, Pr, Pir ⁇ in association with the spectral characteristics of the color filter of the imaging sensor.
  • the illumination light in the bands ⁇ Pv1, Pv2, Pir ⁇ is non-pattern light (flat light) with a uniform light amount distribution
  • the illumination light in the bands ⁇ Pb, Pr ⁇ is pattern light. Light having a spectral characteristic obtained by combining these becomes illumination light to the subject.
  • the bands Pv1 and Pb are set to bands that pass through the blue filter of the image sensor but do not pass through the green filter, the band Pv is set to a band that passes through the green filter, and the bands Pr and Pir are red.
  • a band that passes through the filter but does not pass through the green filter is set.
  • the band Pir includes an infrared sensitivity characteristic IR. Note that the band Pir may not include the infrared sensitivity characteristic IR.
  • the bands Pb and Pr are set to wavelength bands that do not interfere with the spectral characteristic G of the green filter of the image sensor.
  • the bands Pb and Pr are set to narrow bands such as several nm to several tens of nm, for example.
  • band Pb it is desirable to select a wavelength range in which only the blue pixel (spectral characteristic B) of the image sensor can be acquired and the sensitivity is relatively good.
  • band Pr it is desirable to select a wavelength range in which only the red pixel (spectral characteristic R) of the imaging sensor can be acquired and the sensitivity is relatively good. That is, since the left pupil image and the right pupil image must be separated by different color pixels of the image sensor, ⁇ Pb, Pr ⁇ may be selected in a wavelength region that does not have a mutual light receiving sensitivity characteristic.
  • the spectral components ⁇ Pv1, Pv2, Pir ⁇ of the non-pattern illumination light are components of a normal observation image
  • the red pixel, the green pixel, and the blue pixel spectral characteristics R, It is desirable that G and B) can cover as many wavelength ranges as possible.
  • a standard laser light source with wavelengths of 450 nm and 660 nm is used for ⁇ Pb, Pr ⁇ so as to be a narrow-band light source, and the spectral components ⁇ Pv1, Pv2, Pir ⁇ may cover many wavelength components. This is one way.
  • the relationship between the spectral characteristics FL, FC, FR of the pupil and the spectral characteristics of the illumination light is set as in the following formula (1).
  • the spectral characteristic FC corresponds to the wavelength band ⁇ Pv1, Pv2, Pir ⁇ , and an observation image by flat illumination is obtained.
  • shooting is performed with the left pupil of the spectral characteristic FL and the right pupil of the spectral characteristic FR.
  • the spectral characteristics FL and FR correspond to the wavelength bands Pb and Pr, and a stereo image by active pattern illumination is obtained.
  • the observation mode is a mode in which monocular imaging is performed with the central aperture 23 (spectral characteristic FC) of the fixed mask 20 as shown in FIGS. 11, 13, and 15, and the stereo measurement mode is shown in FIGS. 12, 14, and 16. In this manner, stereo imaging is performed with the left pupil aperture 21 (spectral characteristic FL) and right pupil aperture 22 (spectral characteristic FR) of the fixed mask 20 as described above. Details of these observation modes and stereo measurement modes will be described later.
  • FIG. 4 shows the relationship between the first spectral characteristic example and the captured images in the observation mode and the stereo measurement mode.
  • the dotted line virtually indicates the sensor output when flat illumination is performed.
  • the active pattern illumination of the present embodiment is applied to the imaging unit of FIGS. 11 to 16 as an example.
  • the configuration of the imaging unit is not limited to FIGS. Any observation image can be used as long as a stereo image by spectral characteristics FL and FR can be taken.
  • the illumination light is the same regardless of the mode, and the active pattern illumination is projected onto the subject in both the observation mode and the stereo measurement mode.
  • the reflected light by the illumination light having the spectral components ⁇ Pv1, Pv2, Pir ⁇ of the non-pattern light passes through the pupil center optical path (spectral characteristic FC), and a captured image ⁇ Vr, Vg, Vb ⁇ is obtained.
  • Vr is a red image obtained by a pixel having a red filter of the image sensor
  • Vg is a green image obtained by a pixel having a green filter of the image sensor, and obtained by a pixel having a blue filter of the image sensor It is a blue image.
  • the band of the active pattern is removed, an observation image that is not affected by the active pattern is obtained.
  • the reflected light by the illumination light having the spectral component ⁇ Pb, Pr ⁇ of the pattern light passes through the left and right pupil optical paths, and a captured image ⁇ Mr, Mb ⁇ is obtained.
  • Mr is an image by the left pupil optical path (spectral characteristic FL)
  • Mb is an image by the right pupil optical path (spectral characteristic FR).
  • the captured image ⁇ Mr, Mb ⁇ can be easily matched and phase difference detection can be easily performed.
  • the imaging device captures the captured images (Vb, Vg, Vr) including the first color image, the second color image, and the third color image.
  • An imaging unit capable of capturing a first color image and a third color image as a stereo image (Mb, Mr), and pattern illumination having a given light amount distribution in the first wavelength band Pb and the second wavelength band Pr And an illumination unit that irradiates the subject.
  • the second color (green) image is an image on the longer wavelength side than the first color (blue)
  • the third color (red) image is an image on the longer wavelength side than the second color.
  • the first wavelength band Pb is a band that is included in the first color wavelength band (spectral characteristic B band) and not included in the second color wavelength band (spectral characteristic G band).
  • the second wavelength band Pr is a band that is included in the third color wavelength band (spectral characteristic R band) and not included in the second color wavelength band (spectral characteristic G band).
  • the first wavelength band Pb and the second wavelength band Pr are not included in the wavelength band of the second color (green), at least the pattern of the given light quantity distribution is present in the second color image. Is not reflected. Thereby, it is possible to switch between stereo measurement and normal observation without switching between pattern illumination and flat illumination.
  • the stereo image is composed of a first color (blue) image and a third color (red) image, and the first color image includes a pattern in the first wavelength band Pb, and the third color image. Shows a pattern in the second wavelength band Pr.
  • a stereo image intentionally characterized by a pattern is acquired, and high-precision stereo measurement can be performed by performing matching processing thereof.
  • an observation image is captured through a spectral filter (spectral characteristic FC) that does not pass the first wavelength band Pb and the second wavelength band Pr, so that an observation image in which a pattern due to a given light amount distribution is not captured is obtained. Is obtained.
  • spectral characteristic FC spectral characteristic
  • an observation image of the entire band of white light is photographed, and the first color (blue) and third color (red) images in which the pattern is captured are not captured.
  • an observation image from which the pattern has been removed is obtained.
  • a pattern with a given light quantity distribution is not provided in the wavelength band of the second color, it is possible to obtain an observation image as in flat illumination while performing pattern illumination.
  • the first wavelength band is the wavelength band Pb in FIG. 3 and the second wavelength band is the wavelength band Pr in FIG. 3, but the present invention is not limited to this.
  • the first wavelength band may be the wavelength band Pb1 in FIG. 5
  • the second wavelength band may be the wavelength band Pr2 in FIG.
  • a given light amount distribution (a light amount distribution of a given shape) is a distribution having a light / dark (light amount) boundary or a distribution having an edge portion where the light amount changes abruptly.
  • a plurality of parts are provided in the irradiation area of the pattern illumination.
  • this given light quantity distribution is given only to specific wavelength bands Pb and Pr.
  • small circle patterns DT darker than the surroundings are regularly arranged in the wavelength bands Pb and Pr, but the given light quantity distribution is not limited to this.
  • the pattern DT may not be a small circle, the arrangement of the pattern DT may not be regular, and the inside of the pattern DT may be brighter than the outside.
  • the imaging unit switches between a stereo mode for capturing a stereo image and a non-stereo mode for capturing a captured image with a single eye.
  • the imaging unit in the imaging unit described later with reference to FIGS. 11 to 16, in the non-stereo mode (observation mode), monocular imaging is performed with the central aperture 23 (spectral characteristic FC) of the fixed mask 20, and in the stereo mode (stereo measurement mode), the image is fixed. Stereo imaging is performed with the left pupil aperture 21 (spectral characteristics FL) and right pupil aperture 22 (spectral characteristics FR) of the mask 20.
  • the imaging unit to which the pattern illumination of the present embodiment can be applied is not limited to this, and any imaging unit that captures the first color image and the third color image as a stereo image in the stereo mode may be used.
  • the monocular in the non-stereo mode uses the first wavelength band Pb and the second wavelength band Pr out of the wavelength bands (white light wavelength bands) of the first color, the second color, and the third color. Except the wavelength bands ⁇ Pv1, Pv2, Pir ⁇ .
  • the wavelength band ⁇ Pv1, Pv2, Pir ⁇ through which the monocular passes is a pattern based on the given light quantity distribution. Is not attached.
  • an observation image such as flat illumination can be taken despite pattern illumination in the non-stereo mode.
  • the wavelength bands ⁇ Pv1, Pv2, Pir ⁇ excluding them are substantially the wavelength band of white light. Therefore, it is possible to obtain an image that is not inferior to a captured image obtained by illumination with white light.
  • the imaging apparatus may include a phase difference detection unit 330 and an image output unit (color image generation unit 320).
  • the phase difference detection unit 330 detects a phase difference between the first color image and the third color image captured in the stereo mode.
  • the image output unit outputs an image for observation based on the captured image (first color to third color image) captured in the non-stereo mode.
  • the phase difference detection unit 330 can detect the phase difference with high accuracy.
  • the pattern is not captured in the captured image captured in the non-stereo mode even though pattern illumination is performed, an image for observation can be output by the image output unit.
  • the wavelength band of the first color wavelength band (spectral characteristic B) excluding the first wavelength band Pb, the second color wavelength band (spectral characteristic G), and the third color wavelength band. It is a flat light amount distribution in the wavelength band excluding the second wavelength band Pr in (spectral characteristic R).
  • the illumination light has a flat light amount distribution other than the first wavelength band Pb and the second wavelength band Pr, at least the second color image is an image by flat illumination.
  • the flat light quantity distribution means that the light quantity distribution is constant (substantially constant) in the photographing region (field of view) photographed by the imaging unit.
  • the light amount distribution on a surface having a constant distance from the imaging unit is constant.
  • the light amount distribution need not be completely constant, and there may be a gradual light amount change without an abrupt light amount change (edge portion) such as pattern illumination.
  • the first color is blue
  • the second color is green
  • the third color is red
  • the first color image, the second color image, and the third color image correspond to a blue image, a green image, and a red image, respectively, and these images have an image pickup element having a primary color filter. It is not limited to what was imaged (for example, image sensor of primary color Bayer arrangement).
  • a complementary color image may be captured by an imaging element having a complementary color filter, and a blue image, a green image, and a red image may be acquired from the complementary color image by conversion processing.
  • Second spectral characteristic example In the first spectral characteristic example, the case where the imaging bands of the observation mode and the stereo measurement mode are separated has been described. In the second spectral characteristic example, a case where the imaging bands of the observation mode and the measurement mode are not separated will be described. If you can always use illumination that combines non-patterned light and patterned light without separating the wavelength band, regardless of the mode, you can use the wavelength band effectively, and the illumination switching function is unnecessary, ensuring imaging sensitivity. Covering the color information of the subject is advantageous in terms of simplifying the illumination mechanism. However, if the wavelength bands are not separated, the captured image in the observation mode is also affected by the pattern light. Therefore, in order to obtain a high-quality and faithful observation image, it is necessary to remove or reduce the influence of the pattern light.
  • FIG. 5 shows a second spectral characteristic example of pattern illumination and a second spectral characteristic example of the pupil in the observation mode and the stereo measurement mode.
  • the wavelength band is divided into five parts ⁇ Pb1, Pb2, Pr1, Pr2, Pir ⁇ in association with the spectral characteristics of the color filter of the image sensor.
  • the illumination light in the bands ⁇ Pb2, Pr1, Pir ⁇ is non-pattern light (flat light) with a uniform light quantity distribution, and the illumination light in the bands ⁇ Pb1, Pr2 ⁇ is pattern light. Light having a spectral characteristic obtained by combining these becomes illumination light to the subject.
  • Pb1 is set in a band that passes through the blue filter but does not pass through the green filter
  • Pb2 is set in a band that passes through both the blue filter and the green filter
  • Pr1 is set in a band that passes through both the red filter and the green filter
  • Pr2 is set in a band that passes through the red filter but does not pass through the green filter
  • Pir is a band corresponding to the infrared sensitivity characteristic IR, and is a band that passes through all the red, green, and blue filters.
  • the wavelength bands Pb1 and Pr2 are set to wavelength bands that do not interfere with the spectral characteristics G of the green filter of the image sensor.
  • an image is taken with the pupil of the spectral characteristic FC, which includes the wavelength band ⁇ Pb1, Pb2, Pr1, Pr2, Pir ⁇ .
  • FC the spectral characteristic
  • no filter is provided in the central aperture 23 of the fixed mask 20, and the central pupil optical path allows light in the entire band to pass.
  • the relationship between the red image Vr, the green image Vg, and the blue image Vb constituting the color image captured in the observation mode and the wavelength band covered by them is expressed by the following equation (2).
  • the spectral characteristic FL corresponds to the wavelength band Pb1
  • the spectral characteristic FR corresponds to the wavelength band Pr2. That is, the relationship between the red image Mr and the blue image Mb captured in the stereo measurement mode and the wavelength band covered by them is expressed by the following equation (3).
  • FIG. 6 shows the relationship between the second spectral characteristic example and the captured images in the observation mode and the stereo measurement mode.
  • the dotted line virtually indicates the sensor output when flat illumination is performed.
  • the reflected light by the illumination light having the spectral components ⁇ Pb1, Pb2, Pr1, Pr2, Pir ⁇ passes through the pupil center optical path (spectral characteristic FC), and a captured image ⁇ Vr, Vg, Vb ⁇ is obtained.
  • the reflected light by the illumination light having the spectral components ⁇ Pb1, Pr2 ⁇ of the pattern light passes through the left and right pupil optical paths, and a captured image ⁇ Mr, Mb ⁇ is obtained.
  • the observation images Vb and Vr are affected by the pattern illumination, so that the images are intentionally changed in brightness.
  • the observation image Vg is composed of the wavelength range ⁇ Pb2, Pr1, Pir ⁇ that is uniform illumination, no intentional brightness change occurs, and the image profile reflects only the reflection coefficient of the subject.
  • the observation images Vr and Vb are profiles affected by the pattern, but assuming a profile (dotted line in FIG. 6) obtained when the illumination is uniform. Although the average brightness is different, the similarity (similarity) with the observed image Vg is partially high. This is because the observation image ⁇ Vr, Vg ⁇ is an image in which the spectral characteristics of the imaging sensor overlap in the band Pb2, and the observation image ⁇ Vb, Vg ⁇ is an image in which the spectral characteristics of the imaging sensor overlap in the band Pr1. This is because there is a considerable correlation between them.
  • the observation image Vg not affected by the pattern is used, the observation images Vr and Vb can be corrected, and the influence of the pattern can be removed or reduced. That is, it is possible to restore an observation image as if it was taken with flat illumination. This correction process will be described below.
  • FIG 7 and 8 are explanatory diagrams of the correction process.
  • the correction of the blue image Vb will be described as an example, but the correction of the red image Vr can be similarly performed.
  • the correlation value between the waveform of the blue image Vb and the green image Vg in the section of the width d centering on the arbitrary position XL on the sensor surface of the image sensor is calculated. This is performed for all positions x on the sensor surface (that is, all pixels of the captured image). For example, when ZNCC (Zero-mean Normalized Cross-Correlation) is used, the correlation value becomes 1 when the similarity is maximum, and the correlation value approaches 0 as the similarity becomes lower.
  • the correlation value is compared with the threshold Th, and when the correlation value is equal to or greater than the threshold Th, the flag value is set to “1”, and when the correlation value is smaller than the threshold Th, the flag value is set to “0”. That is, the flag value is obtained by binarizing the similarity with / without similarity. In the correction process, a pixel with a flag value “1” is determined as a valid pixel, and a pixel with a flag value “0” is determined as an invalid pixel.
  • the correlation value is not limited to the case of obtaining all the pixels of the captured image.
  • the correlation value may be obtained for pixels in a predetermined region, or may be obtained for pixels thinned at a predetermined interval.
  • the determination of the flag value is not limited to the above. For example, when using a correlation calculation in which the correlation value decreases as the similarity increases, the flag value is set to “1” when the correlation value is equal to or less than the threshold Th The flag value may be set to “0” when the correlation value is larger than the threshold Th.
  • the fitting process for example, when the effective pixel range of the processing section is e1 and e2, the level of the green image Vg is changed, and the total absolute value of the difference between the green image Vg and the blue image Vb at each level is obtained.
  • a method of superimposing such that the sum is minimized can be considered.
  • a method is conceivable in which the gain of the green image Vg is changed, the sum of the absolute values of the differences between the green image Vg and the blue image Vb at each gain is obtained, and the sum is made so that the sum is minimized.
  • the pixel value Vg (XL) at the position XL of the green image Vg after the fitting process is set as a correction value Vb ′ (XL).
  • the series of correction processes described above is performed at all positions x on the sensor surface (that is, all pixels of the captured image) to generate a corrected blue image Vb ′.
  • a corrected red image Vr ′ is generated.
  • a high-quality observation image can be generated even with illumination light including pattern light.
  • the monocular in the non-stereo mode passes the wavelength band including the wavelength bands of the first color (blue), the second color (green), and the third color (red).
  • the first color image and the third color image in which the pattern by the pattern illumination is captured, and the second color image in which the pattern by the pattern illumination is not captured are captured. Then, by using these three color images, it is possible to erase (reduce) the pattern by pattern illumination, and an observation image can be obtained.
  • the imaging apparatus may include a phase difference detection unit 330 and an image output unit (color image generation unit 320).
  • the phase difference detection unit 330 detects a phase difference between the first color image and the third color image captured in the stereo mode.
  • the image output unit outputs an image for observation based on the captured image (first color to third color image) captured in the non-stereo mode.
  • the image output unit corrects changes in the pixel values of the first color image and the third color image due to a given light amount distribution based on the second color image.
  • the pattern by the pattern illumination is not reflected in the second color image. Accordingly, it is possible to correct the pixel values of the first color image and the third color image in which the pattern by the pattern illumination is captured using the second color image as a reference. In other words, it is considered that the profiles of the first to third color images are almost similar in a normal image (for example, an image of a subject that is normally captured by an industrial endoscope or an image captured of the natural world). . Therefore, the influence of pattern illumination can be corrected by correcting the profiles of the first color image and the third color image so as to be similar to the profile of the second color image in which no pattern is captured.
  • Illumination Unit An illumination unit that performs active pattern illumination according to this embodiment will be described below.
  • a light source part is not necessarily limited to the apparatus using a light guide member from a light source part to an output end.
  • FIG. 9 shows a first configuration example of the illumination unit. 9 includes a white light source 401, a light guide member 402 (light guide member for non-pattern light), an illumination lens 403, a red laser light source 404, a blue laser light source 405, dichroic prisms 406 and 407 (mirrors in a broad sense). ), A light guide member 408 (light guide member for pattern light), a mask pattern 409, and a projection lens 410.
  • a white light source 401 includes a white light source 401, a light guide member 402 (light guide member for non-pattern light), an illumination lens 403, a red laser light source 404, a blue laser light source 405, dichroic prisms 406 and 407 (mirrors in a broad sense).
  • a light guide member 408 light guide member for pattern light
  • a mask pattern 409 includes a projection lens 410.
  • the illumination unit has two light guide members 402 and 408.
  • One light guide member 402 guides the white light from the white light source 401 to the illumination lens 403 provided at the distal end of the scope unit.
  • the guided white light is irradiated to the subject through the illumination lens 403.
  • the other light guide member 408 guides blue laser light and red laser light to the projection lens 410 provided at the distal end of the scope portion. That is, the blue laser light from the blue laser light source 405 and the red laser light from the red laser light source 404 are incident on the light guide member 408 by optical path synthesis by the dichroic prisms 406 and 407.
  • the laser light guided by the light guide member 408 passes through the mask pattern 409, and the added pattern is projected onto the subject 5 by the projection lens 410.
  • the non-pattern light and the pattern light are combined on the surface of the subject 5.
  • FIG. 10 shows a second configuration example of the illumination unit. 10 includes a white light source 451, a polarizing element 452, a blue laser light source 453, a red laser light source 454, dichroic prisms 455 and 456, a mask pattern 457, a polarizing element 458, a prism 459 (synthesis prism), and a light guide member 460. Projection lens 461.
  • the illumination unit has one light guide member 460.
  • White light from the white light source 451 is converted into, for example, P-polarized light (polarized light perpendicular to S-polarized light) by the polarizing element 452, and the polarized white light enters the prism 459.
  • the optical paths of the blue laser light from the blue laser light source 453 and the red laser light from the red laser light source 454 are synthesized by the dichroic prisms 455 and 456.
  • the optical path synthesized laser light passes through the mask pattern 409, whereby a pattern is added.
  • the laser light to which the pattern is added is converted into, for example, S-polarized light (polarized light parallel to the reflecting surface of the prism 459) by the polarizing element 452, and the polarized laser light enters the prism 459.
  • White light that is non-patterned light and laser light that is patterned light are incident on the light guide member 460 by optical path synthesis by the prism 459.
  • the light guide member 460 guides incident light to the projection lens 461 provided at the distal end portion of the scope portion.
  • the guided non-pattern light and pattern light are projected onto the subject 5 by the projection lens 410.
  • pattern illumination is generated in advance before the light guide member 460 is incident, and is combined with non-patterned light and then incident on the light guide member 460.
  • the light guide member 460 is an optical fiber bundle (image guide) that can transmit the pattern as it is, the pattern of the generated pattern light is transmitted conveniently.
  • the light guide member 460 is a simple optical fiber bundle (light guide)
  • the fiber arrangement is different between the incident end and the output end of the light guide member 460, so that the generated pattern light pattern is transmitted as it is.
  • the pattern is a random pattern, the patterns at the incident end and the outgoing end may be appropriately changed.
  • Imaging Unit Hereinafter, a configuration example of an imaging unit capable of switching between the observation mode and the stereo measurement mode will be described.
  • a scope In an inspection with an endoscopic device, for example, a scope is inserted into the inspection object and a normal image is taken to check for abnormalities. Measure the three-dimensional shape and examine whether further inspection is necessary. Thus, a normal observation image is taken with white light.
  • a method of achieving both such shooting with white light and stereo measurement for example, performing stereo shooting with white light can be considered.
  • the image sensor is divided into left and right parts, and the left image and the right image need to be imaged in the respective regions.
  • there is a color phase difference method As a method for forming the left image and the right image in the same area of the image sensor, there is a color phase difference method. However, since the captured image becomes a color shift image, it cannot be used as an observation image.
  • Patent Document 2 As a technique for performing stereo measurement in a non-time-division manner using a color phase difference, for example, there is Patent Document 2 described above.
  • Patent Document 2 applies stereo measurement to autofocus, and it is considered that high-speed switching with an observation image is not assumed.
  • it is considered disadvantageous in terms of high-speed switching.
  • Patent Document 2 has a problem in that it is difficult to increase the distance measurement accuracy because it is difficult to increase the distance between the pupils because the single optical path is divided into right and left in the middle.
  • the diaphragm is small (F value is large). Therefore, the small diaphragm diameter is divided into right and left, and the distance between the pupils tends to be close.
  • 11 and 12 show a configuration example of the imaging unit of the present embodiment that can solve the above-described problems.
  • 11 and 12 are cross-sectional views (on a plane including the optical axis) of the image pickup unit, and a light amount of an image formed on the image pickup element (or a pixel value of an image picked up by the image pickup element).
  • the relationship of the position x is shown.
  • the position x is a position (coordinates) in a direction perpendicular to the optical axis of the imaging optical system, for example, a pixel position of the image sensor. Actually, it is a two-dimensional coordinate system, but here, a two-dimensional one-dimensional coordinate system in the parallax direction will be described.
  • the imaging unit includes an imaging optical system 10, a movable mask 30 (first mask), a fixed mask 20 (second mask), an imaging element 40 (imaging sensor, image sensor), and an illumination unit 60 (illumination device).
  • the imaging optical system 10 is a monocular optical system, and includes, for example, one or a plurality of lenses.
  • the image pickup device 40 has RGB color filters of the Bayer array will be described as an example.
  • the present invention is not limited to this, and may include, for example, a complementary color filter.
  • the reflected light from the subject 5 is imaged on the surface of the image sensor 40 by the imaging optical system 10.
  • the fixed mask 20 divides the pupil center and the left and right pupils, and the movable mask 30 switches between the image formation by the pupil center and the image formation by the left and right pupils. These are imaged in the same area of the image sensor 40.
  • d is the distance between the center line IC1 of the left pupil (the left eye aperture of the fixed mask 20) and the center line IC2 of the right pupil (the right eye aperture of the fixed mask 20), and the baseline length in stereo measurement It becomes.
  • the straight line AXC is the optical axis of the imaging optical system 10.
  • the center lines IC1 and IC2 are provided at an equal distance from the optical axis AXC of the single-lens imaging optical system 10, for example.
  • the center lines IC1 and IC2 and the optical axis AXC are preferably in the same plane, but are not necessarily in the same plane.
  • the fixed mask 20 and the movable mask 30 are provided at the pupil position of the imaging optical system 10, for example. Alternatively, it may be provided on the imaging side with respect to the imaging optical system 10.
  • the fixed mask 20 is fixed with respect to the imaging optical system 10, and the movable mask 30 is configured such that the position can be switched in a plane perpendicular to the optical axis AXC.
  • the movable mask 30 has an observation mode (first mode, non-stereo mode, monocular mode) which is the first state shown in FIG. 11 and a stereo measurement mode (second mode) which is the second state shown in FIG. , Stereo mode), which can be switched at high speed.
  • the fixed mask 20 includes a plate-shaped light shielding portion (light shielding member) provided with three apertures (left eye aperture, right eye aperture, and central aperture), and a short wavelength ( Blue) spectral filter and a long wavelength (red) spectral filter provided in the right eye aperture.
  • the portions other than the aperture hole are covered with a light shielding portion so that light does not pass through.
  • the central aperture may be, for example, a through hole, or some spectral filter (for example, a broadband spectral filter that transmits at least white light) may be provided.
  • the movable mask 30 includes a plate-shaped light shielding portion (light shielding member) provided with three aperture holes. In each mode, the movable mask 30 is configured in such a size that the light blocking portion covers the central aperture hole or the left and right eye aperture holes among the three aperture holes of the fixed mask 20.
  • the aperture is provided at a position overlapping the central aperture of the fixed mask 20 in the observation mode and at a position overlapping the left eye aperture and the right eye aperture in the stereo measurement mode.
  • the movable mask 30 is also referred to as a left eye aperture, a right eye aperture, and a center aperture.
  • 11 and 12 illustrate the case where the movable mask 30 is provided on the imaging side with respect to the fixed mask 20, the movable mask 30 may be provided on the objective side with respect to the fixed mask 20.
  • the illumination unit 60 is preferably provided so that the tip (illumination exit end) is positioned symmetrically with respect to the left pupil and the right pupil.
  • the negative of the illumination unit 60 is not necessarily limited to the left pupil and the right pupil. May not be symmetrical. 11 and 12, the tip of the illumination unit 60 is disposed in front of the imaging optical system 10.
  • the present invention is not limited to this.
  • the illumination unit 60 and the imaging optical system 10 at the tip of the imaging unit. May be arranged side by side.
  • each diaphragm hole of the movable mask 30 is not provided with a spectral filter (is an open hole), and allows the entire band to pass.
  • FIG. 11 shows the state of the observation mode, where the optical path at the center of the pupil is opened through the central aperture of the fixed mask 20 and the central aperture of the movable mask, and the optical path of the left and right pupils is blocked by the movable mask 30. (Light shielding).
  • the image formed on the image sensor 40 is a formed image IC formed only by the pupil center, and a normal (monocular white light) captured image is obtained.
  • FIG. 12 shows a state of the stereo measurement mode, in which the left eye diaphragm hole of the fixed mask 20 and the left eye diaphragm hole of the movable mask 30 are overlapped, and the right eye diaphragm hole of the fixed mask 20 and the movable mask 30 are overlapped.
  • the right eye aperture hole is overlapped.
  • the optical path at the center of the pupil is blocked (shielded) by the movable mask 30. That is, in the optical path on the left pupil side, the imaging light is filtered by the short wavelength (blue) spectral filter FL (first filter), and an image IL based on the short wavelength component is formed on the image sensor 40. In the optical path on the right pupil side, the imaging light is filtered by a long wavelength (red) spectral filter FR (second filter), and an image IR based on the long wavelength component is formed on the same image sensor 40.
  • red red
  • the image IL obtained from the blue pixels of the image sensor 40 is a short wavelength image
  • the image IR obtained from the red pixels of the image sensor 40 is a long wavelength image
  • the images IL and IR from the two optical paths are obtained.
  • the imaging unit of the present embodiment can take the observation mode that is the first state and the stereo measurement mode that is the second state, and can switch between these states at high speed. Thereby, for example, 3D measurement can be performed in real time while performing non-stereo normal observation.
  • FIGS. 13 and 14 show a first detailed configuration example of the fixed mask 20 and the movable mask 30.
  • 13 and 14 are cross-sectional views of the imaging optical system 10, the fixed mask 20, and the movable mask 30, and a view of the fixed mask 20 and the movable mask 30 in the optical axis direction (a rear view viewed from the imaging side). ).
  • a diaphragm hole 21 having a short wavelength filter FL is opened in the optical path of the left pupil of the fixed mask 20, and a diaphragm hole 22 having a long wavelength spectral filter FR is formed in the optical path of the right pupil.
  • the optical path is provided with an aperture (through hole) aperture 23.
  • the aperture 23 may be provided with a spectral filter FC that allows the bands Pv1, Pv2, and Pir of FIG. 3 to pass therethrough.
  • the aperture holes 21 and 22 are opened in the light shielding portion 24 (light shielding member), and are, for example, holes having a size corresponding to the depth of field necessary for the imaging system (for example, circular holes, the size is a diameter).
  • the centers of the aperture holes 21, 22, and 23 coincide with (including substantially coincident with) the center lines IC1 and IC2 and the optical axis AXC, respectively.
  • the light shielding unit 24 is provided so as to close the housing containing the imaging optical system 10 when viewed from the front (or the back), and is provided, for example, perpendicular to the optical axis AXC. It is a plate-like member.
  • the movable mask 30 has aperture holes 31, 32, 33 in an open state (through hole) and a light shielding portion 34 (light shielding member) in which the aperture holes 31, 32, 33 are opened.
  • the aperture holes 31, 32, and 33 are holes that are slightly larger than the aperture holes 21, 22, and 23 of the fixed mask 20, for example. Alternatively, it may be a hole having a size corresponding to the depth of field necessary for the imaging system (for example, a circular hole having a diameter).
  • the center of the aperture 33 (for example, the center of a circle) coincides with (including substantially coincides with) the optical axis AXC in the observation mode.
  • the light shielding unit 34 is connected to a rotation shaft 35 perpendicular to the optical axis AXC, and is a plate-like member provided perpendicular to the optical axis AXC, for example.
  • the shape of the light shielding part 34 is, for example, a fan shape (the fan base is connected to the shaft 35), but is not limited thereto, and may be any shape that can realize the states of FIGS.
  • the movable mask 30 is configured to rotate about a rotation axis 35 by a predetermined angle in a direction perpendicular to the optical axis AXC.
  • rotational movement can be realized by a piezo element or a motor.
  • the movable mask 30 is rotated and tilted to the right eye by a predetermined angle, the pupil center optical path (aperture hole 23) of the fixed mask 20 is opened, and the left and right pupil optical paths (aperture holes 21, 22) is in a light shielding state.
  • the movable mask 30 rotates and tilts to the left eye side by a predetermined angle, the pupil center optical path (aperture hole 23) of the fixed mask 20 enters a light-shielded state, and the left and right pupil optical paths (aperture hole 21). 22) is in an open state.
  • the aperture 21 having the spectral filter FL By exposing the aperture 21 having the spectral filter FL, the left pupil passes only the short wavelength component, and by exposing the aperture 22 having the spectral filter FR, the right pupil passes only the long wavelength component.
  • the movable mask 30 may be moved by a sliding operation to create two states.
  • the rotation operation or the slide operation can be realized by, for example, a magnet mechanism or a piezoelectric mechanism, and an appropriate one may be selected in consideration of high speed and durability.
  • the imaging device includes the imaging element 40, the imaging optical system 10, the fixed mask 20, and the movable mask 30.
  • the imaging optical system 10 forms an image of the subject 5 on the image sensor 40.
  • the fixed mask 20 includes first to third apertures (diaphragm holes 21, 22, and 23) that divide the pupil of the imaging optical system 10, and a first wavelength band (Pb in FIG. 3 or Pb1 in FIG. 5).
  • a first filter FL that passes therethrough and a second filter FR that passes the second wavelength band (Pr in FIG. 3 or Pr2 in FIG. 5) are included.
  • the movable mask 30 includes a light shielding portion 34 and fourth to sixth openings (throttle holes 31, 32) provided in the light shielding portion 34 corresponding to the first to third openings (throttle holes 21, 22, 23). 33) and is movable with respect to the imaging optical system 10.
  • the first filter FL is provided in the first opening (throttle hole 21).
  • the second filter FR is provided in the second opening (throttle hole 22).
  • the third opening (aperture hole 23) is provided on the optical axis AXC of the imaging optical system 10.
  • the movable mask 30 since there is one movable mask 30 that is a movable part, it is possible to realize high-speed switching, simplification of the driving mechanism, and suppression of failures and errors in mode switching.
  • the movable mask 30 has a simple configuration in which openings (diaphragm holes 31, 32, 33) are provided in the light-shielding portion 34, and troubles such as filter removal due to switching vibration can be suppressed.
  • the fixed mask 20 is provided with three openings (diaphragm holes 21, 22, and 23), and one of them is provided on the optical axis AXC, so that the observation image becomes a pupil center image. .
  • the vignetting of the light beam is reduced and an observation image having a wide viewing angle can be acquired.
  • high quality (for example, less distortion) imaging can be obtained.
  • the center (s / 2 position) of the phase difference (s in FIG. 12) in stereo measurement coincides with the light beam passing through the center of the pupil. That is, in the present embodiment, the same pixel in the observation image and the distance map corresponds to the same position on the subject 5.
  • the observation image has a parallax on the left and is not the center of the pupil, so that the pixel on the subject image 5 and the distance map corresponding to the same position on the subject 5 corresponds.
  • the present embodiment is more advantageous when, for example, displaying an observation image and three-dimensional information in an overlapping manner.
  • the first aperture corresponds to the left pupil
  • the second aperture corresponds to the right pupil
  • the third aperture is at the pupil center.
  • the first opening may correspond to the right pupil
  • the second opening may correspond to the left pupil.
  • the aperture is referred to as a diaphragm aperture.
  • the aperture does not necessarily have a function as a diaphragm (a function of limiting the cross-sectional area of the light beam passing through the pupil).
  • the apertures 23 and 33 overlap in the observation mode, but when the aperture 23 is smaller, the aperture 23 has a function of aperture, and when the aperture 33 is smaller, the aperture 33 is the aperture. It has the function of.
  • the pupil is for separating (or defining) the imaging optical path by the imaging optical system 10.
  • the optical path is a path from the light that forms an image on the image sensor 40 to the image sensor 40 after entering from the objective side of the optical system. That is, the optical paths that pass through the imaging optical system 10 and the apertures 21 and 22 of the fixed mask 20 (the apertures 31 and 32 of the movable mask 30 in the stereo measurement mode) are the first and second optical paths.
  • the optical path that passes through the imaging optical system 10 and the aperture 23 of the fixed mask 20 (or the aperture 33 of the movable mask 30 in the observation mode) is the third optical path.
  • the mask is a member or component that shields light incident on the mask and allows part of the light to pass.
  • the light shielding portions 24 and 34 shield light
  • the aperture holes 21, 22, 23, 31, 32, and 33 emit light (full band or partial band). Let it pass.
  • the imaging apparatus includes a movable mask control unit 340 (FIG. 18) that controls the movable mask 30.
  • the movable mask control unit 340 When the movable mask control unit 340 is viewed in the optical axis AXC direction in the non-stereo mode (observation mode), the light shielding unit 34 overlaps the first and second openings (diaphragm holes 21 and 22) and the sixth opening.
  • the movable mask 30 is set in a first state (first position) where the (aperture hole 33) overlaps with the third opening (aperture hole 23).
  • the fourth and fifth apertures become the first and second apertures (diaphragm apertures 21 and 22).
  • the movable mask 30 is set in a second state (second position) where the light shielding portion 34 overlaps with the third opening (aperture hole 23).
  • FIGS. 15 and 16 show a second detailed configuration example of the fixed mask 20 and the movable mask 30.
  • 15 and 16 are cross-sectional views of the imaging optical system 10, the fixed mask 20, and the movable mask 30, and a view of the fixed mask 20 and the movable mask 30 in the optical axis direction (a rear view viewed from the imaging side). ).
  • the movable mask 30 includes a light shielding part 34 and aperture holes 31 and 32 provided in the light shielding part 34.
  • the aperture holes 31 and 32 are in an open state (through hole), and are arranged on the same circle around the rotation shaft 35.
  • the aperture hole 31 has a shape extending in the circumferential direction of the same circle, and overlaps the aperture hole 23 of the fixed mask 20 in the observation mode and also overlaps the aperture hole 21 of the fixed mask 20 in the stereo measurement mode. ing.
  • the fixed mask 20 includes a light shielding part 24 and three aperture holes 21, 22, 23 provided in the light shielding part 24.
  • the aperture holes 21 and 22 are provided with spectral filters FL and FR.
  • the aperture hole 23 may be in an open state (through hole), or a spectral filter FC that allows the bands Pv1, Pv2, and Pir of FIG. 3 to pass therethrough may be provided.
  • the aperture holes 21, 22, and 23 are arranged on the same circle around the rotation shaft 35.
  • the aperture hole 23 at the center of the pupil of the fixed mask 20 is opened by the aperture hole 31 of the movable mask 30, and the aperture holes 21 and 22 of the left and right pupils of the fixed mask 20 are shielded by the light shielding portion 34 of the movable mask 30.
  • a white light image is captured by a single eye.
  • the left and right pupil apertures 21 and 22 of the fixed mask 20 are opened by the aperture holes 31 and 32 of the movable mask 30, and the aperture hole 23 at the center of the pupil of the fixed mask 20 is the light shielding portion 34 of the movable mask 30.
  • a parallax image (red image, blue image) by the color phase difference method is captured.
  • the imaging device includes the imaging element 40, the imaging optical system 10, the fixed mask 20, and the movable mask 30.
  • the imaging optical system 10 forms an image of the subject 5 on the image sensor 40.
  • the fixed mask 20 includes first to third apertures (diaphragm holes 21, 22, and 23) that divide the pupil of the imaging optical system 10, and a first wavelength band (Pb in FIG. 3 or Pb1 in FIG. 5).
  • a first filter FL that passes therethrough and a second filter FR that passes the second wavelength band (Pr in FIG. 3 or Pr2 in FIG. 5) are included.
  • the movable mask 30 includes a light shielding part 34, a fourth opening (aperture hole 31) provided in the light shielding part 34 corresponding to the first and third openings (throttle holes 21 and 23), and a second opening.
  • a fifth aperture (diaphragm hole 32) provided in the light shielding portion 34 corresponding to the (diaphragm hole 22) is provided, and is movable with respect to the imaging optical system 10.
  • the first filter FL is provided in the first opening (throttle hole 21).
  • the second filter FR is provided in the second opening (throttle hole 22).
  • the third opening (aperture hole 23) is provided on the optical axis AXC of the imaging optical system 10.
  • the imaging apparatus includes a movable mask control unit 340 that controls the movable mask 30.
  • the movable mask control unit 340 When the movable mask control unit 340 is viewed in the optical axis AXC direction in the non-stereo mode (observation mode), the light shielding unit 34 overlaps the first and second openings (diaphragm holes 21 and 22) and the fourth opening.
  • the movable mask 30 is set in a first state where the (aperture hole 31) overlaps the third opening (aperture hole 23).
  • the fourth and fifth apertures become the first and second apertures (diaphragm apertures 21 and 22).
  • the movable mask 30 is set in a second state in which the light shielding portion 34 overlaps with the third opening (aperture hole 23).
  • a coordinate system X, Y, and Z of the three-dimensional space is defined as follows. That is, the X axis and the Y axis orthogonal to the X axis are set along the imaging sensor surface, and the Z axis is set in a direction toward the subject in a direction orthogonal to the imaging sensor surface and parallel to the optical axis AXC. The Z axis intersects the X axis and Y axis at the zero point. Note that the Y-axis is omitted here for convenience.
  • the distance between the imaging lens 10 and the imaging sensor surface is b, and the distance from the imaging lens 10 to the arbitrary point Q (x, z) of the subject 5 is z.
  • the distance between the pupil center lines IC1 and IC2 and the Z axis is the same, and each is d / 2. That is, the baseline length in stereo measurement is d.
  • the X coordinate of the corresponding point at which the arbitrary point Q (x, y) of the subject 5 is imaged on the imaging sensor surface by the imaging lens 10 is XL, and the arbitrary point Q (x, y) of the subject 5 is the imaging lens 10.
  • the X coordinate of the corresponding point imaged on the imaging sensor surface is defined as XR.
  • the following equation (4) can be obtained by using a similarity relationship between a plurality of partial right-angled triangles formed in the triangle surrounded by the arbitrary point Q (x, z) and the coordinates XL and XR.
  • D and b are known set values, and the unknowns XL and XR are obtained as follows. That is, the position XL on the imaging sensor surface is considered as a reference (the pixel position of the left image is regarded as XL), and the position XR corresponding to the position XL is detected by matching processing (correlation calculation). By calculating the distance z for each position XL, the shape of the subject can be measured. If the matching is not good, the distance z may not be obtained, but may be obtained by interpolation from the distance z of surrounding pixels, for example.
  • FIG. 18 shows a configuration example of the endoscope device (imaging device in a broad sense) of the present embodiment.
  • the endoscope apparatus includes a scope unit 100 (imaging unit) and a main body unit 200 (control device).
  • the scope unit 100 includes an imaging optical system 10, a fixed mask 20, a movable mask 30, an image sensor 40, a drive unit 50, and an illumination unit 60.
  • the main body unit 200 includes a processing unit 210, a monitor display unit 220, and an imaging processing unit 230.
  • the processing unit 210 includes a light source drive control unit 305, an image selection unit 310 (image frame selection unit), a color image generation unit 320 (image output unit), a phase difference detection unit 330, and a movable mask control unit 340 (movable mask drive control unit). ), A movable mask position detector 350, a distance information calculator 360, and a three-dimensional information generator 370.
  • the main body unit 200 may include an operation unit that operates the main body unit 200, an interface unit that is connected to an external device, and the like as components (not illustrated).
  • the scope unit 100 may include, for example, an operation unit that operates the scope unit 100, a treatment instrument, and the like as components not shown.
  • an industrial and medical so-called video scope an endoscope apparatus incorporating an image sensor
  • the present invention can be applied to both a flexible mirror in which the scope unit 100 is configured to be bendable and a rigid mirror in which the scope unit 100 is configured in a stick shape.
  • the main body 200 and the imaging unit 110 are configured as portable devices that can be carried, and are used for manufacturing inspection and maintenance inspection of industrial products, maintenance inspection of buildings and piping, and the like.
  • the driving unit 50 drives the movable mask 30 based on a control signal from the movable mask control unit 340, and switches between the first state (observation mode) and the second state (stereo measurement mode).
  • the drive unit 50 is configured by an actuator using a piezoelectric element or a magnet mechanism.
  • the imaging processing unit 230 performs imaging processing on the signal from the imaging element 40 and outputs a captured image (for example, a Bayer image). For example, correlated double sampling processing, gain control processing, A / D conversion processing, gamma correction, color correction, noise reduction, and the like are performed.
  • the imaging processing unit 230 may be configured by, for example, a discrete IC such as an ASIC, or may be incorporated in the imaging device 40 (sensor chip) or the processing unit 210.
  • the monitor display unit 220 displays an image captured by the scope unit 100, 3D shape information of the subject 5, and the like.
  • the monitor display unit 220 includes a liquid crystal display, an EL (Electro-Luminescence) display, or the like.
  • the illumination unit 60 irradiates the subject 5 with the combined light of the non-pattern light and the pattern light described above.
  • the light source drive control unit 305 optimally controls each light amount of the non-pattern light and the pattern light based on a signal from the imaging processing unit 230 (so-called dimming control). For example, the brightness of the captured image is obtained, and the amount of light is controlled so that the brightness is within a predetermined range.
  • the movable mask control unit 340 controls the driving unit 50 to switch the position of the movable mask 30.
  • the movable mask control unit 340 sets the movable mask 30 to the observation mode, the reflected light from the subject 5 is imaged on the image sensor 40 via the pupil center optical path.
  • the imaging processing unit 230 reads the pixel value of the image formed on the imaging element 40, performs A / D conversion or the like, and outputs the image data to the image selection unit 310.
  • the image selection unit 310 detects that the movable mask 30 is in the observation mode based on the control signal from the movable mask control unit 340, and selects ⁇ Vr, Vg, Vb ⁇ from the captured image to generate a color image.
  • the color image generation unit 320 performs demosaicing processing (processing for generating an RGB image from a Bayer image) and various types of image processing, and outputs a three-plate RGB primary color image to the monitor display unit 220.
  • the monitor display unit 220 displays the color image.
  • the movable mask control unit 340 sets the movable mask 30 to the stereo measurement mode, the reflected light from the subject 5 is simultaneously imaged on the image sensor 40 via the left pupil optical path and the right pupil optical path.
  • the imaging processing unit 230 reads the pixel value of the image formed on the imaging element 40, performs A / D conversion or the like, and outputs the image data to the image selection unit 310.
  • the image selection unit 310 detects that the movable mask 30 is in the stereo measurement mode based on a control signal from the movable mask control unit 340, selects ⁇ Mr, Mb ⁇ from the captured image, and detects the phase difference. To 330.
  • the phase difference detection unit 330 performs matching processing on the two separated images Mr and Mb, and detects a phase difference (phase shift) for each pixel. Further, the phase difference detection unit 330 determines whether or not the phase difference detection is reliable. If it is determined that the phase difference detection is not reliable, an error flag is output for each pixel.
  • a matching evaluation method for obtaining a shift amount (phase difference) between two similar waveforms is based on a normalized cross-correlation calculation method represented by ZNCC (Zero-meanCCNormalized Cross-Correlation), and a sum of absolute values of mutual differences.
  • ZNCC Zero-meanCCNormalized Cross-Correlation
  • SAD Sud of Absolute Difference
  • phase shift can be detected by using Vr and Mr, which are parallax images, although they are time-divisionally affected by subject blur and imaging system blur.
  • Vr and Mr which are parallax images, although they are time-divisionally affected by subject blur and imaging system blur.
  • the phase difference detection unit 330 outputs the detected phase difference information and error flag to the distance information calculation unit 360.
  • the distance information calculation unit 360 calculates the distance information of the subject 5 (for example, the distance z in FIG. 17) for each pixel, and outputs the distance information to the three-dimensional information generation unit 370.
  • the pixel on which the error flag is set may be regarded as a flat portion (region having a small edge component) of the subject 5 and may be interpolated from distance information of surrounding pixels, for example.
  • the three-dimensional information generation unit 370 generates three-dimensional information from the distance information (or the distance information and the RGB image from the color image generation unit 320).
  • the three-dimensional information generation unit 370 generates the generated three-dimensional image, the three-dimensional data, or a display image in which these and the observation image are superimposed as necessary, and outputs the generated image to the monitor display unit 220.
  • the monitor display unit 220 displays the three-dimensional information.
  • the movable mask position detector 350 detects whether the movable mask 30 is in the observation mode position or the stereo measurement mode position using the image ⁇ Mr, Mb ⁇ obtained in the stereo measurement mode. If it is determined that the state of the movable mask 30 does not match the mode, a position error flag is output to the movable mask control unit 340.
  • the movable mask control unit 340 receives the position error flag and corrects the movable mask 30 to a correct state (a state corresponding to image selection). For example, when it is determined that there is no color shift in the image ⁇ Mr, Mb ⁇ even though the movable mask control unit 340 outputs a control signal for the stereo measurement mode, the actual movable mask 30 is positioned in the observation mode. It has become. In this case, correction is performed to match the position of the control signal and the movable mask 30. If the correct state is not obtained even if the correction operation is performed, it is determined that some failure has occurred, and the entire function is stopped.
  • the movable mask 30 is composed of a mechanical mechanism, it is conceivable that a malfunction occurs in the switching operation. According to the present embodiment, since it is possible to detect whether the switching position is the observation mode or the measurement mode, it is possible to cope with a problem of the switching operation.
  • Detecting or judging whether the movable mask 30 is in the observation mode position or the stereo measurement mode position is performed as follows, for example. That is, after matching the levels (average level, etc.) in the judgment areas of the images Mr and Mb, judgment based on the sum of absolute difference values of the images Mr and Mb (first method) and the correlation between the images Mr and Mb The position error is determined by determination based on the number (second method) or the like.
  • the absolute value of the difference value of the pixel value is obtained for each pixel, and it is integrated in all pixels or a partial pixel group. If the result exceeds a predetermined threshold, it is determined as an image in the stereo measurement mode, and if the result is less than the predetermined threshold, it is determined as an image in the observation mode.
  • the image Mr and the image Mb are basically images that have undergone color misregistration, so that the fact that a predetermined amount of difference value is obtained is used.
  • the correlation coefficient in the predetermined range between the image Mr and the image Mb is calculated, and when the result is equal to or smaller than the predetermined threshold, it is determined as an image in the stereo measurement mode, and the result exceeds the predetermined threshold.
  • the image is an observation mode.
  • the image Mr and the image Mb are basically images that have undergone color misregistration, so the correlation coefficient is small, whereas in the observation mode, the image Mr and the image Mb are almost the same image, so the correlation coefficient is Take advantage of big things.
  • the endoscope apparatus, the imaging apparatus, and the like of the present embodiment may include a processor and a memory.
  • the processor here may be, for example, a CPU (Central Processing Unit). However, the processor is not limited to the CPU, and various processors such as a GPU (GraphicsGProcessing Unit) or a DSP (Digital Signal Processor) can be used.
  • the processor may be an ASIC hardware circuit.
  • the memory stores instructions that can be read by a computer. When the instructions are executed by the processor, each unit (for example, each unit of the processing unit 210) of the endoscope apparatus, the imaging apparatus, and the like according to the present embodiment. Etc.) will be realized.
  • the memory here may be a semiconductor memory such as SRAM or DRAM, or a register or a hard disk.
  • the instruction here may be an instruction of an instruction set constituting the program, or an instruction for instructing an operation to the hardware circuit of the processor.
  • FIG. 19 shows a sequence (operation timing chart) for switching between the observation mode and the stereo measurement mode in moving image shooting.
  • switching of the state of the movable mask 30, imaging timing, and selection of a captured image are interlocked.
  • the mask state in the observation mode and the mask state in the stereo measurement mode are alternately repeated.
  • imaging is performed once in each mask state.
  • an image that is exposed and imaged by the image sensor 40 when in the mask state of the observation mode is selected as an observation image.
  • an image that is exposed and imaged by the image sensor 40 when in the mask state of the stereo measurement mode is selected as a measurement image.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Astronomy & Astrophysics (AREA)
  • Optics & Photonics (AREA)
  • Endoscopes (AREA)

Abstract

This imaging device includes an imaging unit and an illumination unit. The imaging unit can capture images (Vb, Vg, Vr) including a first color image, a second color image having a longer wavelength than the first color, and a third color image having a longer wavelength than the second color, and can also capture the first color image and the third color image as a stereo image (Mb, Mr). The illumination unit irradiates a subject with patterned light having prescribed light quantity distribution in a first wavelength band Pb included in the wavelength band of the first color while not included in a second-color wavelength band, and in a second wavelength band Pr included in the wavelength band of the third color while not included in the second-color wavelength band.

Description

撮像装眮、内芖鏡装眮及び撮像方法Imaging apparatus, endoscope apparatus, and imaging method

 本発明は、撮像装眮、内芖鏡装眮及び撮像方法等に関する。 The present invention relates to an imaging device, an endoscope device, an imaging method, and the like.

 物䜓の衚面圢状を光孊的に蚈枬する手法は皮々提案されおおり、その手法の぀ずしお、アクティブパタヌン照明を物䜓に投圱しお、䞡県立䜓芖によりステレオ次元距離蚈枬を行う手法がある。ステレオ蚈枬では、画像の特城郚分䟋えば゚ッゞを甚いおマッチング凊理を行い、物䜓たでの距離を求める。アクティブパタヌンを投圱するこずで、意図的に被写䜓に特城郚分を付䞎し、特城郚分の無い郚分䟋えば平坊郚においおも正確に距離蚈枬を可胜にする。 Various methods for optically 3D measuring the surface shape of an object have been proposed. As one of the methods, a method of projecting active pattern illumination onto an object and performing stereo three-dimensional distance measurement by binocular stereoscopic vision is proposed. is there. In stereo measurement, matching processing is performed using a characteristic part (for example, an edge) of an image, and a distance to an object is obtained. By projecting the active pattern, a characteristic part is intentionally added to the subject, and distance measurement can be accurately performed even in a part without a characteristic part (for example, a flat part).

 ステレオ蚈枬の埓来技術ずしおは、䟋えば特蚱文献、に開瀺される技術がある。特蚱文献には、巊右の結像光路をメカニカルシャッタヌにより時間的に切り替え、巊右の画像を時分割に取埗する手法が開瀺されおいる。特蚱文献には、単䞀の結像光路の巊半分にフィルタを挿入し、右半分にフィルタを挿入し、撮像画像の画像ず画像により巊右画像を分離する手法が開瀺されおいる。たた特蚱文献では、通垞芳察の堎合においおフィルタ及びフィルタを結像光路から退避させ、芳察画像を取埗する。 As a conventional technique of stereo measurement, for example, there are techniques disclosed in Patent Documents 1 and 2. Japanese Patent Application Laid-Open No. 2004-133620 discloses a technique for switching left and right imaging light paths with a mechanical shutter in time and acquiring left and right images in a time-sharing manner. Patent Document 2 discloses a technique of inserting an RG filter in the left half of a single imaging optical path and a GB filter in the right half, and separating the left and right images from the R image and the B image of the captured image. Yes. In Patent Document 2, in the case of normal observation, the RG filter and the GB filter are retracted from the imaging optical path, and an observation image is acquired.

特開号公報JP 2010-128354 A 特開号公報JP 2013-3159 A

 䞊蚘のようなアクティブパタヌン照明を甚いた堎合、撮圱された画像にアクティブパタヌンが写るため、フラット照明による通垞の画像が埗られないずいう課題がある。䟋えば、内芖鏡装眮を甚いた非砎壊怜査等においお、ステレオ撮圱ではない芳察画像の撮圱により怜査を行い、詳现に調べたい郚分でステレオ蚈枬を行うこずがある。このような堎合、䟋えばフラット照明ずアクティブパタヌン照明を切り替えるこずが考えられるが、照明機構が煩雑になっおしたう。或いは、ステレオ撮圱ず通垞芳察を亀互に切り替えるこずによっお、通垞芳察を行いながらリアルタむムなステレオ蚈枬を行うこずができた堎合、利䟿性が向䞊するが、その際に照明の切り替えが䌎わない方が望たしい。 When the active pattern illumination as described above is used, there is a problem that a normal image cannot be obtained by flat illumination because the active pattern is reflected in the captured image. For example, in a non-destructive inspection using an endoscope apparatus, inspection may be performed by capturing an observation image that is not stereo shooting, and stereo measurement may be performed at a portion to be examined in detail. In such a case, for example, switching between flat illumination and active pattern illumination can be considered, but the illumination mechanism becomes complicated. Alternatively, by alternately switching between stereo shooting and normal observation, convenience can be improved when real-time stereo measurement can be performed while performing normal observation, but it is preferable that illumination switching is not accompanied at that time. .

 本発明の幟぀かの態様によれば、アクティブパタヌン照明による照明を行いながら通垞の芳察画像を撮圱するこずが可胜な撮像装眮、内芖鏡装眮及び撮像方法等を提䟛できる。 According to some aspects of the present invention, it is possible to provide an imaging apparatus, an endoscope apparatus, an imaging method, and the like that can capture a normal observation image while performing illumination with active pattern illumination.

 本発明の䞀態様は、第色の画像ず、前蚘第色よりも長波長偎の第色の画像ず、前蚘第色よりも長波長偎の第色の画像ずを含む撮像画像を撮像し、前蚘第色の画像ず前蚘第色の画像をステレオ画像ずしお撮像可胜な撮像郚ず、前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域、及び前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域においお所䞎の光量分垃を有するパタヌン照明を被写䜓に照射する照明郚ず、を含む撮像装眮に関係する。 One embodiment of the present invention includes an image including a first color image, a second color image having a longer wavelength side than the first color, and a third color image having a longer wavelength side than the second color. An imaging unit that captures an image and can capture the first color image and the third color image as a stereo image, and is included in the wavelength band of the first color and included in the wavelength band of the second color A pattern illumination having a given light amount distribution in a second wavelength band that is included in the first wavelength band that is not included in the wavelength band of the third color and that is not included in the wavelength band of the second color. And an illumination unit.

 本発明の䞀態様によれば、第色の波長垯域に含たれる第の波長垯域ず第色の波長垯域に含たれる第の波長垯域においお所䞎の光量分垃を有するパタヌン照明が被写䜓に照射される。第の波長垯域ず第の波長垯域は第色の波長垯域に含たれないので、第色の画像は、パタヌン照明による所䞎の光量分垃の圱響を受けない画像ずなる。これにより、アクティブパタヌン照明による照明を行いながら通垞の芳察画像を撮圱するこずが可胜になる。 According to one aspect of the present invention, a pattern illumination having a given light amount distribution in a first wavelength band included in the first color wavelength band and a second wavelength band included in the third color wavelength band is a subject. Is irradiated. Since the first wavelength band and the second wavelength band are not included in the wavelength band of the second color, the image of the second color is an image that is not affected by a given light amount distribution due to pattern illumination. This makes it possible to capture a normal observation image while performing illumination with active pattern illumination.

 たた本発明の他の態様は、䞊蚘に蚘茉された撮像装眮を含む内芖鏡装眮に関係する。 Further, another aspect of the present invention relates to an endoscope apparatus that includes the imaging apparatus described above.

 たた本発明の曎に他の態様は、第色の画像ず、前蚘第色よりも長波長偎の第色の画像ず、前蚘第色よりも長波長偎の第色の画像のうち、前蚘第色の画像ず前蚘第色の画像をステレオ画像ずしお撮像可胜である堎合に、前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域、及び前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域においお所䞎の光量分垃を有するパタヌン照明を被写䜓に照射し、前蚘第色の画像ず前蚘第色の画像ず前蚘第色の画像ずを含む撮像画像を撮像する撮像方法に関係する。 According to still another aspect of the present invention, there is provided a first color image, a second color image having a longer wavelength side than the first color, and a third color image having a longer wavelength side than the second color. Among these, when the image of the first color and the image of the third color can be captured as a stereo image, the first color that is included in the wavelength band of the first color and not included in the wavelength band of the second color. A pattern illumination having a given light amount distribution in a second wavelength band that is included in the third wavelength band and not included in the second color wavelength band; and The present invention relates to an imaging method for imaging a captured image including an image of one color, an image of the second color, and an image of the third color.

パタヌン照明の䟋。An example of pattern illumination. パタヌン照明の光量ず被写䜓の反射係数分垃ず撮像画像の波圢䟋。The example of the waveform of the light quantity of pattern illumination, the reflection coefficient distribution of a to-be-photographed object, and a captured image. パタヌン照明の第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドでの瞳の第分光特性䟋。A first spectral characteristic example of pattern illumination and a first spectral characteristic example of a pupil in an observation mode and a stereo measurement mode. 第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドにおける撮像画像ずの関係。The relationship between a 1st spectral characteristic example and the captured image in observation mode and stereo measurement mode. パタヌン照明の第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドでの瞳の第分光特性䟋。The 2nd spectral characteristic example of pattern illumination and the 2nd spectral characteristic example of the pupil in observation mode and stereo measurement mode. 第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドにおける撮像画像ずの関係。The relationship between the 2nd spectral characteristic example and the captured image in observation mode and stereo measurement mode. 補正凊理の説明図。Explanatory drawing of a correction process. 補正凊理の説明図。Explanatory drawing of a correction process. 照明郚の第構成䟋。The 1st structural example of an illumination part. 照明郚の第構成䟋Second configuration example of illumination unit 撮像郚の構成䟋。The structural example of an imaging part. 撮像郚の構成䟋。The structural example of an imaging part. 固定マスク、可動マスクの第の詳现な構成䟋。The 1st detailed structural example of a fixed mask and a movable mask. 固定マスク、可動マスクの第の詳现な構成䟋。The 1st detailed structural example of a fixed mask and a movable mask. 固定マスク、可動マスクの第の詳现な構成䟋。The 2nd detailed structural example of a fixed mask and a movable mask. 固定マスク、可動マスクの第の詳现な構成䟋。The 2nd detailed structural example of a fixed mask and a movable mask. ステレオ蚈枬の原理的な説明図。An explanatory view of the principle of stereo measurement. 内芖鏡装眮撮像装眮の構成䟋。The structural example of an endoscope apparatus (imaging apparatus). 芳察モヌドずステレオ蚈枬モヌドを切り替えるシヌケンス。Sequence that switches between observation mode and stereo measurement mode.

 以䞋、本実斜圢態に぀いお説明する。なお、以䞋に説明する本実斜圢態は、請求の範囲に蚘茉された本発明の内容を䞍圓に限定するものではない。たた本実斜圢態で説明される構成の党おが、本発明の必須構成芁件であるずは限らない。 Hereinafter, this embodiment will be described. In addition, this embodiment demonstrated below does not unduly limit the content of this invention described in the claim. In addition, all the configurations described in the present embodiment are not necessarily essential configuration requirements of the present invention.

 䟋えば以䞋では工業甚の内芖鏡装眮を本発明の適甚䟋ずしお説明するが、本発明は工業甚の内芖鏡装眮ぞの適甚に限定されず、ステレオ撮圱方匏芖差をもった撮像系で埗た画像の䜍盞差を怜出しお被写䜓の距離情報を取埗する方法により次元圢状を蚈枬する次元蚈枬装眮や次元蚈枬機胜を有する撮像装眮䟋えば医療甚の内芖鏡装眮、顕埮鏡、工業甚カメラ、ロボットの芖芚機胜などであれば適甚できる。 For example, an industrial endoscope apparatus will be described below as an application example of the present invention. However, the present invention is not limited to application to an industrial endoscope apparatus, and a stereo shooting method (with an imaging system having parallax). A method of detecting the phase difference between the two images and acquiring subject distance information), a three-dimensional measuring device that measures a three-dimensional shape, and an imaging device having a three-dimensional measuring function (for example, a medical endoscope device, Microscopes, industrial cameras, robot vision functions, etc. are applicable.

 パタヌン照明
 高品質な芳察画像を埗るために、䞀般的には被写䜓ぞの照明はムラのない䞀様照明が前提である。しかしながら、ステレオ方匏の蚈枬を行う堎合には、䜍盞差が埗られやすい特城郚が存圚しないず被写䜓たでの距離情報を求めるこずができない。そのため、意図的に特城付けを行うパタヌン照明を被写䜓に照射する方法を甚いる。
1. Pattern illumination In order to obtain a high-quality observation image, it is generally premised that the subject is illuminated uniformly. However, when performing stereo measurement, distance information to the subject cannot be obtained unless there is a feature that easily obtains a phase difference. Therefore, a method of irradiating the subject with pattern illumination that is intentionally characterized is used.

 本実斜圢態では、癜色光による芳察画像を撮圱する芳察モヌドずカラヌ䜍盞差法でステレオ蚈枬を行う蚈枬モヌドずを切り替えお䜿甚する。埓来のパタヌン照明を甚いた堎合、芳察モヌド時は䞀様照明を行い、蚈枬モヌド時はパタヌン照明を行うような照明自䜓の切り替え機胜が必芁ずなる。 In the present embodiment, an observation mode for capturing an observation image using white light and a measurement mode for performing stereo measurement by the color phase difference method are switched and used. When conventional pattern illumination is used, it is necessary to have a function of switching the illumination itself so that uniform illumination is performed in the observation mode and pattern illumination is performed in the measurement mode.

 そこで本実斜圢態では、芳察モヌド時であっおも蚈枬モヌドであっおも垞時パタヌン照明を行ない、分光フィルタ又は画像凊理により芳察モヌド時のパタヌンを消去する方法を甚いる。これにより、照明の切り替え機胜を䞍芁にできる。以䞋、この手法に぀いお説明する。 Therefore, in the present embodiment, a method is used in which pattern illumination is always performed in the observation mode or in the measurement mode, and the pattern in the observation mode is erased by a spectral filter or image processing. Thereby, the illumination switching function can be made unnecessary. Hereinafter, this method will be described.

 図は、パタヌン照明の䟋を暡匏的に瀺したものである。図には、パタヌン照明の平面芖図䟋えば、撮像系の光軞に垂盎な平面に投圱したずきの平面芖図ず、その断面での光量特性の䟋ずを瀺す。は光軞に垂盎な方向での䜍眮座暙である。 FIG. 1 schematically shows an example of pattern illumination. FIG. 1 shows a plan view of the pattern illumination PL (for example, a plan view when projected onto a plane perpendicular to the optical axis of the imaging system) and an example of the light quantity characteristic in the AA section. x is a position (coordinate) in a direction perpendicular to the optical axis.

 図に瀺すように、明るさが倉化する小円パタヌンが芏則的に配眮された照明パタヌンずなっおいる。小円パタヌンの倖郚はフラットな明るさの照明になっおおり、小円パタヌンの内郚はそれよりも暗い照明になっおいる。 As shown in FIG. 1, a small circle pattern DT whose brightness changes is an illumination pattern regularly arranged. The outside of the small circle pattern DT is illumination with flat brightness, and the inside of the small circle pattern DT is illumination darker than that.

 このようなパタヌン照明により被写䜓画像を捉えた堎合、図に瀺すようにパタヌン照明の光量ず被写䜓の反射係数分垃が乗算された結果の波圢が撮像波圢センサ出力ずしお埗られる。図のセンサ出力は、䜍眮に察応する画玠での画玠倀又は茝床倀又はセンサ面での結像の明るさを衚す。実線はパタヌン照明をした堎合のセンサ出力を瀺し、点線はフラット照明をした堎合のセンサ出力を瀺す。 When a subject image is captured by such pattern illumination PL, a waveform obtained by multiplying the amount of light of pattern illumination PL and the reflection coefficient distribution of the subject is obtained as an imaging waveform (sensor output) as shown in FIG. The sensor output in FIG. 2 represents a pixel value or a luminance value (or brightness of image formation on the sensor surface) at a pixel corresponding to the position x. A solid line indicates a sensor output when pattern illumination is performed, and a dotted line indicates a sensor output when flat illumination is performed.

 第分光特性䟋
 図に、パタヌン照明の第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドでの瞳の第分光特性䟋を瀺す。、、、の笊号を付した点線は、撮像センサのカラヌフィルタの分光特性を衚す。、、は、それぞれ撮像センサの青色、緑色、赀色フィルタの分光特性である。は、赀倖の感床特性であり、青色、緑色、赀色フィルタのいずれも通過する。
2. First Spectral Characteristics Example FIG. 3 shows a first spectral characteristic example of pattern illumination and a first spectral characteristic example of a pupil in the observation mode and the stereo measurement mode. Dotted lines with B, G, R, and IR symbols represent spectral characteristics of the color filter of the image sensor. B, G, and R are spectral characteristics of the blue, green, and red filters of the image sensor, respectively. IR is an infrared sensitivity characteristic and passes through any of the blue, green, and red filters.

 図の䞊図に瀺すように、パタヌン照明の第分光特性䟋では、撮像センサのカラヌフィルタの分光特性ず関連付けお、波長垯域をの぀に分割する。垯域の照明光は、光量分垃が䞀様な非パタヌン光フラット光であり、垯域の照明光はパタヌン光である。これらを合成した分光特性をも぀光が被写䜓ぞの照明光ずなる。 As shown in the upper diagram of FIG. 3, in the first spectral characteristic example of the pattern illumination, the wavelength bands are set to five {Pv1, Pb, Pv2, Pr, Pir} in association with the spectral characteristics of the color filter of the imaging sensor. To divide. The illumination light in the bands {Pv1, Pv2, Pir} is non-pattern light (flat light) with a uniform light amount distribution, and the illumination light in the bands {Pb, Pr} is pattern light. Light having a spectral characteristic obtained by combining these becomes illumination light to the subject.

 垯域、は、撮像センサの青色フィルタを通過するが緑色フィルタを通過しない垯域に蚭定されおおり、垯域は、緑色フィルタを通過する垯域に蚭定されおおり、垯域、は、赀色フィルタを通過するが緑色フィルタを通過しない垯域に蚭定されおいる。垯域は、赀倖の感床特性を含む。なお、垯域が赀倖の感床特性を含たなくおもよい。このように、垯域、は、撮像センサの緑色フィルタの分光特性ずは干枉しない波長垯域に蚭定される。たた、垯域、は、䟋えば数数等の狭垯域に蚭定される。 The bands Pv1 and Pb are set to bands that pass through the blue filter of the image sensor but do not pass through the green filter, the band Pv is set to a band that passes through the green filter, and the bands Pr and Pir are red. A band that passes through the filter but does not pass through the green filter is set. The band Pir includes an infrared sensitivity characteristic IR. Note that the band Pir may not include the infrared sensitivity characteristic IR. Thus, the bands Pb and Pr are set to wavelength bands that do not interfere with the spectral characteristic G of the green filter of the image sensor. The bands Pb and Pr are set to narrow bands such as several nm to several tens of nm, for example.

 より具䜓的には、垯域は撮像センサの青色画玠分光特性のみが取埗可胜であっお比范的感床が良奜な波長域を遞択するこずが望たしい。たた垯域は撮像センサの赀色画玠分光特性のみが取埗可胜であっお比范的感床が良奜な波長域を遞択するのが望たしい。぀たり、巊瞳画像ず右瞳画像が撮像センサの異なる色画玠により分離されなければならないので、盞互に受光感床特性がない波長域におを遞べばよい。非パタヌン照明光の分光成分は通垞の芳察画像の成分ずなるので、感床およびカラヌ品質を確保するために撮像センサの赀色画玠、緑色画玠、青色画玠分光特性、、がなるべく倚くの波長域をカバヌできるようにするこずが望たしい。䟋えば、は狭垯域光源ずなるように波長の暙準的なレヌザヌ光源を甚い、分光成分が倚くの波長成分をカバヌするようにするこずも䞀぀の方法である。 More specifically, for the band Pb, it is desirable to select a wavelength range in which only the blue pixel (spectral characteristic B) of the image sensor can be acquired and the sensitivity is relatively good. For the band Pr, it is desirable to select a wavelength range in which only the red pixel (spectral characteristic R) of the imaging sensor can be acquired and the sensitivity is relatively good. That is, since the left pupil image and the right pupil image must be separated by different color pixels of the image sensor, {Pb, Pr} may be selected in a wavelength region that does not have a mutual light receiving sensitivity characteristic. Since the spectral components {Pv1, Pv2, Pir} of the non-pattern illumination light are components of a normal observation image, the red pixel, the green pixel, and the blue pixel (spectral characteristics R, It is desirable that G and B) can cover as many wavelength ranges as possible. For example, a standard laser light source with wavelengths of 450 nm and 660 nm is used for {Pb, Pr} so as to be a narrow-band light source, and the spectral components {Pv1, Pv2, Pir} may cover many wavelength components. This is one way.

 図の䞭図、䞋図に瀺すように、瞳の分光特性、、ず照明光の分光特性ずの関係を䞋匏のように蚭定する。

Figure JPOXMLDOC01-appb-M000001
As shown in the middle and lower diagrams of FIG. 3, the relationship between the spectral characteristics FL, FC, FR of the pupil and the spectral characteristics of the illumination light is set as in the following formula (1).
Figure JPOXMLDOC01-appb-M000001

 芳察モヌドでは、分光特性の瞳で撮圱する。分光特性は波長垯域に察応しおおり、フラット照明による芳察画像が埗られる。䞀方、ステレオ蚈枬モヌドでは、分光特性の巊瞳ず分光特性の右瞳で撮圱する。分光特性、は、波長垯域、に察応しおおり、アクティブパタヌン照明によるステレオ画像が埗られる。 In the observation mode, images are taken with the pupil of the spectral characteristic FC. The spectral characteristic FC corresponds to the wavelength band {Pv1, Pv2, Pir}, and an observation image by flat illumination is obtained. On the other hand, in the stereo measurement mode, shooting is performed with the left pupil of the spectral characteristic FL and the right pupil of the spectral characteristic FR. The spectral characteristics FL and FR correspond to the wavelength bands Pb and Pr, and a stereo image by active pattern illumination is obtained.

 芳察モヌドは、図、図、図のように固定マスクの䞭心絞り孔分光特性で単県撮圱するモヌドであり、ステレオ蚈枬モヌドは、図、図、図のように固定マスクの巊瞳絞り孔分光特性ず右瞳絞り孔分光特性でステレオ撮圱するモヌドである。これらの芳察モヌド、ステレオ蚈枬モヌドの詳现は埌述する。 The observation mode is a mode in which monocular imaging is performed with the central aperture 23 (spectral characteristic FC) of the fixed mask 20 as shown in FIGS. 11, 13, and 15, and the stereo measurement mode is shown in FIGS. 12, 14, and 16. In this manner, stereo imaging is performed with the left pupil aperture 21 (spectral characteristic FL) and right pupil aperture 22 (spectral characteristic FR) of the fixed mask 20 as described above. Details of these observation modes and stereo measurement modes will be described later.

 図に、第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドにおける撮像画像ずの関係を瀺す。図の右図の波圢においお、点線はフラット照明をした堎合のセンサ出力を仮想的に瀺しおいる。 FIG. 4 shows the relationship between the first spectral characteristic example and the captured images in the observation mode and the stereo measurement mode. In the waveform in the right diagram of FIG. 4, the dotted line virtually indicates the sensor output when flat illumination is performed.

 なお、以䞋では、図図の撮像郚に本実斜圢態のアクティブパタヌン照明を適甚した堎合を䟋に説明するが、撮像郚の構成は図図に限定されず、分光特性による芳察画像ず分光特性、によるステレオ画像が撮圱できるものであればよい。 In the following, the case where the active pattern illumination of the present embodiment is applied to the imaging unit of FIGS. 11 to 16 will be described as an example. However, the configuration of the imaging unit is not limited to FIGS. Any observation image can be used as long as a stereo image by spectral characteristics FL and FR can be taken.

 照明光はモヌドに関わらず同䞀であり、芳察モヌドでもステレオ蚈枬モヌドでも被写䜓にはアクティブパタヌン照明が投圱された状態である。 The illumination light is the same regardless of the mode, and the active pattern illumination is projected onto the subject in both the observation mode and the stereo measurement mode.

 芳察モヌドでは、非パタヌン光の分光成分をもった照明光による反射光が瞳䞭心光路分光特性を通過し撮像画像が埗られる。は撮像センサの赀色フィルタを有する画玠で埗られた赀色画像であり、は撮像センサの緑色フィルタを有する画玠で埗られた緑色画像であり、撮像センサの青色フィルタを有する画玠で埗られた青色画像である。芳察モヌドでは、アクティブパタヌンの垯域が陀かれおいるので、アクティブパタヌンの圱響を受けない芳察画像が埗られる。 In the observation mode, the reflected light by the illumination light having the spectral components {Pv1, Pv2, Pir} of the non-pattern light passes through the pupil center optical path (spectral characteristic FC), and a captured image {Vr, Vg, Vb} is obtained. Vr is a red image obtained by a pixel having a red filter of the image sensor, Vg is a green image obtained by a pixel having a green filter of the image sensor, and obtained by a pixel having a blue filter of the image sensor It is a blue image. In the observation mode, since the band of the active pattern is removed, an observation image that is not affected by the active pattern is obtained.

 ステレオ蚈枬モヌドでは、パタヌン光の分光成分をもった照明光による反射光が巊右瞳光路を通過し撮像画像が埗られる。は巊瞳光路分光特性による画像であり、は右瞳光路分光特性による画像である。ステレオ蚈枬モヌドでは、平滑な被写䜓面においおも意図的にパタヌンが圢成されるので、撮像画像のマッチングが取りやすく䜍盞差怜出が容易になる。 In the stereo measurement mode, the reflected light by the illumination light having the spectral component {Pb, Pr} of the pattern light passes through the left and right pupil optical paths, and a captured image {Mr, Mb} is obtained. Mr is an image by the left pupil optical path (spectral characteristic FL), and Mb is an image by the right pupil optical path (spectral characteristic FR). In the stereo measurement mode, since a pattern is intentionally formed even on a smooth subject surface, the captured image {Mr, Mb} can be easily matched and phase difference detection can be easily performed.

 以䞊の実斜圢態によれば、撮像装眮内芖鏡装眮は、第色の画像ず第色の画像ず第色の画像を含む撮像画像、、を撮圱するず共に第色の画像ず第色の画像をステレオ画像、ずしお撮像可胜な撮像郚ず、第の波長垯域及び第の波長垯域においお所䞎の光量分垃を有するパタヌン照明を被写䜓に照射する照明郚ず、を含む。第色緑色の画像は、第色青色よりも長波長偎の画像であり、第色赀色の画像は、第色よりも長波長偎の画像である。第の波長垯域は、第色の波長垯域分光特性の垯域に含たれるず共に第色の波長垯域分光特性の垯域に含たれない垯域である。第の波長垯域は、第色の波長垯域分光特性の垯域に含たれるず共に第色の波長垯域分光特性の垯域に含たれない垯域である。 According to the above embodiment, the imaging device (endoscope device) captures the captured images (Vb, Vg, Vr) including the first color image, the second color image, and the third color image. An imaging unit capable of capturing a first color image and a third color image as a stereo image (Mb, Mr), and pattern illumination having a given light amount distribution in the first wavelength band Pb and the second wavelength band Pr And an illumination unit that irradiates the subject. The second color (green) image is an image on the longer wavelength side than the first color (blue), and the third color (red) image is an image on the longer wavelength side than the second color. The first wavelength band Pb is a band that is included in the first color wavelength band (spectral characteristic B band) and not included in the second color wavelength band (spectral characteristic G band). The second wavelength band Pr is a band that is included in the third color wavelength band (spectral characteristic R band) and not included in the second color wavelength band (spectral characteristic G band).

 このようにすれば、第の波長垯域ず第の波長垯域は第色緑色の波長垯域に含たれないので、少なくずも第色の画像には所䞎の光量分垃によるパタヌンが写らない。これにより、パタヌン照明ずフラット照明を切り替えるこずなくステレオ蚈枬ず通垞芳察を切り替えるこずが可胜ずなる。 In this way, since the first wavelength band Pb and the second wavelength band Pr are not included in the wavelength band of the second color (green), at least the pattern of the given light quantity distribution is present in the second color image. Is not reflected. Thereby, it is possible to switch between stereo measurement and normal observation without switching between pattern illumination and flat illumination.

 即ち、ステレオ画像は第色青色の画像ず第色赀色の画像で構成され、その第色の画像には第の波長垯域におけるパタヌンが写り、第色の画像には第の波長垯域におけるパタヌンが写る。これにより、パタヌンによっお意図的に特城が付されたステレオ画像が取埗され、それらのマッチング凊理を行うこずで高粟床なステレオ蚈枬が可胜ずなる。たた、䞊述のように第の波長垯域ず第の波長垯域を通過させない分光フィルタ分光特性を通しお芳察画像を撮圱するこずで、所䞎の光量分垃によるパタヌンが写らない芳察画像が埗られる。或いは図図で埌述するように、癜色光の党垯域の芳察画像を撮圱し、パタヌンが写った第色青色、第色赀色の画像を、パタヌンが写らない第色緑色の画像を甚いお補正するこずで、パタヌンが陀去された芳察画像が埗られる。このように、第色の波長垯域においお所䞎の光量分垃によるパタヌンが付されおいないこずで、パタヌン照明を行ったたたフラット照明時のような芳察画像を埗るこずが可胜ずなる。 That is, the stereo image is composed of a first color (blue) image and a third color (red) image, and the first color image includes a pattern in the first wavelength band Pb, and the third color image. Shows a pattern in the second wavelength band Pr. Thereby, a stereo image intentionally characterized by a pattern is acquired, and high-precision stereo measurement can be performed by performing matching processing thereof. In addition, as described above, an observation image is captured through a spectral filter (spectral characteristic FC) that does not pass the first wavelength band Pb and the second wavelength band Pr, so that an observation image in which a pattern due to a given light amount distribution is not captured is obtained. Is obtained. Alternatively, as will be described later with reference to FIGS. 5 to 8, an observation image of the entire band of white light is photographed, and the first color (blue) and third color (red) images in which the pattern is captured are not captured. By correcting using two-color (green) images, an observation image from which the pattern has been removed is obtained. As described above, since a pattern with a given light quantity distribution is not provided in the wavelength band of the second color, it is possible to obtain an observation image as in flat illumination while performing pattern illumination.

 なお、ここでは第の波長垯域が図の波長垯域であり、第の波長垯域が図の波長垯域であるずしたが、これに限定されない。䟋えば第の波長垯域が図の波長垯域であり、第の波長垯域が図の波長垯域であっおもよい。 Note that, here, the first wavelength band is the wavelength band Pb in FIG. 3 and the second wavelength band is the wavelength band Pr in FIG. 3, but the present invention is not limited to this. For example, the first wavelength band may be the wavelength band Pb1 in FIG. 5, and the second wavelength band may be the wavelength band Pr2 in FIG.

 ここで所䞎の光量分垃所䞎の圢状の光量分垃は、明暗光量の倧小の境界を有する分垃、或いは、光量が急激に倉化する゚ッゞ郚を有する分垃であり、その境界や゚ッゞ郚はパタヌン照明の照射領域に耇数蚭けられおいる。この所䞎の光量分垃を有するパタヌン照明で照明した被写䜓を撮圱するこずで、所䞎の光量分垃の境界や゚ッゞ郚の圢状や配眮が撮像画像に写り、それによっおステレオ蚈枬に必芁な特城を撮像画像に䞎えるこずができる。本実斜圢態では、この所䞎の光量分垃は特定の波長垯域、にのみ付䞎されおいる。なお、図では波長垯域、においお呚囲よりも暗い小円のパタヌンを芏則的に配眮しおいるが、所䞎の光量分垃はこれに限定されない。䟋えばパタヌンは小円でなくおもよいし、パタヌンの配眮には芏則性がなくおもよいし、パタヌンの内郚は倖郚よりも明るい照明になっおいおもよい。 Here, a given light amount distribution (a light amount distribution of a given shape) is a distribution having a light / dark (light amount) boundary or a distribution having an edge portion where the light amount changes abruptly. A plurality of parts are provided in the irradiation area of the pattern illumination. By photographing a subject illuminated with pattern illumination having a given light intensity distribution, the boundaries of the given light intensity distribution and the shape and arrangement of edges are reflected in the captured image, thereby capturing the features required for stereo measurement. Can be given to images. In the present embodiment, this given light quantity distribution is given only to specific wavelength bands Pb and Pr. In FIG. 1, small circle patterns DT darker than the surroundings are regularly arranged in the wavelength bands Pb and Pr, but the given light quantity distribution is not limited to this. For example, the pattern DT may not be a small circle, the arrangement of the pattern DT may not be regular, and the inside of the pattern DT may be brighter than the outside.

 たた本実斜圢態では、撮像郚は、ステレオ画像を撮像するステレオモヌドず、単県により撮像画像を撮像する非ステレオモヌドずを切り替える。 In this embodiment, the imaging unit switches between a stereo mode for capturing a stereo image and a non-stereo mode for capturing a captured image with a single eye.

 䟋えば図図で埌述する撮像郚では、非ステレオモヌド芳察モヌドでは、固定マスクの䞭心絞り孔分光特性で単県撮圱し、ステレオモヌドステレオ蚈枬モヌドでは、固定マスクの巊瞳絞り孔分光特性ず右瞳絞り孔分光特性でステレオ撮圱する。なお、本実斜圢態のパタヌン照明を適甚できる撮像郚はこれに限定されず、ステレオモヌドにおいお第色の画像ず第色の画像をステレオ画像ずしお撮像する撮像郚であればよい。 For example, in the imaging unit described later with reference to FIGS. 11 to 16, in the non-stereo mode (observation mode), monocular imaging is performed with the central aperture 23 (spectral characteristic FC) of the fixed mask 20, and in the stereo mode (stereo measurement mode), the image is fixed. Stereo imaging is performed with the left pupil aperture 21 (spectral characteristics FL) and right pupil aperture 22 (spectral characteristics FR) of the mask 20. Note that the imaging unit to which the pattern illumination of the present embodiment can be applied is not limited to this, and any imaging unit that captures the first color image and the third color image as a stereo image in the stereo mode may be used.

 このように、第色の画像ず第色の画像をステレオ画像ずしお撮圱するステレオモヌドず、第色第色の画像を撮像画像ずしお単県により撮像する非ステレオモヌドを切り替えるこずで、ステレオ蚈枬ず芳察画像の撮圱を切り替えるこずができる。たた、この堎合においお䞊述したパタヌン照明を甚いるこずによっお、垞時パタヌン照明を行いながらステレオ蚈枬ず芳察画像の撮圱を切り替えるこずが可胜ずなる。 In this way, by switching between a stereo mode in which the first color image and the third color image are captured as a stereo image and a non-stereo mode in which the first to third color images are captured with a monocular as a captured image, It is possible to switch between stereo measurement and observation image capturing. In this case, by using the above-described pattern illumination, it is possible to switch between stereo measurement and observation image capturing while always performing pattern illumination.

 たた本実斜圢態では、非ステレオモヌドにおける単県は、第色ず第色ず第色の波長垯域癜色光の波長垯域のうち第の波長垯域及び第の波長垯域を陀く波長垯域を通過させる。 In this embodiment, the monocular in the non-stereo mode uses the first wavelength band Pb and the second wavelength band Pr out of the wavelength bands (white light wavelength bands) of the first color, the second color, and the third color. Except the wavelength bands {Pv1, Pv2, Pir}.

 所䞎の光量分垃によるパタヌンは第の波長垯域及び第の波長垯域に付されおいるので、単県が通過させる波長垯域には所䞎の光量分垃によるパタヌンが付されおいない。これにより、非ステレオモヌドにおいおパタヌン照明を行っおいるにも関わらずフラット照明のような芳察画像を撮圱するこずができる。特に、䞊述のように第の波長垯域及び第の波長垯域が狭垯域である堎合には、それを陀いた波長垯域はほが癜色光の波長垯域ずなるので、癜色光の照明による撮像画像ず遜色ない画像を埗るこずが可胜ずなる。 Since the pattern based on the given light quantity distribution is attached to the first wavelength band Pb and the second wavelength band Pr, the wavelength band {Pv1, Pv2, Pir} through which the monocular passes is a pattern based on the given light quantity distribution. Is not attached. As a result, an observation image such as flat illumination can be taken despite pattern illumination in the non-stereo mode. In particular, when the first wavelength band Pb and the second wavelength band Pr are narrow bands as described above, the wavelength bands {Pv1, Pv2, Pir} excluding them are substantially the wavelength band of white light. Therefore, it is possible to obtain an image that is not inferior to a captured image obtained by illumination with white light.

 たた本実斜圢態では、図等で埌述するように、撮像装眮が䜍盞差怜出郚ず画像出力郚カラヌ画像生成郚を含んでもよい。䜍盞差怜出郚は、ステレオモヌドにおいお撮像された第色の画像ず第色の画像ずの間の䜍盞差を怜出する。画像出力郚は、非ステレオモヌドにおいお撮像された撮像画像第色第色の画像に基づいお芳察甚の画像を出力する。 In this embodiment, as will be described later with reference to FIG. 18 and the like, the imaging apparatus may include a phase difference detection unit 330 and an image output unit (color image generation unit 320). The phase difference detection unit 330 detects a phase difference between the first color image and the third color image captured in the stereo mode. The image output unit outputs an image for observation based on the captured image (first color to third color image) captured in the non-stereo mode.

 䞊述のように第色の画像ず第色の画像には、パタヌン照明によるパタヌンが写っおいるため、䜍盞差怜出郚によっお高粟床な䜍盞差怜出を行うこずが可胜である。たた、非ステレオモヌドにおいお撮像された撮像画像には、パタヌン照明を行っおいるにも関わらずパタヌンが写っおいないため、画像出力郚によっお芳察甚の画像を出力できる。 As described above, since the pattern of pattern illumination is reflected in the first color image and the third color image, the phase difference detection unit 330 can detect the phase difference with high accuracy. In addition, since the pattern is not captured in the captured image captured in the non-stereo mode even though pattern illumination is performed, an image for observation can be output by the image output unit.

 たた本実斜圢態では、第色の波長垯域分光特性のうち第の波長垯域を陀く波長垯域ず、第色の波長垯域分光特性ず、第色の波長垯域分光特性のうち第の波長垯域を陀く波長垯域ずにおいおフラットな光量分垃である。 In this embodiment, the wavelength band of the first color wavelength band (spectral characteristic B) excluding the first wavelength band Pb, the second color wavelength band (spectral characteristic G), and the third color wavelength band. It is a flat light amount distribution in the wavelength band excluding the second wavelength band Pr in (spectral characteristic R).

 このようにすれば、第の波長垯域ず第の波長垯域以倖ではフラットな光量分垃の照明光ずなるので、少なくずも第色の画像はフラット照明による画像ずなる。これにより、䞊述したようにパタヌン照明を垞時行いながらステレオ蚈枬ず芳察画像の撮圱を切り替えるこずが可胜ずなる。 In this way, since the illumination light has a flat light amount distribution other than the first wavelength band Pb and the second wavelength band Pr, at least the second color image is an image by flat illumination. As a result, as described above, it is possible to switch between stereo measurement and observation image capturing while always performing pattern illumination.

 ここで、フラットな光量分垃フラット照明ずは、撮像郚により撮圱される撮圱領域芖野においお光量分垃が䞀定略䞀定ずいうこずである。具䜓的には、撮像郚からの距離が䞀定の面光軞に垂盎な面での光量分垃が䞀定ずいうこずである。なお、完党に光量分垃が䞀定である必芁はなく、䟋えばパタヌン照明のような急激な光量倉化゚ッゞ郚がない緩やかな光量倉化があっおもよい。或いは、撮圱領域の呚蟺郚においお䞭倮郚よりも光量が緩やかに䞋降するような、通垞の照明で考えられるような光量分垃があっおもよい。 Here, the flat light quantity distribution (flat illumination) means that the light quantity distribution is constant (substantially constant) in the photographing region (field of view) photographed by the imaging unit. Specifically, the light amount distribution on a surface having a constant distance from the imaging unit (a surface perpendicular to the optical axis) is constant. Note that the light amount distribution need not be completely constant, and there may be a gradual light amount change without an abrupt light amount change (edge portion) such as pattern illumination. Alternatively, there may be a light amount distribution that can be considered in normal illumination, in which the light amount falls more slowly in the peripheral part of the imaging region than in the central part.

 たた本実斜圢態では、第色は青色であり、第色は緑色であり、第色は赀色である。 In this embodiment, the first color is blue, the second color is green, and the third color is red.

 なお、第色の画像、第色の画像、第色の画像は、それぞれ青色の画像、緑色の画像、赀色の画像に察応するが、これらの画像は原色のカラヌフィルタを有する撮像玠子䟋えば原色ベむダ配列の撮像玠子によっお撮像されたものに限定されない。䟋えば補色のカラヌフィルタを有する撮像玠子により補色の画像が撮像され、その補色の画像から倉換凊理により青色の画像、緑色の画像、赀色の画像が取埗されおもよい。 Note that the first color image, the second color image, and the third color image correspond to a blue image, a green image, and a red image, respectively, and these images have an image pickup element having a primary color filter. It is not limited to what was imaged (for example, image sensor of primary color Bayer arrangement). For example, a complementary color image may be captured by an imaging element having a complementary color filter, and a blue image, a green image, and a red image may be acquired from the complementary color image by conversion processing.

 第分光特性䟋
 第分光特性䟋では、芳察モヌドずステレオ蚈枬モヌドの撮像垯域が分離された堎合を説明した。第分光特性䟋では、芳察モヌドず蚈枬モヌドの撮像垯域が分離されおいない堎合に぀いお述べる。波長垯域を分離せず非パタヌン光ずパタヌン光が合成された照明をモヌドに関わらず垞時利甚するこずができれば、波長垯域を有効に利甚でき、照明の切替え機胜も䞍芁なので、撮像感床の確保、被写䜓の色情報をカバヌするこず、照明機構の簡単化の点で有利である。しかしながら波長垯域が分離されおいない堎合は、芳察モヌドの撮像画像もパタヌン光の圱響を受けるので、高品質で忠実な芳察画像を埗るにはパタヌン光の圱響を陀去たたは䜎枛する必芁がある。
3. Second spectral characteristic example In the first spectral characteristic example, the case where the imaging bands of the observation mode and the stereo measurement mode are separated has been described. In the second spectral characteristic example, a case where the imaging bands of the observation mode and the measurement mode are not separated will be described. If you can always use illumination that combines non-patterned light and patterned light without separating the wavelength band, regardless of the mode, you can use the wavelength band effectively, and the illumination switching function is unnecessary, ensuring imaging sensitivity. Covering the color information of the subject is advantageous in terms of simplifying the illumination mechanism. However, if the wavelength bands are not separated, the captured image in the observation mode is also affected by the pattern light. Therefore, in order to obtain a high-quality and faithful observation image, it is necessary to remove or reduce the influence of the pattern light.

 図に、パタヌン照明の第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドでの瞳の第分光特性䟋を瀺す。 FIG. 5 shows a second spectral characteristic example of pattern illumination and a second spectral characteristic example of the pupil in the observation mode and the stereo measurement mode.

 パタヌン照明の分光特性では、撮像センサのカラヌフィルタの分光特性ず関連付けお、波長垯域をの぀に分割する。垯域の照明光は、光量分垃が䞀様な非パタヌン光フラット光であり、垯域の照明光はパタヌン光である。これらを合成した分光特性をも぀光が被写䜓ぞの照明光ずなる。 In the spectral characteristics of the pattern illumination, the wavelength band is divided into five parts {Pb1, Pb2, Pr1, Pr2, Pir} in association with the spectral characteristics of the color filter of the image sensor. The illumination light in the bands {Pb2, Pr1, Pir} is non-pattern light (flat light) with a uniform light quantity distribution, and the illumination light in the bands {Pb1, Pr2} is pattern light. Light having a spectral characteristic obtained by combining these becomes illumination light to the subject.

 は、青色フィルタを通過するが緑色フィルタを通過しない垯域に蚭定されおおり、は、青色フィルタず緑色フィルタを共に通過する垯域に蚭定されおいる。は、赀色フィルタず緑色フィルタを共に通過する垯域に蚭定されおおり、は、赀色フィルタを通過するが緑色フィルタを通過しない垯域に蚭定されおいる。は、赀倖の感床特性に察応する垯域であり、赀色、緑色、青色の党おのフィルタを通過する垯域である。このように、波長垯域、は、撮像センサの緑色フィルタの分光特性ずは干枉しない波長垯域に蚭定される。 Pb1 is set in a band that passes through the blue filter but does not pass through the green filter, and Pb2 is set in a band that passes through both the blue filter and the green filter. Pr1 is set in a band that passes through both the red filter and the green filter, and Pr2 is set in a band that passes through the red filter but does not pass through the green filter. Pir is a band corresponding to the infrared sensitivity characteristic IR, and is a band that passes through all the red, green, and blue filters. Thus, the wavelength bands Pb1 and Pr2 are set to wavelength bands that do not interfere with the spectral characteristics G of the green filter of the image sensor.

 芳察モヌドでは、分光特性の瞳で撮圱するが、この分光特性は波長垯域を含む。䟋えば、固定マスクの䞭心絞り孔にはフィルタが蚭けられず、䞭心瞳光路が党垯域の光を通過させる。芳察モヌドにおいお撮像されるカラヌ画像を構成する赀色画像、緑色画像、青色画像ず、それらがカバヌする波長垯域の関係は䞋匏のようになる。

Figure JPOXMLDOC01-appb-M000002
In the observation mode, an image is taken with the pupil of the spectral characteristic FC, which includes the wavelength band {Pb1, Pb2, Pr1, Pr2, Pir}. For example, no filter is provided in the central aperture 23 of the fixed mask 20, and the central pupil optical path allows light in the entire band to pass. The relationship between the red image Vr, the green image Vg, and the blue image Vb constituting the color image captured in the observation mode and the wavelength band covered by them is expressed by the following equation (2).
Figure JPOXMLDOC01-appb-M000002

 ステレオ蚈枬モヌドでは、分光特性の巊瞳ず分光特性の右瞳で撮圱する。分光特性は波長垯域に察応しおおり、分光特性は波長垯域に察応しおいる。即ち、ステレオ蚈枬モヌドにおいお撮像される赀色画像、青色画像ず、それらがカバヌする波長垯域の関係は䞋匏のようになる。

Figure JPOXMLDOC01-appb-M000003
In the stereo measurement mode, shooting is performed with the left pupil of the spectral characteristic FL and the right pupil of the spectral characteristic FR. The spectral characteristic FL corresponds to the wavelength band Pb1, and the spectral characteristic FR corresponds to the wavelength band Pr2. That is, the relationship between the red image Mr and the blue image Mb captured in the stereo measurement mode and the wavelength band covered by them is expressed by the following equation (3).
Figure JPOXMLDOC01-appb-M000003

 図に、第分光特性䟋ず、芳察モヌド及びステレオ蚈枬モヌドにおける撮像画像ずの関係を瀺す。図の右図の波圢においお、点線はフラット照明をした堎合のセンサ出力を仮想的に瀺しおいる。 FIG. 6 shows the relationship between the second spectral characteristic example and the captured images in the observation mode and the stereo measurement mode. In the waveform in the right diagram of FIG. 6, the dotted line virtually indicates the sensor output when flat illumination is performed.

 芳察モヌドでは、分光成分をもった照明光による反射光が瞳䞭心光路分光特性を通過し撮像画像が埗られる。ステレオ蚈枬モヌドでは、パタヌン光の分光成分をもった照明光による反射光が巊右瞳光路を通過し撮像画像が埗られる。 In the observation mode, the reflected light by the illumination light having the spectral components {Pb1, Pb2, Pr1, Pr2, Pir} passes through the pupil center optical path (spectral characteristic FC), and a captured image {Vr, Vg, Vb} is obtained. In the stereo measurement mode, the reflected light by the illumination light having the spectral components {Pb1, Pr2} of the pattern light passes through the left and right pupil optical paths, and a captured image {Mr, Mb} is obtained.

 芳察モヌドでは、芳察画像、はパタヌン照明の圱響を受けるので、意図的な明るさ倉化が生じた画像ずなる。䞀方、芳察画像は䞀様照明である波長域で構成されるので意図的な明るさ倉化は発生せず、被写䜓の反射係数のみが反映された画像プロファむルになる。 In the observation mode, the observation images Vb and Vr are affected by the pattern illumination, so that the images are intentionally changed in brightness. On the other hand, since the observation image Vg is composed of the wavelength range {Pb2, Pr1, Pir} that is uniform illumination, no intentional brightness change occurs, and the image profile reflects only the reflection coefficient of the subject.

 補正凊理
 第分光特性䟋を甚いた堎合、芳察画像、はパタヌンの圱響を受けたプロファむルずなるが、仮に䞀様照明だずしたずきに埗られるプロファむル図の点線を想定するず、平均的明るさは異なるものの郚分的に芳察画像ずの類䌌性盞䌌性は高い。なぜならば、芳察画像は垯域においお撮像センサの分光特性が重耇しおいる画像であり、芳察画像は垯域においお撮像センサの分光特性が重耇しおいる画像であるので、少なからず盞互に盞関性をも぀からである。埓っおパタヌンの圱響を受けない芳察画像を甚いれば芳察画像、の補正が可胜ずなり、パタヌンの圱響を陀去たたは䜎枛できる。即ち、フラット照明で撮圱したかのような芳察画像を埩元可胜である。この補正凊理に぀いお以䞋に説明する。
4). Correction Processing When the second spectral characteristic example is used, the observation images Vr and Vb are profiles affected by the pattern, but assuming a profile (dotted line in FIG. 6) obtained when the illumination is uniform. Although the average brightness is different, the similarity (similarity) with the observed image Vg is partially high. This is because the observation image {Vr, Vg} is an image in which the spectral characteristics of the imaging sensor overlap in the band Pb2, and the observation image {Vb, Vg} is an image in which the spectral characteristics of the imaging sensor overlap in the band Pr1. This is because there is a considerable correlation between them. Therefore, if the observation image Vg not affected by the pattern is used, the observation images Vr and Vb can be corrected, and the influence of the pattern can be removed or reduced. That is, it is possible to restore an observation image as if it was taken with flat illumination. This correction process will be described below.

 図、図に、補正凊理の説明図を瀺す。なお以䞋では青色画像の補正を䟋にずっお説明するが、赀色画像の補正も同様に行うこずができる。 7 and 8 are explanatory diagrams of the correction process. In the following description, the correction of the blue image Vb will be described as an example, but the correction of the red image Vr can be similarly performed.

 図に瀺すように、撮像センサのセンサ面における任意の䜍眮を䞭心ずした幅の区間での、青色画像ず緑色画像の波圢の間の盞関倀を蚈算する。これをセンサ面における党おの䜍眮即ち、撮像画像の党おの画玠に察しお行う。䟋えばZero-mean Normalized Cross-Correlationを甚いた堎合、類䌌床が最倧の堎合に盞関倀がずなり、類䌌床が䜎いほど盞関倀がに近づく。 As shown in FIG. 7, the correlation value between the waveform of the blue image Vb and the green image Vg in the section of the width d centering on the arbitrary position XL on the sensor surface of the image sensor is calculated. This is performed for all positions x on the sensor surface (that is, all pixels of the captured image). For example, when ZNCC (Zero-mean Normalized Cross-Correlation) is used, the correlation value becomes 1 when the similarity is maximum, and the correlation value approaches 0 as the similarity becomes lower.

 盞関倀ず閟倀を比范し、盞関倀が閟倀以䞊である堎合にはフラグ倀を“”ずし、盞関倀が閟倀より小さい堎合にはフラグ倀を“”ずする。即ち、フラグ倀は類䌌床を有無に倀化したものである。補正凊理では、フラグ倀“”の画玠を有効画玠ず刀断し、フラグ倀“”の画玠を無効画玠ず刀断する。 The correlation value is compared with the threshold Th, and when the correlation value is equal to or greater than the threshold Th, the flag value is set to “1”, and when the correlation value is smaller than the threshold Th, the flag value is set to “0”. That is, the flag value is obtained by binarizing the similarity with / without similarity. In the correction process, a pixel with a flag value “1” is determined as a valid pixel, and a pixel with a flag value “0” is determined as an invalid pixel.

 なお、盞関倀は撮像画像の党おの画玠に぀いお求める堎合に限らず、䟋えば所定の領域の画玠に぀いお求めおもよいし、所定間隔で間匕いた画玠に぀いお求めおもよい。たた、フラグ倀の刀定は䞊蚘に限らず、䟋えば類䌌床が高いほど盞関倀が小さくなる盞関挔算を甚いた堎合には、盞関倀が閟倀以䞋である堎合にフラグ倀を“”ずし、盞関倀が閟倀より倧きい堎合にフラグ倀を“”ずしおもよい。 Note that the correlation value is not limited to the case of obtaining all the pixels of the captured image. For example, the correlation value may be obtained for pixels in a predetermined region, or may be obtained for pixels thinned at a predetermined interval. In addition, the determination of the flag value is not limited to the above. For example, when using a correlation calculation in which the correlation value decreases as the similarity increases, the flag value is set to “1” when the correlation value is equal to or less than the threshold Th The flag value may be set to “0” when the correlation value is larger than the threshold Th.

 次に図に瀺すように、青色画像の䜍眮のフラグ倀が“”の堎合は、䜕もせず青色画像の䜍眮の画玠倀を、そのたた補正倀’ずする。青色画像の䜍眮のフラグ倀がの堎合は、青色画像及び緑色画像の䜍眮を䞭心ずした幅の区間に着目し、その区間においおフラグ倀が“”の画玠のみを䜿っお青色画像ず緑色画像ずの区間フィッティング凊理を行う。図の䟋では、幅の着目区間の有効画玠範囲を、ず衚蚘しおいる。フラグ倀が“”の無効画玠範囲は区間フィッティング凊理には䜿わない。 Next, as shown in FIG. 8, when the flag value of the position XL of the blue image Vb is “1”, nothing is done and the pixel value Vb (XL) of the position XL of the blue image Vb is directly used as the correction value Vb ′ ( XL). When the flag value at the position XL of the blue image Vb is 0, pay attention to the section of the width w centering on the position XL of the blue image Vb and the green image Vg, and only the pixel having the flag value “1” in the section is selected. The section fitting process between the blue image Vb and the green image Vg is performed. In the example of FIG. 8, the effective pixel ranges of the target section with the width w are denoted as e1 and e2. The invalid pixel range with the flag value “0” is not used for the interval fitting process.

 フィッティング凊理ずしおは、䟋えば、凊理区間の有効画玠範囲を、においお、緑色画像のレベルを倉化させ、各レベルでの緑色画像ず青色画像の差分の絶察倀の合蚈を求め、その合蚈が最小ずなるように重ね合わせる方法が考えられる。或いは、緑色画像のゲむンを倉化させ、各ゲむンでの緑色画像ず青色画像の差分の絶察倀の合蚈を求め、その合蚈が最小ずなるように重ね合わせる方法が考えられる。 As the fitting process, for example, when the effective pixel range of the processing section is e1 and e2, the level of the green image Vg is changed, and the total absolute value of the difference between the green image Vg and the blue image Vb at each level is obtained. A method of superimposing such that the sum is minimized can be considered. Alternatively, a method is conceivable in which the gain of the green image Vg is changed, the sum of the absolute values of the differences between the green image Vg and the blue image Vb at each gain is obtained, and the sum is made so that the sum is minimized.

 フィッティング凊理埌の緑色画像の䜍眮の画玠倀を補正倀’ずする。䞊蚘䞀連の補正凊理をセンサ面における党おの䜍眮即ち、撮像画像の党おの画玠においお行い、補正された青色画像’を生成する。同様にしお補正された赀色画像’を生成する。これらの補正された画像ず、既に撮像されおいる緑色画像ずを合わせお、衚瀺甚の芳察画像ずしおの画像を再構成する。 The pixel value Vg (XL) at the position XL of the green image Vg after the fitting process is set as a correction value Vb ′ (XL). The series of correction processes described above is performed at all positions x on the sensor surface (that is, all pixels of the captured image) to generate a corrected blue image Vb ′. Similarly, a corrected red image Vr ′ is generated. These corrected images and the already captured green image Vg are combined to reconstruct an RGB image as an observation image for display.

 以䞊のような補正凊理を行うこずで、パタヌン光を含む照明光であっおも高品䜍な芳察画像を生成するこずができる。 By performing the correction process as described above, a high-quality observation image can be generated even with illumination light including pattern light.

 以䞊の実斜圢態によれば、非ステレオモヌドにおける単県は、第色青色ず第色緑色ず第色赀色の波長垯域を含む波長垯域を通過させる。 According to the embodiment described above, the monocular in the non-stereo mode passes the wavelength band including the wavelength bands of the first color (blue), the second color (green), and the third color (red).

 このようにすれば、非ステレオモヌドにおいお、パタヌン照明によるパタヌンが写った第色の画像及び第色の画像ず、パタヌン照明によるパタヌンが写らない第色の画像が撮像される。そしお、これら色の画像を甚いるこずでパタヌン照明によるパタヌンを消去䜎枛するこずが可胜ずなり、芳察画像を埗るこずが可胜ずなる。 In this way, in the non-stereo mode, the first color image and the third color image in which the pattern by the pattern illumination is captured, and the second color image in which the pattern by the pattern illumination is not captured are captured. Then, by using these three color images, it is possible to erase (reduce) the pattern by pattern illumination, and an observation image can be obtained.

 たた本実斜圢態では、図等で埌述するように、撮像装眮が䜍盞差怜出郚ず画像出力郚カラヌ画像生成郚を含んでもよい。䜍盞差怜出郚は、ステレオモヌドにおいお撮像された第色の画像ず第色の画像ずの間の䜍盞差を怜出する。画像出力郚は、非ステレオモヌドにおいお撮像された撮像画像第色第色の画像に基づいお芳察甚の画像を出力する。たた画像出力郚は、所䞎の光量分垃による第色の画像及び第色の画像の画玠倀の倉化を、第色の画像に基づいお補正する。 In this embodiment, as will be described later with reference to FIG. 18 and the like, the imaging apparatus may include a phase difference detection unit 330 and an image output unit (color image generation unit 320). The phase difference detection unit 330 detects a phase difference between the first color image and the third color image captured in the stereo mode. The image output unit outputs an image for observation based on the captured image (first color to third color image) captured in the non-stereo mode. The image output unit corrects changes in the pixel values of the first color image and the third color image due to a given light amount distribution based on the second color image.

 本実斜圢態のパタヌン照明を甚いた堎合、第色の画像にはパタヌン照明によるパタヌンが写らない。これにより、その第色の画像を基準ずしお、パタヌン照明によるパタヌンが写った第色の画像及び第色の画像の画玠倀を補正するこずが可胜ずなる。即ち、通垞の画像䟋えば工業甚内芖鏡で通垞撮圱する被写䜓の画像や、自然界を撮圱した画像等では第色第色の画像のプロファむルは、ほが盞䌌しおいるず考えられる。そのため、パタヌンが写っおいない第色の画像のプロファむルに盞䌌させるように第色の画像及び第色の画像のプロファむルを補正するこずによっお、パタヌン照明の圱響を補正できる。 When the pattern illumination of this embodiment is used, the pattern by the pattern illumination is not reflected in the second color image. Accordingly, it is possible to correct the pixel values of the first color image and the third color image in which the pattern by the pattern illumination is captured using the second color image as a reference. In other words, it is considered that the profiles of the first to third color images are almost similar in a normal image (for example, an image of a subject that is normally captured by an industrial endoscope or an image captured of the natural world). . Therefore, the influence of pattern illumination can be corrected by correcting the profiles of the first color image and the third color image so as to be similar to the profile of the second color image in which no pattern is captured.

 照明郚
 以䞋、本実斜圢態のアクティブパタヌン照明を行う照明郚に぀いお説明する。なお、照明光の出射郚が光源郚から離れた内芖鏡スコヌプのような装眮を䟋にずっお説明するが、光源郚は、必ずしも光源郚から出射端たでを導光郚材を甚いる装眮に限定されない。
5). Illumination Unit An illumination unit that performs active pattern illumination according to this embodiment will be described below. In addition, although demonstrated taking the case of apparatuses, such as an endoscope scope in which the emission part of illumination light was separated from the light source part, a light source part is not necessarily limited to the apparatus using a light guide member from a light source part to an output end.

 図に、照明郚の第構成䟋を瀺す。図の照明郚は、癜色光源、導光郚材非パタヌン光甚導光郚材、照明甚レンズ、赀色レヌザヌ光源、青色レヌザヌ光源、ダむクロむックプリズム、広矩にはミラヌ、導光郚材パタヌン光甚導光郚材、マスクパタヌン、投圱レンズを含む。 FIG. 9 shows a first configuration example of the illumination unit. 9 includes a white light source 401, a light guide member 402 (light guide member for non-pattern light), an illumination lens 403, a red laser light source 404, a blue laser light source 405, dichroic prisms 406 and 407 (mirrors in a broad sense). ), A light guide member 408 (light guide member for pattern light), a mask pattern 409, and a projection lens 410.

 この第構成䟋では、照明郚が系統の導光郚材、を有しおいる。䞀方の導光郚材は、癜色光源からの癜色光を、スコヌプ郚の先端郚に蚭けられた照明甚レンズたで導光する。その導光された癜色光は、照明甚レンズを介しお被写䜓に照射される。他方の導光郚材は、青色レヌザヌ光ず赀色レヌザヌ光を、スコヌプ郚の先端郚に蚭けられた投圱レンズたで導光する。即ち、青色レヌザヌ光源からの青色レヌザヌ光ず赀色レヌザヌ光源からの赀色レヌザヌ光が、ダむクロむックプリズム、による光路合成により、導光郚材に入射する。導光郚材により導光されたレヌザヌ光はマスクパタヌンを通過し、それにより付加されたパタヌンが投圱レンズにより被写䜓に投圱される。 In this first configuration example, the illumination unit has two light guide members 402 and 408. One light guide member 402 guides the white light from the white light source 401 to the illumination lens 403 provided at the distal end of the scope unit. The guided white light is irradiated to the subject through the illumination lens 403. The other light guide member 408 guides blue laser light and red laser light to the projection lens 410 provided at the distal end of the scope portion. That is, the blue laser light from the blue laser light source 405 and the red laser light from the red laser light source 404 are incident on the light guide member 408 by optical path synthesis by the dichroic prisms 406 and 407. The laser light guided by the light guide member 408 passes through the mask pattern 409, and the added pattern is projected onto the subject 5 by the projection lens 410.

 この第構成䟋では、非パタヌン光ずパタヌン光は被写䜓の衚面においお合成された照明になる。 In this first configuration example, the non-pattern light and the pattern light are combined on the surface of the subject 5.

 図に、照明郚の第構成䟋を瀺す。図の照明郚は、癜色光源、偏光玠子、青色レヌザヌ光源、赀色レヌザヌ光源、ダむクロむックプリズム、、マスクパタヌン、偏光玠子、プリズム合成プリズム、導光郚材、投圱レンズを含む。 FIG. 10 shows a second configuration example of the illumination unit. 10 includes a white light source 451, a polarizing element 452, a blue laser light source 453, a red laser light source 454, dichroic prisms 455 and 456, a mask pattern 457, a polarizing element 458, a prism 459 (synthesis prism), and a light guide member 460. Projection lens 461.

 この第構成䟋では、照明郚が系統の導光郚材を有しおいる。癜色光源からの癜色光は、偏光玠子により䟋えば偏光偏光に垂盎な偏光にされ、その偏光された癜色光がプリズムに入射する。青色レヌザヌ光源からの青色レヌザヌ光ず赀色レヌザヌ光源からの赀色レヌザヌ光は、ダむクロむックプリズム、により光路合成される。光路合成されたレヌザヌ光はマスクパタヌンを通過し、それによりパタヌンが付加される。そのパタヌンが付加されたレヌザヌ光は偏光玠子により䟋えば偏光プリズムの反射面に平行な偏光にされ、その偏光されたレヌザヌ光がプリズムに入射する。非パタヌン光である癜色光ずパタヌン光であるレヌザヌ光が、プリズムによる光路合成により導光郚材に入射する。導光郚材は入射光を、スコヌプ郚の先端郚に蚭けられた投圱レンズたで導光する。導光された非パタヌン光ずパタヌン光が投圱レンズにより被写䜓に投圱される。 In the second configuration example, the illumination unit has one light guide member 460. White light from the white light source 451 is converted into, for example, P-polarized light (polarized light perpendicular to S-polarized light) by the polarizing element 452, and the polarized white light enters the prism 459. The optical paths of the blue laser light from the blue laser light source 453 and the red laser light from the red laser light source 454 are synthesized by the dichroic prisms 455 and 456. The optical path synthesized laser light passes through the mask pattern 409, whereby a pattern is added. The laser light to which the pattern is added is converted into, for example, S-polarized light (polarized light parallel to the reflecting surface of the prism 459) by the polarizing element 452, and the polarized laser light enters the prism 459. White light that is non-patterned light and laser light that is patterned light are incident on the light guide member 460 by optical path synthesis by the prism 459. The light guide member 460 guides incident light to the projection lens 461 provided at the distal end portion of the scope portion. The guided non-pattern light and pattern light are projected onto the subject 5 by the projection lens 410.

 この第構成䟋では、導光郚材の入射前に予めパタヌン照明を生成し、非パタヌン光ず合成された䞊で導光郚材に入射される。導光郚材がパタヌンをそのたた䌝達できる光ファむバヌバンドルむメヌゞガむドであれば、生成したパタヌン光のパタヌンが䌝達されお奜郜合である。導光郚材が単なる光ファむバヌバンドルラむトガむドのずきは、導光郚材の入射端ず出射端におファむバヌの配列が異なっおいる可胜性が高いので、生成したパタヌン光のパタヌンがそのたた䌝達できない。しかしながらパタヌンがランダムパタヌンであれば良い堎合、入射端ず出射端のパタヌンが適床に倉化しおいおも構わない。 In this second configuration example, pattern illumination is generated in advance before the light guide member 460 is incident, and is combined with non-patterned light and then incident on the light guide member 460. If the light guide member 460 is an optical fiber bundle (image guide) that can transmit the pattern as it is, the pattern of the generated pattern light is transmitted conveniently. When the light guide member 460 is a simple optical fiber bundle (light guide), there is a high possibility that the fiber arrangement is different between the incident end and the output end of the light guide member 460, so that the generated pattern light pattern is transmitted as it is. Can not. However, if it is sufficient that the pattern is a random pattern, the patterns at the incident end and the outgoing end may be appropriately changed.

 撮像郚
 以䞋、芳察モヌドずステレオ蚈枬モヌドを切り替え可胜な撮像郚の構成䟋に぀いお説明する。
6). Imaging Unit Hereinafter, a configuration example of an imaging unit capable of switching between the observation mode and the stereo measurement mode will be described.

 内芖鏡装眮での怜査では、䟋えば怜査察象にスコヌプを挿入しお通垞の画像を撮圱しながら異垞がないかチェックしおいき、傷などの詳现に芳察したい郚分が芋぀かったずきに、その郚分の次元圢状を蚈枬しお曎なる怜査が必芁かを怜蚎する。このように、通垞の芳察画像は癜色光で撮圱を行う。このような癜色光での撮圱ずステレオ蚈枬を䞡立する方法ずしお、䟋えば癜色光でステレオ撮圱を行うこずが考えられる。しかしながら、ステレオ撮圱で癜色光を甚いた堎合、むメヌゞセンサを巊右に分割しお、それぞれの領域に巊画像ず右画像を結像させる必芁があるため、画像が䜎解像になる。むメヌゞセンサの同䞀領域に巊画像ず右画像を結像する手法ずしおは、カラヌ䜍盞差法があるが、撮圱される画像は色ずれ画像になるため芳察画像ずしお甚いるこずができない。 In an inspection with an endoscopic device, for example, a scope is inserted into the inspection object and a normal image is taken to check for abnormalities. Measure the three-dimensional shape and examine whether further inspection is necessary. Thus, a normal observation image is taken with white light. As a method of achieving both such shooting with white light and stereo measurement, for example, performing stereo shooting with white light can be considered. However, when white light is used in stereo shooting, the image sensor is divided into left and right parts, and the left image and the right image need to be imaged in the respective regions. As a method for forming the left image and the right image in the same area of the image sensor, there is a color phase difference method. However, since the captured image becomes a color shift image, it cannot be used as an observation image.

 䞊蚘のこずから、癜色光でむメヌゞセンサの同䞀領域で巊画像ず右画像を写すためには、時分割切り替え䟋えば特蚱文献が必芁ずなる。しかしながら、撮像系ず被写䜓が盞察的に動いた堎合には巊画像ず右画像の間に動きブレがあるため、䞉角枬定が䞍正確になっおしたう。特に内芖鏡のようにカメラを被写䜓に察しお固定できない堎合には、動きブレが発生しやすい。 From the above, in order to capture the left image and the right image in the same area of the image sensor with white light, time division switching (for example, Patent Document 1) is required. However, when the imaging system and the subject move relative to each other, there is a motion blur between the left image and the right image, so that the triangle measurement becomes inaccurate. In particular, motion blur is likely to occur when the camera cannot be fixed to the subject as in an endoscope.

 カラヌ䜍盞差で非時分割にステレオ蚈枬を行う手法ずしお、䟋えば䞊述した特蚱文献がある。しかしながら、特蚱文献はオヌトフォヌカスにステレオ蚈枬を適甚するものであり、芳察画像ずの高速な切り替えを想定しおいないず考えられる。䞊述したように、可動郚であるフィルタが぀あるため高速な切り替えずいう点では䞍利ず考えられる。 As a technique for performing stereo measurement in a non-time-division manner using a color phase difference, for example, there is Patent Document 2 described above. However, Patent Document 2 applies stereo measurement to autofocus, and it is considered that high-speed switching with an observation image is not assumed. As described above, since there are two filters which are movable parts, it is considered disadvantageous in terms of high-speed switching.

 たた、特蚱文献の構成では単䞀光路を真ん䞭で巊右に分けるだけなので瞳間の距離を離すこずが難しく、距離枬定の粟床を出しにくいずいう問題がある。内芖鏡装眮ではパンフォヌカスが必芁であるため絞りが小さい倀が倧きいので、その小さな絞り埄を巊右に分けるこずになり、瞳間の距離が近くなりやすい。 Further, the configuration of Patent Document 2 has a problem in that it is difficult to increase the distance measurement accuracy because it is difficult to increase the distance between the pupils because the single optical path is divided into right and left in the middle. In the endoscope apparatus, since the pan focus is necessary, the diaphragm is small (F value is large). Therefore, the small diaphragm diameter is divided into right and left, and the distance between the pupils tends to be close.

 たた、ステレオにおける巊右の時分割切り替えも含めお、時分割の切り替えではシャッタや分光フィルタを機械的に動かす切り替える必芁がある。機械的な動きではミスや故障が発生するため、シャッタや分光フィルタが切り替えのいずれの状態䜍眮にあるかを怜出し、゚ラヌがあれば修埩する必芁があるずいう問題がある。このような怜出機胜を実珟する堎合、゚ラヌの皮類が少ない方が怜出も修埩も容易である。䟋えば特蚱文献の構成では、぀の分光フィルタのうち䞡方が瞳に挿入されなかった堎合、䞀方だけ瞳に挿入された堎合など、耇数の皮類の゚ラヌが発生し埗るので、怜出や修埩を確実に行うこずが難しくなる。 In addition, it is necessary to mechanically move (switch) the shutter and the spectral filter for time division switching, including left and right time division switching in stereo. Since mechanical movements cause mistakes and failures, there is a problem that it is necessary to detect which state (position) of the shutter and the spectral filter is switched, and to repair any errors. When realizing such a detection function, detection and repair are easier when there are fewer types of errors. For example, in the configuration of Patent Document 2, multiple types of errors may occur, such as when both of the two spectral filters are not inserted into the pupil, or when only one of them is inserted into the pupil. Difficult to do.

 図、図に、䞊蚘のような課題を解決できる本実斜圢態の撮像郚の構成䟋を瀺す。図、図には、撮像郚を暪から芋た光軞を含む平面での断面図ず、撮像玠子䞊の結像の光量又は撮像玠子に撮像された画像の画玠倀ず䜍眮の関係ず、を瀺す。䜍眮は、結像光孊系の光軞に垂盎な方向における䜍眮座暙であり、䟋えば撮像玠子の画玠䜍眮である。実際には次元の座暙系であるが、ここでは次元のうち芖差方向の次元の座暙系で説明する。 11 and 12 show a configuration example of the imaging unit of the present embodiment that can solve the above-described problems. 11 and 12 are cross-sectional views (on a plane including the optical axis) of the image pickup unit, and a light amount of an image formed on the image pickup element (or a pixel value of an image picked up by the image pickup element). The relationship of the position x is shown. The position x is a position (coordinates) in a direction perpendicular to the optical axis of the imaging optical system, for example, a pixel position of the image sensor. Actually, it is a two-dimensional coordinate system, but here, a two-dimensional one-dimensional coordinate system in the parallax direction will be described.

 撮像郚は、結像光孊系、可動マスク第のマスク、固定マスク第のマスク、撮像玠子撮像センサ、むメヌゞセンサ、照明郚照明装眮を含む。結像光孊系は、単県の光孊系であり、䟋えば又は耇数のレンズで構成される。ここでは撮像玠子がのベむダ配列のカラヌフィルタを有する堎合を䟋に説明するが、これに限定されず、䟋えば補色フィルタ等を有しおもよい。 The imaging unit includes an imaging optical system 10, a movable mask 30 (first mask), a fixed mask 20 (second mask), an imaging element 40 (imaging sensor, image sensor), and an illumination unit 60 (illumination device). . The imaging optical system 10 is a monocular optical system, and includes, for example, one or a plurality of lenses. Here, the case where the image pickup device 40 has RGB color filters of the Bayer array will be described as an example. However, the present invention is not limited to this, and may include, for example, a complementary color filter.

 図、図に瀺すように、被写䜓からの反射光を結像光孊系により撮像玠子の面䞊に結像させる。このずき、固定マスクにより瞳䞭心ず巊右瞳に分割され、可動マスクにより、瞳䞭心による結像ず、巊右瞳による結像が切り替えられる。これらは撮像玠子の同䞀領域に結像する。は、巊瞳固定マスクの巊県絞り孔の䞭心線ず右瞳固定マスクの右県絞り孔の䞭心線ずの間の距離であり、ステレオ蚈枬においおは基線長ずなる。なお、盎線は、結像光孊系の光軞である。䞭心線、は、䟋えば䞀県の結像光孊系の光軞から等距離に蚭けられる。䞭心線、ず光軞は同䞀平面内であるこずが望たしいが、必ずしも同䞀平面内でなくずもよい。 As shown in FIGS. 11 and 12, the reflected light from the subject 5 is imaged on the surface of the image sensor 40 by the imaging optical system 10. At this time, the fixed mask 20 divides the pupil center and the left and right pupils, and the movable mask 30 switches between the image formation by the pupil center and the image formation by the left and right pupils. These are imaged in the same area of the image sensor 40. d is the distance between the center line IC1 of the left pupil (the left eye aperture of the fixed mask 20) and the center line IC2 of the right pupil (the right eye aperture of the fixed mask 20), and the baseline length in stereo measurement It becomes. The straight line AXC is the optical axis of the imaging optical system 10. The center lines IC1 and IC2 are provided at an equal distance from the optical axis AXC of the single-lens imaging optical system 10, for example. The center lines IC1 and IC2 and the optical axis AXC are preferably in the same plane, but are not necessarily in the same plane.

 固定マスク、可動マスクは、䟋えば結像光孊系の瞳䜍眮に蚭けられる。或いは結像光孊系よりも結像偎に蚭けられおもよい。固定マスクは結像光孊系に察しお固定されおおり、可動マスクは光軞に垂盎な平面内で䜍眮を切り替えられる構成ずなっおいる。可動マスクは、図に瀺す第の状態である芳察モヌド第のモヌド、非ステレオモヌド、単県モヌドず、図に瀺す第の状態であるステレオ蚈枬モヌド第のモヌド、ステレオモヌドの぀のモヌドをずるこずができ、これらが高速に切り替えられるようになっおいる。 The fixed mask 20 and the movable mask 30 are provided at the pupil position of the imaging optical system 10, for example. Alternatively, it may be provided on the imaging side with respect to the imaging optical system 10. The fixed mask 20 is fixed with respect to the imaging optical system 10, and the movable mask 30 is configured such that the position can be switched in a plane perpendicular to the optical axis AXC. The movable mask 30 has an observation mode (first mode, non-stereo mode, monocular mode) which is the first state shown in FIG. 11 and a stereo measurement mode (second mode) which is the second state shown in FIG. , Stereo mode), which can be switched at high speed.

 固定マスクは、぀の絞り孔巊県絞り孔、右県絞り孔、䞭心絞り孔が蚭けられた板状の遮光郚遮光郚材ず、巊県絞り孔に蚭けられた短波長青色分光フィルタず、右県絞り孔に蚭けられた長波長赀色分光フィルタず、を含む。絞り孔以倖の郚分は遮光郚で芆われおおり、光が通過しないようになっおいる。䞭心絞り孔は、䟋えば貫通穎であっおもよいし、或いは䜕らかの分光フィルタ䟋えば、少なくずも癜色光を透過する広垯域の分光フィルタが蚭けられおもよい。 The fixed mask 20 includes a plate-shaped light shielding portion (light shielding member) provided with three apertures (left eye aperture, right eye aperture, and central aperture), and a short wavelength ( Blue) spectral filter and a long wavelength (red) spectral filter provided in the right eye aperture. The portions other than the aperture hole are covered with a light shielding portion so that light does not pass through. The central aperture may be, for example, a through hole, or some spectral filter (for example, a broadband spectral filter that transmits at least white light) may be provided.

 可動マスクは、぀の絞り孔が蚭けられた板状の遮光郚遮光郚材を含む。各モヌドにおいお、固定マスクの぀の絞り孔のうち䞭心絞り孔又は巊右県絞り孔を遮光郚が芆えるような倧きさに可動マスクが構成されおいる。絞り孔は、芳察モヌドにおいお固定マスクの䞭心絞り孔に重なる䜍眮ず、ステレオ蚈枬モヌドにおいお巊県絞り孔ず右県絞り孔に重なる䜍眮ず、に蚭けられる。以䞋では、䟿宜的に、可動マスクにおいおも巊県絞り孔、右県絞り孔、䞭心絞り孔ず呌ぶ。図、図では可動マスクが固定マスクよりも結像偎に蚭けられる堎合を図瀺しおいるが、可動マスクが固定マスクよりも察物偎に蚭けられおもよい。 The movable mask 30 includes a plate-shaped light shielding portion (light shielding member) provided with three aperture holes. In each mode, the movable mask 30 is configured in such a size that the light blocking portion covers the central aperture hole or the left and right eye aperture holes among the three aperture holes of the fixed mask 20. The aperture is provided at a position overlapping the central aperture of the fixed mask 20 in the observation mode and at a position overlapping the left eye aperture and the right eye aperture in the stereo measurement mode. Hereinafter, for convenience, the movable mask 30 is also referred to as a left eye aperture, a right eye aperture, and a center aperture. 11 and 12 illustrate the case where the movable mask 30 is provided on the imaging side with respect to the fixed mask 20, the movable mask 30 may be provided on the objective side with respect to the fixed mask 20.

 照明郚は、その先端郚照明の射出端が巊瞳ず右瞳に察しお察称な䜍眮ずなるように、蚭けられるこずが望たしいが、必ずしも照明郚の先負が巊瞳ず右瞳に察しお察称でなくおもよい。図、図では照明郚の先端郚が結像光孊系よりも前に配眮されおいるが、これに限定されず、䟋えば撮像郚の先端郚においお照明郚ず結像光孊系が暪䞊びに配眮されおもよい。 The illumination unit 60 is preferably provided so that the tip (illumination exit end) is positioned symmetrically with respect to the left pupil and the right pupil. However, the negative of the illumination unit 60 is not necessarily limited to the left pupil and the right pupil. May not be symmetrical. 11 and 12, the tip of the illumination unit 60 is disposed in front of the imaging optical system 10. However, the present invention is not limited to this. For example, the illumination unit 60 and the imaging optical system 10 at the tip of the imaging unit. May be arranged side by side.

 以䞋、固定マスクの巊県絞り孔、右県絞り孔、䞭心絞り孔の分光特性を、、ず衚蚘する。たた、分かりやすくするために、各絞り孔に蚭けられる分光フィルタに぀いおも、同じ笊号、、で衚蚘するものずする。なお、可動マスクの各絞り孔には分光フィルタが蚭けられおおらず開攟孔であり、党垯域を通過させる。 Hereinafter, the spectral characteristics of the left eye aperture, the right eye aperture, and the center aperture of the fixed mask 20 are denoted as FL, FR, and FC. In addition, for the sake of easy understanding, the spectral filters provided in the respective apertures are also denoted by the same symbols FL, FR, and FC. In addition, each diaphragm hole of the movable mask 30 is not provided with a spectral filter (is an open hole), and allows the entire band to pass.

 図は芳察モヌドの状態を瀺しおおり、瞳䞭心の光路は固定マスクの䞭心絞り孔ず可動マスクの䞭心絞り孔を介しお開攟された状態ずなり、巊右瞳の光路は可動マスクにより遮断遮光された状態になっおいる。この堎合、撮像玠子に結像される画像は瞳䞭心のみによる結像画像ずなり、通垞の単県による癜色光の撮像画像が埗られる。 FIG. 11 shows the state of the observation mode, where the optical path at the center of the pupil is opened through the central aperture of the fixed mask 20 and the central aperture of the movable mask, and the optical path of the left and right pupils is blocked by the movable mask 30. (Light shielding). In this case, the image formed on the image sensor 40 is a formed image IC formed only by the pupil center, and a normal (monocular white light) captured image is obtained.

 䞀方、図はステレオ蚈枬モヌドの状態を瀺しおおり、固定マスクの巊県絞り孔ず可動マスクの巊県絞り孔が重なった状態ずなり、固定マスクの右県絞り孔ず可動マスクの右県絞り孔が重なった状態ずなっおいる。瞳䞭心の光路は可動マスクにより遮断遮光された状態になっおいる。即ち、巊瞳偎の光路は、結像光を短波長青色分光フィルタ第のフィルタによりフィルタリングし、その短波長成分による画像を撮像玠子に結像する。右瞳偎の光路は、結像光を長波長赀色分光フィルタ第のフィルタによりフィルタリングし、その長波長成分による画像を同䞀の撮像玠子に結像する。 On the other hand, FIG. 12 shows a state of the stereo measurement mode, in which the left eye diaphragm hole of the fixed mask 20 and the left eye diaphragm hole of the movable mask 30 are overlapped, and the right eye diaphragm hole of the fixed mask 20 and the movable mask 30 are overlapped. The right eye aperture hole is overlapped. The optical path at the center of the pupil is blocked (shielded) by the movable mask 30. That is, in the optical path on the left pupil side, the imaging light is filtered by the short wavelength (blue) spectral filter FL (first filter), and an image IL based on the short wavelength component is formed on the image sensor 40. In the optical path on the right pupil side, the imaging light is filtered by a long wavelength (red) spectral filter FR (second filter), and an image IR based on the long wavelength component is formed on the same image sensor 40.

 したがっおステレオ蚈枬モヌドでは、撮像玠子の青色画玠により埗られる画像は短波長画像ずなり、撮像玠子の赀色画玠により埗られる画像は長波長画像ずなり、぀の光路からの画像、を分離取埗するこずができる。぀たりステレオ蚈枬モヌドでは、䜍盞差をもった巊県画像ず右県画像を同時に䞔぀独立しお埗るこずができ、䜍盞差画像によるステレオ蚈枬が可胜ずなる。たた本実斜圢態の撮像郚は、第の状態である芳察モヌドず第の状態であるステレオ蚈枬モヌドをずるこずが可胜であり、これらの状態を高速に切り替えるこずが可胜である。これによっお、䟋えば非ステレオの通垞芳察を行いながら、リアルタむムに蚈枬を行うこずが可胜ずなる。 Therefore, in the stereo measurement mode, the image IL obtained from the blue pixels of the image sensor 40 is a short wavelength image, the image IR obtained from the red pixels of the image sensor 40 is a long wavelength image, and the images IL and IR from the two optical paths are obtained. Can be obtained separately. That is, in the stereo measurement mode, the left eye image IL and the right eye image IR having a phase difference can be obtained simultaneously and independently, and stereo measurement using the phase difference image becomes possible. In addition, the imaging unit of the present embodiment can take the observation mode that is the first state and the stereo measurement mode that is the second state, and can switch between these states at high speed. Thereby, for example, 3D measurement can be performed in real time while performing non-stereo normal observation.

 固定マスク、可動マスクの第の詳现な構成䟋
 図、図に固定マスク、可動マスクの第の詳现な構成䟋を瀺す。図、図には、結像光孊系ず固定マスクず可動マスクの断面図ず、固定マスクず可動マスクを光軞方向に芋た図結像偎から芋た背面図ず、を瀺す。
7). First Detailed Configuration Example of Fixed Mask and Movable Mask FIGS. 13 and 14 show a first detailed configuration example of the fixed mask 20 and the movable mask 30. 13 and 14 are cross-sectional views of the imaging optical system 10, the fixed mask 20, and the movable mask 30, and a view of the fixed mask 20 and the movable mask 30 in the optical axis direction (a rear view viewed from the imaging side). ).

 固定マスクの巊瞳の光路には、短波長フィルタを有する絞り孔が開いおおり、右瞳の光路には、長波長分光フィルタを有する絞り孔が構成されおおり、瞳䞭心の光路には開攟状態スルヌホヌルの絞り孔が蚭けられおいる。なお、絞り孔には図の垯域、、を通過させる分光フィルタが蚭けられおもよい。絞り孔、は遮光郚遮光郚材に開けられおおり、䟋えば撮像系に必芁な被写界深床に察応したサむズの孔䟋えば円圢状の孔で、サむズは盎埄である。絞り孔、、の䞭心䟋えば円の䞭心は、それぞれ䞭心線、、光軞に䞀臎略䞀臎を含むしおいる。遮光郚は、結像光孊系が収められた筐䜓を正面又は背面から芋たずきに筐䜓を塞ぐように蚭けられおおり、䟋えば光軞に察しお垂盎に蚭けられた板状郚材である。 A diaphragm hole 21 having a short wavelength filter FL is opened in the optical path of the left pupil of the fixed mask 20, and a diaphragm hole 22 having a long wavelength spectral filter FR is formed in the optical path of the right pupil. The optical path is provided with an aperture (through hole) aperture 23. Note that the aperture 23 may be provided with a spectral filter FC that allows the bands Pv1, Pv2, and Pir of FIG. 3 to pass therethrough. The aperture holes 21 and 22 are opened in the light shielding portion 24 (light shielding member), and are, for example, holes having a size corresponding to the depth of field necessary for the imaging system (for example, circular holes, the size is a diameter). The centers of the aperture holes 21, 22, and 23 (for example, the center of a circle) coincide with (including substantially coincident with) the center lines IC1 and IC2 and the optical axis AXC, respectively. The light shielding unit 24 is provided so as to close the housing containing the imaging optical system 10 when viewed from the front (or the back), and is provided, for example, perpendicular to the optical axis AXC. It is a plate-like member.

 可動マスクは、開攟状態スルヌホヌルの絞り孔、、ず、その絞り孔、、が開けられた遮光郚遮光郚材ず、を有する。絞り孔、、は、䟋えば固定マスクの絞り孔、、よりも少し倧きいサむズの孔である。或いは、撮像系に必芁な被写界深床に察応したサむズの孔䟋えば円圢状の孔で、サむズは盎埄であっおもよい。絞り孔の䞭心䟋えば円の䞭心は、芳察モヌドにおいお光軞に䞀臎略䞀臎を含むしおいる。遮光郚は、光軞に察しお垂盎な回転軞に接続されおおり、䟋えば光軞に察しお垂盎に蚭けられた板状郚材である。遮光郚の圢状は、䟋えば扇型扇の根元が軞に接続されるであるが、これに限定されず、図及び図の状態を実珟できる圢状であればよい。 The movable mask 30 has aperture holes 31, 32, 33 in an open state (through hole) and a light shielding portion 34 (light shielding member) in which the aperture holes 31, 32, 33 are opened. The aperture holes 31, 32, and 33 are holes that are slightly larger than the aperture holes 21, 22, and 23 of the fixed mask 20, for example. Alternatively, it may be a hole having a size corresponding to the depth of field necessary for the imaging system (for example, a circular hole having a diameter). The center of the aperture 33 (for example, the center of a circle) coincides with (including substantially coincides with) the optical axis AXC in the observation mode. The light shielding unit 34 is connected to a rotation shaft 35 perpendicular to the optical axis AXC, and is a plate-like member provided perpendicular to the optical axis AXC, for example. The shape of the light shielding part 34 is, for example, a fan shape (the fan base is connected to the shaft 35), but is not limited thereto, and may be any shape that can realize the states of FIGS.

 可動マスクは、回転軞を䞭心ずしお光軞に垂盎な方向に所定の角床だけ回転する構成ずなっおいる。䟋えばピ゚ゟ玠子やモヌタヌ等によっお回転運動を実珟できる。図の芳察モヌドにおいおは、可動マスクは右県偎に所定の角床だけ回転しお傟き、固定マスクの瞳䞭心光路絞り孔は開攟状態ずなり、巊右瞳光路絞り孔、は遮光状態ずなる。図のステレオ蚈枬モヌドにおいおは、可動マスクは巊県偎に所定の角床だけ回転しお傟き、固定マスクの瞳䞭心光路絞り孔は遮光状態ずなり、巊右瞳光路絞り孔、は開攟状態ずなる。分光フィルタを有する絞り孔を露呈させるこずにより巊瞳は短波長成分のみを通過させ、分光フィルタを有する絞り孔を露出させるこずにより右瞳は長波長成分のみを通過させる。 The movable mask 30 is configured to rotate about a rotation axis 35 by a predetermined angle in a direction perpendicular to the optical axis AXC. For example, rotational movement can be realized by a piezo element or a motor. In the observation mode of FIG. 13, the movable mask 30 is rotated and tilted to the right eye by a predetermined angle, the pupil center optical path (aperture hole 23) of the fixed mask 20 is opened, and the left and right pupil optical paths (aperture holes 21, 22) is in a light shielding state. In the stereo measurement mode of FIG. 14, the movable mask 30 rotates and tilts to the left eye side by a predetermined angle, the pupil center optical path (aperture hole 23) of the fixed mask 20 enters a light-shielded state, and the left and right pupil optical paths (aperture hole 21). 22) is in an open state. By exposing the aperture 21 having the spectral filter FL, the left pupil passes only the short wavelength component, and by exposing the aperture 22 having the spectral filter FR, the right pupil passes only the long wavelength component.

 なお、䞊蚘では可動マスクを所定角床だけ軞回転するこずにより぀の状態を䜜る堎合を説明したが、これに限定されない。䟋えば、スラむド動䜜により可動マスクを移動させお぀の状態を䜜るものでもよい。回転動䜜又はスラむド動䜜は、䟋えばマグネット機構や、圧電機構などで実珟可胜であり、高速性や耐久性を考慮しお適切なものを遞択すればよい。 In the above description, the case where two states are formed by rotating the movable mask 30 by a predetermined angle has been described. However, the present invention is not limited to this. For example, the movable mask 30 may be moved by a sliding operation to create two states. The rotation operation or the slide operation can be realized by, for example, a magnet mechanism or a piezoelectric mechanism, and an appropriate one may be selected in consideration of high speed and durability.

 以䞊の実斜圢態によれば、撮像装眮内芖鏡装眮は、撮像玠子ず、結像光孊系ず、固定マスクず、可動マスクず、を含む。結像光孊系は、撮像玠子に被写䜓を結像させる。固定マスクは、結像光孊系の瞳を分割する第第の開口絞り孔、、ず、第の波長垯域図の又は図のを通過させる第のフィルタず、第の波長垯域図の又は図のを通過させる第のフィルタずを有する。可動マスクは、遮光郚ず、第第の開口絞り孔、、に察応しお遮光郚に蚭けられた第第の開口絞り孔、、ずを有し、結像光孊系に察しお可動である。そしお、第のフィルタは、第の開口絞り孔に蚭けられる。第のフィルタは、第の開口絞り孔に蚭けられる。第の開口絞り孔は、結像光孊系の光軞䞊に蚭けられる。 According to the above embodiment, the imaging device (endoscope device) includes the imaging element 40, the imaging optical system 10, the fixed mask 20, and the movable mask 30. The imaging optical system 10 forms an image of the subject 5 on the image sensor 40. The fixed mask 20 includes first to third apertures (diaphragm holes 21, 22, and 23) that divide the pupil of the imaging optical system 10, and a first wavelength band (Pb in FIG. 3 or Pb1 in FIG. 5). A first filter FL that passes therethrough and a second filter FR that passes the second wavelength band (Pr in FIG. 3 or Pr2 in FIG. 5) are included. The movable mask 30 includes a light shielding portion 34 and fourth to sixth openings (throttle holes 31, 32) provided in the light shielding portion 34 corresponding to the first to third openings (throttle holes 21, 22, 23). 33) and is movable with respect to the imaging optical system 10. The first filter FL is provided in the first opening (throttle hole 21). The second filter FR is provided in the second opening (throttle hole 22). The third opening (aperture hole 23) is provided on the optical axis AXC of the imaging optical system 10.

 このような構成にするこずで、図図で説明したような芳枬モヌドずステレオ蚈枬モヌドの切り替えが可胜ずなる。たたカラヌ䜍盞差法における芖差画像を同時に時分割でなく取埗できるので、正確なステレオ蚈枬が可胜になる。たた、可動郚である可動マスクが぀なので、切り替えの高速化や、駆動機構の簡玠化、モヌド切り替えにおける故障や゚ラヌの抑制を実珟できる。たた、可動マスクには遮光郚に開口絞り孔、、が蚭けられる簡玠な構成であり、切り替えの振動によるフィルタ倖れなどのトラブルを抑制できる。たた、固定マスクの開口絞り孔、により巊右の瞳が明確に分かれるため、ステレオ蚈枬における基線長図、図のを倧きくずりやすく、正確な距離枬定が可胜になる。 With this configuration, it is possible to switch between the observation mode and the stereo measurement mode as described with reference to FIGS. Moreover, since the parallax images in the color phase difference method can be acquired simultaneously (not in time division), accurate stereo measurement can be performed. In addition, since there is one movable mask 30 that is a movable part, it is possible to realize high-speed switching, simplification of the driving mechanism, and suppression of failures and errors in mode switching. In addition, the movable mask 30 has a simple configuration in which openings (diaphragm holes 31, 32, 33) are provided in the light-shielding portion 34, and troubles such as filter removal due to switching vibration can be suppressed. In addition, since the left and right pupils are clearly separated by the opening of the fixed mask 20 (diaphragm holes 21 and 22), it is easy to increase the baseline length (d in FIGS. 11 and 17) in stereo measurement, and accurate distance measurement is possible. Become.

 たた、䟋えば巊右瞳の䞀方を䜿っお䞀県の芳察画像を撮圱した比范䟋を考えるず、光軞から倖れた瞳での撮圱になる。この点、本実斜圢態では、固定マスクに぀の開口絞り孔、、を蚭け、そのうちの぀を光軞䞊に蚭けたこずで、芳察画像が瞳䞭心画像になる。これにより、光線のケラレが小さくなり、広芖野角な芳察画像を取埗できる。たた、高品質な䟋えば歪みが少ない結像を埗るこずができる。 Also, for example, when considering a comparative example in which an observation image of a single eye is photographed using one of the left and right pupils, photographing is performed with a pupil off the optical axis. In this respect, in this embodiment, the fixed mask 20 is provided with three openings (diaphragm holes 21, 22, and 23), and one of them is provided on the optical axis AXC, so that the observation image becomes a pupil center image. . Thereby, the vignetting of the light beam is reduced and an observation image having a wide viewing angle can be acquired. Further, high quality (for example, less distortion) imaging can be obtained.

 たた、被写䜓䞊の䜍眮ず画玠䜍眮ずの察応を考えた堎合、ステレオ蚈枬での䜍盞差図のの䞭心の䜍眮は、瞳䞭心を通る光線ず䞀臎する。即ち、本実斜圢態では、芳察画像ず距離マップの同䞀画玠は、被写䜓䞊の同䞀䜍眮に察応する。䞀方、䞊蚘の比范䟋では芳察画像が巊に芖差を持っおおり、瞳䞭心でないため、被写䜓䞊の同䞀䜍眮に察しお、芳察画像ず距離マップの異なる画玠が察応しおしたう。芳察画像ず次元情報を重ねお衚瀺する堎合などにおいお、本実斜圢態の方が有利である。 Also, when considering the correspondence between the position on the subject 5 and the pixel position, the center (s / 2 position) of the phase difference (s in FIG. 12) in stereo measurement coincides with the light beam passing through the center of the pupil. That is, in the present embodiment, the same pixel in the observation image and the distance map corresponds to the same position on the subject 5. On the other hand, in the above comparative example, the observation image has a parallax on the left and is not the center of the pupil, so that the pixel on the subject image 5 and the distance map corresponding to the same position on the subject 5 corresponds. The present embodiment is more advantageous when, for example, displaying an observation image and three-dimensional information in an overlapping manner.

 本実斜圢態では、第の開口絞り孔が巊瞳に察応し、第の開口絞り孔は右瞳に察応し、第の開口絞り孔が瞳䞭心に察応する。なお、第の開口が右瞳に察応し、第の開口が巊瞳に察応もよい。たた、䟿宜的にステレオ蚈枬における瞳を巊右に分離しおいるが、瞳の分離方向は巊右に限らない。本実斜圢態では開口を絞り孔ず呌んでいるが、開口は絞りずしおの機胜瞳を通過する光束の断面積を制限する機胜を必ずしも持たなくおもよい。䟋えば、芳察モヌドにおいお絞り孔、が重なるが、絞り孔の方が小さい堎合には絞り孔が絞りの機胜を有し、絞り孔の方が小さい堎合には絞り孔が絞りの機胜を有するこずになる。 In the present embodiment, the first aperture (diaphragm aperture 21) corresponds to the left pupil, the second aperture (diaphragm aperture 22) corresponds to the right pupil, and the third aperture (diaphragm aperture 23) is at the pupil center. Correspond. Note that the first opening may correspond to the right pupil, and the second opening may correspond to the left pupil. Moreover, although the pupil in stereo measurement is separated into right and left for convenience, the separating direction of the pupil is not limited to right and left. In the present embodiment, the aperture is referred to as a diaphragm aperture. However, the aperture does not necessarily have a function as a diaphragm (a function of limiting the cross-sectional area of the light beam passing through the pupil). For example, the apertures 23 and 33 overlap in the observation mode, but when the aperture 23 is smaller, the aperture 23 has a function of aperture, and when the aperture 33 is smaller, the aperture 33 is the aperture. It has the function of.

 ここで瞳ずは、結像光孊系による結像光路を分離又は芏定するものである。光路ずは、撮像玠子に結像する光が、光孊系の察物偎から入射しお撮像玠子に到達するたでの経路のこずである。即ち、結像光孊系ず固定マスクの絞り孔、ステレオ蚈枬モヌドでは曎に可動マスクの絞り孔、を通過する光路が第、第の光路である。たた、結像光孊系ず固定マスクの絞り孔芳察モヌドでは曎に可動マスクの絞り孔を通過する光路が第の光路である。 Here, the pupil is for separating (or defining) the imaging optical path by the imaging optical system 10. The optical path is a path from the light that forms an image on the image sensor 40 to the image sensor 40 after entering from the objective side of the optical system. That is, the optical paths that pass through the imaging optical system 10 and the apertures 21 and 22 of the fixed mask 20 (the apertures 31 and 32 of the movable mask 30 in the stereo measurement mode) are the first and second optical paths. The optical path that passes through the imaging optical system 10 and the aperture 23 of the fixed mask 20 (or the aperture 33 of the movable mask 30 in the observation mode) is the third optical path.

 ここでマスクずは、マスクに入射する光を遮蔜するず共に䞀郚の光を通過させる郚材や郚品のこずである。本実斜圢態の固定マスクや可動マスクでは、遮光郚、が光を遮蔜するず共に絞り孔、、、、、が光党垯域又は、䞀郚の垯域を通過させる。 Here, the mask is a member or component that shields light incident on the mask and allows part of the light to pass. In the fixed mask 20 and the movable mask 30 of the present embodiment, the light shielding portions 24 and 34 shield light, and the aperture holes 21, 22, 23, 31, 32, and 33 emit light (full band or partial band). Let it pass.

 たた本実斜圢態では、撮像装眮は、可動マスクを制埡する可動マスク制埡郚図を含む。可動マスク制埡郚は、非ステレオモヌド芳察モヌドにおいお、光軞方向に芋た堎合に遮光郚が第、第の開口絞り孔、に重なるず共に第の開口絞り孔が第の開口絞り孔に重なる第の状態第の䜍眮に、可動マスクを蚭定する。䞀方、ステレオモヌドステレオ蚈枬モヌドにおいお、光軞方向に芋た堎合に第、第の開口絞り孔、が第、第の開口絞り孔、に重なるず共に遮光郚が第の開口絞り孔に重なる第の状態第の䜍眮に、可動マスクを蚭定する。 In the present embodiment, the imaging apparatus includes a movable mask control unit 340 (FIG. 18) that controls the movable mask 30. When the movable mask control unit 340 is viewed in the optical axis AXC direction in the non-stereo mode (observation mode), the light shielding unit 34 overlaps the first and second openings (diaphragm holes 21 and 22) and the sixth opening. The movable mask 30 is set in a first state (first position) where the (aperture hole 33) overlaps with the third opening (aperture hole 23). On the other hand, in the stereo mode (stereo measurement mode), when viewed in the direction of the optical axis AXC, the fourth and fifth apertures (diaphragm holes 31 and 32) become the first and second apertures (diaphragm apertures 21 and 22). The movable mask 30 is set in a second state (second position) where the light shielding portion 34 overlaps with the third opening (aperture hole 23).

 このような可動マスクの駆動制埡を行うこずで、図や図の芳察モヌドず図や図のステレオ蚈枬モヌドの切り替え制埡を実珟できる。即ち、可動マスクを第の状態に蚭定した堎合には、第、第の開口が遮光郚で遮蔜されるので第の開口のみでの撮圱ずなり、第の開口には分光フィルタが挿入されないので通垞芳察甚の画像癜色光画像を撮圱するこずが可胜ずなる。䞀方、可動マスクを第の状態に蚭定した堎合には、第の開口に第のフィルタが固定され、第の開口に第のフィルタが固定されおいるので、カラヌ䜍盞差法における芖差画像を撮圱するこずが可胜ずなる。 By controlling the driving of the movable mask 30 as described above, switching control between the observation mode shown in FIGS. 11 and 13 and the stereo measurement mode shown in FIGS. 12 and 14 can be realized. In other words, when the movable mask 30 is set to the first state, the first and second openings are shielded by the light-shielding portion 34, so that only the third opening is photographed. Since no filter is inserted, an image for normal observation (white light image) can be taken. On the other hand, when the movable mask 30 is set to the second state, the first filter FL is fixed to the first opening and the second filter FR is fixed to the second opening. It is possible to take a parallax image in the phase difference method.

 固定マスク、可動マスクの第の詳现な構成䟋
 図、図に固定マスク、可動マスクの第の詳现な構成䟋を瀺す。図、図には、結像光孊系ず固定マスクず可動マスクの断面図ず、固定マスクず可動マスクを光軞方向に芋た図結像偎から芋た背面図ず、を瀺す。
8). Second Detailed Configuration Example of Fixed Mask and Movable Mask FIGS. 15 and 16 show a second detailed configuration example of the fixed mask 20 and the movable mask 30. 15 and 16 are cross-sectional views of the imaging optical system 10, the fixed mask 20, and the movable mask 30, and a view of the fixed mask 20 and the movable mask 30 in the optical axis direction (a rear view viewed from the imaging side). ).

 可動マスクは、遮光郚ず、遮光郚に蚭けられた絞り孔、ず、を含む。絞り孔、は開攟状態スルヌホヌルであり、回転軞を䞭心ずしお同䞀円䞊に䞊ぶ。絞り孔は、その同䞀円の円呚方向に䌞びた圢状であり、芳察モヌドにおいお固定マスクの絞り孔に重なるず共にステレオ蚈枬モヌドにおいお固定マスクの絞り孔に重なるような圢状ずなっおいる。 The movable mask 30 includes a light shielding part 34 and aperture holes 31 and 32 provided in the light shielding part 34. The aperture holes 31 and 32 are in an open state (through hole), and are arranged on the same circle around the rotation shaft 35. The aperture hole 31 has a shape extending in the circumferential direction of the same circle, and overlaps the aperture hole 23 of the fixed mask 20 in the observation mode and also overlaps the aperture hole 21 of the fixed mask 20 in the stereo measurement mode. ing.

 固定マスクは、遮光郚ず、遮光郚に蚭けられた぀の絞り孔、、ず、を含む。絞り孔、には、分光フィルタ、が蚭けられる。絞り孔は開攟状態スルヌホヌルであっおもよいし、図の垯域、、を通過させる分光フィルタが蚭けられおもよい。絞り孔、、は、回転軞を䞭心ずしお同䞀円䞊に䞊ぶ。 The fixed mask 20 includes a light shielding part 24 and three aperture holes 21, 22, 23 provided in the light shielding part 24. The aperture holes 21 and 22 are provided with spectral filters FL and FR. The aperture hole 23 may be in an open state (through hole), or a spectral filter FC that allows the bands Pv1, Pv2, and Pir of FIG. 3 to pass therethrough may be provided. The aperture holes 21, 22, and 23 are arranged on the same circle around the rotation shaft 35.

 芳察モヌドでは、固定マスクの瞳䞭心の絞り孔が可動マスクの絞り孔により開攟状態ずなり、固定マスクの巊右瞳の絞り孔、が可動マスクの遮光郚で遮光され、単県による癜色光の画像が撮像される。ステレオ蚈枬モヌドでは、固定マスクの巊右瞳の絞り孔、が可動マスクの絞り孔、により開攟状態ずなり、固定マスクの瞳䞭心の絞り孔が可動マスクの遮光郚で遮光され、カラヌ䜍盞差法による芖差画像赀色画像、青色画像が撮像される。 In the observation mode, the aperture hole 23 at the center of the pupil of the fixed mask 20 is opened by the aperture hole 31 of the movable mask 30, and the aperture holes 21 and 22 of the left and right pupils of the fixed mask 20 are shielded by the light shielding portion 34 of the movable mask 30. A white light image is captured by a single eye. In the stereo measurement mode, the left and right pupil apertures 21 and 22 of the fixed mask 20 are opened by the aperture holes 31 and 32 of the movable mask 30, and the aperture hole 23 at the center of the pupil of the fixed mask 20 is the light shielding portion 34 of the movable mask 30. And a parallax image (red image, blue image) by the color phase difference method is captured.

 以䞊の実斜圢態によれば、撮像装眮内芖鏡装眮は、撮像玠子ず結像光孊系ず固定マスクず可動マスクずを含む。結像光孊系は、撮像玠子に被写䜓を結像させる。固定マスクは、結像光孊系の瞳を分割する第第の開口絞り孔、、ず、第の波長垯域図の又は図のを通過させる第のフィルタず、第の波長垯域図の又は図のを通過させる第のフィルタずを有する。可動マスクは、遮光郚ず、第、第の開口絞り孔、に察応しお遮光郚に蚭けられた第の開口絞り孔ず、第の開口絞り孔に察応しお遮光郚に蚭けられた第の開口絞り孔ずを有し、結像光孊系に察しお可動である。そしお、第のフィルタは、第の開口絞り孔に蚭けられる。第のフィルタは、第の開口絞り孔に蚭けられる。第の開口絞り孔は、結像光孊系の光軞䞊に蚭けられる。 According to the above embodiment, the imaging device (endoscope device) includes the imaging element 40, the imaging optical system 10, the fixed mask 20, and the movable mask 30. The imaging optical system 10 forms an image of the subject 5 on the image sensor 40. The fixed mask 20 includes first to third apertures (diaphragm holes 21, 22, and 23) that divide the pupil of the imaging optical system 10, and a first wavelength band (Pb in FIG. 3 or Pb1 in FIG. 5). A first filter FL that passes therethrough and a second filter FR that passes the second wavelength band (Pr in FIG. 3 or Pr2 in FIG. 5) are included. The movable mask 30 includes a light shielding part 34, a fourth opening (aperture hole 31) provided in the light shielding part 34 corresponding to the first and third openings (throttle holes 21 and 23), and a second opening. A fifth aperture (diaphragm hole 32) provided in the light shielding portion 34 corresponding to the (diaphragm hole 22) is provided, and is movable with respect to the imaging optical system 10. The first filter FL is provided in the first opening (throttle hole 21). The second filter FR is provided in the second opening (throttle hole 22). The third opening (aperture hole 23) is provided on the optical axis AXC of the imaging optical system 10.

 具䜓的には、撮像装眮は、可動マスクを制埡する可動マスク制埡郚を含む。可動マスク制埡郚は、非ステレオモヌド芳察モヌドにおいお、光軞方向に芋た堎合に遮光郚が第、第の開口絞り孔、に重なるず共に第の開口絞り孔が第の開口絞り孔に重なる第の状態に、可動マスクを蚭定する。䞀方、ステレオモヌドステレオ蚈枬モヌドにおいお、光軞方向に芋た堎合に第、第の開口絞り孔、が第、第の開口絞り孔、に重なるず共に遮光郚が第の開口絞り孔に重なる第の状態に、可動マスクを蚭定する。 Specifically, the imaging apparatus includes a movable mask control unit 340 that controls the movable mask 30. When the movable mask control unit 340 is viewed in the optical axis AXC direction in the non-stereo mode (observation mode), the light shielding unit 34 overlaps the first and second openings (diaphragm holes 21 and 22) and the fourth opening. The movable mask 30 is set in a first state where the (aperture hole 31) overlaps the third opening (aperture hole 23). On the other hand, in the stereo mode (stereo measurement mode), when viewed in the direction of the optical axis AXC, the fourth and fifth apertures (diaphragm holes 31 and 32) become the first and second apertures (diaphragm apertures 21 and 22). The movable mask 30 is set in a second state in which the light shielding portion 34 overlaps with the third opening (aperture hole 23).

 このような構成によっおも、芳枬モヌドずステレオ蚈枬モヌドの切り替えや、ステレオ蚈枬モヌドにおける芖差画像の同時取埗、モヌド切り替えの高速化、可動マスクの駆動機構の簡玠化、モヌド切り替えにおける故障や゚ラヌの抑制、ステレオ蚈枬における基線長の確保などを実珟できる。 Even with such a configuration, switching between the observation mode and the stereo measurement mode, simultaneous acquisition of parallax images in the stereo measurement mode, speeding up of mode switching, simplification of the driving mechanism of the movable mask 30, failure or error in mode switching Suppression, securing of baseline length in stereo measurement, etc. can be realized.

 ステレオ次元蚈枬の原理
 ステレオ蚈枬モヌドにおけるステレオ蚈枬の原理に぀いお説明する。図に瀺すように、巊県ず右県の光路が独立しお構成され、被写䜓からの反射画像は、これら光路を介しお撮像センサ面受光面に結像する。次元空間の座暙系、、を以䞋のように定矩する。即ち、撮像センサ面に沿っお軞ず、軞に盎亀する軞ずを蚭定し、撮像センサ面に盎亀し䞔぀光軞ず平行な方向で被写䜓に向かう方向に軞を蚭定する。軞は軞、軞ずれロ点にお亀差するものずする。なお、ここでは䟿宜䞊軞は省略する。
9. Principle of Stereo 3D Measurement The principle of stereo measurement in the stereo measurement mode will be described. As shown in FIG. 17, the optical paths of the left eye and the right eye are configured independently, and the reflected image from the subject 5 forms an image on the imaging sensor surface (light receiving surface) through these optical paths. A coordinate system X, Y, and Z of the three-dimensional space is defined as follows. That is, the X axis and the Y axis orthogonal to the X axis are set along the imaging sensor surface, and the Z axis is set in a direction toward the subject in a direction orthogonal to the imaging sensor surface and parallel to the optical axis AXC. The Z axis intersects the X axis and Y axis at the zero point. Note that the Y-axis is omitted here for convenience.

 結像レンズず撮像センサ面の距離をずし、結像レンズから被写䜓の任意点たでの距離をずする。瞳の䞭心線、ず軞たでの距離を同䞀ずし、各ずする。぀たりステレオ蚈枬における基線長はずなる。被写䜓の任意点が結像レンズにより撮像センサ面に結像された察応点の座暙をずし、被写䜓の任意点が結像レンズにより撮像センサ面に結像された察応点の座暙をずする。任意点ず座暙、に囲たれた䞉角圢内にできる耇数の郚分的な盎角䞉角圢の盞䌌関係を䜿っお䞋匏を埗るこずができる。

Figure JPOXMLDOC01-appb-M000004
The distance between the imaging lens 10 and the imaging sensor surface is b, and the distance from the imaging lens 10 to the arbitrary point Q (x, z) of the subject 5 is z. The distance between the pupil center lines IC1 and IC2 and the Z axis is the same, and each is d / 2. That is, the baseline length in stereo measurement is d. The X coordinate of the corresponding point at which the arbitrary point Q (x, y) of the subject 5 is imaged on the imaging sensor surface by the imaging lens 10 is XL, and the arbitrary point Q (x, y) of the subject 5 is the imaging lens 10. The X coordinate of the corresponding point imaged on the imaging sensor surface is defined as XR. The following equation (4) can be obtained by using a similarity relationship between a plurality of partial right-angled triangles formed in the triangle surrounded by the arbitrary point Q (x, z) and the coordinates XL and XR.
Figure JPOXMLDOC01-appb-M000004

 ここで、䞋匏、が成り立぀。

Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000006
Here, the following expressions (5) and (6) hold.
Figure JPOXMLDOC01-appb-M000005
Figure JPOXMLDOC01-appb-M000006

 これにより、䞊匏の絶察倀を䞋匏のように倖すこずができる。

Figure JPOXMLDOC01-appb-M000007
Thereby, the absolute value of the above equation (4) can be removed as in the following equation (7).
Figure JPOXMLDOC01-appb-M000007

 䞊匏をに぀いお解くず䞋匏ずなる。

Figure JPOXMLDOC01-appb-M000008
When the above equation (7) is solved for x, the following equation (8) is obtained.
Figure JPOXMLDOC01-appb-M000008

 䞊匏のを䞊匏に代入するず、䞋匏が埗られ、を求めるこずができる。

Figure JPOXMLDOC01-appb-M000009
Substituting x in the above equation (8) into the above equation (7), the following equation (9) is obtained, and z can be obtained.
Figure JPOXMLDOC01-appb-M000009

 、は既知の蚭定倀であり、未知数、は次のようにしお求められる。即ち、撮像センサ面の䜍眮を基準に考え巊画像の画玠䜍眮をず芋なし、䜍眮に察応する䜍眮をマッチング凊理盞関挔算により怜出する。各䜍眮に぀いお距離を蚈算するこずで被写䜓の圢状が蚈枬できる。なお、マッチングが良奜でない堎合には距離が求められない可胜性があるが、䟋えば呚囲の画玠の距離から補間するこず等により求めおもよい。 D and b are known set values, and the unknowns XL and XR are obtained as follows. That is, the position XL on the imaging sensor surface is considered as a reference (the pixel position of the left image is regarded as XL), and the position XR corresponding to the position XL is detected by matching processing (correlation calculation). By calculating the distance z for each position XL, the shape of the subject can be measured. If the matching is not good, the distance z may not be obtained, but may be obtained by interpolation from the distance z of surrounding pixels, for example.

 内芖鏡装眮
 図に、本実斜圢態の内芖鏡装眮広矩には、撮像装眮の構成䟋を瀺す。内芖鏡装眮は、スコヌプ郚撮像郚、本䜓郚制埡装眮を含む。スコヌプ郚は、結像光孊系、固定マスク、可動マスク、撮像玠子、駆動郚、照明郚を含む。本䜓郚は、凊理郚、モニタ衚瀺郚、撮像凊理郚を含む。凊理郚は、光源駆動制埡郚、画像遞択郚画像フレヌム遞択郚、カラヌ画像生成郚画像出力郚、䜍盞差怜出郚、可動マスク制埡郚可動マスク駆動制埡郚、可動マスク䜍眮怜出郚、距離情報算出郚、次元情報生成郚を含む。
10. Endoscopic Device FIG. 18 shows a configuration example of the endoscope device (imaging device in a broad sense) of the present embodiment. The endoscope apparatus includes a scope unit 100 (imaging unit) and a main body unit 200 (control device). The scope unit 100 includes an imaging optical system 10, a fixed mask 20, a movable mask 30, an image sensor 40, a drive unit 50, and an illumination unit 60. The main body unit 200 includes a processing unit 210, a monitor display unit 220, and an imaging processing unit 230. The processing unit 210 includes a light source drive control unit 305, an image selection unit 310 (image frame selection unit), a color image generation unit 320 (image output unit), a phase difference detection unit 330, and a movable mask control unit 340 (movable mask drive control unit). ), A movable mask position detector 350, a distance information calculator 360, and a three-dimensional information generator 370.

 なお本䜓郚は、䞍図瀺の構成芁玠ずしお、本䜓郚を操䜜する操䜜郚、倖郚機噚ず接続するむンタヌフェヌス郚等を含んでもよい。スコヌプ郚は、䞍図瀺の構成芁玠ずしお、䟋えばスコヌプ郚を操䜜する操䜜郚や、凊眮具等を含んでもよい。 The main body unit 200 may include an operation unit that operates the main body unit 200, an interface unit that is connected to an external device, and the like as components (not illustrated). The scope unit 100 may include, for example, an operation unit that operates the scope unit 100, a treatment instrument, and the like as components not shown.

 内芖鏡装眮ずしおは、工業甚、医療甚のいわゆるビデオスコヌプ撮像玠子を内蔵した内芖鏡装眮を想定できる。スコヌプ郚が湟曲可胜に構成された軟性鏡、スコヌプ郚がスティック状に構成された硬性鏡、いずれにも本発明を適甚できる。䟋えば工業甚の軟性鏡の堎合、本䜓郚及び撮像郚は持ち運び可胜なポヌタブル機噚ずしお構成されおおり、工業補品の補造怜査やメンテナンス怜査、建築物や配管のメンテナンス怜査等に甚いられる。 As the endoscope apparatus, an industrial and medical so-called video scope (an endoscope apparatus incorporating an image sensor) can be assumed. The present invention can be applied to both a flexible mirror in which the scope unit 100 is configured to be bendable and a rigid mirror in which the scope unit 100 is configured in a stick shape. For example, in the case of an industrial flexible mirror, the main body 200 and the imaging unit 110 are configured as portable devices that can be carried, and are used for manufacturing inspection and maintenance inspection of industrial products, maintenance inspection of buildings and piping, and the like.

 駆動郚は、可動マスク制埡郚からの制埡信号に基づいお可動マスクを駆動し、第の状態芳察モヌドず第の状態ステレオ蚈枬モヌドを切り替える。䟋えば、駆動郚はピ゚ゟ玠子やマグネット機構によるアクチュ゚ヌタで構成される。 The driving unit 50 drives the movable mask 30 based on a control signal from the movable mask control unit 340, and switches between the first state (observation mode) and the second state (stereo measurement mode). For example, the drive unit 50 is configured by an actuator using a piezoelectric element or a magnet mechanism.

 撮像凊理郚は、撮像玠子からの信号に察しお撮像凊理を行い、撮像画像䟋えばベむダ画像等を出力する。䟋えば、盞関重サンプリング凊理、ゲむンコントロヌル凊理、倉換凊理、ガンマ補正、色補正、ノむズ䜎枛等を行う。撮像凊理郚は、䟋えば等のディスクリヌトで構成されおもよいし、或いは撮像玠子センサチップや凊理郚に内蔵されおもよい。 The imaging processing unit 230 performs imaging processing on the signal from the imaging element 40 and outputs a captured image (for example, a Bayer image). For example, correlated double sampling processing, gain control processing, A / D conversion processing, gamma correction, color correction, noise reduction, and the like are performed. The imaging processing unit 230 may be configured by, for example, a discrete IC such as an ASIC, or may be incorporated in the imaging device 40 (sensor chip) or the processing unit 210.

 モニタ衚瀺郚は、スコヌプ郚が撮像した画像や、被写䜓の次元圢状情報等を衚瀺する。䟋えば、モニタ衚瀺郚は、液晶ディスプレむやElectro-Luminescenceディスプレむ等により構成される。 The monitor display unit 220 displays an image captured by the scope unit 100, 3D shape information of the subject 5, and the like. For example, the monitor display unit 220 includes a liquid crystal display, an EL (Electro-Luminescence) display, or the like.

 以䞋、内芖鏡装眮の動䜜を説明する。照明郚は、䞊述した非パタヌン光ずパタヌン光の合成光を被写䜓ぞ照射する。光源駆動制埡郚は、撮像凊理郚からの信号に基づいお非パタヌン光ずパタヌン光の各光量を最適に制埡いわゆる調光制埡する。䟋えば、撮像画像の茝床を求め、その茝床が所定の範囲内ずなるように光量を制埡する。 Hereinafter, the operation of the endoscope apparatus will be described. The illumination unit 60 irradiates the subject 5 with the combined light of the non-pattern light and the pattern light described above. The light source drive control unit 305 optimally controls each light amount of the non-pattern light and the pattern light based on a signal from the imaging processing unit 230 (so-called dimming control). For example, the brightness of the captured image is obtained, and the amount of light is controlled so that the brightness is within a predetermined range.

 可動マスク制埡郚は、駆動郚を制埡しお可動マスクの䜍眮を切り替える。可動マスク制埡郚が可動マスクを芳察モヌドに蚭定した堎合、被写䜓からの反射光が瞳䞭心光路を介しお撮像玠子に結像される。撮像凊理郚は、撮像玠子に結像された画像の画玠倀を読み出し、倉換等を行っお画像遞択郚に画像デヌタを出力する。 The movable mask control unit 340 controls the driving unit 50 to switch the position of the movable mask 30. When the movable mask control unit 340 sets the movable mask 30 to the observation mode, the reflected light from the subject 5 is imaged on the image sensor 40 via the pupil center optical path. The imaging processing unit 230 reads the pixel value of the image formed on the imaging element 40, performs A / D conversion or the like, and outputs the image data to the image selection unit 310.

 画像遞択郚は、可動マスク制埡郚からの制埡信号に基づいお可動マスクの状態が芳察モヌドであるこずを怜知し、撮像画像から、、を遞択しおカラヌ画像生成郚に出力する。カラヌ画像生成郚はデモザむキング凊理ベむダ画像から画像を生成する凊理や各皮画像凊理を行い、板化原色画像をモニタ衚瀺郚に出力する。モニタ衚瀺郚は、そのカラヌ画像を衚瀺する。 The image selection unit 310 detects that the movable mask 30 is in the observation mode based on the control signal from the movable mask control unit 340, and selects {Vr, Vg, Vb} from the captured image to generate a color image. To the unit 320. The color image generation unit 320 performs demosaicing processing (processing for generating an RGB image from a Bayer image) and various types of image processing, and outputs a three-plate RGB primary color image to the monitor display unit 220. The monitor display unit 220 displays the color image.

 可動マスク制埡郚が可動マスクをステレオ蚈枬モヌドに蚭定した堎合、被写䜓からの反射光が巊瞳光路及び右瞳光路を介し撮像玠子に同時に結像される。撮像凊理郚は、撮像玠子に結像された画像の画玠倀を読み出し、倉換等を行っお画像遞択郚に画像デヌタを出力する。 When the movable mask control unit 340 sets the movable mask 30 to the stereo measurement mode, the reflected light from the subject 5 is simultaneously imaged on the image sensor 40 via the left pupil optical path and the right pupil optical path. The imaging processing unit 230 reads the pixel value of the image formed on the imaging element 40, performs A / D conversion or the like, and outputs the image data to the image selection unit 310.

 画像遞択郚は、可動マスク制埡郚からの制埡信号に基づいお可動マスクの状態がステレオ蚈枬モヌドであるこずを怜知し、撮像画像からを遞択しお䜍盞差怜出郚に出力する。䜍盞差怜出郚は、分離された぀の画像、に察しおマッチング凊理を行い、画玠毎に䜍盞差䜍盞ずれを怜出する。たた䜍盞差怜出郚は、䜍盞差怜出が信頌できるか吊かの刀断を行い、信頌できないず刀断した堎合ぱラヌフラグを画玠毎に出力する。埓来より぀の類䌌波圢のずれ量䜍盞差を求めるためのマッチング評䟡方法はZero-mean Normalized Cross-Correlationに代衚される正芏化盞互盞関挔算法、盞互の差分絶察倀の合蚈によるSum of Absolute Differenceなど、皮々提案されおいるので適宜利甚が可胜である。 The image selection unit 310 detects that the movable mask 30 is in the stereo measurement mode based on a control signal from the movable mask control unit 340, selects {Mr, Mb} from the captured image, and detects the phase difference. To 330. The phase difference detection unit 330 performs matching processing on the two separated images Mr and Mb, and detects a phase difference (phase shift) for each pixel. Further, the phase difference detection unit 330 determines whether or not the phase difference detection is reliable. If it is determined that the phase difference detection is not reliable, an error flag is output for each pixel. Conventionally, a matching evaluation method for obtaining a shift amount (phase difference) between two similar waveforms is based on a normalized cross-correlation calculation method represented by ZNCC (Zero-meanNormalized Cross-Correlation), and a sum of absolute values of mutual differences. Various proposals such as SAD (Sum of Absolute Difference) have been proposed and can be used as appropriate.

 なお、時分割ずなり被写䜓ブレ、撮像系のブレの圱響は受けるものの芖差画像ずなるずを䜿っおも䜍盞ずれ䜍盞差を怜出するこずができる。被写䜓の反射が青色成分は少なく赀色成分が倚い堎合、ずでは怜出が難しい被写䜓であっおも共に赀色成分を有するずならば蚈枬が可胜ずなる。 It should be noted that the phase shift (phase difference) can be detected by using Vr and Mr, which are parallax images, although they are time-divisionally affected by subject blur and imaging system blur. When the reflection of the subject 5 has a small blue component and a large red component, even if the subject 5 is difficult to detect with Mr and Mb, measurement is possible if both Vr and Mr have a red component.

 䜍盞差怜出郚は、怜出した䜍盞差情報ず゚ラヌフラグを距離情報算出郚に出力する。距離情報算出郚は、被写䜓の距離情報䟋えば図の距離を各画玠に぀いお蚈算し、その距離情報を次元情報生成郚に出力する。゚ラヌフラグが立っおいる画玠は、䟋えば被写䜓の平坊郚゚ッゞ成分が少ない領域ず芋なしお、䟋えば呚囲の画玠の距離情報から補間しおもよい。次元情報生成郚は、距離情報又は、距離情報ずカラヌ画像生成郚からの画像から次元情報を生成する。次元情報は、䟋えば倀マップ距離マップやポリゎン、疑䌌的な次元衚瀺画像䟋えばシェヌディング等による圢状匷調等、皮々の情報を想定できる。次元情報生成郚は、生成した次元画像や次元デヌタ、或いはそれらず芳察画像ずを重畳した衚瀺画像などを必芁に応じ生成し、モニタ衚瀺郚ぞ出力する。モニタ衚瀺郚は、その次元情報を衚瀺する。 The phase difference detection unit 330 outputs the detected phase difference information and error flag to the distance information calculation unit 360. The distance information calculation unit 360 calculates the distance information of the subject 5 (for example, the distance z in FIG. 17) for each pixel, and outputs the distance information to the three-dimensional information generation unit 370. For example, the pixel on which the error flag is set may be regarded as a flat portion (region having a small edge component) of the subject 5 and may be interpolated from distance information of surrounding pixels, for example. The three-dimensional information generation unit 370 generates three-dimensional information from the distance information (or the distance information and the RGB image from the color image generation unit 320). As the three-dimensional information, various information such as a Z value map (distance map), a polygon, and a pseudo three-dimensional display image (for example, shape enhancement by shading or the like) can be assumed. The three-dimensional information generation unit 370 generates the generated three-dimensional image, the three-dimensional data, or a display image in which these and the observation image are superimposed as necessary, and outputs the generated image to the monitor display unit 220. The monitor display unit 220 displays the three-dimensional information.

 可動マスク䜍眮怜出郚は、ステレオ蚈枬モヌド時に埗られた画像を䜿っお、可動マスクが芳察モヌドの䜍眮にあるかステレオ蚈枬モヌドの䜍眮にあるかを怜出する。そしお、可動マスクの状態がモヌドに䞀臎しおいないず刀断した堎合には、可動マスク制埡郚に䜍眮゚ラヌフラグを出力する。可動マスク制埡郚は、䜍眮゚ラヌフラグを受けお、可動マスクを正しい状態画像遞択に察応した状態に修正する。䟋えば可動マスク制埡郚がステレオ蚈枬モヌドの制埡信号を出力しおいるにも関わらず、画像に色ずれが無いず刀断される堎合、実際の可動マスクは芳察モヌドの䜍眮になっおいる。この堎合、制埡信号ず可動マスクの䜍眮を䞀臎させる修正を行う。なお、修正動䜜をしおも正しい状態にならない堎合は、䜕らかの故障が発生したず刀断しお党䜓の機胜を停止させる。 The movable mask position detector 350 detects whether the movable mask 30 is in the observation mode position or the stereo measurement mode position using the image {Mr, Mb} obtained in the stereo measurement mode. If it is determined that the state of the movable mask 30 does not match the mode, a position error flag is output to the movable mask control unit 340. The movable mask control unit 340 receives the position error flag and corrects the movable mask 30 to a correct state (a state corresponding to image selection). For example, when it is determined that there is no color shift in the image {Mr, Mb} even though the movable mask control unit 340 outputs a control signal for the stereo measurement mode, the actual movable mask 30 is positioned in the observation mode. It has become. In this case, correction is performed to match the position of the control signal and the movable mask 30. If the correct state is not obtained even if the correction operation is performed, it is determined that some failure has occurred, and the entire function is stopped.

 可動マスクはメカニカルな機構から構成されるので切り替え動䜜に䞍具合が発生するこずが考えられる。本実斜圢態によれば、切り替え䜍眮が芳察モヌドなのか蚈枬モヌドなのかを怜出できるので、切り替え動䜜の䞍具合に察応できる。 Since the movable mask 30 is composed of a mechanical mechanism, it is conceivable that a malfunction occurs in the switching operation. According to the present embodiment, since it is possible to detect whether the switching position is the observation mode or the measurement mode, it is possible to cope with a problem of the switching operation.

 可動マスクが芳察モヌドの䜍眮にあるかステレオ蚈枬モヌドの䜍眮にあるかの怜出や刀断は、䟋えば以䞋のように行う。即ち、画像ず画像の刀断゚リアでのレベル平均レベルなどを合わせた埌、画像ず画像の絶察差分倀和による刀断第手法や、画像ず画像の盞関係数による刀断第手法などにより、䜍眮゚ラヌの刀断を行う。 Detecting or judging whether the movable mask 30 is in the observation mode position or the stereo measurement mode position is performed as follows, for example. That is, after matching the levels (average level, etc.) in the judgment areas of the images Mr and Mb, judgment based on the sum of absolute difference values of the images Mr and Mb (first method) and the correlation between the images Mr and Mb The position error is determined by determination based on the number (second method) or the like.

 第手法では、各画玠で画玠倀の差分倀の絶察倀を求め、それを党画玠又は郚分画玠矀で積算する。その結果が所定の閟倀を越えた堎合は、ステレオ蚈枬モヌドの画像ず刀断し、その結果が所定の閟倀以䞋である堎合は、芳察モヌドの画像ず刀断する。ステレオ蚈枬モヌドでは画像ず画像は基本的に色ずれを起こしおいる画像なので、所定量の差分倀が埗られるこずを利甚しおいる。 In the first method, the absolute value of the difference value of the pixel value is obtained for each pixel, and it is integrated in all pixels or a partial pixel group. If the result exceeds a predetermined threshold, it is determined as an image in the stereo measurement mode, and if the result is less than the predetermined threshold, it is determined as an image in the observation mode. In the stereo measurement mode, the image Mr and the image Mb are basically images that have undergone color misregistration, so that the fact that a predetermined amount of difference value is obtained is used.

 第手法では、画像ず画像の所定範囲における盞関係数を蚈算し、その結果が所定の閟倀以䞋の堎合は、ステレオ蚈枬モヌドの画像ず刀断し、その結果が所定の閟倀を越えた堎合は、芳察モヌドの画像ず刀断する。これはステレオ蚈枬モヌドでは画像ず画像は基本的に色ずれを起こしおいる画像なので盞関係数が小さいのに察し、芳察モヌドでは画像ず画像はほが䞀臎した画像なので盞関係数が倧きいこずを利甚しおいる。 In the second method, the correlation coefficient in the predetermined range between the image Mr and the image Mb is calculated, and when the result is equal to or smaller than the predetermined threshold, it is determined as an image in the stereo measurement mode, and the result exceeds the predetermined threshold. In this case, it is determined that the image is an observation mode. In the stereo measurement mode, the image Mr and the image Mb are basically images that have undergone color misregistration, so the correlation coefficient is small, whereas in the observation mode, the image Mr and the image Mb are almost the same image, so the correlation coefficient is Take advantage of big things.

 なお、本実斜圢態の内芖鏡装眮、撮像装眮等は、プロセッサずメモリを含んでもよい。ここでのプロセッサは、䟋えばCentral Processing Unitであっおもよい。ただしプロセッサはに限定されるものではなく、Graphics Processing Unit、或いはDigital Signal Processor等、各皮のプロセッサを甚いるこずが可胜である。たたプロセッサはによるハヌドりェア回路でもよい。たた、メモリはコンピュヌタにより読み取り可胜な呜什を栌玍するものであり、圓該呜什がプロセッサにより実行されるこずで、本実斜圢態に係る内芖鏡装眮、撮像装眮等の各郚䟋えば凊理郚の各郚等が実珟されるこずになる。ここでのメモリは、、などの半導䜓メモリであっおもよいし、レゞスタヌやハヌドディスク等でもよい。たた、ここでの呜什は、プログラムを構成する呜什セットの呜什でもよいし、プロセッサのハヌドりェア回路に察しお動䜜を指瀺する呜什であっおもよい。 Note that the endoscope apparatus, the imaging apparatus, and the like of the present embodiment may include a processor and a memory. The processor here may be, for example, a CPU (Central Processing Unit). However, the processor is not limited to the CPU, and various processors such as a GPU (GraphicsProcessing Unit) or a DSP (Digital Signal Processor) can be used. The processor may be an ASIC hardware circuit. The memory stores instructions that can be read by a computer. When the instructions are executed by the processor, each unit (for example, each unit of the processing unit 210) of the endoscope apparatus, the imaging apparatus, and the like according to the present embodiment. Etc.) will be realized. The memory here may be a semiconductor memory such as SRAM or DRAM, or a register or a hard disk. Further, the instruction here may be an instruction of an instruction set constituting the program, or an instruction for instructing an operation to the hardware circuit of the processor.

 モヌド切り替えシヌケンス
 図に、動画撮圱においお芳察モヌドずステレオ蚈枬モヌドを切り替えるシヌケンス動䜜タむミングチャヌトを瀺す。
11. Mode Switching Sequence FIG. 19 shows a sequence (operation timing chart) for switching between the observation mode and the stereo measurement mode in moving image shooting.

 䞊述したステレオ蚈枬モヌドでは、動きがある被写䜓に察しおも高粟床なステレオ同時蚈枬が実珟できるが、色ずれ画像ずなっおしたうので高品䜍な芳察画像には䜿えない。そこで芳察モヌドずステレオ蚈枬モヌドを高速に切り替えるこずにより、この問題を解決でき、ほがリアルタむムに近い状態で芳察画像を衚瀺し぀぀ステレオ蚈枬が実行可胜である。 In the stereo measurement mode described above, high-precision simultaneous measurement can be realized even for a moving subject. However, since it becomes a color shift image, it cannot be used for a high-quality observation image. Therefore, this problem can be solved by switching between the observation mode and the stereo measurement mode at high speed, and stereo measurement can be performed while displaying the observation image in a state almost in real time.

 図に瀺すように、可動マスクの状態の切り替えず撮像タむミングず撮像画像の遞択は連動しおいる。、に瀺すように、芳察モヌドのマスク状態ずステレオ蚈枬モヌドのマスク状態を亀互に繰り返す。、に瀺すように、各マスク状態で回ず぀撮像が行われる。に瀺すように、芳察モヌドのマスク状態にあるずきに撮像玠子により露光撮像された画像は芳察画像ずしお遞択される。に瀺すように、ステレオ蚈枬モヌドのマスク状態にあるずきに撮像玠子により露光撮像された画像は蚈枬画像ずしお遞択される。 As shown in FIG. 19, switching of the state of the movable mask 30, imaging timing, and selection of a captured image are interlocked. As shown in A1 and A2, the mask state in the observation mode and the mask state in the stereo measurement mode are alternately repeated. As shown in A3 and A4, imaging is performed once in each mask state. As shown in A5, an image that is exposed and imaged by the image sensor 40 when in the mask state of the observation mode is selected as an observation image. As shown in A6, an image that is exposed and imaged by the image sensor 40 when in the mask state of the stereo measurement mode is selected as a measurement image.

 このように芳察モヌドずステレオ蚈枬モヌドを亀互に繰り返すこずにより、ほがリアルタむムに近い状態で芳察画像ず蚈枬画像を連続的に埗るこずができるので、被写䜓に動きがある堎合も芳察ず蚈枬を䞡方実珟するこずができる。芳察モヌドの画像を衚瀺し぀぀、そこに必芁に応じお蚈枬された情報を重ねお合わせお衚瀺すれば、ナヌザに察しお目芖怜査ず定量怜査を同時に提䟛するこずができ、有甚な情報提䟛が可胜ずなる。 By alternately repeating the observation mode and the stereo measurement mode in this way, an observation image and a measurement image can be obtained continuously in a state almost in real time, so both observation and measurement can be performed even when the subject 5 is moving. Can be realized. While displaying the image in the observation mode, if the information measured as necessary is superimposed and displayed there, visual inspection and quantitative inspection can be provided to the user at the same time, providing useful information It becomes possible.

 以䞊、本発明を適甚した実斜圢態およびその倉圢䟋に぀いお説明したが、本発明は、各実斜圢態やその倉圢䟋そのたたに限定されるものではなく、実斜段階では、発明の芁旚を逞脱しない範囲内で構成芁玠を倉圢しお具䜓化するこずができる。たた、䞊蚘した各実斜圢態や倉圢䟋に開瀺されおいる耇数の構成芁玠を適宜組み合わせるこずによっお、皮々の発明を圢成するこずができる。䟋えば、各実斜圢態や倉圢䟋に蚘茉した党構成芁玠からいく぀かの構成芁玠を削陀しおもよい。さらに、異なる実斜の圢態や倉圢䟋で説明した構成芁玠を適宜組み合わせおもよい。このように、発明の䞻旚を逞脱しない範囲内においお皮々の倉圢や応甚が可胜である。たた、明现曞又は図面においお、少なくずも䞀床、より広矩たたは同矩な異なる甚語ず共に蚘茉された甚語は、明现曞又は図面のいかなる箇所においおも、その異なる甚語に眮き換えるこずができる。 As mentioned above, although embodiment and its modification which applied this invention were described, this invention is not limited to each embodiment and its modification as it is, and in the range which does not deviate from the summary of invention in an implementation stage. The component can be modified and embodied. Further, various inventions can be formed by appropriately combining a plurality of constituent elements disclosed in the above-described embodiments and modifications. For example, some constituent elements may be deleted from all the constituent elements described in each embodiment or modification. Furthermore, you may combine suitably the component demonstrated in different embodiment and modification. Thus, various modifications and applications are possible without departing from the spirit of the invention. In addition, a term described together with a different term having a broader meaning or the same meaning at least once in the specification or the drawings can be replaced with the different term anywhere in the specification or the drawings.

 被写䜓、 結像光孊系、 固定マスク、
 開口絞り孔、 遮光郚、 可動マスク、
 開口絞り孔、 遮光郚、 回転軞、
 撮像玠子、 駆動郚、 照明郚、 スコヌプ郚、
 撮像郚、 本䜓郚、 凊理郚、 モニタ衚瀺郚、
 撮像凊理郚、 光源駆動制埡郚、 画像遞択郚、
 カラヌ画像生成郚、 䜍盞差怜出郚、
 可動マスク制埡郚、 可動マスク䜍眮怜出郚、
 距離情報算出郚、 次元情報生成郚、 癜色光源、
 導光郚材、 照明甚レンズ、 赀色レヌザヌ光源、
 青色レヌザヌ光源、 ダむクロむックプリズム、
 導光郚材、 マスクパタヌン、 投圱レンズ、
 癜色光源、 偏光玠子、 青色レヌザヌ光源、
 赀色レヌザヌ光源、 ダむクロむックプリズム、
 マスクパタヌン、 偏光玠子、 プリズム、
 導光郚材、 投圱レンズ、
 第のフィルタ、 第のフィルタ、 画像、
 第の波長垯域、 第の波長垯域、
 䜍盞差、 画像
5 subject, 10 imaging optical system, 20 fixed mask,
21, 22, 23 Opening (aperture hole), 24 light shielding part, 30 movable mask,
31, 32, 33 Aperture (diaphragm hole), 34 Shading part, 35 Rotating shaft
40 image sensor, 50 drive unit, 60 illumination unit, 100 scope unit,
110 imaging unit, 200 main body unit, 210 processing unit, 220 monitor display unit,
230 imaging processing unit, 305 light source drive control unit, 310 image selection unit,
320 color image generation unit, 330 phase difference detection unit,
340 movable mask control unit, 350 movable mask position detection unit,
360 distance information calculation unit, 370 three-dimensional information generation unit, 401 white light source,
402 light guide member, 403 illumination lens, 404 red laser light source,
405 Blue laser light source, 406, 407 dichroic prism,
408 light guide member, 409 mask pattern, 410 projection lens,
451 white light source, 452 polarizing element, 453 blue laser light source,
454 red laser light source, 455,456 dichroic prism,
457 mask pattern, 458 polarizing element, 458 prism,
460 light guide member, 461 projection lens,
FL first filter, FR second filter, Mb, Mr image,
Pb, Pb1 first wavelength band, Pr, Pr2 second wavelength band,
s (XL) phase difference, Vb, Vg, Vr image

Claims (14)

 第色の画像ず、前蚘第色よりも長波長偎の第色の画像ず、前蚘第色よりも長波長偎の第色の画像ずを含む撮像画像を撮像し、前蚘第色の画像ず前蚘第色の画像をステレオ画像ずしお撮像可胜な撮像郚ず、
 前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域、及び前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域においお所䞎の光量分垃を有するパタヌン照明を被写䜓に照射する照明郚ず、
 を含むこずを特城ずする撮像装眮。
Capturing a captured image including a first color image, a second color image having a longer wavelength than the first color, and a third color image having a longer wavelength than the second color; An imaging unit capable of imaging one color image and the third color image as a stereo image;
A first wavelength band that is included in the wavelength band of the first color and not included in the wavelength band of the second color, and that is included in the wavelength band of the third color and included in the wavelength band of the second color. An illumination unit that irradiates a subject with pattern illumination having a given light amount distribution in a second wavelength band that is not present;
An imaging apparatus comprising:
 請求項においお、
 前蚘撮像郚は、
 前蚘ステレオ画像を撮像するステレオモヌドず、単県により前蚘撮像画像を撮像する非ステレオモヌドずを切り替えるこずを特城ずする撮像装眮。
In claim 1,
The imaging unit
An imaging apparatus characterized by switching between a stereo mode for capturing the stereo image and a non-stereo mode for capturing the captured image with a single eye.
 請求項においお、
 前蚘非ステレオモヌドにおける前蚘単県は、前蚘第色ず前蚘第色ず前蚘第色の波長垯域のうち前蚘第の波長垯域及び前蚘第の波長垯域を陀く波長垯域を通過させるこずを特城ずする撮像装眮。
In claim 2,
The monocular in the non-stereo mode allows a wavelength band excluding the first wavelength band and the second wavelength band among the wavelength bands of the first color, the second color, and the third color to pass. An imaging device that is characterized.
 請求項においお、
 前蚘ステレオモヌドにおいお撮像された前蚘第色の画像ず前蚘第色の画像ずの間の䜍盞差を怜出する䜍盞差怜出郚ず、
 前蚘非ステレオモヌドにおいお撮像された前蚘撮像画像に基づいお芳察甚の画像を出力する画像出力郚ず、
 を含むこずを特城ずする撮像装眮。
In claim 3,
A phase difference detector that detects a phase difference between the first color image and the third color image captured in the stereo mode;
An image output unit that outputs an image for observation based on the captured image captured in the non-stereo mode;
An imaging apparatus comprising:
 請求項においお、
 前蚘非ステレオモヌドにおける前蚘単県は、前蚘第色ず前蚘第色ず前蚘第色の波長垯域を含む波長垯域を通過させるこずを特城ずする撮像装眮。
In claim 2,
The imaging apparatus according to claim 1, wherein the monocular in the non-stereo mode passes a wavelength band including the wavelength bands of the first color, the second color, and the third color.
 請求項においお、
 前蚘ステレオモヌドにおいお撮像された前蚘第色の画像ず前蚘第色の画像ずの間の䜍盞差を怜出する䜍盞差怜出郚ず、
 前蚘非ステレオモヌドにおいお撮像された前蚘撮像画像に基づいお芳察甚の画像を出力する画像出力郚ず、
 を含み、
 前蚘画像出力郚は、
 前蚘所䞎の光量分垃による前蚘第色の画像及び前蚘第色の画像の画玠倀の倉化を、前蚘第色の画像に基づいお補正するこずを特城ずする撮像装眮。
In claim 5,
A phase difference detector that detects a phase difference between the first color image and the third color image captured in the stereo mode;
An image output unit that outputs an image for observation based on the captured image captured in the non-stereo mode;
Including
The image output unit includes:
An imaging apparatus, wherein a change in pixel values of the first color image and the third color image due to the given light amount distribution is corrected based on the second color image.
 請求項乃至のいずれかにおいお、
 前蚘パタヌン照明は、前蚘第色の波長垯域のうち前蚘第の波長垯域を陀く波長垯域ず、前蚘第色の波長垯域ず、前蚘第色の波長垯域のうち前蚘第の波長垯域を陀く波長垯域ずにおいおフラットな光量分垃であるこずを特城ずする撮像装眮。
In any one of Claims 1 thru | or 6.
The pattern illumination includes a wavelength band excluding the first wavelength band among the wavelength bands of the first color, a wavelength band of the second color, and a second wavelength band of the wavelength bands of the third color. An image pickup apparatus having a flat light amount distribution in a wavelength band excluding.
 請求項乃至のいずれかにおいお、
 前蚘第色は青色であり、前蚘第色は緑色であり、前蚘第色は赀色であるこずを特城ずする撮像装眮。
In any one of Claims 1 thru | or 7,
The imaging apparatus according to claim 1, wherein the first color is blue, the second color is green, and the third color is red.
 請求項乃至のいずれかにおいお、
 撮像玠子ず、
 前蚘撮像玠子に被写䜓を結像させる結像光孊系ず、
 前蚘結像光孊系の瞳を分割する第第の開口ず、前蚘第の波長垯域を通過させる第のフィルタず、前蚘第の波長垯域を通過させる第のフィルタずを有する固定マスクず、
 遮光郚ず、前蚘第第の開口に察応しお前蚘遮光郚に蚭けられた第第の開口ずを有し、前蚘結像光孊系に察しお可動である可動マスクず、
 を含み、
 前蚘第のフィルタは、前蚘第の開口に蚭けられ、
 前蚘第のフィルタは、前蚘第の開口に蚭けられ、
 前蚘第の開口は、前蚘結像光孊系の光軞䞊に蚭けられるこずを特城ずする撮像装眮。
In any one of Claims 1 thru | or 8.
An image sensor;
An imaging optical system for imaging a subject on the image sensor;
First to third apertures that divide the pupil of the imaging optical system, a first filter that passes the first wavelength band, and a second filter that passes the second wavelength band A fixed mask,
A movable mask having a light shielding part and fourth to sixth openings provided in the light shielding part corresponding to the first to third openings, and movable with respect to the imaging optical system;
Including
The first filter is provided in the first opening;
The second filter is provided in the second opening;
The image pickup apparatus, wherein the third opening is provided on an optical axis of the imaging optical system.
 請求項においお、
 前蚘可動マスクを制埡する可動マスク制埡郚を含み、
 前蚘可動マスク制埡郚は、
 非ステレオモヌドにおいお、前蚘光軞方向に芋た堎合に前蚘遮光郚が前蚘第、第の開口に重なるず共に前蚘第の開口が前蚘第の開口に重なる第の状態に、前蚘可動マスクを蚭定し、
 ステレオモヌドにおいお、前蚘光軞方向に芋た堎合に前蚘第、第の開口が前蚘第、第の開口に重なるず共に前蚘遮光郚が前蚘第の開口に重なる第の状態に、前蚘可動マスクを蚭定するこずを特城ずする撮像装眮。
In claim 9,
A movable mask control unit for controlling the movable mask;
The movable mask controller is
In the non-stereo mode, when viewed in the optical axis direction, the movable portion is in a first state in which the light shielding portion overlaps the first and second openings and the sixth opening overlaps the third opening. Set the mask,
In the stereo mode, when viewed in the optical axis direction, the fourth and fifth openings overlap the first and second openings, and the light shielding portion overlaps the third opening. An imaging apparatus, wherein the movable mask is set.
 請求項乃至のいずれかにおいお、
 撮像玠子ず、
 前蚘撮像玠子に被写䜓を結像させる結像光孊系ず、
 前蚘結像光孊系の瞳を分割する第第の開口ず、前蚘第の波長垯域を通過させる第のフィルタず、前蚘第の波長垯域を通過させる第のフィルタずを有する固定マスクず、
 遮光郚ず、前蚘第、第の開口に察応しお前蚘遮光郚に蚭けられた第の開口ず、前蚘第の開口に察応しお前蚘遮光郚に蚭けられた第の開口ずを有し、前蚘結像光孊系に察しお可動である可動マスクず、
 を含み、
 前蚘第のフィルタは、前蚘第の開口に蚭けられ、
 前蚘第のフィルタは、前蚘第の開口に蚭けられ、
 前蚘第の開口は、前蚘結像光孊系の光軞䞊に蚭けられるこずを特城ずする撮像装眮。
In any one of Claims 1 thru | or 8.
An image sensor;
An imaging optical system for imaging a subject on the image sensor;
First to third apertures that divide the pupil of the imaging optical system, a first filter that passes the first wavelength band, and a second filter that passes the second wavelength band A fixed mask,
A light shielding portion, a fourth opening provided in the light shielding portion corresponding to the first and third openings, and a fifth opening provided in the light shielding portion corresponding to the second opening. And a movable mask movable with respect to the imaging optical system,
Including
The first filter is provided in the first opening;
The second filter is provided in the second opening;
The image pickup apparatus, wherein the third opening is provided on an optical axis of the imaging optical system.
 請求項においお、
 前蚘可動マスクを制埡する可動マスク制埡郚を含み、
 前蚘可動マスク制埡郚は、
 非ステレオモヌドにおいお、前蚘光軞方向に芋た堎合に前蚘遮光郚が前蚘第、第の開口に重なるず共に前蚘第の開口が前蚘第の開口に重なる第の状態に、前蚘可動マスクを蚭定し、
 ステレオモヌドにおいお、前蚘光軞方向に芋た堎合に前蚘第、第の開口が前蚘第、第の開口に重なるず共に前蚘遮光郚が前蚘第の開口に重なる第の状態に、前蚘可動マスクを蚭定するこずを特城ずする撮像装眮。
In claim 11,
A movable mask control unit for controlling the movable mask;
The movable mask controller is
In the non-stereo mode, when viewed in the optical axis direction, the movable portion is in a first state in which the light shielding portion overlaps the first and second openings and the fourth opening overlaps the third opening. Set the mask,
In the stereo mode, when viewed in the optical axis direction, the fourth and fifth openings overlap the first and second openings, and the light shielding portion overlaps the third opening. An imaging apparatus, wherein the movable mask is set.
 請求項乃至のいずれかに蚘茉された撮像装眮を含むこずを特城ずする内芖鏡装眮。 An endoscope apparatus comprising the imaging apparatus according to any one of claims 1 to 12.  第色の画像ず、前蚘第色よりも長波長偎の第色の画像ず、前蚘第色よりも長波長偎の第色の画像のうち、前蚘第色の画像ず前蚘第色の画像をステレオ画像ずしお撮像可胜である堎合に、
 前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域、及び前蚘第色の波長垯域に含たれるず共に前蚘第色の波長垯域に含たれない第の波長垯域においお所䞎の光量分垃を有するパタヌン照明を被写䜓に照射し、
 前蚘第色の画像ず前蚘第色の画像ず前蚘第色の画像ずを含む撮像画像を撮像するこずを特城ずする撮像方法。
Of the first color image, the second color image longer than the first color, and the third color image longer than the second color, the first color image and the When a third color image can be captured as a stereo image,
A first wavelength band that is included in the wavelength band of the first color and not included in the wavelength band of the second color, and that is included in the wavelength band of the third color and included in the wavelength band of the second color. Irradiating the subject with pattern illumination having a given light intensity distribution in the second wavelength band not present,
An imaging method, comprising: capturing a captured image including the first color image, the second color image, and the third color image.
PCT/JP2015/078871 2015-10-13 2015-10-13 Imaging device, endoscopic device and imaging method Ceased WO2017064746A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/078871 WO2017064746A1 (en) 2015-10-13 2015-10-13 Imaging device, endoscopic device and imaging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/JP2015/078871 WO2017064746A1 (en) 2015-10-13 2015-10-13 Imaging device, endoscopic device and imaging method

Publications (1)

Publication Number Publication Date
WO2017064746A1 true WO2017064746A1 (en) 2017-04-20

Family

ID=58517404

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2015/078871 Ceased WO2017064746A1 (en) 2015-10-13 2015-10-13 Imaging device, endoscopic device and imaging method

Country Status (1)

Country Link
WO (1) WO2017064746A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003047028A (en) * 2001-08-01 2003-02-14 Olympus Optical Co Ltd Imaging apparatus and stereogram-photographing method
JP2005223812A (en) * 2004-02-09 2005-08-18 Canon Inc Imaging device
JP2013124985A (en) * 2011-12-15 2013-06-24 Ricoh Co Ltd Compound-eye imaging apparatus and distance measuring device
JP2015502558A (en) * 2011-10-03 2015-01-22 むヌストマン コダック カンパニヌ Stereo projector using spectrally adjacent color bands
JP2015513686A (en) * 2012-01-17 2015-05-14 むヌストマン コダック カンパニヌ Stereoscopic glasses with tilt filter

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003047028A (en) * 2001-08-01 2003-02-14 Olympus Optical Co Ltd Imaging apparatus and stereogram-photographing method
JP2005223812A (en) * 2004-02-09 2005-08-18 Canon Inc Imaging device
JP2015502558A (en) * 2011-10-03 2015-01-22 むヌストマン コダック カンパニヌ Stereo projector using spectrally adjacent color bands
JP2013124985A (en) * 2011-12-15 2013-06-24 Ricoh Co Ltd Compound-eye imaging apparatus and distance measuring device
JP2015513686A (en) * 2012-01-17 2015-05-14 むヌストマン コダック カンパニヌ Stereoscopic glasses with tilt filter

Similar Documents

Publication Publication Date Title
KR101798656B1 (en) 3-d imaging using telecentric defocus
US10542875B2 (en) Imaging device, endoscope apparatus, and imaging method
JP5053468B2 (en) Stereoscopic image capturing apparatus and endoscope
CN108073016A (en) Image forming apparatus
US20220346643A1 (en) Ophthalmic imaging apparatus and system
WO2017168986A1 (en) Control device, endoscope image pickup device, control method, program, and endoscope system
WO2018051679A1 (en) Measurement assistance device, endoscope system, processor for endoscope system, and measurement assistance method
US20180098053A1 (en) Imaging device, endoscope apparatus, and imaging method
US11025812B2 (en) Imaging apparatus, imaging method, and imaging system
JP2015231498A (en) Endoscope device
JP5953443B2 (en) Endoscope system
JP6706026B2 (en) Endoscope system and operating method of endoscope apparatus
US20180092516A1 (en) Imaging device, endoscope apparatus, and imaging method
JP7609953B2 (en) Ophthalmic device and control method thereof
JP2015046019A (en) Image processing apparatus, imaging apparatus, imaging system, image processing method, program, and storage medium
JP6948407B2 (en) Equipment and methods for determining surface topology and associated colors
US10798332B1 (en) Dual pass-through imaging system and method
JP2011250976A (en) Image processor, image processing method, and program
JPS63246716A (en) Method for taking-in of endoscope image
WO2017064746A1 (en) Imaging device, endoscopic device and imaging method
KR20230106593A (en) Imaging systems and laparoscopes for imaging objects
US11648080B2 (en) Medical observation control device and medical observation system that correct brightness differences between images acquired at different timings
JP7583551B2 (en) Imaging device
WO2017212577A1 (en) Imaging device, endoscope device, and imaging method
WO2024200351A1 (en) An extraoral scanner 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: 15906211

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15906211

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP