WO2018021035A1 - 画像処理装置および方法、内視鏡システム、並びにプログラム - Google Patents

画像処理装置および方法、内視鏡システム、並びにプログラム Download PDF

Info

Publication number
WO2018021035A1
WO2018021035A1 PCT/JP2017/025462 JP2017025462W WO2018021035A1 WO 2018021035 A1 WO2018021035 A1 WO 2018021035A1 JP 2017025462 W JP2017025462 W JP 2017025462W WO 2018021035 A1 WO2018021035 A1 WO 2018021035A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
light
light source
motion
period
Prior art date
Application number
PCT/JP2017/025462
Other languages
English (en)
French (fr)
Inventor
菊地 大介
古川 昭夫
正義 秋田
植田 充紀
一木 洋
恒生 林
雄生 杉江
Original Assignee
ソニー株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ソニー株式会社 filed Critical ソニー株式会社
Priority to JP2018529759A priority Critical patent/JP6900953B2/ja
Priority to US16/316,134 priority patent/US11457801B2/en
Publication of WO2018021035A1 publication Critical patent/WO2018021035A1/ja

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/04Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor combined with photographic or television appliances
    • A61B1/045Control thereof
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00004Operational features of endoscopes characterised by electronic signal processing
    • A61B1/00009Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope
    • A61B1/000095Operational features of endoscopes characterised by electronic signal processing of image signals during a use of endoscope for image enhancement
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/00002Operational features of endoscopes
    • A61B1/00011Operational features of endoscopes characterised by signal transmission
    • A61B1/00018Operational features of endoscopes characterised by signal transmission using electrical cables
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/06Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor with illuminating arrangements
    • A61B1/0655Control therefor
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B1/00Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor
    • A61B1/06Instruments for performing medical examinations of the interior of cavities or tubes of the body by visual or photographical inspection, e.g. endoscopes; Illuminating arrangements therefor with illuminating arrangements
    • A61B1/0661Endoscope light sources
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/30Devices for illuminating a surgical field, the devices having an interrelation with other surgical devices or with a surgical procedure
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/36Image-producing devices or illumination devices not otherwise provided for
    • A61B90/361Image-producing devices, e.g. surgical cameras
    • 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
    • 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/56Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/681Motion detection
    • H04N23/6811Motion detection based on the image signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/683Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
    • 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/73Circuitry for compensating brightness variation in the scene by influencing the exposure time
    • 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/74Circuitry for compensating brightness variation in the scene by influencing the scene brightness using illuminating means
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B34/00Computer-aided surgery; Manipulators or robots specially adapted for use in surgery
    • A61B34/20Surgical navigation systems; Devices for tracking or guiding surgical instruments, e.g. for frameless stereotaxis
    • A61B2034/2046Tracking techniques
    • A61B2034/2065Tracking using image or pattern recognition
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/30Devices for illuminating a surgical field, the devices having an interrelation with other surgical devices or with a surgical procedure
    • A61B2090/309Devices for illuminating a surgical field, the devices having an interrelation with other surgical devices or with a surgical procedure using white LEDs
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B90/00Instruments, implements or accessories specially adapted for surgery or diagnosis and not covered by any of the groups A61B1/00 - A61B50/00, e.g. for luxation treatment or for protecting wound edges
    • A61B90/50Supports for surgical instruments, e.g. articulated arms

Definitions

  • the present technology relates to an image processing apparatus and method, an endoscope system, and a program, and more particularly, to an image processing apparatus and method, an endoscope system, and a program that can detect motion with higher accuracy.
  • a motion of a subject and a camera is detected and used for camera shake correction, or a periodic motion of a subject such as a pulsation is detected, and a phase is matched based on the detection result.
  • a phase is matched based on the detection result.
  • output and display an image having no blur of the same phase by acquiring the image.
  • the obtained motion information is obtained from relatively old information such as two frames before, and sufficient accuracy is obtained.
  • the motion of the current frame cannot be estimated. That is, when motion information is used for image correction processing such as camera shake correction, a deviation occurs between the detected motion and the actual motion in the current frame to which the motion detection result is applied.
  • the present technology has been made in view of such a situation, and makes it possible to detect motion with higher accuracy.
  • An image processing apparatus includes a light source control unit that controls a light source to emit light a plurality of times during an exposure period of a captured image, and a motion detection unit that detects a motion of a subject on the captured image. Prepare.
  • the captured image can be a biological image.
  • the motion detection unit can detect the magnitude of each component of a motion vector as the motion based on one captured image.
  • the light source control unit can control the light source so that light of the same wavelength component is output at the time of each pulse emission.
  • the motion detection unit can further detect the direction of the motion vector as the motion based on the plurality of captured images.
  • the image processing apparatus may further include a motion correction unit that performs motion correction on the captured image based on the motion detection result.
  • the image processing apparatus may further include an image generation unit that generates an image of the subject from the captured image at a time when there is no movement based on the detection result of the movement.
  • the light source control unit can control the light source so that an exposure period in which light of the wavelength component is continuously output and an exposure period in which the pulse light emission is performed a plurality of times are provided.
  • the motion detection unit is configured to detect the motion based on the captured image during an exposure period in which the pulse light emission is performed a plurality of times, and to continuously output the light of the wavelength component based on the motion detection result.
  • a motion correction unit that performs motion correction on the captured image during the exposure period can be further provided.
  • the light source control unit can control the light source so that an exposure period in which light of the wavelength component is continuously output and an exposure period in which the pulse light emission is performed a plurality of times are alternately provided. .
  • the light source control unit can control the light source so that exposure periods in which the pulse light emission is performed a plurality of times are provided at unequal intervals.
  • the light source control unit can control the light source so that light of different wavelength components is output in each of the plurality of times of pulse light emission.
  • the motion detection unit can detect a motion vector as the motion based on an image for each wavelength component obtained from one captured image.
  • the light source control unit controls another light source different from the light source so that light of a predetermined wavelength component is continuously output during the exposure period of the input image of the subject different from the captured image,
  • the light source is controlled so that light having a wavelength component different from the predetermined wavelength component is output by a plurality of pulse emission during a period including at least a part of the exposure period of the input image, and the captured image is captured.
  • a first imaging unit that performs imaging
  • a second imaging unit that captures the input image, and optically separates light from the subject, and a part of the separated light is incident on the first imaging unit.
  • a separation element that causes the other part of the separated light to enter the second imaging unit.
  • the image processing apparatus may further include a motion correction unit that performs motion correction on the input image based on the motion detection result.
  • the light source control unit causes the light source to pulse light at a plurality of different periods while changing the pulse light emission period, and the motion detection unit causes the contrast of the captured image obtained at each of the plurality of different periods. Based on the degree, the period of vibration of the subject can be detected as the movement.
  • the light source control unit can cause the light source to emit light in a cycle corresponding to the detection result of the movement after the detection of the movement.
  • the image processing method or program according to the first aspect of the present technology includes a step of controlling the light source to emit light a plurality of times during the exposure period of the captured image and detecting the movement of the subject on the captured image.
  • the light source is controlled to emit pulse light a plurality of times during the exposure period of the captured image, and the movement of the subject on the captured image is detected.
  • An endoscope system includes a light source capable of emitting pulsed light, a light source control unit that controls the light source to emit light multiple times during an exposure period of a captured image, and imaging that captures the captured image. And a motion detector that detects the motion of the subject on the captured image.
  • the light source is controlled to emit pulse light a plurality of times during the exposure period of the captured image, the captured image is captured, and the movement of the subject on the captured image is detected.
  • motion can be detected with higher accuracy.
  • FIG. 1 is a diagram illustrating a configuration example of an embodiment of an endoscope system to which the present technology is applied.
  • the camera control unit 24 is also referred to as a CCU (Camera Control Unit) 24 as appropriate.
  • This endoscope system 11 is mainly used for medical purposes, and inserts a scope 21 inside a subject, and takes an image of an arbitrary part (operating part) inside the subject as an image of a surgical field.
  • This is a system that functions as an endoscope apparatus.
  • the subject is a subject such as a patient
  • the subject to be imaged by the endoscope system 11 may be a living body other than a human.
  • the scope 21 is a lens barrel portion that is inserted into the subject and has an optical system including, for example, an objective lens.
  • the scope 21 irradiates the subject with illumination light input from the light source device 23 and reflects the incident light from the subject. The light is condensed and guided to the camera head 22.
  • the scope 21 collects the reflected light and makes it incident on the camera head 22.
  • the scope 21 may be a soft lens barrel or a rigid lens barrel.
  • the camera head 22 is provided integrally with the scope 21 and includes, for example, a camera, that is, an imaging device.
  • the camera head 22 receives the reflected light incident from the scope 21 under the control of the CCU 24 and photoelectrically converts the subject, and supplies image data of the input image obtained as a result to the CCU 24.
  • Such an input image is, for example, an image of an operative field when performing a surgery or the like using a living body such as a patient as a subject.
  • the light source device 23 includes, for example, a laser light source or an LED (Light Emitting Diode) light source, and outputs light in a specific wavelength band as illumination light under the control of the CCU 24 and makes it enter the scope 21.
  • the light source device 23 outputs white light or the like as illumination light.
  • the CCU 24 controls the operation of the entire endoscope system 11.
  • the CCU 24 includes a light source control device 31, a signal processing circuit 32, a detection unit 33, and a memory 34.
  • the light source control device 31 controls irradiation of illumination light by the light source device 23 according to control of the signal processing circuit 32, that is, lighting on and off of the illumination light. Specifically, for example, the light source control device 31 controls the illumination light irradiation timing, the irradiation period, the amount of illumination light, and the like.
  • the light source control device 31 supplies the camera head 22 with a synchronization signal for synchronizing the illumination operation by the light source device 23 and the imaging operation by the camera head 22.
  • the signal processing circuit 32 supplies the input image supplied from the camera head 22 to the detection unit 33 to detect a predetermined feature, and also detects the detection result supplied from the detection unit 33 and the data recorded in the memory 34. Based on the above, an appropriate signal processing parameter is generated. Further, the signal processing circuit 32 performs predetermined signal processing on the input image supplied from the camera head 22 based on the signal processing parameter, and supplies the output image obtained as a result to the monitor 26.
  • the detection unit 33 detects a predetermined feature, for example, movement of a subject on the input image, from the input image supplied from the signal processing circuit 32, and supplies the detection result to the signal processing circuit 32.
  • the memory 34 records various data such as conversion parameters prepared in advance, a signal processing result supplied from the signal processing circuit 32, and supplies the recorded data to the signal processing circuit 32. .
  • the operation input device 25 includes, for example, buttons, switches, a touch panel superimposed on the monitor 26, and the like, and is operated by a user who operates the endoscope system 11.
  • the operation input device 25 supplies a signal corresponding to a user operation to the signal processing circuit 32 and the light source control device 31.
  • the monitor 26 is composed of a liquid crystal display panel, for example, and displays an output image supplied from the signal processing circuit 32.
  • FIG. 2 is a diagram illustrating a functional configuration example of the endoscope system 11.
  • the same reference numerals are given to the portions corresponding to those in FIG. 1, and the description thereof will be omitted as appropriate.
  • a light source control unit 61 has a light source control unit 61, a light source device 23, an imaging unit 62, a motion detection unit 63, an output image generation unit 64, a monitor 26, and a recorder 65.
  • the light source control unit 61 corresponds to, for example, the light source control device 31 illustrated in FIG. 1, and supplies a synchronization signal to the light source device 23 and the imaging unit 62 for timing of illumination light irradiation and input image capturing.
  • the light source device 23 emits pulse light at a predetermined timing based on the synchronization signal supplied from the light source control unit 61, and irradiates the subject with illumination light.
  • illumination light is irradiated to the subject, the illumination light is reflected by the subject to become reflected light, and is received by the imaging unit 62.
  • the imaging unit 62 includes the camera head 22 illustrated in FIG. 1, and captures a captured image of a subject as an input image based on the synchronization signal supplied from the light source control unit 61, and includes a motion detection unit 63 and an output image generation unit. 64.
  • the imaging unit 62 has an imaging element that constitutes a camera, and receives an input image by receiving reflected light from a subject and performing photoelectric conversion.
  • the motion detection unit 63 detects the motion of the subject on the input image based on the input image supplied from the imaging unit 62, and uses the motion vector obtained as a result of the motion to indicate the motion detection result of the subject. Information is supplied to the output image generation unit 64 as information.
  • the motion detection unit 63 is realized by, for example, the detection unit 33 in FIG.
  • the output image generation unit 64 performs motion correction such as camera shake correction on the input image supplied from the imaging unit 62 based on the motion information supplied from the motion detection unit 63, and outputs the output image obtained as a result thereof. This is supplied to the monitor 26 and the recorder 65.
  • the output image generation unit 64 is realized by, for example, the signal processing circuit 32 of FIG. Thus, when the output image generation unit 64 performs motion correction such as camera shake correction, the output image generation unit 64 functions as a motion correction unit.
  • the recorder 65 includes, for example, a non-volatile recording unit (not shown in FIG. 1) connected to the signal processing circuit 32 of FIG. 1 and records the output image supplied from the output image generating unit 64.
  • the monitor 26 displays the output image supplied from the output image generation unit 64.
  • a laser light source that emits RGB white light capable of pulse light emission is used as the light source device 23.
  • the light source device 23 includes an R light source that outputs narrow wavelength light having an R (red) wavelength component, a G light source that outputs narrow wavelength light having a G (green) wavelength component, and a B (blue) wavelength component. And a combining optical system that combines and outputs the light output from these light sources.
  • the illumination light when white light is output as illumination light from the light source device 23, light is simultaneously output from the R light source, G light source, and B light source, and the output R component light, G component light, and B light are output.
  • the component light is combined by the combining optical system to be white light, and is output from the light source device 23.
  • the illumination light may be light in any wavelength band.
  • the light source device 23 emits light twice in a period of one frame of the input image, for example, as shown in FIG.
  • the horizontal axis represents time
  • the downward arrow in FIG. 3 represents the light emission timing of the light source device 23, that is, the irradiation timing of the illumination light to the subject.
  • a period T1 indicates a period for one frame of the input image, that is, an exposure period for capturing an input image for one frame, and the time t1 and the time are included in the period T1 for one frame.
  • the light source device 23 emits pulses at each time t2.
  • light of the same wavelength component that is, white light here is output from the light source device 23 at the time of each pulse emission. Further, light emission control is performed so that the light source device 23 emits pulses at a constant time interval, that is, at a constant cycle, and pulse light emission by the light source device 23 is performed at equal intervals twice in each frame period.
  • the light source device 23 emits light at a timing of 1/120 s.
  • the light source device 23 emits a pulse of white light as illumination light at intervals of 1/120 s according to the synchronization signal supplied from the light source control unit 61.
  • the imaging unit 62 receives the illumination light at a timing indicated by the synchronization signal from the light source control unit 61 and performs photoelectric conversion. Perform the action.
  • the imaging unit 62 captures an input image of a frame corresponding to the period T1 with the period T1 as an exposure period, and uses the image data of the input image obtained as a result as the motion detection unit 63 and the output image generation unit 64. To supply.
  • the motion detection unit 63 performs motion detection on the input image supplied from the imaging unit 62 and supplies motion information such as a motion vector obtained as a result to the output image generation unit 64.
  • the subject moves on the input image
  • the subject itself is moving
  • the subject is a moving subject with movement
  • the imaging unit 62 is moving with respect to the subject due to camera shake or the like.
  • the motion of the subject on the input image obtained as a result of motion detection on the input image is the motion of the subject itself, the motion of the imaging unit 62 relative to the subject, or both of them.
  • a subject image MH11-1 and a subject image MH11-2 which are images of the same subject, are shown on the input image.
  • the subject image MH11-1 and the subject image MH11-2 are also simply referred to as the subject image MH11 when it is not necessary to distinguish them.
  • the input image of FIG. 4 is captured during the period T1 shown in FIG. 3, one of the two subject images MH11 enters the imaging unit 62 at the timing of time t1 shown in FIG.
  • the other subject image MH11 is an image of the reflected light that has entered the imaging unit 62 at time t2.
  • the input image includes two images of the same subject. Which of these two subject images is at which time? It cannot be distinguished whether there is.
  • the motion detection unit 63 sets a desired one area in the input image of the processing target frame as the attention area AR11, and sets a predetermined rectangular area centered on the attention area AR11 as the search range SR11. That is, for the attention area AR11, a rectangular area corresponding to a motion range to be detected in the vertical and horizontal directions in the figure is set as a search area SR11 that is a search area.
  • the motion detection unit 63 uses a region having the same size as the attention region AR11 at each position in the search range SR11 as a comparison region, and performs a search (search) while moving the comparison region.
  • the search is performed in the raster scan order from the upper left comparison area CR11-1 in the figure within the search range SR11 to the lower right comparison area CR11-2 in the figure within the search range SR11.
  • the comparison area CR11 when there is no particular need to distinguish the comparison area within the search range SR11, such as the comparison area CR11-1 and the comparison area CR11-2, they are also simply referred to as the comparison area CR11.
  • the motion detection unit 63 obtains an autocorrelation coefficient between the attention area AR11 and the comparison area CR11 for each comparison area CR11.
  • the motion detection unit 63 calculates the following equation (1).
  • the autocorrelation coefficient R is calculated.
  • Xa represents the average value of the pixel values of all the pixels in the attention area AR11
  • Ya represents the average value of the pixel values of all the pixels in the comparison area CR11.
  • the autocorrelation coefficient R is the maximum value when the same area as the attention area AR11 becomes the comparison area CR11.
  • the autocorrelation coefficient R 1.
  • the comparison region CR11 where the autocorrelation coefficient R is the second largest maximum is a region where the same subject as the subject in the attention region AR11 is shown. That is, the area is shifted from the attention area AR11 by a motion vector indicating the movement of the subject in the attention area AR11.
  • the autocorrelation coefficient R of the combination of the attention area AR11 and the comparison area CR11-3 is the second largest maximum value. Therefore, the arrow (vector) connecting the center of the attention area AR11 and the center of the comparison area CR11-3, that is, the displacement of the position between the attention area AR11 and the comparison area CR11-3 is the motion vector for the attention area AR11. Become.
  • the motion detection unit 63 calculates the motion of the subject for the attention area in the input image of the processing target frame.
  • the motion is obtained from the same subject image included in the input image, that is, a double image of the subject, the magnitude of each component of the two-dimensional motion vector can be obtained, but the direction of the motion vector can be obtained. Can not.
  • the comparison region CR11-3 is obtained as a region where the autocorrelation coefficient R has the second largest maximum value with respect to the attention region AR11.
  • parts corresponding to those in FIG. 4 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.
  • a vector connecting the attention area AR11 and the comparison area CR11-3 is a motion vector.
  • the subject has moved from the position of the attention area AR11 to the position of the comparison area CR11-3 as indicated by the arrow MV11, or the subject is compared as indicated by the arrow MV12. It cannot be determined whether the region CR11-3 has moved to the attention region AR11.
  • an input image of a plurality of frames specifically, for example, an input image of a frame to be processed and an input image of a frame immediately before the frame to be processed And the direction of movement may be obtained using.
  • the motion detector 63 performs motion detection within each frame, and the magnitude of the motion vector of the subject in the input image of each frame, that is, the x direction and y direction of the motion vector. The magnitude of the component in each direction is obtained.
  • the motion detection unit 63 performs motion detection such as block matching between frames using, for example, input images of each frame 1 and frame 2, and the direction (direction) of the motion vector obtained as a result is updated to the latest.
  • the motion detection unit 63 indicates the detected motion using a motion vector obtained from the magnitude of the motion vector thus obtained, that is, the magnitude of the component in each direction and the direction (direction) of the motion vector. Let it be motion information.
  • the direction (orientation) of a motion vector that hardly changes rapidly is detected using the two most recent frames, and the magnitude of each component of the motion vector that has a large influence on the detection accuracy, that is, is fine.
  • the example in which the motion vector for one region of interest on the input image is obtained as the motion information has been described. Also good. Alternatively, one motion vector may be obtained for the entire input image and used as motion information.
  • the method for calculating the autocorrelation coefficient has been described as an example of the method for obtaining the motion vector.
  • the motion vector may be obtained by another matching method such as a gradient method.
  • the motion detection unit 63 supplies the motion vector obtained as described above to the output image generation unit 64 as motion information.
  • the output image generation unit 64 uses the motion information supplied from the motion detection unit 63 to perform motion correction for correcting, for example, the amount of motion obtained from the motion information for the input image supplied from the imaging unit 62. To generate an output image. For example, camera shake correction or the like is performed as motion correction.
  • the output image generation unit 64 is a camera shake for the input image based on the motion vector in the processing target frame estimated from the motion vector as the motion information obtained in the frame immediately before the processing target frame. Make corrections.
  • the input image of the frame to be processed is shifted in the direction opposite to the direction of the motion vector by the magnitude of the motion vector to be an output image.
  • correction for the double image included in the input image may be performed as motion correction.
  • the output image generation unit 64 performs image processing on the input image to remove one of the two images of the same subject included in the input image using the motion information, so that the output image is generated. Good.
  • the output image generation unit 64 supplies the output image generated in this way to the recorder 65 for recording, or supplies it to the monitor 26 for display.
  • the size of each component of the motion vector as the motion information can be obtained from the latest input image for one frame, that is, one input image. Thereby, the movement of the subject on the input image can be detected with higher accuracy.
  • the obtained motion information can be immediately used for the motion correction process of the next frame, and an output image can be obtained with a minimum delay.
  • the output image generation unit 64 detects the time (frame) in which the subject does not move from the motion information of the attention area obtained by the motion detection unit 63, and the image is captured at the time when the subject does not move. An output image that is an image for observing the subject may be generated from the input image. Further, when a state in which the subject does not move is detected, the signal processing circuit 32 controls the imaging unit 62 to obtain a new input image by normal light emission or the like while the subject is not moving immediately. An output image for observation may be generated from the input image.
  • the time when there is no motion is the time when the motion vector as motion information becomes 0 or substantially 0.
  • a time is, for example, a time when there is no comparison region where the autocorrelation coefficient is the second largest, or a time when the second largest maximum of the autocorrelation coefficient is equal to or less than a predetermined threshold.
  • the method of generating an output image by detecting a time when there is no movement is particularly effective when, for example, a still image without blur used for diagnosis is acquired.
  • the endoscope system 11 as described above is particularly effective when performing camera shake correction processing or acquiring a still image without movement.
  • the detection accuracy decreases due to motion blur in normal motion detection.
  • the endoscope system 11 emits pulse light during exposure, an input image with less motion blur can be acquired. It is possible to detect motion with high accuracy even for fast motion.
  • the substantial exposure time is shortened by performing pulse light emission, it is possible to detect the movement with high accuracy even for the movement that changes at high speed or the movement that vibrates at a fast cycle.
  • step S ⁇ b> 11 the light source device 23 performs pulsed light emission according to the control of the light source control unit 61. That is, the light source device 23 performs pulse light emission twice in one frame period at the timing indicated by the synchronization signal from the light source control unit 61.
  • step S12 the imaging unit 62 captures an input image based on the synchronization signal supplied from the light source control unit 61.
  • the imaging unit 62 receives incident reflected light and performs photoelectric conversion to obtain an input image.
  • the input image is a multiple exposure image including an image of a subject at the time of each pulse light emission.
  • the imaging unit 62 supplies the obtained input image to the motion detection unit 63 and the output image generation unit 64.
  • step S ⁇ b> 13 the motion detection unit 63 performs intra-frame motion detection based on the input image for one frame supplied from the imaging unit 62.
  • the motion detection unit 63 detects the comparison region having the second largest maximum value by performing the calculation of the above-described formula (1) for the attention region of the input image, and each motion vector of the processing target frame is detected. Find the size of the component.
  • step S14 the motion detection unit 63 performs inter-frame motion detection based on the input image of the processing target frame and the input image of the frame immediately before the processing target frame.
  • the motion detection unit 63 detects the direction (direction) of the motion vector by performing block matching or the like based on the input images for the latest two frames.
  • the direction of the motion vector as the motion of the subject on the input image is detected using the input images for the two most recent frames.
  • the present invention is not limited to this example, and the direction of the motion vector may be detected using a plurality of different frames, that is, a plurality of input images at different times.
  • the motion vector for the processing target frame is obtained by the processing of step S13 and step S14.
  • the motion detection unit 63 supplies the motion vector thus obtained to the output image generation unit 64 as motion information.
  • step S13 and step S14 are performed simultaneously, that is, in parallel.
  • step S15 the output image generation unit 64 performs motion correction on the input image supplied from the imaging unit 62 based on the motion information supplied from the motion detection unit 63, and generates an output image.
  • step S15 camera shake correction processing for the input image of the processing target frame is performed as motion correction based on the motion information obtained for the frame immediately before the processing target frame, and an output image is generated.
  • the process in step S15 may be performed simultaneously with the processes in step S13 and step S14. Further, the process of step S15 may be performed before the processes of step S13 and step S14 are performed.
  • motion information obtained for the processing target frame may be used to perform motion correction on the input image of the processing target frame.
  • step S16 the output image generation unit 64 outputs the output image obtained by the process in step S15 to the recorder 65 and the monitor 26, and the imaging process ends. As a result, the output image is recorded in the recorder 65 or the output image is displayed on the monitor 26.
  • the endoscope system 11 performs pulse emission a plurality of times during one frame period, and moves from the input image for one frame, in particular, detects the magnitude of each component of the motion vector. As a result, it is possible to detect motion with higher accuracy with less delay.
  • the light source device 23 may be, for example, a laser light source capable of sequentially emitting lasers of R, G, and B color components.
  • the light source device 23 sequentially emits light of each color component of R (red), G (green), and B (blue) once in a frame period. To do.
  • light emission control by the light source control unit 61 so that light of different color components, that is, light of different wavelength components, is output from the light source device 23 in each of a plurality of pulsed light emissions within a period of one frame. Is done.
  • the horizontal direction indicates time.
  • the light source device 23 has an R light source, a G light source, and a B light source, and these light sources are independently pulsed in order, whereby R component light, G component light, And B component light can be emitted in order as illumination light.
  • the part indicated by the arrow Q11 indicates a frame synchronization signal of the input image. That is, in the portion indicated by the arrow Q11, the portion protruding downward in the figure is the frame boundary position.
  • each of the portions indicated by arrows Q12 to Q14 indicates the exposure timing for each of the R component light, the G component light, and the B component light.
  • the period protruding upward in the figure is an exposure period for one frame of R component light.
  • the exposure timings of the R component light, the G component light, and the B component light are the same in each frame.
  • the part indicated by the arrow Q15 indicates the light emission timing of the pulse light emission by the light source device 23.
  • the part drawn with a solid line shows the light emission timing of the R component light from the R light source
  • the part drawn with a dotted line shows the light emission timing of the G component light with the G light source, drawn with a one-dot chain line.
  • the portion shows the light emission timing of the B component light from the B light source.
  • the period T21 indicates a period of one frame of the input image, and pulse light emission is performed three times within this period T21. That is, first, light of R color, that is, R-component illumination light is output by pulse emission at time t21, and then G-component illumination light is output by pulse emission at time t22, and then by pulse emission at time t23. B component illumination light is output.
  • the light source device 23 emits light in the order of R, B, and G once every 1/180 s. become.
  • the light of the same color is emitted at a timing of 1/60 s.
  • the imaging unit 62 exposure is performed in accordance with the light emission timing of the light source device 23.
  • the imaging surface of the imaging unit 62 has R, G, and A color filter that transmits only light of each color component of B is provided for each pixel. That is, the imaging surface of the imaging unit 62 is provided with an R pixel that receives only R component light, a G pixel that receives only G component light, and a B pixel that receives only B component light.
  • an image obtained by exposure for one frame includes an image referred to as so-called raw data (hereinafter referred to as low data) including R pixels, G pixels, and B pixels. (Referred to as an image).
  • R pixels are extracted from a raw image and subjected to interpolation processing or the like as appropriate, an R image consisting of only R pixels, that is, only having an R component value, is obtained.
  • a G pixel is extracted from a raw image and an appropriate interpolation process or the like is performed, a G image including only the G pixel is obtained.
  • a B pixel is extracted from the raw image and an interpolation process or the like is appropriately performed, the B pixel is obtained.
  • B image consisting only of is obtained.
  • an R image is obtained from an R signal that is a pixel signal output from the R pixel
  • a G image is obtained from a G signal that is a pixel signal output from the G pixel
  • a B pixel is obtained from the B signal, which is a pixel signal output from. That is, by performing demosaic processing on one raw image, plain images such as an R image, a G image, and a B image are obtained for each of the R, G, and B color components from the raw image.
  • the imaging unit 62 has pixels of each color component
  • the light emission timing of each color component is different, but the exposure period of each color component can be the same period, for example, a period of one frame. That is, by performing pulsed light emission at different timings for each color component within one frame period, a plain image for each color component including images at different times can be obtained from the captured raw image for one frame. .
  • the motion detection unit 63 performs intra-frame motion detection using these R image, G image, and B image of the same frame, and detects the motion of the subject in the region of interest.
  • three plane images ie, an R image P11, a G image P12, and a B image P13 are obtained by imaging in a period of one frame.
  • the subject image MH21-1 is observed in the R image P11
  • the subject image MH21-2 is observed in the G image P12
  • the subject image MH21-3 is observed in the B image P13.
  • These subject images MH21-1 to MH21-3 are images of the same subject at different times.
  • the subject images MH21-1 to MH21-3 are also simply referred to as subject images MH21 when it is not necessary to distinguish them.
  • the R image P11 to the B image P13 are images of images at different times, when the images are superimposed, for example, the subject image MH21 observed in each image is slightly shifted as shown in the lower side in the figure. I understand that
  • the motion detection unit 63 uses the R image P11 to the B image P13 to obtain a motion vector of the attention area AR21 by, for example, a general motion detection method.
  • the motion detection unit 63 selects a comparison region where the autocorrelation coefficient with the target region AR21 is the maximum for each desired target region AR21 on the R image P11 in each of the G image P12 and the B image P13. Detect from.
  • the motion detection unit 63 includes the attention area AR21 on the R image P11, the comparison area where the autocorrelation coefficient is maximized on the G image P12, and the comparison area where the autocorrelation coefficient is maximized on the B image P13.
  • the motion vector of the subject in the attention area AR21 is obtained from the positional relationship with
  • a motion vector can be calculated from only one frame of information.
  • step S41 the light source device 23 performs pulse emission for each of the R, G, and B color components in accordance with the control of the light source control unit 61.
  • the light source device 23 performs pulse light emission for a total of three times, once for each color in the order of R, B, and G in one frame period at the timing indicated by the synchronization signal from the light source control unit 61.
  • step S42 the imaging unit 62 captures an input image based on the synchronization signal supplied from the light source control unit 61. That is, the imaging unit 62 captures a raw image as an input image by receiving and photoelectrically converting incident reflected light. Then, the imaging unit 62 obtains, as a plain image, an R image made up of only R pixels, a G image made up of only G pixels, and a B image made up of only B pixels based on the low image, and a plain image of each of these color components.
  • a raw image may be output as an input image
  • a plain image of each color component may be generated from the raw image in the subsequent output image generation unit 64 or the like.
  • step S43 the motion detection unit 63 performs intra-frame motion detection based on the input image for one frame supplied from the imaging unit 62, that is, the R image, the G image, and the B image for one frame, thereby performing a motion vector. And the motion vector is supplied to the output image generation unit 64 as motion information.
  • step S44 and step S45 are performed thereafter, and the imaging processing ends. However, these processing are the same as the processing of step S15 and step S16 in FIG. Omitted.
  • step S44 for example, each of the color component plane images as the input image is subjected to camera shake correction processing as motion correction, and R, G obtained by combining the plane images of each color component subjected to camera shake correction. , And B, a color output image having pixels of each color component is generated.
  • the endoscope system 11 emits pulses at different timings for each of a plurality of colors in one frame period, detects a motion from an input image for one frame, and uses the detection result to output an output image. Is generated. As a result, it is possible to detect motion with higher accuracy with less delay.
  • ⁇ Third Embodiment> ⁇ About motion detection>
  • a detection image may be different images. More specifically, the input image and the detection image may be images of the same moving image at different times.
  • a period for motion detection that is, a field for a detection image
  • a period for normal light that is, a field for an input image
  • FIG. 11 parts corresponding to those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.
  • the horizontal direction indicates time
  • the downward arrow in FIG. 11 indicates the light emission timing of the light source device 23.
  • the period of one frame of the input image is divided into two consecutive fields. That is, for example, the period T31 is a period of one frame of the input image, and the period T31 is divided into two periods T41 and T42.
  • the period T41 is a period for one field for obtaining an input image, that is, a period for exposing the input image.
  • the light source device 23 normally emits white light. That is, the light source device 23 continues to irradiate the subject with white light during the period T41.
  • the light source device 23 is a laser light source that emits white light as in the first embodiment.
  • the light source device 23 emits illumination light during normal light emission and illumination light for motion detection.
  • the light source that emits pulse light may be a different light source.
  • the amount of light is reduced compared to the case where white light is continuously emitted during the exposure period. May be insufficient.
  • a half period T41 of the period T31 for one frame of the input image is set as one field period, and white light is continuously output from the light source device 23 during this one field period.
  • the period T41 is a period for exposing the input image.
  • a period of one field in which the light source device 23 emits light twice is emitted in the same manner as in the first embodiment. That is, in the period T42, the light source device 23 is first pulse-emitted at time t31 to irradiate the subject with white light, and then the light source device 23 is pulse-emitted again at time t32 to irradiate the subject with white light.
  • the period T42 for one field where the pulse light emission is performed twice is not the exposure period of the input image but the exposure period of the detection image for detecting the movement of the subject (attention area).
  • the frame rate of the output image is 60 fps
  • the length of the period T31 for one frame is 1/60 s
  • the period T41 and the period T42 are each 1/120 s.
  • a period for obtaining an input image and a period for obtaining an image for detection are each set as one frame period, and these periods are alternated. You may make it provide in.
  • the first exposure period frame that continuously outputs white light is used as the input image, and the second light that emits white light pulsed multiple times is used.
  • An exposure period frame is used as a detection image.
  • a period of one frame including a period of one field for obtaining an input image and a period of one field for obtaining an image for detection following that period is a continuous time.
  • Light emission control and imaging control are performed so as to line up in the direction. In other words, light emission control and imaging control are performed so that a field for obtaining an input image and a field for obtaining a detection image are alternately arranged.
  • an image captured by the imaging unit 62 is used as an input image and supplied to the output image generation unit 64.
  • the image captured by the imaging unit 62 is supplied to the motion detection unit 63 as a detection image.
  • the motion detection unit 63 calculates a motion vector from the supplied detection image in the same manner as in the first embodiment, and the obtained motion vector is supplied to the output image generation unit 64 as motion information.
  • motion correction such as camera shake correction processing is appropriately performed on the input image supplied from the imaging unit 62 based on the motion information supplied from the motion detection unit 63, and the output image Is generated.
  • step S ⁇ b> 71 the light source device 23 performs normal light emission according to the control of the light source control unit 61. That is, the light source device 23 continuously emits light for a period of one field at the timing indicated by the synchronization signal from the light source control unit 61 and irradiates the subject with white light.
  • step S72 the imaging unit 62 captures an input image based on the synchronization signal supplied from the light source control unit 61, and supplies the obtained input image to the output image generation unit 64.
  • step S ⁇ b> 73 the light source device 23 performs pulse light emission according to the control of the light source control unit 61. That is, in step S73, processing similar to that in step S11 in FIG. 7 is performed, and pulse light emission is performed twice during one field period.
  • step S ⁇ b> 74 the imaging unit 62 captures a detection image based on the synchronization signal supplied from the light source control unit 61.
  • the imaging unit 62 receives and photoelectrically converts the reflected light that is incident with the whole or part of one field period in which pulse light emission is performed as an exposure period, and obtains a detection image.
  • the detection image is a multiple exposure image including an image of a subject at the time of each pulse light emission.
  • the imaging unit 62 supplies the obtained detection image to the motion detection unit 63.
  • step S75 to step S78 is performed thereafter, and the imaging processing is terminated. Since it is the same as the process of S13 thru
  • step S75 and step S76 intra-frame motion detection and inter-frame motion detection are performed based on the detection image to obtain motion information. Moreover, the process of step S75 and step S76 is performed in parallel. Further, in step S77, motion correction is performed on the input image, and an output image is generated.
  • the endoscope system 11 obtains an input image by performing normal light emission in the first half of one frame period in one frame period, and emits pulse light in the second half of one frame period. To obtain an image for detection.
  • the endoscope system 11 detects a motion from the detection image, and generates an output image using the detection result and the input image. As a result, it is possible to detect motion with higher accuracy with less delay.
  • ⁇ Fourth embodiment> ⁇ About motion detection>
  • basic light emission is basically performed, and pulse light emission is temporarily performed as necessary. You may do it.
  • FIG. 13 it is possible to switch between normal light emission and pulse light emission in units of frames, and an input image may be obtained by interpolation processing in a frame in which pulse light emission is performed.
  • FIG. 13 portions corresponding to those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.
  • the horizontal direction indicates time
  • the downward arrow in FIG. 13 indicates the light emission timing of the light source device 23.
  • a first exposure period in which white light is continuously output and a second exposure period in which white light is pulsed a plurality of times are provided.
  • the frame image of the first exposure period is used as the input image
  • the frame image of the second exposure period is used as the detection image.
  • some frames of the captured moving image are used as input images, and some other frames are used as detection images. It is also referred to as taking a detection image.
  • the light source device 23 continuously emits white light (normal light emission), for example, similarly to the period T41 in FIG. 11, and this period T51 is used for exposure of the input image. Period. That is, when the period T51 ends, an input image for one frame is obtained.
  • the light source device 23 emits light twice as in the period T42 in FIG. 11, and a detection image is captured.
  • the period T52 is a period in which pulse light emission is performed twice during the exposure period, and an image for one frame obtained in the period T52 is used as a detection image.
  • the light source device 23 In each of the four one-frame periods following the period T52, the light source device 23 normally emits white light, and an input image of each frame is captured. In the subsequent one-frame period T53, similarly to the period T52, The light source device 23 emits pulses twice, and a detection image is captured.
  • a frame in which pulsed light emission is partially performed is inserted between frames in which normal light emission is performed.
  • the intervals between the frames (exposure periods) in which pulse light emission is inserted between the frames in which normal light emission is performed may be equal intervals or unequal intervals.
  • the signal processing circuit 32 controls the imaging unit 62 and the light source control unit 61 according to a user's operation input, etc. It may be possible to insert a frame for performing. That is, the signal processing circuit 32 may be switched between capturing an input image or capturing a detection image at an arbitrary timing.
  • the output image generation unit 64 generates an output image from an input image for one frame obtained by imaging in a frame that normally emits light, such as the period T51.
  • the motion detection unit 63 obtains a motion vector from the detection image and uses it as motion information by the same method as in the first embodiment.
  • a detection image of a past frame that has been subjected to pulsed light emission that is closest to the frame that performs pulsed light emission to be processed may be used, or may be a processing target.
  • An input image of a frame that performs normal light emission that is temporally adjacent to a frame that performs pulse light emission may be used.
  • the output image generation unit 64 performs motion compensation on the input image of the frame of the period T51 using the motion information obtained from the frame of the period T52 supplied from the motion detection unit 63, An input image of a frame of period T52 is generated.
  • the generation of the input image of the frame in the period T52 may be performed using the input images of a plurality of frames adjacent before and after the frame. For example, even if motion compensation using motion information, that is, interpolation processing, is performed from the input image of the frame of the period T51 and the input image of the frame immediately after the frame of the period T52, the input image of the frame of the period T52 is generated. Good.
  • motion compensation using motion information that is, interpolation processing
  • the motion information of that frame or the motion information of the past frame closest to that frame is used.
  • step S101 the light source control unit 61 determines whether or not the current frame to be processed is a motion detection frame, that is, whether or not it is a frame that performs pulsed light emission.
  • step S101 If it is determined in step S101 that the frame is for motion detection, the process proceeds to step S102, and the processes of steps S102 to S105 are performed to capture a detection image and generate motion information. Note that the processing from step S102 to step S105 is the same as the processing from step S73 to step S76 in FIG.
  • step S106 the output image generation unit 64 performs an interpolation process on the current frame to be processed based on the motion information obtained in step S105 and the input image supplied from the imaging unit 62, thereby processing the current frame to be processed. Are generated as an output image.
  • step S110 For example, in the interpolation process, at least the input image of the frame immediately before the current frame is used.
  • the process proceeds to step S110.
  • step S101 If it is determined in step S101 that the frame is not a motion detection frame, that is, a frame that performs normal light emission, the process proceeds to step S107.
  • step S107 to step S109 is performed, and an output image of the current frame to be processed is generated.
  • the processing in steps S107 to S109 is the same as the processing in steps S71, S72, and S77 in FIG.
  • step S109 the motion information obtained in the frame that performs the pulse emission closest in time before the current frame to be processed, that is, the motion information obtained in the last step S105 is used. Motion correction is performed.
  • step S109 When motion correction is performed in step S109 and an output image is obtained, the process proceeds to step S110.
  • step S110 the output image generation unit 64 outputs the obtained output image to the recorder 65 and the monitor 26, and the imaging process ends. As a result, the output image is recorded in the recorder 65 or the output image is displayed on the monitor 26.
  • the endoscope system 11 performs normal light emission in a normal frame to obtain an input image, and performs pulse light emission in an appropriately inserted frame to obtain a detection image.
  • the endoscope system 11 detects a motion from the detection image and generates an output image using the detection result and the input image. As a result, it is possible to detect motion with higher accuracy with less delay.
  • FIG. 15 it is possible to continuously perform normal light emission during each frame period and to perform pulse light emission twice per frame.
  • the horizontal direction indicates time
  • the downward arrow in FIG. 15 indicates the light emission timing of the light source device 23.
  • the light source device 23 performs pulse light emission with a laser light source that normally emits light and outputs white light as illumination light, that is, an RGB laser light source that includes an R light source, a G light source, and a B light source. And an infrared laser light source for outputting the infrared light.
  • a laser light source that normally emits light and outputs white light as illumination light
  • an RGB laser light source that includes an R light source, a G light source, and a B light source.
  • an infrared laser light source for outputting the infrared light.
  • the infrared laser light source is a laser light source capable of emitting pulsed infrared light having a wavelength of 850 nm, for example.
  • white light as illumination light does not contain infrared light components, and laser light sources that output such white light are not limited to RGB laser light sources, but other light sources such as xenon light sources and LED light sources. It may be.
  • the period T61 is a period of one frame of the input image and the detection image, and white light is normally emitted continuously during this period T61.
  • infrared light is emitted twice.
  • pulse light emission is performed at each of two times, time t61 and time t62, and the subject is irradiated with infrared light.
  • the white light and infrared light are separated on the imaging unit 62 side, that is, the camera head 22 side.
  • An optical system and a sensor (imaging unit) that receives each of white light and infrared light are required.
  • the imaging unit 62 is configured in more detail, for example, as shown in FIG. In FIG. 16, the same reference numerals are given to portions corresponding to those in FIG. 2, and description thereof will be omitted as appropriate.
  • the imaging unit 62 is provided with a separation element 101, a mirror 102, a visible light sensor 103, and an infrared sensor 104.
  • white light reflected by normal light emission and infrared light reflected by pulse light are incident on the separation element 101 from the subject during each frame period.
  • the separation element 101 includes, for example, a prism, a dichroic mirror, a half mirror, and the like, and optically separates reflected light incident from a subject.
  • the mirror 102 is composed of, for example, a total reflection mirror or the like, and reflects the light incident from the separation element 101 so as to enter the infrared sensor 104.
  • the visible light sensor 103 is composed of an image sensor having a plurality of pixels that receive visible light and perform photoelectric conversion.
  • the visible light sensor 103 receives white light incident from the separation element 101 and performs photoelectric conversion to obtain an input image.
  • the input image is supplied to the output image generation unit 64.
  • the visible light sensor 103 functions as an imaging unit that captures an input image for obtaining an output image for observation.
  • Each pixel of the visible light sensor 103 is provided with an infrared cut filter that blocks infrared light, and only the visible light component of the light incident on the visible light sensor 103, that is, the white light component is the pixel.
  • the photodiodes receive light.
  • the infrared sensor 104 is composed of an image sensor having a plurality of pixels that receive infrared light and perform photoelectric conversion.
  • the infrared sensor 104 receives infrared light incident from the mirror 102 and performs photoelectric conversion to capture a detection image. Then, the obtained detection image is supplied to the motion detection unit 63.
  • the infrared sensor 104 functions as an imaging unit that captures a detection image used for motion detection.
  • Each pixel of the infrared sensor 104 is provided with a visible light cut filter that blocks visible light, and only the infrared light component of the light incident on the infrared sensor 104 is received by the photodiode of the pixel. It is made so that.
  • the separation element 101 when the separation element 101 is composed of a prism or a dichroic mirror, the separation element 101 transmits the white light component of the reflected light incident from the subject, that is, the visible light component and makes it incident on the visible light sensor 103 and the subject.
  • the infrared light component of the reflected light incident from is reflected.
  • the infrared light reflected by the separation element 101 and incident on the mirror 102 is reflected by the mirror 102 and enters the infrared sensor 104.
  • an input image of visible light is obtained by the visible light sensor 103 and an image for detection of infrared light is obtained by the infrared sensor 104.
  • the separation element 101 when the separation element 101 is formed of a half mirror, the separation element 101 transmits a part of the light incident from the subject to be incident on the visible light sensor 103, and the remaining light, that is, other incident light Reflect some light. At this time, the light reflected by the separation element 101 and incident on the mirror 102 is reflected by the mirror 102 and enters the infrared sensor 104.
  • the infrared sensor 104 receives light. Thereby, the infrared sensor 104 obtains an infrared light detection image.
  • step S141 the light source device 23 performs normal light emission for one frame period, continuously irradiates the subject with white light as illumination light, and emits light twice at a predetermined timing in one frame period. Irradiate the subject with infrared light.
  • the light source control unit 61 controls the RGB laser light source as the light source device 23 to continuously output white light during the exposure period of the input image, and also controls the infrared laser light source as the light source device 23.
  • infrared light having a wavelength component different from that of white light is output by two-time pulse emission.
  • the exposure period of the input image and the exposure period of the detection image are the same period, but the exposure period of the detection image, that is, the period in which the pulse emission is performed twice depends on the RGB laser light source. Any period including at least a part of the exposure period of the input image in which normal light emission is performed may be used.
  • the subject is irradiated with only white light or white light and infrared light at each time of one frame period.
  • the reflected light generated by irradiating the subject with white light or infrared light is incident on the separation element 101 of the imaging unit 62.
  • the white light of the reflected light passes through the separation element 101 and is visible light sensor. 103 is incident.
  • infrared light of the reflected light is reflected by the separation element 101 and the mirror 102 and enters the infrared sensor 104.
  • step S142 the visible light sensor 103 of the imaging unit 62 receives the incident white light and performs photoelectric conversion to capture an input image, and supplies the obtained input image to the output image generation unit 64.
  • step S ⁇ b> 143 the infrared sensor 104 of the imaging unit 62 receives the incident infrared light and performs photoelectric conversion to capture a detection image, and supplies the obtained detection image to the motion detection unit 63. . Note that the processes in step S142 and step S143 are performed simultaneously.
  • step S144 to step S147 After the input image and the detection image are obtained, the processing from step S144 to step S147 is performed and the imaging processing ends. However, these processing are the same as the processing from step S75 to step S78 in FIG. The description is omitted. However, the processes in steps S144 and S145 are performed in parallel, and in step S146, motion correction is performed on the input image based on the motion information obtained from the detection image.
  • the endoscope system 11 obtains an input image and a detection image by simultaneously performing normal light emission and pulse light emission in one frame period. Then, the endoscope system 11 detects a motion from the detection image and generates an output image using the detection result and the input image. As a result, it is possible to detect motion with higher accuracy with less delay.
  • the endoscope system 11 irradiates the vocal cord as a subject with illumination light by pulse light emission, and detects the vibration period of the vocal cord, that is, the vibration frequency based on the input image obtained by imaging the vocal cord.
  • a static vocal cord image can be obtained as an output image.
  • an image of a stationary vocal cord can be obtained more easily by causing the light source device 23 to emit light in a pulse with the same cycle as that of the detected vocal cord vibration, that is, in synchronization with the vocal cord vibration and performing strobe irradiation Can do.
  • the functional configuration of the endoscope system 11 is, for example, as shown in FIG. In FIG. 18, portions corresponding to those in FIG. 2 are denoted by the same reference numerals, and description thereof will be omitted as appropriate.
  • the endoscope system 11 includes a light source control unit 61, a light source device 23, an imaging unit 62, a period detection unit 141, and an output image generation unit 142.
  • the light source control unit 61 corresponds to, for example, the light source control device 31 shown in FIG. 1, and the imaging unit 62 corresponds to the camera head 22 shown in FIG. Further, the cycle detection unit 141 is realized by the detection unit 33 in FIG. 1, and the output image generation unit 142 is realized by the signal processing circuit 32 in FIG.
  • the light source device 23 emits pulses in a predetermined cycle under the control of the light source control unit 61, and irradiates the subject with the pulsed light as illumination light.
  • the light source device 23 is controlled so as to emit pulses several times during one frame period of the input image.
  • the illumination light When the illumination light is irradiated to the vocal cord as a subject by the light source device 23, the illumination light is reflected by the vocal cord and becomes reflected light and enters the imaging unit 62.
  • the imaging unit 62 receives reflected light from the vocal cords and performs photoelectric conversion to capture an input image having the vocal cords as a subject, and supplies the obtained input image to the period detection unit 141 and the output image generation unit 142. .
  • the period detection unit 141 detects the vocal cord vibration period, that is, the frequency of the vocal cord vibration, as the subject movement based on the input image supplied from the imaging unit 62 at each time, and the detection result is the detection result of the vocal cord movement. Is supplied to the light source controller 61 as motion information indicating the above.
  • the light source device 23 emits pulses several times during one frame period of the input image, and the vocal cords vibrate several times during one frame period. Therefore, multiple exposure is performed when an input image is captured, and the input image includes a plurality of images of the same subject.
  • the input image P41 shown in FIG. 19 is a high-contrast image without blurring of the vocal cord image that is the subject. In other words, an input image P41 is obtained that is picked up as if the vocal cord as a subject is still.
  • the position of the vocal cord (subject) image on the input image is also displaced.
  • An image with a low contrast such as the input image P42 is obtained.
  • the position of the vocal cords at each pulse emission timing will be different when performing pulse emission multiple times during one frame period.
  • the position of the vocal cord image on the image P42 is also different. That is, a low-contrast image with blurring including a multiple image as the input image P42 is obtained.
  • the period detection unit 141 detects the movement of the vocal cords, that is, the frequency of the vocal cords, using the relationship between the degree of coincidence of the frequencies and the contrast of the input image.
  • the period detection unit 141 calculates a contrast evaluation value indicating the degree of contrast of the input image obtained for each frequency of pulse emission, and the contrast evaluation value is calculated from the contrast evaluation value obtained for each frequency. Detect peak value. Then, the period detection unit 141 uses the frequency of pulsed light emission when the contrast evaluation value reaches the peak value as the frequency of the vocal cord vibration, and information indicating the frequency or period is the detection result of the movement of the vocal cord as the subject. This is supplied to the light source controller 61 as certain motion information. The light source control unit 61 changes the frequency of pulse emission, that is, the cycle according to the motion information supplied from the cycle detection unit 141, and causes the light source device 23 to perform the light emission operation at the cycle after the change.
  • pulse light emission is performed by the light source device 23 at a plurality of different periods while gradually changing the frequency (period) of strobe irradiation, that is, pulse light emission. Then, the frequency of the vocal cords is detected from the contrast evaluation value obtained for each of a plurality of different frequencies (cycles).
  • a pulse emission control method is a control method similar to the contrast-type autofocus control in which the lens position is detected by moving the lens and the contrast evaluation value reaches a peak. The frequency of vocal cord vibration can be detected with high accuracy.
  • the endoscope system 11 When the vocal cord frequency is detected as described above, the endoscope system 11 then performs pulse emission at the same frequency as the detected frequency indicated by the motion information to capture an input image, and blurs it. Get an output image of no stationary vocal cords.
  • the input image captured by the imaging unit 62 is supplied to the output image generation unit 142.
  • the output image generation unit 142 generates and outputs an output image by performing predetermined processing such as gain adjustment processing on the input image supplied from the imaging unit 62.
  • the output image thus obtained is a still vocal cord image without blur.
  • step S181 the light source control unit 61 determines a new pulse emission frequency based on the pulse emission frequency so far.
  • a predetermined frequency is set as the pulse light emission frequency. For example, when the pulse emission frequency has been gradually increased until now, but no motion information has been supplied yet, that is, when the vocal cord frequency has not yet been detected, a higher frequency is set as the new pulse emission frequency. Is done.
  • step S182 the light source device 23 performs pulse light emission. That is, the light source control unit 61 controls the light source device 23 so that pulse light emission is performed at the frequency determined in step S181, and the light source device 23 performs pulse light emission at a predetermined frequency according to the control of the light source control unit 61.
  • the illumination light is periodically irradiated to the vocal cord that is the subject in the period of one frame of the input image. The illumination light is reflected by the vocal cords and becomes reflected light, and enters the imaging unit 62. At this time, the subject continuously generates a sound of a certain level.
  • step S183 the imaging unit 62 captures an input image for one frame, for example, by receiving and photoelectrically converting the reflected light incident from the vocal cords.
  • the imaging unit 62 supplies an input image obtained by imaging to the period detection unit 141.
  • step S184 the period detection unit 141 detects the movement of the vocal cord that is the subject based on the input image supplied from the imaging unit 62.
  • the period detection unit 141 calculates the contrast evaluation value based on the input image, and detects the peak value of the contrast evaluation value from the contrast evaluation values calculated so far.
  • step S185 the cycle detection unit 141 determines whether or not the vocal cord frequency is detected based on the motion detection result in step S184, that is, the detection result of the peak value of the contrast evaluation value. For example, when the peak value of the contrast evaluation value is detected, it is determined that the frequency of the vocal cord has been detected.
  • step S185 If it is determined in step S185 that the vocal cord frequency has not yet been detected, the process returns to step S181, and the above-described process is repeated. In this case, imaging is performed with the frequency of pulse emission changed, and a contrast evaluation value is calculated.
  • the period detection unit 141 determines the pulse emission frequency when the contrast evaluation value that is the peak value is obtained, as the vocal cord frequency. Specifically, the frequency of vocal cord vibration. Then, the period detector 141 supplies information indicating the frequency of the vocal cord vibration to the light source controller 61 as motion information indicating the motion detection result, and the process proceeds to step S186. In the period detection unit 141, the frequency of pulse emission at the light source device 23 at each time is known.
  • step S186 the light source control unit 61 controls the light source device 23 so that pulse emission is performed at the frequency of the pulse emission to be performed as the frequency of the vocal cords indicated by the motion information.
  • step S187 the light source device 23 performs pulsed light emission under the control of the light source control unit 61.
  • pulsed emission of the illumination light is performed at a frequency that matches the frequency of the vocal cord vibration.
  • step S188 the imaging unit 62 receives the reflected light incident from the vocal cords and performs photoelectric conversion to capture an input image, and supplies the obtained input image to the output image generation unit 142.
  • step S189 the output image generation unit 142 generates and outputs an output image based on the input image supplied from the imaging unit 62, and the imaging process ends. For example, necessary processing such as white balance adjustment and gain adjustment is appropriately performed on the input image to obtain an output image.
  • the output image output from the output image generation unit 142 is displayed on the monitor 26 or recorded on a recorder, for example.
  • the endoscope system 11 performs pulse light emission a plurality of times in one frame period while changing the frequency, obtains the contrast evaluation value of the input image obtained by imaging, and detects the frequency of the vocal cord vibration. To do.
  • the endoscope system 11 captures an input image by performing pulse emission at the detected frequency, thereby obtaining an output image of a stationary vocal cord without movement.
  • the endoscope system 11 it is not necessary to pick up the voice uttered by the subject, and the frequency of the vocal cord vibration is detected from the contrast of the image. Therefore, the vibration of the vocal cord is simply and highly accurate with a simple configuration. Frequency can be detected.
  • the frequency of the vocal cord vibration is detected again while the input image is captured, and the frequency of the pulse emission is adjusted. By doing so, it is possible to follow the change in the voice level of the subject.
  • a moving image as if the vocal cord is slowly vibrating that is, the state of the vocal cord vibration is slowly reproduced.
  • Such a moving image can be obtained as an output image.
  • the horizontal axis indicates time
  • the vertical axis indicates the position of the vocal cords.
  • the curve L11 indicates the position of the vocal cords at each time.
  • Each circle in FIG. 21 indicates the pulse emission timing, and a curve L12 indicates the position of the vocal cords observed at each time on the output image.
  • the endoscope system 11 emits pulses at a constant frequency different from the frequency of the vocal cords.
  • the position of the vocal cords on the input image becomes the position indicated by the position of each circle on the curve L11.
  • the position of the vocal cords at each time observed on the output image that is a moving image is represented by the curve L12. It will be the position shown. Therefore, it can be said that the curve L12 is a curve representing the apparent vibration period (frequency) of the vocal cords on the output image.
  • a frequency shifted by a predetermined value from the frequency of the detected vocal cords may be set as the pulse emission frequency. At this time, it is possible to adjust the speed of movement of the vocal cords reproduced on the output image to a desired speed by appropriately controlling the frequency of pulse emission.
  • vocal cord observation that is, laryngeal stroboscopic copying is performed using the endoscope system 11
  • the voice of the subject is picked up, and the stationary vocal cord is used without using a configuration for detecting the frequency of the voice. It is also possible to observe a slowly moving vocal cord. In addition, observation that can be followed even if the subject changes the pitch on the way is possible.
  • the present technology described above is effective for detecting the propagation speed of blood vessel pulsations, detecting motion of speckle imaging using a laser, and the like for a motion that is much faster than the time of the frame interval. .
  • FIG. 22 is a diagram illustrating an example of a schematic configuration of an endoscopic surgery system 500 to which the technology according to the present disclosure can be applied.
  • FIG. 22 shows a state where an operator (doctor) 567 is performing an operation on a patient 571 on a patient bed 569 using the endoscopic operation system 500.
  • an endoscopic surgery system 500 includes an endoscope 501, other surgical tools 517, a support arm device 527 that supports the endoscope 501, and various devices for endoscopic surgery. And a cart 537 on which is mounted.
  • trocars 525a to 525d are punctured into the abdominal wall.
  • the lens barrel 503 of the endoscope 501 and other surgical tools 517 are inserted into the body cavity of the patient 571 from the trocars 525a to 525d.
  • an insufflation tube 519, an energy treatment tool 521, and forceps 523 are inserted into the body cavity of the patient 571.
  • the energy treatment tool 521 is a treatment tool that performs tissue incision and separation, blood vessel sealing, and the like by high-frequency current and ultrasonic vibration.
  • the illustrated surgical tool 517 is merely an example, and as the surgical tool 517, for example, various surgical tools generally used in endoscopic surgery such as a lever and a retractor may be used.
  • the image of the surgical site in the body cavity of the patient 571 captured by the endoscope 501 is displayed on the display device 541.
  • the surgeon 567 performs a treatment such as excision of the affected part using the energy treatment tool 521 and the forceps 523 while viewing the image of the surgical part displayed on the display device 541 in real time.
  • the pneumoperitoneum tube 519, the energy treatment tool 521, and the forceps 523 are supported by an operator 567 or an assistant during the operation.
  • the support arm device 527 includes an arm portion 531 extending from the base portion 529.
  • the arm portion 531 includes joint portions 533 a, 533 b, 533 c and links 535 a, 535 b and is driven by control from the arm control device 545.
  • the endoscope 501 is supported by the arm portion 531 and its position and posture are controlled. Thereby, the stable position fixing of the endoscope 501 can be realized.
  • the endoscope 501 includes a lens barrel 503 in which a region having a predetermined length from the distal end is inserted into the body cavity of the patient 571, and a camera head 505 connected to the proximal end of the lens barrel 503.
  • a lens barrel 503 in which a region having a predetermined length from the distal end is inserted into the body cavity of the patient 571
  • a camera head 505 connected to the proximal end of the lens barrel 503.
  • an endoscope 501 configured as a so-called rigid mirror having a rigid lens barrel 503 is illustrated, but the endoscope 501 is configured as a so-called flexible mirror having a flexible lens barrel 503. Also good.
  • a light source device 543 is connected to the endoscope 501, and the light generated by the light source device 543 is guided to the tip of the lens barrel by a light guide extending inside the lens barrel 503, and the objective Irradiation is performed toward the observation target in the body cavity of the patient 571 through the lens.
  • the endoscope 501 may be a direct endoscope, a perspective mirror, or a side endoscope.
  • An optical system and an image sensor are provided inside the camera head 505, and reflected light (observation light) from the observation target is condensed on the image sensor by the optical system. Observation light is photoelectrically converted by the imaging element, and an electrical signal corresponding to the observation light, that is, an image signal corresponding to the observation image is generated.
  • the image signal is transmitted to a camera control unit (CCU: Camera Control Unit) 539 as RAW data.
  • the camera head 505 is equipped with a function of adjusting the magnification and the focal length by appropriately driving the optical system.
  • a plurality of imaging elements may be provided in the camera head 505 in order to cope with, for example, stereoscopic vision (3D display).
  • a plurality of relay optical systems are provided inside the lens barrel 503 in order to guide observation light to each of the plurality of imaging elements.
  • the CCU 539 is configured by a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and the like, and comprehensively controls operations of the endoscope 501 and the display device 541. Specifically, the CCU 539 performs various types of image processing for displaying an image based on the image signal, such as development processing (demosaic processing), for example, on the image signal received from the camera head 505. The CCU 539 provides the display device 541 with the image signal subjected to the image processing. Further, the CCU 539 transmits a control signal to the camera head 505 to control the driving thereof.
  • the control signal can include information regarding imaging conditions such as magnification and focal length.
  • the display device 541 displays an image based on an image signal subjected to image processing by the CCU 539 under the control of the CCU 539.
  • the endoscope 501 is compatible with high-resolution imaging such as 4K (horizontal pixel number 3840 ⁇ vertical pixel number 2160) or 8K (horizontal pixel number 7680 ⁇ vertical pixel number 4320), and / or 3D display
  • high-resolution imaging such as 4K (horizontal pixel number 3840 ⁇ vertical pixel number 2160) or 8K (horizontal pixel number 7680 ⁇ vertical pixel number 4320)
  • 3D display In the case of the display device 541, a display device 541 that can display a high resolution and / or can display a 3D image can be used.
  • 4K or 8K high-resolution imaging a more immersive feeling can be obtained by using a display device 541 having a size of 55 inches or more.
  • a plurality of display devices 541 having different resolutions and sizes may be provided depending on applications.
  • the light source device 543 is composed of a light source such as an LED, for example, and supplies irradiation light to the endoscope 501 when photographing the surgical site.
  • the arm control device 545 is configured by a processor such as a CPU, for example, and operates according to a predetermined program to control driving of the arm portion 531 of the support arm device 527 according to a predetermined control method.
  • the input device 547 is an input interface for the endoscopic surgery system 500.
  • the user can input various information and instructions to the endoscopic surgery system 500 via the input device 547.
  • the user inputs various types of information related to the operation, such as the patient's physical information and information about the surgical technique, via the input device 547.
  • the user instructs the arm unit 531 to be driven via the input device 547 or the instruction to change the imaging conditions (type of irradiation light, magnification, focal length, etc.) by the endoscope 501.
  • An instruction to drive the energy treatment instrument 521 is input.
  • the type of the input device 547 is not limited, and the input device 547 may be various known input devices.
  • the input device 547 for example, a mouse, a keyboard, a touch panel, a switch, a foot switch 557, and / or a lever can be applied.
  • the touch panel may be provided on the display surface of the display device 541.
  • the input device 547 is a device worn by a user, such as a glasses-type wearable device or an HMD (Head-Mounted Display), and various types of input are performed according to the user's gesture and line of sight detected by these devices. Is done.
  • the input device 547 includes a camera capable of detecting the user's movement, and various inputs are performed according to the user's gesture and line of sight detected from the video captured by the camera. Further, the input device 547 includes a microphone capable of collecting a user's voice, and various inputs are performed by voice through the microphone.
  • the input device 547 is configured to be able to input various kinds of information without contact, so that a user belonging to the clean area (for example, the surgeon 567) operates a device belonging to the unclean area in a non-contact manner. Is possible.
  • the user since the user can operate the device without releasing his / her hand from the surgical tool he / she has, the convenience for the user is improved.
  • the treatment instrument control device 549 controls the drive of the energy treatment instrument 521 for tissue ablation, incision, blood vessel sealing, or the like.
  • the pneumoperitoneum device 551 gas enters the body cavity via the pneumothorax tube 519.
  • the recorder 553 is a device that can record various types of information related to surgery.
  • the printer 555 is a device that can print various types of information related to surgery in various formats such as text, images, or graphs.
  • the correspondence relationship between the endoscopic surgery system 500 shown in FIG. 22 and the endoscope system 11 shown in FIG. 1 is as follows. That is, the lens barrel 503 corresponds to the scope 21, and the camera head 505 corresponds to the camera head 22.
  • the light source device 543 corresponds to the light source device 23
  • the camera control unit 539 corresponds to the camera control unit 24
  • the input device 547 corresponds to the operation input device 25
  • the display device 541 corresponds to the monitor 26.
  • the endoscopic surgery system 500 to which the technology according to the present disclosure can be applied has been described.
  • the endoscopic surgery system 500 has been described as an example, but a system to which the technology according to the present disclosure can be applied is not limited to such an example.
  • the technology according to the present disclosure may be applied to a testing flexible endoscope system or a microscope operation system.
  • the above-described series of processing can be executed by hardware or can be executed by software.
  • a program constituting the software is installed in the computer.
  • the computer includes, for example, a general-purpose computer capable of executing various functions by installing a computer incorporated in dedicated hardware and various programs.
  • FIG. 23 is a block diagram showing an example of the hardware configuration of a computer that executes the above-described series of processing by a program.
  • a CPU 601 In the computer, a CPU 601, a ROM (Read Only Memory) 602, and a RAM (Random Access Memory) 603 are connected to each other via a bus 604.
  • a bus 604. In the computer, a CPU 601, a ROM (Read Only Memory) 602, and a RAM (Random Access Memory) 603 are connected to each other via a bus 604.
  • an input / output interface 605 is connected to the bus 604.
  • An input unit 606, an output unit 607, a recording unit 608, a communication unit 609, and a drive 610 are connected to the input / output interface 605.
  • the input unit 606 includes a keyboard, a mouse, a microphone, an image sensor, and the like.
  • the output unit 607 includes a display, a speaker, and the like.
  • the recording unit 608 includes a hard disk, a nonvolatile memory, and the like.
  • the communication unit 609 includes a network interface or the like.
  • the drive 610 drives a removable recording medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory.
  • the CPU 601 loads the program recorded in the recording unit 608 to the RAM 603 via the input / output interface 605 and the bus 604 and executes the program, for example. Is performed.
  • the program executed by the computer (CPU 601) can be provided by being recorded, for example, on a removable recording medium 611 as a package medium or the like.
  • the program can be provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
  • the program can be installed in the recording unit 608 via the input / output interface 605 by attaching the removable recording medium 611 to the drive 610. Further, the program can be received by the communication unit 609 via a wired or wireless transmission medium and installed in the recording unit 608. In addition, the program can be installed in advance in the ROM 602 or the recording unit 608.
  • the program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
  • the present technology can take a cloud computing configuration in which one function is shared by a plurality of devices via a network and is jointly processed.
  • each step described in the above flowchart can be executed by one device or can be shared by a plurality of devices.
  • the plurality of processes included in the one step can be executed by being shared by a plurality of apparatuses in addition to being executed by one apparatus.
  • the present technology can be configured as follows.
  • a light source controller that controls the light source to emit light multiple times during the exposure period of the captured image;
  • An image processing apparatus comprising: a motion detection unit that detects a motion of a subject on the captured image.
  • the image processing apparatus according to (1) wherein the captured image is an image of a living body.
  • the motion detection unit detects the magnitude of each component of a motion vector as the motion based on one captured image.
  • the light source control unit controls the light source so that light having the same wavelength component is output at the time of each pulse emission.
  • the image processing apparatus further including a motion correction unit that performs motion correction on the captured image based on the detection result of the motion.
  • the image processing apparatus further including an image generation unit configured to generate an image of the subject from the captured image at a time when there is no movement based on the detection result of the movement.
  • the light source control unit controls the light source such that an exposure period in which the light of the wavelength component is continuously output and an exposure period in which the pulsed light emission is performed a plurality of times are provided (4) or (5) ).
  • the motion detection unit detects the motion based on the captured image of an exposure period in which the pulse emission is performed a plurality of times.
  • the image processing apparatus further including a motion correction unit configured to perform motion correction on the captured image during an exposure period in which light of the wavelength component is continuously output based on the detection result of the motion.
  • the light source control unit controls the light source so that an exposure period in which light of the wavelength component is continuously output and an exposure period in which the pulse light emission is performed a plurality of times are alternately provided.
  • the image processing apparatus according to (9).
  • (11) The image processing apparatus according to (8) or (9), wherein the light source control unit controls the light source so that exposure periods in which the pulsed light emission is performed a plurality of times are provided at unequal intervals.
  • the light source control unit controls another light source different from the light source so that light of a predetermined wavelength component is continuously output during the exposure period of the input image of the subject different from the captured image, and Controlling the light source so that light of a wavelength component different from the predetermined wavelength component is output by a plurality of pulse emission in a period including at least a part of the exposure period of the input image;
  • a first imaging unit that captures the captured image;
  • a second imaging unit that captures the input image;
  • the light from the subject is optically separated, a part of the separated light is incident on the first imaging unit, and another part of the separated light is incident on the second imaging unit.
  • the image processing apparatus according to any one of (1) to (3), further including a separating element to be incident.
  • the image processing device further comprising: a motion correction unit that performs motion correction on the input image based on the motion detection result.
  • the light source control unit causes the light source to emit light at a plurality of different periods while changing the period of pulse emission, The image according to (1) or (2), wherein the motion detection unit detects a period of vibration of the subject as the motion based on a degree of contrast of the captured image obtained for each of the plurality of different periods. Processing equipment.
  • the light source control unit causes the light source to emit light at a cycle according to the detection result of the motion after the detection of the motion.
  • Control the light source to emit light multiple times during the exposure period of the captured image An image processing method including a step of detecting a motion of a subject on the captured image.
  • Control the light source to emit light multiple times during the exposure period of the captured image A program for causing a computer to execute a process including a step of detecting a movement of a subject on the captured image.

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Surgery (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Molecular Biology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Veterinary Medicine (AREA)
  • Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Optics & Photonics (AREA)
  • Biophysics (AREA)
  • Radiology & Medical Imaging (AREA)
  • Multimedia (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Astronomy & Astrophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Endoscopes (AREA)
  • Studio Devices (AREA)
  • Instruments For Viewing The Inside Of Hollow Bodies (AREA)

Abstract

本技術は、より高精度に動きを検出することができるようにする画像処理装置および方法、内視鏡システム、並びにプログラムに関する。 内視鏡システムは、パルス発光可能な光源と、光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、撮像画像を撮像する撮像部と、撮像画像上における被写体の動きを検出する動き検出部とを有している。本技術は内視鏡システムに適用することができる。

Description

画像処理装置および方法、内視鏡システム、並びにプログラム
 本技術は画像処理装置および方法、内視鏡システム、並びにプログラムに関し、特に、より高精度に動きを検出することができるようにした画像処理装置および方法、内視鏡システム、並びにプログラムに関する。
 従来、内視鏡装置では、より精度の高い観察を行うために被写体の撮像とともに動き検出が併用されることがある。
 例えば、動き検出を用いる技術として、被写体およびカメラの動きを検出して手振れ補正に利用するものや、拍動等の被写体の周期的な動きを検出し、その検出結果に基づいて位相の一致した画像を取得することで同位相のぶれの無い画像を出力表示するものなどがある。また、被写体の動きを検出して、その検出結果をシーン認識に応用するものなども提案されている。
 このような動き検出を行う技術として、過去の複数のフレームの画像から動きを検出し、その検出結果を画像化して表示させる方法が提案されている(例えば、特許文献1参照)。
特開2011-172783号公報
 しかしながら、上述した技術では、高精度に動きを検出することは困難であった。
 例えば複数フレームの画像を用いる方法では、動きを求めるためには過去2フレーム以上の情報が必要となるので、得られる動き情報は2フレーム前などの比較的古い情報から求まるものとなり、十分な精度で現フレームの動きを推定することができない。すなわち、手振れ補正などの画像補正処理に動き情報を用いる場合、検出した動きと、動きの検出結果が適用される現フレームにおける実際の動きとの間でずれが生じてしまう。
 また、複数フレームの画像を用いる方法では、フレーム間隔と比べて高速に変化する動きや速い周期で振動するような動きに対しては、動き検出を行うことができない。さらに、フレーム間での検出が可能な動きについても、その動きが高速な場合には画像上では動きぼけが生じるため、フレーム間での画像のマッチングがとれず、動き検出の精度が低下してしまう。
 本技術は、このような状況に鑑みてなされたものであり、より高精度に動きを検出することができるようにするものである。
 本技術の第1の側面の画像処理装置は、光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、前記撮像画像上における被写体の動きを検出する動き検出部とを備える。
 前記撮像画像を生体の画像とすることができる。
 前記動き検出部には、1つの前記撮像画像に基づいて、前記動きとして動きベクトルの各成分の大きさを検出させることができる。
 前記光源制御部には、各前記パルス発光時に同じ波長成分の光が出力されるように前記光源を制御させることができる。
 前記動き検出部には、複数の前記撮像画像に基づいて、前記動きとして前記動きベクトルの方向をさらに検出させることができる。
 画像処理装置には、前記動きの検出結果に基づいて、前記撮像画像に対する動き補正を行う動き補正部をさらに設けることができる。
 画像処理装置には、前記動きの検出結果に基づいて、前記動きのない時刻の前記撮像画像から前記被写体の画像を生成する画像生成部をさらに設けることができる。
 前記光源制御部には、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが設けられるように前記光源を制御させることができる。
 前記動き検出部には、複数回の前記パルス発光が行われる露光期間の前記撮像画像に基づいて前記動きを検出させ、前記動きの検出結果に基づいて、継続して前記波長成分の光が出力される露光期間の前記撮像画像に対する動き補正を行う動き補正部をさらに設けることができる。
 前記光源制御部には、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが交互に設けられるように前記光源を制御させることができる。
 前記光源制御部には、複数回の前記パルス発光が行われる露光期間が不等間隔に設けられるように前記光源を制御させることができる。
 前記光源制御部には、複数回の前記パルス発光のそれぞれにおいて、互いに異なる波長成分の光が出力されるように前記光源を制御させることができる。
 前記動き検出部には、1つの前記撮像画像から得られる前記波長成分ごとの画像に基づいて、前記動きとして動きベクトルを検出させることができる。
 前記光源制御部には、前記撮像画像とは異なる前記被写体の入力画像の露光期間中、継続して所定波長成分の光が出力されるように前記光源とは異なる他の光源を制御させるとともに、前記入力画像の露光期間の少なくとも一部を含む期間において複数回のパルス発光により前記所定波長成分とは異なる他の波長成分の光が出力されるように前記光源を制御させ、前記撮像画像を撮像する第1の撮像部と、前記入力画像を撮像する第2の撮像部と、前記被写体からの光を光学的に分離させ、分離させた前記光の一部を前記第1の撮像部に入射させるとともに、分離させた前記光の他の一部を前記第2の撮像部に入射させる分離素子とをさらに設けることができる。
 画像処理装置には、前記動きの検出結果に基づいて、前記入力画像に対する動き補正を行う動き補正部をさらに設けることができる。
 前記光源制御部には、パルス発光の周期を変化させながら、複数の異なる周期で前記光源をパルス発光させ、前記動き検出部には、前記複数の異なる周期ごとに得られた前記撮像画像のコントラストの度合いに基づいて、前記被写体の振動の周期を前記動きとして検出させることができる。
 前記光源制御部には、前記動きの検出後、前記動きの検出結果に応じた周期で前記光源をパルス発光させることができる。
 本技術の第1の側面の画像処理方法またはプログラムは、光源を制御して撮像画像の露光期間に複数回パルス発光させ、前記撮像画像上における被写体の動きを検出するステップを含む。
 本技術の第1の側面においては、光源が制御されて撮像画像の露光期間に複数回パルス発光され、前記撮像画像上における被写体の動きが検出される。
 本技術の第2の側面の内視鏡システムは、パルス発光可能な光源と、前記光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、前記撮像画像を撮像する撮像部と、前記撮像画像上における被写体の動きを検出する動き検出部とを備える。
 本技術の第2の側面においては、光源が制御されて撮像画像の露光期間に複数回パルス発光され、前記撮像画像が撮像され、前記撮像画像上における被写体の動きが検出される。
 本技術の第1の側面および第2の側面によれば、より高精度に動きを検出することができる。
 なお、ここに記載された効果は必ずしも限定されるものではなく、本開示中に記載された何れかの効果であってもよい。
内視鏡システムの構成例を示す図である。 内視鏡システムの機能的な構成例を示す図である。 パルス発光について説明する図である。 入力画像に基づく動き検出について説明する図である。 動きの方向について説明する図である。 動き検出による動き情報の生成について説明する図である。 撮像処理を説明するフローチャートである。 1フレーム期間における各色のパルス発光について説明する図である。 プレーン画像を用いた動き検出について説明する図である。 撮像処理を説明するフローチャートである。 1フレーム期間における通常発光とパルス発光について説明する図である。 撮像処理を説明するフローチャートである。 通常発光とパルス発光について説明する図である。 撮像処理を説明するフローチャートである。 1フレーム期間における通常発光とパルス発光について説明する図である。 撮像部の構成例を示す図である。 撮像処理を説明するフローチャートである。 内視鏡システムの機能的な構成例を示す図である。 声帯を被写体とした入力画像のぶれについて説明する図である。 撮像処理を説明するフローチャートである。 出力画像の他の例について説明する図である。 内視鏡手術システムの構成例を示す図である。 コンピュータの構成例を示す図である。
 以下、図面を参照して、本技術を適用した実施の形態について説明する。
〈第1の実施の形態〉
〈内視鏡システムの構成例〉
 図1は、本技術を適用した内視鏡システムの一実施の形態の構成例を示す図である。
 図1に示す内視鏡システム11は、スコープ21、カメラヘッド22、光源装置23、カメラコントロールユニット24、操作入力装置25、およびモニタ26を有している。なお、以下では、カメラコントロールユニット24を、適宜、CCU(Camera Control Unit)24とも称することとする。
 この内視鏡システム11は、主に医療用に用いられるものであり、被験者の内部にスコープ21を挿入して、被験者内部の任意の部位(術部)の画像を術野の画像として撮像する内視鏡装置として機能するシステムである。なお、以下では被写体が患者等の被験者である場合を例として説明するが、内視鏡システム11での撮像対象となる被写体は人以外の生体であっても勿論よい。
 スコープ21は、例えば対物レンズなどのレンズからなる光学系を有する、被験者内部に挿入される鏡筒部であり、光源装置23から入力された照明光を被写体に照射するとともに、被写体から入射した反射光を集光してカメラヘッド22へと導く。
 すなわち、スコープ21から被写体に照明光が照射されると、その照明光が被写体で反射されて反射光となる。スコープ21は、この反射光を集光してカメラヘッド22へと入射させる。なお、スコープ21は軟性の鏡筒であってもよいし、硬性の鏡筒であってもよい。
 カメラヘッド22は、スコープ21と一体的に設けられており、例えばカメラ、すなわち撮像素子などからなる。カメラヘッド22は、CCU24の制御に従ってスコープ21から入射した反射光を受光して光電変換することで被写体を撮像し、その結果得られた入力画像の画像データをCCU24に供給する。このような入力画像は、例えば患者等の生体を被写体とする、手術等を行うときの術野の画像である。
 光源装置23は、例えばレーザ光源やLED(Light Emitting Diode)光源などからなり、CCU24の制御に従って特定波長帯域の光を照明光として出力し、スコープ21に入射させる。例えば光源装置23では、照明光として白色光などが出力されるようになされている。
 CCU24は、内視鏡システム11全体の動作を制御する。CCU24は、光源制御装置31、信号処理回路32、検出部33、およびメモリ34を有している。
 光源制御装置31は、信号処理回路32の制御に従って光源装置23による照明光の照射、つまり照明光の点灯および消灯を制御する。具体的には、例えば光源制御装置31により、照明光の照射タイミングや照射期間、照明光の光量などの制御が行われる。
 また、光源制御装置31は、光源装置23による照明動作と、カメラヘッド22による撮像動作とを同期させるための同期信号をカメラヘッド22に供給する。
 信号処理回路32は、カメラヘッド22から供給された入力画像を検出部33に供給して所定の特徴を検出させるとともに、検出部33から供給された検出結果と、メモリ34に記録されているデータとに基づいて適切な信号処理パラメータを生成する。さらに、信号処理回路32は、信号処理パラメータに基づいてカメラヘッド22から供給された入力画像に対して所定の信号処理を施し、その結果得られた出力画像をモニタ26に供給する。
 検出部33は、信号処理回路32から供給された入力画像から、所定の特徴、例えば入力画像上の被写体の動きなどを検出し、その検出結果を信号処理回路32に供給する。
 メモリ34は、予め用意された変換パラメータ等の各種のデータや、信号処理回路32から供給された信号処理結果等を記録したり、記録しているデータ等を信号処理回路32に供給したりする。
 操作入力装置25は、例えばボタンやスイッチ、モニタ26に重畳されたタッチパネルなどからなり、内視鏡システム11を操作する使用者により操作される。操作入力装置25は、使用者の操作に応じた信号を信号処理回路32や光源制御装置31に供給する。
 モニタ26は、例えば液晶表示パネルなどからなり、信号処理回路32から供給された出力画像を表示する。
〈内視鏡システムの機能的な構成例〉
 次に、図1に示した内視鏡システム11の機能的な構成例について説明する。図2は、内視鏡システム11の機能的な構成例を示す図である。なお、図2において図1における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。
 図2に示す内視鏡システム11は、光源制御部61、光源装置23、撮像部62、動き検出部63、出力画像生成部64、モニタ26、およびレコーダ65を有している。
 光源制御部61は、例えば図1に示した光源制御装置31に対応し、照明光の照射や入力画像の撮像のタイミングをとるための同期信号を光源装置23および撮像部62に供給する。
 光源装置23は、光源制御部61から供給された同期信号に基づいて、所定のタイミングでパルス発光し、被写体へと照明光を照射する。被写体へと照明光が照射されると、その照明光は被写体で反射されて反射光となり、撮像部62で受光される。
 撮像部62は、図1に示したカメラヘッド22からなり、光源制御部61から供給された同期信号に基づいて、被写体の撮像画像を入力画像として撮像し、動き検出部63および出力画像生成部64に供給する。すなわち、撮像部62は、カメラを構成する撮像素子を有しており、被写体からの反射光を受光して光電変換することにより入力画像を得る。
 動き検出部63は、撮像部62から供給された入力画像に基づいて、その入力画像上における被写体の動きを検出し、その結果得られた動きベクトル等を、被写体の動きの検出結果を示す動き情報として出力画像生成部64に供給する。動き検出部63は、例えば図1の検出部33により実現される。
 出力画像生成部64は、動き検出部63から供給された動き情報に基づいて、撮像部62から供給された入力画像に対して手ぶれ補正等の動き補正を行い、その結果得られた出力画像をモニタ26およびレコーダ65に供給する。出力画像生成部64は、例えば図1の信号処理回路32により実現される。このように出力画像生成部64が手ぶれ補正等の動き補正を行うときには、出力画像生成部64は動き補正部として機能することになる。
 レコーダ65は、例えば図1の信号処理回路32に接続される不揮発性の記録部(図1においては不図示)などからなり、出力画像生成部64から供給された出力画像を記録する。また、モニタ26は、出力画像生成部64から供給された出力画像を表示する。
〈内視鏡システムの処理について〉
 続いて、図2に示した内視鏡システム11のより具体的な処理の例について説明する。
 例えば光源装置23としては、パルス発光が可能なRGB白色光を発光するレーザ光源が用いられる。
 そのような場合、光源装置23はR(赤)の波長成分の狭波長光を出力するR光源、G(緑)の波長成分の狭波長光を出力するG光源、B(青)の波長成分の狭波長光を出力するB光源、およびそれらの光源から出力された光を合成して出力する合成光学系を有する。
 したがって、光源装置23から白色光が照明光として出力される場合、R光源、G光源、およびB光源から同時に光が出力され、それらの出力されたR成分の光、G成分の光、およびB成分の光が合成光学系により合成されて白色光とされ、光源装置23から出力される。なお、ここでは光源装置23から出力される所定波長成分の照明光が、白色光である例について説明するが、照明光はどのような波長帯域の光であってもよい。
 光源装置23は、例えば図3に示すように入力画像の1フレーム分の期間に2回発光する。なお、図3において横軸は時間を示しており、図3中の下向きの矢印は、光源装置23の発光タイミング、すなわち被写体への照明光の照射タイミングを表している。
 この例では、例えば期間T1が入力画像の1フレーム分の期間、つまり1フレーム分の入力画像を撮像するための露光期間を示しており、1フレーム分の期間T1内のうち、時刻t1と時刻t2のそれぞれの時刻に光源装置23がパルス発光する。
 特にこの例においては、各パルス発光時には光源装置23からは同じ波長成分の光、すなわちここでは白色光が出力されるようになされている。また、光源装置23が一定時間間隔、すなわち一定周期でパルス発光するように発光制御が行われており、各フレームの期間で2回ずつ光源装置23によるパルス発光が等間隔に行われる。
 例えば、60Pの動画像を入力画像として撮像する場合、入力画像の1フレーム期間は1/60sであるので、光源装置23は1/120sに一度のタイミングで発光することになる。
 光源装置23は、光源制御部61から供給される同期信号に従って1/120s間隔で白色光を照明光としてパルス発光する。照明光が被写体に照射されると、被写体から反射光が撮像部62に入射するので、撮像部62は光源制御部61からの同期信号により示されるタイミングで照明光を受光して光電変換する撮像動作を行う。
 この場合、撮像部62は、例えば期間T1を露光期間としてその期間T1に対応するフレームの入力画像を撮像し、その結果得られた入力画像の画像データを動き検出部63および出力画像生成部64に供給する。
 動き検出部63は、撮像部62から供給された入力画像に対して動き検出を行い、その結果得られた動きベクトル等の動き情報を出力画像生成部64に供給する。
 具体的には、図3に示したように入力画像の1フレーム期間に2度、照明光が照射される場合、入力画像上で動いている被写体があるときには、例えば図4に示すように被写体の像は2重像となる。
 なお、入力画像上で被写体が動く場合として、被写体自体が動いている場合、つまり被写体が動きのある動被写体である場合や、手振れ等により被写体に対して撮像部62が動いている場合がある。すなわち、入力画像に対する動き検出の結果として得られる入力画像上における被写体の動きは、被写体自体の動き、撮像部62の被写体に対する動き、またはそれらの両方の動きとなる。
 図4の例では、入力画像上には同一の被写体の像である被写体像MH11-1と被写体像MH11-2が写っている。なお、以下、被写体像MH11-1および被写体像MH11-2を特に区別する必要のない場合、単に被写体像MH11とも称する。
 例えば図4の入力画像が図3に示した期間T1に撮像されたものであるとすると、2つの被写体像MH11のうちの一方は、図3に示した時刻t1のタイミングで撮像部62に入射した反射光による像であり、他方の被写体像MH11は時刻t2のタイミングで撮像部62に入射した反射光による像である。
 このように露光期間に光源装置23が2度パルス発光する場合、入力画像には同じ被写体の像が2つ含まれることになるが、これらの2つの被写体像のうちのどちらがどの時刻のものであるかは区別することができない。
 動き検出部63は、処理対象のフレームの入力画像における所望の1つの領域を注目領域AR11とし、その注目領域AR11を中心とする所定の矩形の領域を探索範囲SR11とする。すなわち、注目領域AR11に対して、図中、上下左右の検出対象とする動き範囲分の矩形領域がサーチ領域である探索範囲SR11とされる。
 動き検出部63は、探索範囲SR11内における各位置の注目領域AR11と同じ大きさの領域を比較領域とし、比較領域を移動させながらサーチ(探索)を行う。
 この例では、探索範囲SR11内の図中、左上の比較領域CR11-1から、探索範囲SR11内の図中、右下の比較領域CR11-2までラスタスキャン順にサーチが行われる。なお、以下、比較領域CR11-1や比較領域CR11-2など、探索範囲SR11内の比較領域を特に区別する必要のない場合、単に比較領域CR11とも称することとする。
 動き検出部63は、各比較領域CR11について、注目領域AR11と比較領域CR11との自己相関係数を求める。
 具体的には、注目領域AR11内のi番目の画素の画素値をXiとし、比較領域CR11内のi番目の画素の画素値をYiとすると、動き検出部63は次式(1)を計算することで自己相関係数Rを算出する。
Figure JPOXMLDOC01-appb-M000001
 なお、式(1)において、Xaは注目領域AR11内の全画素の画素値の平均値を示しており、Yaは比較領域CR11内の全画素の画素値の平均値を示している。
 このような自己相関係数Rを探索範囲SR11内の全ての比較領域CR11に対して求めると、注目領域AR11と同じ領域が比較領域CR11となったときに自己相関係数Rは最大値、つまり自己相関係数R=1となる。
 また、自己相関係数Rが2番目に大きい極大値となる比較領域CR11が、注目領域AR11にある被写体と同じ被写体が写っている領域となる。すなわち、注目領域AR11から、その注目領域AR11内の被写体の動きを示す動きベクトルの分だけずれた先の領域となる。
 この例では、注目領域AR11と比較領域CR11-3との組み合わせの自己相関係数Rが2番目に大きい極大値となる。そのため、注目領域AR11の中心と、比較領域CR11-3の中心とを結ぶ矢印(ベクトル)、つまり注目領域AR11と比較領域CR11-3との間の位置の変位が注目領域AR11についての動きベクトルとなる。
 このようにして動き検出部63は、処理対象のフレームの入力画像における注目領域について被写体の動きを算出する。
 但し、入力画像に含まれる同一の被写体の像、つまり被写体の2重像から動きを求める場合、2次元動きベクトルの各成分の大きさは求めることができるが、動きベクトルの方向を求めることはできない。
 例えば図5に示すように、注目領域AR11に対して、自己相関係数Rが2番目に大きい極大値となる領域として比較領域CR11-3が求められたとする。なお、図5において図4における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。
 この場合、注目領域AR11と比較領域CR11-3とを結ぶベクトルが動きベクトルとなる。しかし、1フレーム分の入力画像からは、矢印MV11に示すように、被写体が注目領域AR11の位置から比較領域CR11-3の位置へと移動したのか、または矢印MV12に示すように、被写体が比較領域CR11-3の位置から注目領域AR11の位置へと移動したのかを判別することができない。
 そこで、動き情報として動きの方向が必要である場合には、複数のフレームの入力画像、具体的には、例えば処理対象のフレームの入力画像と、その処理対象のフレームの直前のフレームの入力画像とを用いて動きの方向を求めるようにすればよい。そのような場合には、一般的なフレーム間の動きベクトル検出における場合と同様の方式を利用して動きの方向を求めることが可能である。
 例えば図6に示すように、最も新しい時刻のフレームであるframe2と、そのframe2の直前のフレームであるframe1とがあるとする。
 これらのframe1とframe2とでは、動き検出部63は、それぞれフレーム内での動き検出を行って、それらの各フレームの入力画像における被写体の動きベクトルの大きさ、つまり動きベクトルのx方向やy方向といった各方向の成分の大きさを求める。
 これに対して動き検出部63は、例えばframe1とframe2の各フレームの入力画像を用いてフレーム間でブロックマッチング等の動き検出を行い、その結果得られた動きベクトルの方向(向き)を、最新のframe2における被写体の動きの方向とする。
 そして、動き検出部63は、このようにして得られた動きベクトルの大きさ、つまり各方向の成分の大きさと、動きベクトルの方向(向き)とから求まる動きベクトルを、検出された動きを示す動き情報とする。
 通常、入力画像に対して動き検出を行い、その結果得られた動き情報を用いて手ぶれ補正等の動き補正を行う場合、frame1とframe2の間の動きを検出し、その検出結果をframe2の次のフレーム(以下、frame3と称する)に適用することになる。しかし、この場合、frame3とは時間的に離れたframe1の情報が用いられるため、高精度に動きを検出することができない。
 これに対して、内視鏡システム11では、動き検出の結果の適用先となるframe3の直前のframe2のみから動きを検出するため、直近の2フレームを用いる場合と比べて、より新しい情報を用いて動きを検出していることになる。例えばframe3における動きを推定する場合、そのframe3により近いフレームの情報を用いた方が動きの推定精度は高くなる。このことから、直近の2フレームを用いる場合よりもframe2のみから動きを検出する場合の方が、より高精度に動きを検出可能であることが分かる。
 なお、動き情報として動きベクトルを得る場合には、内視鏡システム11においても動きベクトルの方向を検出するためにframe2だけでなく、その前のframe1も用いられる。しかし、動きベクトルの向きは急に逆になることは稀であるので、動きベクトルの方向を求めるためにframe1とframe2を用いたとしても、結果的に動き情報として得られる動きベクトルの検出精度が低下してしまうことはない。
 内視鏡システム11では、急激に変化することが殆どない動きベクトルの方向(向き)については直近2フレームを用いて検出し、検出精度に対する影響が大きい動きベクトルの各成分の大きさ、つまり細かい動きの変化については最新のフレームのみを用いて検出を行うことで、より高精度な動き検出を実現することができる。
 なお、以上においては入力画像上の1つの注目領域に対する動きベクトルを動き情報として求める例について説明したが、入力画像全体に対して複数の領域ごとに動きベクトルを求めて動き情報とするようにしてもよい。また、入力画像全体に対して1つの動きベクトルを求めて動き情報とするようにしてもよい。
 さらに以上においては動きベクトルを求める方法として、自己相関係数を算出する方法を例として説明したが、その他、例えば勾配法など、他のマッチング方式により動きベクトルを求めるようにしてもよい。
 動き検出部63は、以上のようにして求めた動きベクトルを動き情報として出力画像生成部64に供給する。
 出力画像生成部64は、動き検出部63から供給された動き情報を用いて、例えば撮像部62から供給された入力画像に対して、動き情報から求まる動き量分を補正する動き補正を行うことで出力画像を生成する。例えば動き補正として手ぶれ補正などが行われる。
 具体的には、例えば出力画像生成部64は、処理対象のフレームの直前のフレームで得られた動き情報としての動きベクトルから推定される、処理対象のフレームにおける動きベクトルに基づいて入力画像に対する手ぶれ補正を行う。この場合、例えば処理対象のフレームの入力画像が、動きベクトルの向きと反対の方向に、その動きベクトルの大きさの分だけずらされて出力画像とされる。
 また、その他、入力画像に含まれる2重像に対する補正が動き補正として行われるようにしてもよい。上述したように入力画像の撮像動作は、2度のパルス発光が行われる多重露光となっているため、被写体に動きがある場合には、入力画像にはその被写体の像が2つ含まれている。そこで、出力画像生成部64は、動き情報を用いて入力画像に含まれる同一被写体の2つの像のうちの一方を除去する画像処理を入力画像に対して施し、出力画像とするようにしてもよい。
 出力画像生成部64は、このようにして生成した出力画像をレコーダ65に供給して記録させたり、モニタ26に供給して表示させたりする。
 以上のように内視鏡システム11では、動き情報としての動きベクトルの各成分の大きさについては、最新の1フレーム分の入力画像、すなわち1つの入力画像から求めることができる。これにより、より高精度に入力画像上の被写体の動きを検出することができる。
 また、内視鏡システム11では、求めた動き情報を直ちに次フレームの動き補正処理に利用することができ、遅延を最小限に抑えて出力画像を得ることができる。
 さらに、別の例として動き検出部63で得られた注目領域の動き情報から、出力画像生成部64において被写体の動きのない時刻(フレーム)を検出し、被写体の動きのない時刻に撮像された入力画像から、被写体の観察用の画像である出力画像を生成するようにしてもよい。また、被写体の動きのない状態が検出されたときに、信号処理回路32が撮像部62を制御して、直ちに被写体が動いていない状態で通常発光等により入力画像を新たに撮像させ、得られた入力画像から観察用の出力画像を生成するようにしてもよい。
 これらの場合、入力画像において被写体の像が2重になることはないため動き補正は不要であり、出力画像としてぶれのない静止画像を得ることができる。
 例えば動きのない時刻は、動き情報としての動きベクトルが0または略0となる時刻である。そのような時刻は、例えば自己相関係数が2番目に大きい極大値となる比較領域がない時刻や、自己相関係数の2番目に大きい極大値が所定の閾値以下となる時刻である。
 また、被写体の動きのない状態の出力画像を得たい場合には、動きの有無のみが分かればよいので動きの方向については不要である。したがって、そのような場合には、動きベクトルの各成分の大きさのみが動き情報として検出されるようにしてもよい。
 動きのない時刻を検出して出力画像を生成する方法は、例えば診断に用いるぶれのない静止画像を取得する場合などに特に有効である。
 以上のような内視鏡システム11は、特に手ぶれ補正処理を行う場合や、動きのない静止画像を取得する場合に効果的である。
 被写体の動きが大きい場合、通常の動き検出では動きぼけによって検出精度が低下するが、内視鏡システム11では、露光時にパルス発光を行うので、動きぼけの少ない入力画像を取得することができ、速い動きに対しても高精度に動き検出が可能である。また、パルス発光を行うことで、実質的な露光時間が短くなるため、高速で変化する動きや速い周期で振動するような動きについても、その動きを高精度に検出することが可能である。
〈撮像処理について〉
 次に、図7のフローチャートを参照して、内視鏡システム11が出力画像を生成する処理の流れについて説明する。すなわち、以下、図7のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS11において、光源装置23は、光源制御部61の制御に従ってパルス発光を行う。すなわち、光源装置23は、光源制御部61からの同期信号により示されるタイミングで、1フレーム期間に2回ずつパルス発光を行う。
 ステップS12において、撮像部62は光源制御部61から供給された同期信号に基づいて入力画像の撮像を行う。
 すなわち、撮像部62は、入射した反射光を受光して光電変換し、入力画像を得る。この例では、1フレーム期間、つまり露光期間に2度のパルス発光が行われるので、入力画像は、各パルス発光時の被写体の像を含む多重露光画像となる。撮像部62は、得られた入力画像を動き検出部63および出力画像生成部64に供給する。
 ステップS13において、動き検出部63は、撮像部62から供給された1フレーム分の入力画像に基づいてフレーム内動き検出を行う。
 すなわち、動き検出部63は、入力画像の注目領域について上述した式(1)の計算を行うことで、2番目に大きい極大値となる比較領域を検出し、処理対象のフレームの動きベクトルの各成分の大きさを求める。
 ステップS14において、動き検出部63は、処理対象フレームの入力画像と、処理対象フレームの直前のフレームの入力画像とに基づいてフレーム間動き検出を行う。
 すなわち、動き検出部63は、直近2フレーム分の入力画像に基づいてブロックマッチング等を行うことにより、動きベクトルの向き(方向)を検出する。なお、ここでは直近2フレーム分の入力画像を用いて、入力画像上における被写体の動きとしての動きベクトルの方向を検出する例について説明した。しかし、この例に限らず複数の異なるフレーム、つまり複数の異なる時刻の入力画像を用いて動きベクトルの方向を検出すればよい。
 これらのステップS13およびステップS14の処理により、処理対象フレームについての動きベクトルが得られる。動き検出部63は、このようにして得られた動きベクトルを動き情報として出力画像生成部64に供給する。
 なお、より詳細には、ステップS13およびステップS14の処理は同時に、つまり並行して行われる。
 ステップS15において、出力画像生成部64は、動き検出部63から供給された動き情報に基づいて、撮像部62から供給された入力画像に対して動き補正を行い、出力画像を生成する。
 例えばステップS15では、処理対象のフレームの直前のフレームについて得られた動き情報に基づいて、処理対象のフレームの入力画像に対する手ぶれ補正処理が動き補正として行われ、出力画像が生成される。この場合、ステップS13およびステップS14で求められた動き情報は、次のフレームで用いられるので、これらのステップS13およびステップS14の処理と同時にステップS15の処理が行われるようにしてもよい。また、ステップS13およびステップS14の処理が行われる前にステップS15の処理が行われるようにしてもよい。なお、リアルタイム性が要求されない場合には、処理対象フレームについて得られた動き情報が用いられて、その処理対象フレームの入力画像に対する動き補正が行われるようにしてもよい。
 ステップS16において、出力画像生成部64は、ステップS15の処理により得られた出力画像をレコーダ65やモニタ26に出力し、撮像処理は終了する。これにより、出力画像がレコーダ65に記録されたり、出力画像がモニタ26に表示されたりする。
 以上のようにして内視鏡システム11は、1フレーム期間に複数回のパルス発光を行って1フレーム分の入力画像から動き、特に動きベクトルの各成分の大きさを検出する。これにより、少ない遅延でより高精度に動きを検出することができる。
〈第2の実施の形態〉
〈動き検出について〉
 また、第1の実施の形態では、光源装置23としてRGB白色光を発光するレーザ光源を用いる例について説明した。しかし、光源装置23は、例えばR、G、およびBの各色成分のレーザを順次パルス発光可能なレーザ光源などとされてもよい。
 そのような場合、例えば図8に示すように、光源装置23は1フレームの期間にR(赤)、G(緑)、およびB(青)の各色成分の光を1度ずつ順番にパルス発光する。換言すれば、1フレームの期間内の複数回のパルス発光のそれぞれにおいて、互いに異なる色成分の光、つまり互いに異なる波長成分の光が光源装置23から出力されるように光源制御部61による発光制御が行われる。なお、図8において横方向は時間を示している。
 この実施の形態では、光源装置23はR光源、G光源、およびB光源を有しており、それらの光源を独立して順番にパルス発光させることで、R成分の光、G成分の光、およびB成分の光を順番に照明光として射出することができるようになされている。
 図8では、矢印Q11に示す部分は入力画像のフレームの同期信号を示している。すなわち、矢印Q11に示す部分において図中、下に突となっている部分がフレームの境界位置となっている。
 また、矢印Q12乃至矢印Q14に示す部分のそれぞれは、R成分の光、G成分の光、およびB成分の光のそれぞれについての露光のタイミングを示している。例えば矢印Q12に示す部分では、図中、上に突となっている期間がR成分の光についての1フレーム分の露光期間となっている。特に、この例では各フレームにおいてR成分の光、G成分の光、およびB成分の光のそれぞれの露光タイミングは同じとなっている。
 さらに、矢印Q15に示す部分は、光源装置23によるパルス発光の発光タイミングを示している。特に実線で描かれた部分はR光源によるR成分の光の発光タイミングを示しており、点線で描かれた部分はG光源によるG成分の光の発光タイミングを示しており、一点鎖線で描かれた部分はB光源によるB成分の光の発光タイミングを示している。
 この例では、例えば期間T21が入力画像の1フレーム分の期間を示しており、この期間T21内に3度のパルス発光が行われる。すなわち、まず時刻t21にパルス発光によりRの色の光、つまりR成分の照明光が出力され、続いて時刻t22にパルス発光によりG成分の照明光が出力され、その後、時刻t23にパルス発光によりB成分の照明光が出力される。
 例えば60Pの動画像を入力画像として撮像する場合、入力画像の1フレーム期間は1/60sであるので、光源装置23は1/180sに一度のタイミングでR、B、およびGの順に発光することになる。特に各色成分の光に注目すると、同じ色の光は1/60sに一度のタイミングで発光されることになる。
 また、撮像部62では、光源装置23の発光タイミングに合わせて露光が行われるが、例えば撮像部62がベイヤ配列の単板センサである場合、撮像部62の撮像面にはR、G、およびBの各色成分の光のみを透過させるカラーフィルタが画素ごとに設けられている。すなわち、撮像部62の撮像面には、R成分の光のみを受光するR画素、G成分の光のみを受光するG画素、およびB成分の光のみを受光するB画素が設けられている。
 図8の例では、各色成分の露光タイミングは全て同じであり、1フレーム分の露光によって得られる画像はR画素、G画素、およびB画素が含まれる、いわゆるローデータと呼ばれる画像(以下、ロー画像と称する)となる。
 そのため、ロー画像からR画素を抽出して適宜、補間処理等を行うと、R画素のみからなる、つまりR成分のみの値を有するR画像が得られる。同様に、ロー画像からG画素を抽出して適宜、補間処理等を行うとG画素のみからなるG画像が得られ、ロー画像からB画素を抽出して適宜、補間処理等を行うとB画素のみからなるB画像が得られる。
 換言すれば、ロー画像の撮像によって、R画素から出力された画素信号であるR信号からR画像が得られ、G画素から出力された画素信号であるG信号からG画像が得られ、B画素から出力された画素信号であるB信号からB画像が得られる。つまり1つのロー画像に対してデモザイク処理を行うことで、そのロー画像からR、G、およびBの色成分ごとにR画像、G画像、およびB画像というプレーン画像が得られる。
 このように撮像部62が各色成分の画素を有する場合、各色成分の光の発光タイミングは異なるが、各色成分の露光期間は、例えば1フレーム分の期間など、同じ期間とすることができる。すなわち、1フレーム期間内で色成分ごとに異なるタイミングでパルス発光を行うことで、撮像された1フレーム分のロー画像から、互いに異なる時刻の像を含む色成分ごとのプレーン画像を得ることができる。
 なお、図8では説明を簡単にするため、撮像部62において全画素一斉に露光が行われるグローバルシャッタで撮像が行われる例について説明した。しかし、画素行ごとに露光と読み出しを行うローリングシャッタで撮像が行われる場合においても同様にしてR画像、G画像、およびB画像を得ることができる。
 このようにして1フレーム分のロー画像から得られた3つの色成分ごとのプレーン画像の実質的な撮像時刻は、それぞれ1/3フレーム分の時間ずつずれている。そこで、動き検出部63では、これらの同じフレームのR画像、G画像、およびB画像を用いてフレーム内動き検出を行い、注目領域の被写体の動きを検出する。
 この場合、例えば図9に示すように1フレーム分の期間での撮像により、3つのプレーン画像であるR画像P11、G画像P12、およびB画像P13が得られる。
 この例では、R画像P11では被写体像MH21-1が観察されており、G画像P12では被写体像MH21-2が観察されており、B画像P13では被写体像MH21-3が観察されている。これらの被写体像MH21-1乃至被写体像MH21-3は、同じ被写体の異なる時刻の像となっている。なお、以下、被写体像MH21-1乃至被写体像MH21-3を特に区別する必要のない場合、単に被写体像MH21とも称することとする。
 R画像P11乃至B画像P13は互いに異なる時刻の像の画像であるので、それらの画像を重ね合わせると、例えば図中、下側に示すように各画像で観察される被写体像MH21が少しずつずれていることが分かる。
 動き検出部63は、R画像P11乃至B画像P13を用いて、例えば一般的な動き検出手法により注目領域AR21の動きベクトルを求める。
 すなわち、例えば動き検出部63は、R画像P11上の所望の注目領域AR21に対して、その注目領域AR21との自己相関係数が最大となる比較領域を、G画像P12およびB画像P13のそれぞれから検出する。
 そして、動き検出部63は、R画像P11上の注目領域AR21と、G画像P12上の自己相関係数が最大となる比較領域と、B画像P13上の自己相関係数が最大となる比較領域との位置関係から、注目領域AR21の被写体の動きベクトルを求める。
 なお、この例ではR画像P11乃至B画像P13のそれぞれに含まれる被写体像の時刻の順序関係が既知であるため、動きベクトルの各成分の大きさだけでなく動きの方向も得ることができ、1フレーム分の情報のみから動きベクトルを算出することができる。
〈撮像処理について〉
 次に、内視鏡システム11においてR、G、およびBの各色成分の光を順番にパルス発光する場合に行われる処理について説明する。すなわち、以下、図10のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS41において、光源装置23は、光源制御部61の制御に従ってR、G、およびBの色成分ごとにパルス発光を行う。
 すなわち、光源装置23は、光源制御部61からの同期信号により示されるタイミングで、1フレーム期間にR、B、およびGの順番に各色につき1回ずつ、合計3回のパルス発光を行う。
 ステップS42において、撮像部62は光源制御部61から供給された同期信号に基づいて入力画像の撮像を行う。すなわち、撮像部62は、入射した反射光を受光して光電変換することで、ロー画像を入力画像として撮像する。そして、撮像部62はロー画像に基づいて、R画素のみからなるR画像、G画素のみからなるG画像、およびB画素のみからなるB画像をプレーン画像として得て、それらの各色成分のプレーン画像を最終的な入力画像として動き検出部63および出力画像生成部64に供給する。なお、ロー画像が入力画像として出力され、後段の出力画像生成部64等において、ロー画像から各色成分のプレーン画像が生成されるようにしてもよい。
 ステップS43において、動き検出部63は、撮像部62から供給された1フレーム分の入力画像、すなわち1フレーム分のR画像、G画像、およびB画像に基づいてフレーム内動き検出を行って動きベクトルを算出し、その動きベクトルを動き情報として出力画像生成部64に供給する。
 動き情報が得られると、その後、ステップS44およびステップS45の処理が行われて撮像処理は終了するが、これらの処理は図7のステップS15およびステップS16の処理と同様であるので、その説明は省略する。
 但し、ステップS44では、例えば入力画像としての各色成分のプレーン画像のそれぞれに対して、動き補正として手ぶれ補正処理が行われ、手振れ補正が行われた各色成分のプレーン画像が合成されたR、G、およびBの各色成分の画素を有するカラーの出力画像が生成される。
 以上のようにして内視鏡システム11は、1フレーム期間に複数の色ごとに異なるタイミングでパルス発光を行い、1フレーム分の入力画像から動きを検出して、その検出結果を用いて出力画像を生成する。これにより、少ない遅延でより高精度に動きを検出することができる。
〈第3の実施の形態〉
〈動き検出について〉
 ところで、以上においては、観察用の出力画像を生成するための入力画像から被写体の動きを検出する例について説明したが、出力画像を生成するための入力画像と、動き検出に用いる画像(以下、検出用画像とも称する)とを異なる画像とするようにしてもよい。より詳細には、入力画像と検出用画像とを同じ動画像の異なる時刻の画像としてもよい。
 そのような場合、例えば図11に示すように動き検出用の期間、つまり検出用画像のためのフィールドと、通常光用の期間、つまり入力画像のためのフィールドとをシーケンシャルに分けるようにすればよい。
 なお、図11において図2における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。また図11において横方向は時間を示しており、図11中の下向きの矢印は、光源装置23の発光タイミングを示している。
 図11に示す例では、入力画像(出力画像)の1フレーム分の期間が連続する2つのフィールドに分割されている。すなわち、例えば期間T31は入力画像の1フレーム分の期間となっており、その期間T31が2つの期間T41と期間T42とに分けられている。
 ここで、期間T41は入力画像を得るための1フィールド分の期間、つまり入力画像の露光のための期間とされ、期間T41の間、光源装置23は白色光を通常発光する。すなわち、光源装置23は、期間T41の間継続して白色光を被写体に照射し続ける。
 この例では、光源装置23は第1の実施の形態と同様に、白色光を発光するレーザ光源とされているが、通常発光時の照明光を発光する光源と、動き検出のための照明光をパルス発光する光源とを異なる光源とするようにしてもよい。
 例えば光源装置23によりパルス発光を行って入力画像を撮像すると、露光期間中、継続して白色光を発光した場合と比べて光量が少なくなるため、入力画像上で被写体を観察するには明るさが不足してしまうことがある。
 そこで、図11に示す例では入力画像の1フレーム分の期間T31のうちの半分の期間T41を1フィールドの期間とし、この1フィールド分の期間中、継続して光源装置23から白色光を出力させるとともに、期間T41を入力画像の露光のための期間としている。
 また、期間T41に続く期間T42では、第1の実施の形態と同様に光源装置23を2度パルス発光させる1フィールド分の期間とされる。すなわち、期間T42では、まず時刻t31に光源装置23をパルス発光させて白色光を被写体に照射させ、その後、時刻t32に再び光源装置23をパルス発光させて白色光を被写体に照射させる。
 このように2度のパルス発光が行われる1フィールド分の期間T42は、入力画像の露光期間ではなく、被写体(注目領域)の動きを検出するための検出用画像の露光期間とされる。
 したがって、例えば出力画像のフレームレートが60fpsである場合、1フレーム分の期間T31の長さは1/60sとされ、期間T41と期間T42は、それぞれ1/120sなどとされる。
 見方を変えると、この例では1フレーム分の期間に所定波長成分の光、つまり白色光を継続して出力する第1の露光期間と、白色光を複数回パルス発光する第2の露光期間とを設け、その1フレーム分の期間に2つの画像を撮像しているということができる。そして、第1の露光期間で得られた画像が出力画像を生成するための入力画像として用いられ、第2の露光期間で得られた画像が動きを検出するための検出用画像として用いられる。
 なお、ここでは1フレーム期間を2つのフィールドに分割する例について説明するが、入力画像を得るための期間と、検出用画像を得るための期間とをそれぞれ1フレーム期間とし、それらの期間を交互に設けるようにしてもよい。
 この場合、撮像された動画像を構成する複数のフレームのうち、白色光を継続して出力する第1の露光期間のフレームが入力画像として用いられ、白色光を複数回パルス発光する第2の露光期間のフレームが検出用画像として用いられる。
 図11に示す例では、入力画像を得るための1フィールド分の期間と、その期間に続く、検出用画像を得るための1フィールド分の期間とからなる1フレーム分の期間が連続して時間方向に並ぶように発光制御と撮像制御が行われる。換言すれば、入力画像を得るためのフィールドと、検出用画像を得るためのフィールドとが交互に並ぶように発光制御と撮像制御が行われる。
 この場合、通常の発光が行われるフィールドでは、撮像部62により撮像された画像が入力画像とされて出力画像生成部64に供給される。これに対して、パルス発光を行うフィールドでは、撮像部62により撮像された画像が検出用画像として動き検出部63に供給される。
 そして、動き検出部63では、供給された検出用画像から第1の実施の形態における場合と同様にして動きベクトルが算出され、得られた動きベクトルが動き情報として出力画像生成部64に供給される。
 さらに、出力画像生成部64では、適宜、動き検出部63から供給された動き情報に基づいて、撮像部62から供給された入力画像に対して手ぶれ補正処理等の動き補正が行われ、出力画像が生成される。
〈撮像処理について〉
 次に、内視鏡システム11において1フレーム期間を入力画像を得るためのフィールドと、検出用画像を得るためのフィールドとに分ける場合に行われる処理について説明する。すなわち、以下、図12のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS71において、光源装置23は、光源制御部61の制御に従って通常発光を行う。すなわち、光源装置23は、光源制御部61からの同期信号により示されるタイミングで、1フィールド分の期間、継続して発光し、白色光を被写体に照射する。
 ステップS72において、撮像部62は光源制御部61から供給された同期信号に基づいて入力画像の撮像を行い、得られた入力画像を出力画像生成部64に供給する。
 ステップS73において、光源装置23は、光源制御部61の制御に従ってパルス発光を行う。すなわち、ステップS73では図7のステップS11と同様の処理が行われて、1フィールド期間の間に2度のパルス発光が行われる。
 ステップS74において、撮像部62は光源制御部61から供給された同期信号に基づいて検出用画像の撮像を行う。
 すなわち、撮像部62は、パルス発光を行う1フィールド期間の全部または一部の期間を露光期間として入射した反射光を受光して光電変換し、検出用画像を得る。この例では、1フィールド期間に2度のパルス発光が行われるので、検出用画像は、各パルス発光時の被写体の像を含む多重露光画像となる。撮像部62は、得られた検出用画像を動き検出部63に供給する。
 このようにして1フレーム分の期間において、入力画像と検出用画像が得られると、その後、ステップS75乃至ステップS78の処理が行われて撮像処理は終了するが、これらの処理は図7のステップS13乃至ステップS16の処理と同様であるので、その説明は省略する。
 但し、ステップS75およびステップS76では、検出用画像に基づいてフレーム内動き検出とフレーム間動き検出が行われて、動き情報が求められる。また、ステップS75とステップS76の処理は並行して行われる。さらにステップS77では、入力画像に対して動き補正が行われ、出力画像が生成される。
 以上のようにして内視鏡システム11は、1フレーム期間のうちの前半の1フィールドの期間に通常発光を行って入力画像を得るとともに、1フレーム期間の後半の1フィールドの期間にパルス発光を行って検出用画像を得る。そして、内視鏡システム11は、検出用画像から動きを検出して、その検出結果と入力画像とを用いて出力画像を生成する。これにより、少ない遅延でより高精度に動きを検出することができる。
〈第4の実施の形態〉
〈動き検出について〉
 また、通常発光を行って入力画像を得る期間と、パルス発光を行って検出用画像を得る期間とを分ける場合、基本的には通常発光を行い、必要に応じて一時的にパルス発光を行うようにしてもよい。
 そのような場合、例えば図13に示すように通常発光とするか、またはパルス発光とするかをフレーム単位で切り替え、パルス発光とするフレームでは補間処理により入力画像を得るようにしてもよい。なお、図13において図2における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。また図13において横方向は時間を示しており、図13中の下向きの矢印は、光源装置23の発光タイミングを示している。
 図13に示す例では、白色光を継続して出力する第1の露光期間と、白色光を複数回パルス発光する第2の露光期間とが設けられている。そして、撮像された動画像を構成する複数のフレームのうち、第1の露光期間のフレームの画像が入力画像として用いられ、第2の露光期間のフレームの画像が検出用画像として用いられている。
 このように内視鏡システム11では、撮像された動画像の一部のフレームが入力画像として用いられ、他の一部のフレームが検出用画像として用いられるが、以下では、各フレームで入力画像や検出用画像を撮像するとも称することとする。
 図13では、所定の1フレーム分の期間T51では、例えば図11の期間T41と同様に光源装置23が白色光を継続して発光(通常発光)し、この期間T51が入力画像の露光のための期間とされる。つまり、期間T51が終了すると、1フレーム分の入力画像が得られる。
 また、期間T51に続く1フレーム分の期間T52では、図11の期間T42と同様に光源装置23が2度パルス発光し、検出用画像が撮像される。換言すれば、期間T52は露光期間中に2度のパルス発光が行われる期間とされ、この期間T52で得られた1フレーム分の画像が検出用画像として用いられる。
 期間T52に続く4つの1フレーム分の各期間では、それぞれ光源装置23が白色光を通常発光し、各フレームの入力画像が撮像され、その後の1フレーム分の期間T53では、期間T52と同様に光源装置23が2度パルス発光し、検出用画像が撮像される。
 このように図13に示す例では、通常発光が行われるフレームの間に部分的にパルス発光が行われるフレームが挿入されている。なお、通常発光を行うフレームの間に挿入されるパルス発光を行うフレーム(露光期間)の間隔は等間隔でもよいし、不等間隔でもよい。
 例えば複数回のパルス発光を行うフレームを不等間隔に並べて設ける場合、信号処理回路32が使用者の操作入力等に応じて撮像部62や光源制御部61を制御し、任意のタイミングでパルス発光を行うフレームを挿入することができるようにしてもよい。すなわち、信号処理回路32が任意のタイミングで入力画像を撮像するか、または検出用画像を撮像するかを切り替えることができるようにしてもよい。
 このような場合、例えば期間T51など、通常発光を行うフレームでは、出力画像生成部64は、撮像により得られた1フレーム分の入力画像から出力画像を生成する。
 また、例えば期間T52など、パルス発光を行うフレームでは、動き検出部63は、第1の実施の形態と同様の方法により、検出用画像から動きベクトルを求めて動き情報とする。動きの方向を求める際には、例えば処理対象となっているパルス発光を行うフレームに最も近い、パルス発光を行った過去のフレームの検出用画像を用いてもよいし、処理対象となっているパルス発光を行うフレームに時間的に隣接する通常発光を行うフレームの入力画像を用いてもよい。
 さらに、期間T52など、パルス発光を行うフレームでは入力画像が得られないため、このフレームでは少なくとも直前のフレームの入力画像と、動き情報とから動き補償が行われて補間処理により入力画像が生成される。
 具体的には、例えば出力画像生成部64は、動き検出部63から供給された期間T52のフレームで得られた動き情報を用いて、期間T51のフレームの入力画像に対して動き補償を行い、期間T52のフレームの入力画像を生成する。
 なお、期間T52のフレームの入力画像の生成は、そのフレームの前後に隣接する複数のフレームの入力画像を用いて行うようにしてもよい。例えば期間T51のフレームの入力画像と、期間T52のフレームの直後のフレームの入力画像とから動き情報を用いた動き補償、つまり補間処理を行って、期間T52のフレームの入力画像を生成してもよい。
 また、各フレームの入力画像について動き補正を行う場合には、そのフレームの動き情報、またはそのフレームに最も近い、過去のフレームの動き情報が用いられる。
〈撮像処理について〉
 次に、内視鏡システム11において通常発光を行うフレームの間に、適宜、パルス発光を行うフレームを挿入する場合に行われる処理について説明する。すなわち、以下、図14のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS101において、光源制御部61は、処理対象となっている現フレームが動き検出用のフレームであるか否か、すなわちパルス発光を行うフレームであるか否かを判定する。
 ステップS101において動き検出用のフレームであると判定された場合、処理はステップS102に進み、ステップS102乃至ステップS105の処理が行われて、検出用画像の撮像と動き情報の生成が行われる。なお、これらのステップS102乃至ステップS105の処理は、図12のステップS73乃至ステップS76の処理と同様であるので、その説明は省略する。
 ステップS106において、出力画像生成部64は、処理対象の現フレームについてステップS105で得られた動き情報と、撮像部62から供給された入力画像とに基づいて補間処理を行って処理対象の現フレームの入力画像を生成し、出力画像とする。
 例えば補間処理では、少なくとも現フレームの直前のフレームの入力画像が用いられる。このようにして出力画像が得られると、その後、処理はステップS110へと進む。
 また、ステップS101において、動き検出用のフレームではない、つまり通常発光を行うフレームであると判定された場合、処理はステップS107に進む。
 そして、ステップS107乃至ステップS109の処理が行われて、処理対象の現フレームの出力画像が生成される。なお、これらのステップS107乃至ステップS109の処理は、図12のステップS71、ステップS72、およびステップS77の処理と同様であるのでその説明は省略する。
 但し、ステップS109では、処理対象の現フレームよりも前にある最も時間的に近いパルス発光を行うフレームで得られた、つまり最後に行われたステップS105の処理で得られた動き情報が用いられて動き補正が行われる。
 ステップS109で動き補正が行われ、出力画像が得られると、その後、処理はステップS110へと進む。
 ステップS109またはステップS106の処理が行われて出力画像が得られると、ステップS110において、出力画像生成部64は、得られた出力画像をレコーダ65やモニタ26に出力し、撮像処理は終了する。これにより、出力画像がレコーダ65に記録されたり、出力画像がモニタ26に表示されたりする。
 以上のようにして内視鏡システム11は、通常のフレームでは通常発光を行って入力画像を得るとともに、適宜挿入されたフレームではパルス発光を行って検出用画像を得る。そして内視鏡システム11は、検出用画像から動きを検出して、その検出結果と入力画像を用いて出力画像を生成する。これにより、少ない遅延でより高精度に動きを検出することができる。
〈第5の実施の形態〉
〈動き検出について〉
 なお、以上においてはフレームごとやフィールドごとに、通常発光を行うか、またはパルス発光を行うかを切り替える例について説明した。しかし、例えば通常発光により出力する光と、パルス発光により出力する光とを異なる波長成分の光とすれば、同時に発光を行うことが可能である。
 すなわち、例えば図15に示すように各フレームの期間において、継続して通常発光が行われるとともに、1フレームにつき2回のパルス発光が行われるようにすることができる。なお、図15において横方向は時間を示しており、図15中の下向きの矢印は、光源装置23の発光タイミングを示している。
 この場合、例えば光源装置23は、通常発光を行って白色光を照明光として出力するレーザ光源、すなわちR光源、G光源、およびB光源からなるRGBレーザ光源と、パルス発光を行って動き検出用の赤外光を出力する赤外レーザ光源とを有するように構成される。
 赤外レーザ光源は、例えば波長が850nmの赤外光をパルス発光可能なレーザ光源とされる。また、照明光としての白色光には赤外光成分は含まれておらず、そのような白色光を出力するレーザ光源は、RGBレーザ光源に限らず、キセノン光源やLED光源など、他の光源であってもよい。
 図15に示す例では、例えば期間T61が入力画像と検出用画像の1フレーム分の期間となっており、この期間T61の間、継続して白色光の通常発光が行われる。また、期間T61では、赤外光の2度のパルス発光も行われる。この例では、時刻t61と時刻t62の2つの各時刻にパルス発光が行われ、赤外光が被写体に照射される。
 このように1フレーム期間に白色光の通常発光と赤外光のパルス発光とが行われる場合には、撮像部62側、つまりカメラヘッド22側では、それらの白色光と赤外光を分離させる光学系や、白色光と赤外光のそれぞれを受光するセンサ(撮像部)が必要となる。
 そのため、1フレーム期間に白色光の通常発光と赤外光のパルス発光とが行われる場合、撮像部62は、より詳細には例えば図16に示す構成とされる。なお、図16において図2における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。
 図16に示す例では、撮像部62には分離素子101、ミラー102、可視光センサ103、および赤外センサ104が設けられている。
 この例では、各フレームの期間において、通常発光による白色光の反射光と、パルス発光による赤外光の反射光とが被写体から分離素子101に入射してくる。
 分離素子101は、例えばプリズムやダイクロイックミラー、ハーフミラーなどからなり、被写体から入射した反射光を光学的に分離させる。また、ミラー102は、例えば全反射ミラーなどからなり、分離素子101から入射した光を反射させて赤外センサ104に入射させる。
 可視光センサ103は、可視光を受光して光電変換する複数の画素を有するイメージセンサからなり、分離素子101から入射した白色光を受光して光電変換することで入力画像を撮像し、得られた入力画像を出力画像生成部64に供給する。この可視光センサ103は、観察用の出力画像を得るための入力画像を撮像する撮像部として機能する。
 可視光センサ103の各画素には、赤外光を遮断する赤外カットフィルタが設けられており、可視光センサ103に入射してきた光のうちの可視光成分、つまり白色光の成分のみが画素のフォトダイオードで受光されるようになされている。
 また、赤外センサ104は、赤外光を受光して光電変換する複数の画素を有するイメージセンサからなり、ミラー102から入射した赤外光を受光して光電変換することで検出用画像を撮像し、得られた検出用画像を動き検出部63に供給する。この赤外センサ104は、動き検出に用いられる検出用画像を撮像する撮像部として機能する。
 赤外センサ104の各画素には、可視光を遮断する可視光カットフィルタが設けられており、赤外センサ104に入射してきた光のうちの赤外光成分のみが画素のフォトダイオードで受光されるようになされている。
 例えば分離素子101がプリズムやダイクロイックミラーからなる場合、分離素子101は、被写体から入射した反射光のうちの白色光の成分、つまり可視光成分を透過させて可視光センサ103に入射させるとともに、被写体から入射した反射光のうちの赤外光の成分を反射させる。そして、分離素子101で反射されてミラー102へと入射した赤外光はミラー102で反射されて赤外センサ104に入射する。
 これにより、可視光センサ103により可視光の入力画像が得られるとともに、赤外センサ104で赤外光の検出用画像が得られる。
 また、例えば分離素子101がハーフミラーからなる場合、分離素子101は被写体から入射した光の一部を透過させて可視光センサ103に入射させるとともに、残りの光、つまり入射してきた光の他の一部の光を反射する。このとき、分離素子101で反射されてミラー102へと入射した光はミラー102で反射されて赤外センサ104に入射する。
 この場合、可視光センサ103には、白色光成分と赤外光成分とを有する光が入射するが、可視光センサ103の各画素に設けられた赤外カットフィルタにより赤外光が遮断され、白色光のみが可視光センサ103で受光される。これにより、可視光センサ103では可視光の入力画像が得られる。
 また、赤外センサ104にも白色光成分と赤外光成分とを有する光が入射するが、赤外センサ104の各画素に設けられた可視光カットフィルタにより可視光が遮断され、赤外光のみが赤外センサ104で受光される。これにより、赤外センサ104では赤外光の検出用画像が得られる。
〈撮像処理について〉
 次に、内視鏡システム11において1フレーム期間に通常発光とパルス発光を行う場合に行われる処理について説明する。すなわち、以下、図17のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS141において、光源装置23は、1フレーム期間の間、通常発光を行って継続して白色光を照明光として被写体に照射するとともに、1フレーム期間における所定のタイミングで2度のパルス発光を行い、赤外光を被写体に照射する。
 すなわち、光源制御部61は、光源装置23としてのRGBレーザ光源を制御して、入力画像の露光期間中、継続して白色光を出力させるとともに、光源装置23としての赤外レーザ光源を制御して、検出用画像の露光期間中、2度のパルス発光により白色光とは波長成分の異なる赤外光を出力させる。ここでは、基本的には入力画像の露光期間と検出用画像の露光期間は同じ期間とされるが、検出用画像の露光期間、つまり2度のパルス発光が行われる期間は、RGBレーザ光源による通常発光が行われる入力画像の露光期間の少なくとも一部を含む期間であればよい。
 このような発光制御により、1フレーム期間の各時刻において白色光のみ、または白色光と赤外光が被写体に照射されることになる。被写体に白色光や赤外光を照射することで生じた反射光は、撮像部62の分離素子101に入射し、例えば反射光のうちの白色光は、分離素子101を透過して可視光センサ103に入射する。また、反射光のうちの赤外光は、分離素子101およびミラー102で反射して赤外センサ104に入射する。
 ステップS142において、撮像部62の可視光センサ103は、入射した白色光を受光して光電変換することで入力画像の撮像を行い、得られた入力画像を出力画像生成部64に供給する。
 ステップS143において、撮像部62の赤外センサ104は、入射した赤外光を受光して光電変換することで検出用画像の撮像を行い、得られた検出用画像を動き検出部63に供給する。なお、これらのステップS142およびステップS143の処理は、同時に行われる。
 入力画像および検出用画像が得られると、その後、ステップS144乃至ステップS147の処理が行われて撮像処理は終了するが、これらの処理は図12のステップS75乃至ステップS78の処理と同様であるので、その説明は省略する。但し、ステップS144およびステップS145の処理は並行して行われ、ステップS146では、検出用画像から得られた動き情報に基づいて、入力画像に対する動き補正が行われる。
 以上のようにして内視鏡システム11は、1フレーム期間において通常発光とパルス発光を同時に行って入力画像および検出用画像を得る。そして内視鏡システム11は、検出用画像から動きを検出して、その検出結果と入力画像とを用いて出力画像を生成する。これにより、少ない遅延でより高精度に動きを検出することができる。
〈第6の実施の形態〉
〈内視鏡システムの機能的な構成例〉
 ところで、本技術を適用した内視鏡システム11は声帯観察を行う場合にも有用である。
 一般に声帯は数百Hzの周波数で振動するため、通常観察では声帯部分の静止した画像を取得することができない。これに対してストロボ光源により照明光を声帯の振動周期に合わせて照射することで、声帯を静止させて観察する喉頭ストロボスコピーがある。
 しかし、喉頭ストロボスコピーでは、声帯の振動周期を検出するためには被験者により発せられた音声を取得する必要があり、内視鏡システムの構成が煩雑になってしまう。また、被検者は一定の高さの音声を一定時間発声し続けなければならない。
 そこで、内視鏡システム11では、被写体としての声帯にパルス発光により照明光を照射し、声帯を撮像して得られた入力画像に基づいて声帯の振動周期、つまり振動の周波数を検出することで静止した声帯の画像を出力画像として得られるようにした。
 この場合、検出された声帯の振動の周期と同じ周期で、つまり声帯の振動に同期させて光源装置23をパルス発光させ、ストロボ照射を行うことで、静止した声帯の画像をより簡単に得ることができる。
 このような声帯観察を行う場合、内視鏡システム11の機能的な構成は、例えば図18に示すようになる。なお、図18において図2における場合と対応する部分には同一の符号を付してあり、その説明は適宜省略する。
 図18に示す例では、内視鏡システム11は光源制御部61、光源装置23、撮像部62、周期検出部141、および出力画像生成部142を有している。
 また、この例では光源制御部61は、例えば図1に示した光源制御装置31に対応し、撮像部62は、図1に示したカメラヘッド22に対応する。さらに、周期検出部141は図1の検出部33により実現され、出力画像生成部142は図1の信号処理回路32により実現される。
 光源装置23は、光源制御部61の制御に従って所定の周期でパルス発光し、パルス光を照明光として被写体に照射する。特に光源装置23は、入力画像の1フレーム期間に複数回パルス発光するように制御される。
 光源装置23により被写体としての声帯に照明光が照射されると、その照明光が声帯で反射して反射光となり、撮像部62に入射する。
 撮像部62は、声帯からの反射光を受光して光電変換することで、声帯を被写体とする入力画像を撮像し、得られた入力画像を周期検出部141および出力画像生成部142に供給する。
 周期検出部141は、撮像部62から供給された各時刻の入力画像に基づいて声帯の振動周期、つまり声帯の振動の周波数を被写体の動きとして検出し、その検出結果を声帯の動きの検出結果を示す動き情報として光源制御部61に供給する。
 例えば光源装置23は入力画像の1フレーム期間に複数回パルス発光を行い、また声帯も1フレーム期間に複数回振動する。したがって、入力画像の撮像時には多重露光が行われることになり、入力画像には同一被写体の像が複数含まれることになる。
 そのため、光源装置23によるパルス発光の周期、つまり照明光を点灯および消灯させる点滅の周波数と、声帯の振動の周波数とが一致している場合、例えば図19に示すようにコントラストの高い入力画像P41が得られる。
 図19に示す入力画像P41は、被写体である声帯の像にぶれのないコントラストの高い画像となっている。換言すれば、被写体としての声帯があたかも静止しているような状態で撮像された入力画像P41が得られる。
 これは、パルス発光の周波数と、声帯の振動の周波数とが一致する場合、入力画像P41上の各時刻、つまり各パルス発光時の声帯の像が重なることになるので、被写体の像にぶれが生じないからである。
 これに対して、光源装置23によるパルス発光の周波数と、声帯の振動の周波数とにずれがあると、入力画像上の声帯(被写体)の像の位置にもずれが生じるので、例えば図19の入力画像P42のようなコントラストの低い画像が得られる。
 パルス発光の周波数と、声帯の振動の周波数とが一致していないと、1フレーム期間に複数回のパルス発光を行った場合、各パルス発光のタイミングにおける声帯の位置は異なる位置となるので、入力画像P42上における声帯の像の位置も異なることになる。すなわち、入力画像P42として多重像を含む、ぶれが生じたコントラストの低い画像が得られることになる。
 図18の説明に戻り、周期検出部141では、このような周波数の一致度合いと、入力画像のコントラストとの関係を利用して声帯の動き、つまり声帯の周波数が検出される。
 具体的には、例えば周期検出部141はパルス発光の周波数ごとに得られた入力画像のコントラストの度合いを示すコントラスト評価値を算出し、各周波数について得られたコントラスト評価値から、コントラスト評価値のピーク値を検出する。そして、周期検出部141は、コントラスト評価値がピーク値となるときのパルス発光の周波数を、声帯の振動の周波数とし、その周波数または周期を示す情報を、被写体としての声帯の動きの検出結果である動き情報として光源制御部61に供給する。光源制御部61は、周期検出部141から供給された動き情報に応じてパルス発光の周波数、すなわち周期を変更し、変更後の周期で光源装置23に発光動作を行わせる。
 特に、内視鏡システム11では、ストロボ照射、つまりパルス発光の周波数(周期)を徐々に変化させながら、複数の異なる周期で光源装置23によるパルス発光が行われる。そして、複数の異なる周波数(周期)ごとに得られたコントラスト評価値から声帯の周波数が検出される。このようなパルス発光の制御方法は、レンズを動かしてコントラストの評価値がピークとなるレンズ位置を検出するコントラスト方式のオートフォーカス制御と同様の制御方法であり、この制御方法を採用すれば、高精度に声帯の振動の周波数を検出可能である。
 以上のようにして声帯の周波数が検出されると、その後、内視鏡システム11は、動き情報により示される、検出された周波数と同じ周波数でパルス発光を行って入力画像を撮像し、ぼけのない静止した声帯の出力画像を得る。
 すなわち、被写体としての声帯の動きが検出された後、撮像部62により撮像された入力画像が出力画像生成部142に供給される。出力画像生成部142は、撮像部62から供給された入力画像に対してゲイン調整処理等の所定の処理を施すことで出力画像を生成し、出力する。このようにして得られた出力画像は、ぼけのない静止した声帯の画像となる。
〈撮像処理について〉
 次に、声帯観察を行う場合に内視鏡システム11により行われる処理について説明する。すなわち、以下、図20のフローチャートを参照して、内視鏡システム11による撮像処理について説明する。
 ステップS181において、光源制御部61は、これまでのパルス発光の周波数に基づいて、新たなパルス発光の周波数を決定する。
 例えば最初に発光するときには、予め定められた所定の周波数がパルス発光の周波数とされる。また、例えばこれまで徐々にパルス発光の周波数を高くしてきたが、まだ動き情報が供給されていない場合、つまりまだ声帯の周波数が検出されていない場合、さらに高い周波数が新たなパルス発光の周波数とされる。
 ステップS182において光源装置23はパルス発光を行う。すなわち、光源制御部61は、ステップS181で決定した周波数でパルス発光が行われるように光源装置23を制御し、光源装置23は光源制御部61の制御に従って、所定の周波数でパルス発光を行う。これにより、入力画像の1フレームの期間において、周期的に照明光が被写体である声帯に照射されることになる。この照明光は声帯で反射されて反射光となり、撮像部62へと入射する。なお、このとき被験者は継続して一定の高さの音を発生する。
 ステップS183において撮像部62は、声帯から入射した反射光を受光して光電変換することにより、例えば1フレーム分の入力画像の撮像を行う。撮像部62は、撮像により得られた入力画像を周期検出部141に供給する。
 ステップS184において、周期検出部141は撮像部62から供給された入力画像に基づいて、被写体である声帯の動きを検出する。
 具体的には、周期検出部141は、入力画像に基づいてコントラスト評価値を算出するとともに、これまでに算出したコントラスト評価値からコントラスト評価値のピーク値を検出する。
 ステップS185において、周期検出部141は、ステップS184における動きの検出結果、つまりコントラスト評価値のピーク値の検出結果に基づいて、声帯の周波数が検出されたか否かを判定する。例えばコントラスト評価値のピーク値が検出された場合、声帯の周波数が検出されたと判定される。
 ステップS185において、まだ声帯の周波数が検出されていないと判定された場合、処理はステップS181に戻り、上述した処理が繰り返し行われる。この場合、パルス発光の周波数が変更されて撮像が行われ、コントラスト評価値が算出されることになる。
 これに対して、ステップS185において声帯の周波数が検出されたと判定された場合、周期検出部141は、ピーク値となるコントラスト評価値が得られた時のパルス発光の周波数を、声帯の周波数、より詳細には声帯の振動の周波数とする。そして、周期検出部141は、その声帯の振動の周波数を示す情報を動きの検出結果を示す動き情報として光源制御部61に供給し、処理はステップS186へと進む。なお、周期検出部141では、各時刻における光源装置23でのパルス発光の周波数が既知となっている。
 ステップS186において、光源制御部61は、これから行うパルス発光の周波数を、動き情報により示される声帯の周波数として、その周波数でパルス発光が行われるように光源装置23を制御する。
 そして、ステップS187において、光源装置23は光源制御部61の制御に従ってパルス発光を行う。これにより、声帯の振動の周波数と一致した周波数で照明光のパルス発光が行われることになる。
 ステップS188において、撮像部62は、声帯から入射した反射光を受光して光電変換することで入力画像を撮像し、得られた入力画像を出力画像生成部142に供給する。
 ステップS189において、出力画像生成部142は、撮像部62から供給された入力画像に基づいて出力画像を生成して出力し、撮像処理は終了する。例えば入力画像に対して、適宜、ホワイトバランス調整やゲイン調整などの必要な処理が行われて出力画像とされる。出力画像生成部142から出力された出力画像は、例えばモニタ26に表示されたり、レコーダに記録されたりする。
 以上のようにして内視鏡システム11は、周波数を変化させながら1フレーム期間に複数回のパルス発光を行い、撮像により得られた入力画像のコントラスト評価値を求めて声帯の振動の周波数を検出する。そして内視鏡システム11は、検出された周波数でパルス発光を行って入力画像を撮像することで、動きのない静止した声帯の出力画像を得る。
 このように周波数を変化させながらパルス発光を行い、コントラスト評価値を算出することで、より簡単かつ高精度に被写体である声帯の動きを検出することができる。
 特に、内視鏡システム11では、被験者の発した音声を収音する必要がなく、また画像のコントラストから声帯の振動の周波数を検出するので、簡単な構成で、簡単かつ高精度に声帯の振動の周波数を検出することができる。
 しかも、内視鏡システム11では、被検者が音声の高さを途中で変化させた場合でも、入力画像を撮像しながら再度、声帯の振動の周波数の検出を行い、パルス発光の周波数を調整することで、被検者の音声の高さの変化に追従することが可能である。
 ところで、以上においては、パルス発光の周波数を声帯の振動の周波数と一致させることで、声帯が静止した状態の出力画像を生成する例について説明した。
 しかし、パルス発光の周波数を声帯の振動の周波数から少しずらすようにすれば、例えば図21に示すように声帯がゆっくりと振動しているかのような動画像、つまり声帯の振動の様子をスロー再生するような動画像を出力画像として得ることができる。なお、図21において横軸は時間を示しており、縦軸は声帯の位置を示している。
 図21に示す例では、曲線L11は各時刻における声帯の位置を示している。また、図21中の各円はパルス発光のタイミングを示しており、曲線L12は出力画像上で観察される声帯の各時刻における位置を示している。
 この例では、曲線L11から被験者の声帯が一定の周期で、つまり一定の周波数で振動していることが分かる。これに対して、各円の位置から分かるように、内視鏡システム11では、声帯の周波数とは異なる一定の周波数でパルス発光が行われている。
 これにより、入力画像上における声帯の位置は、曲線L11における各円の位置により示される位置となり、その結果、動画像である出力画像上で観察される各時刻における声帯の位置は、曲線L12に示される位置となる。したがって、曲線L12は、出力画像上における声帯の見かけ上の振動の周期(周波数)を表す曲線であるということができる。
 以上のようにパルス発光の周波数を声帯の振動の周波数と少しずらすようにすると、各円により示されるタイミングでのみ入力画像の露光が行われる。そのため、本来は曲線L11により示される周期で振動する声帯が、あたかも曲線L12により示される周期で振動しているかのような出力画像を得ることができる。つまり、声帯の動きをスロー再生しているかのような動画像を出力画像として得ることができる。
 この場合、図20を参照して説明した撮像処理のステップS186において、検出された声帯の周波数から所定値だけずれた周波数をパルス発光の周波数とすればよい。このとき、パルス発光の周波数を適切に制御することで、出力画像上で再生される声帯の動きの速さを所望の速さに調整することが可能である。
 以上のように内視鏡システム11を用いて声帯観察、つまり喉頭ストロボスコピーを行なえば、被験者の音声を収音して、その音声の周波数を検出するような構成を用いることなく、静止した声帯や、ゆっくりと動く声帯の観察が可能である。また、被験者が途中で音程を変化させても追随可能な観察が可能である。
 さらに、以上において説明した本技術は、フレーム間隔の時間と比べてはるかに速い動きに対して、例えば血管拍動の伝播速度の検出や、レーザによるスペックルイメージングの動き検出等にも有効である。
〈内視鏡手術システムの構成例〉
 また、本技術は、例えば図1に示した内視鏡システム11を用いて内視鏡手術を行う内視鏡手術システムにも適用することができる。そのような場合、内視鏡手術システムは、例えば図22に示すように構成される。すなわち、図22は、本開示に係る技術が適用され得る内視鏡手術システム500の概略的な構成の一例を示す図である。
 図22では、術者(医師)567が、内視鏡手術システム500を用いて、患者ベッド569上の患者571に手術を行っている様子が図示されている。図示するように、内視鏡手術システム500は、内視鏡501と、その他の術具517と、内視鏡501を支持する支持アーム装置527と、内視鏡下手術のための各種の装置が搭載されたカート537と、から構成される。
 内視鏡手術では、腹壁を切って開腹する代わりに、トロッカ525a乃至525dと呼ばれる筒状の開孔器具が腹壁に複数穿刺される。そして、トロッカ525a乃至525dから、内視鏡501の鏡筒503や、その他の術具517が患者571の体腔内に挿入される。図示する例では、その他の術具517として、気腹チューブ519、エネルギー処置具521及び鉗子523が、患者571の体腔内に挿入されている。また、エネルギー処置具521は、高周波電流や超音波振動により、組織の切開及び剥離、又は血管の封止等を行う処置具である。ただし、図示する術具517はあくまで一例であり、術具517としては、例えば攝子、レトラクタ等、一般的に内視鏡下手術において用いられる各種の術具が用いられてよい。
 内視鏡501によって撮像された患者571の体腔内の術部の画像が、表示装置541に表示される。術者567は、表示装置541に表示された術部の画像をリアルタイムで見ながら、エネルギー処置具521や鉗子523を用いて、例えば患部を切除する等の処置を行う。なお、図示は省略しているが、気腹チューブ519、エネルギー処置具521及び鉗子523は、手術中に、術者567又は助手等によって支持される。
 (支持アーム装置)
 支持アーム装置527は、ベース部529から延伸するアーム部531を備える。図示する例では、アーム部531は、関節部533a、533b、533c、及びリンク535a、535bから構成されており、アーム制御装置545からの制御により駆動される。アーム部531によって内視鏡501が支持され、その位置及び姿勢が制御される。これにより、内視鏡501の安定的な位置の固定が実現され得る。
 (内視鏡)
 内視鏡501は、先端から所定の長さの領域が患者571の体腔内に挿入される鏡筒503と、鏡筒503の基端に接続されるカメラヘッド505と、から構成される。図示する例では、硬性の鏡筒503を有するいわゆる硬性鏡として構成される内視鏡501を図示しているが、内視鏡501は、軟性の鏡筒503を有するいわゆる軟性鏡として構成されてもよい。
 鏡筒503の先端には、対物レンズが嵌め込まれた開口部が設けられている。内視鏡501には光源装置543が接続されており、当該光源装置543によって生成された光が、鏡筒503の内部に延設されるライトガイドによって当該鏡筒の先端まで導光され、対物レンズを介して患者571の体腔内の観察対象に向かって照射される。なお、内視鏡501は、直視鏡であってもよいし、斜視鏡又は側視鏡であってもよい。
 カメラヘッド505の内部には光学系及び撮像素子が設けられており、観察対象からの反射光(観察光)は当該光学系によって当該撮像素子に集光される。当該撮像素子によって観察光が光電変換され、観察光に対応する電気信号、すなわち観察像に対応する画像信号が生成される。当該画像信号は、RAWデータとしてカメラコントロールユニット(CCU:Camera Control Unit)539に送信される。なお、カメラヘッド505には、その光学系を適宜駆動させることにより、倍率及び焦点距離を調整する機能が搭載される。
 なお、例えば立体視(3D表示)等に対応するために、カメラヘッド505には撮像素子が複数設けられてもよい。この場合、鏡筒503の内部には、当該複数の撮像素子のそれぞれに観察光を導光するために、リレー光学系が複数系統設けられる。
 (カートに搭載される各種の装置)
 CCU539は、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)等によって構成され、内視鏡501及び表示装置541の動作を統括的に制御する。具体的には、CCU539は、カメラヘッド505から受け取った画像信号に対して、例えば現像処理(デモザイク処理)等の、当該画像信号に基づく画像を表示するための各種の画像処理を施す。CCU539は、当該画像処理を施した画像信号を表示装置541に提供する。また、CCU539は、カメラヘッド505に対して制御信号を送信し、その駆動を制御する。当該制御信号には、倍率や焦点距離等、撮像条件に関する情報が含まれ得る。
 表示装置541は、CCU539からの制御により、当該CCU539によって画像処理が施された画像信号に基づく画像を表示する。内視鏡501が例えば4K(水平画素数3840×垂直画素数2160)又は8K(水平画素数7680×垂直画素数4320)等の高解像度の撮影に対応したものである場合、及び/又は3D表示に対応したものである場合には、表示装置541としては、それぞれに対応して、高解像度の表示が可能なもの、及び/又は3D表示可能なものが用いられ得る。4K又は8K等の高解像度の撮影に対応したものである場合、表示装置541として55インチ以上のサイズのものを用いることで一層の没入感が得られる。また、用途に応じて、解像度、サイズが異なる複数の表示装置541が設けられてもよい。
 光源装置543は、例えばLED等の光源から構成され、術部を撮影する際の照射光を内視鏡501に供給する。
 アーム制御装置545は、例えばCPU等のプロセッサによって構成され、所定のプログラムに従って動作することにより、所定の制御方式に従って支持アーム装置527のアーム部531の駆動を制御する。
 入力装置547は、内視鏡手術システム500に対する入力インタフェースである。ユーザは、入力装置547を介して、内視鏡手術システム500に対して各種の情報の入力や指示入力を行うことができる。例えば、ユーザは、入力装置547を介して、患者の身体情報や、手術の術式についての情報等、手術に関する各種の情報を入力する。また、例えば、ユーザは、入力装置547を介して、アーム部531を駆動させる旨の指示や、内視鏡501による撮像条件(照射光の種類、倍率及び焦点距離等)を変更する旨の指示、エネルギー処置具521を駆動させる旨の指示等を入力する。
 入力装置547の種類は限定されず、入力装置547は各種の公知の入力装置であってよい。入力装置547としては、例えば、マウス、キーボード、タッチパネル、スイッチ、フットスイッチ557及び/又はレバー等が適用され得る。入力装置547としてタッチパネルが用いられる場合には、当該タッチパネルは表示装置541の表示面上に設けられてもよい。
 あるいは、入力装置547は、例えばメガネ型のウェアラブルデバイスやHMD(Head Mounted Display)等の、ユーザによって装着されるデバイスであり、これらのデバイスによって検出されるユーザのジェスチャや視線に応じて各種の入力が行われる。また、入力装置547は、ユーザの動きを検出可能なカメラを含み、当該カメラによって撮像された映像から検出されるユーザのジェスチャや視線に応じて各種の入力が行われる。更に、入力装置547は、ユーザの声を収音可能なマイクロフォンを含み、当該マイクロフォンを介して音声によって各種の入力が行われる。このように、入力装置547が非接触で各種の情報を入力可能に構成されることにより、特に清潔域に属するユーザ(例えば術者567)が、不潔域に属する機器を非接触で操作することが可能となる。また、ユーザは、所持している術具から手を離すことなく機器を操作することが可能となるため、ユーザの利便性が向上する。
 処置具制御装置549は、組織の焼灼、切開又は血管の封止等のためのエネルギー処置具521の駆動を制御する。気腹装置551は、内視鏡501による視野の確保及び術者の作業空間の確保の目的で、患者571の体腔を膨らめるために、気腹チューブ519を介して当該体腔内にガスを送り込む。レコーダ553は、手術に関する各種の情報を記録可能な装置である。プリンタ555は、手術に関する各種の情報を、テキスト、画像又はグラフ等各種の形式で印刷可能な装置である。
 また、図22に示した内視鏡手術システム500と図1に示した内視鏡システム11との対応関係は、以下のようになる。すなわち、鏡筒503はスコープ21に対応し、カメラヘッド505はカメラヘッド22に対応する。また、光源装置543は光源装置23に対応し、カメラコントロールユニット539はカメラコントロールユニット24に対応し、入力装置547は操作入力装置25に対応し、表示装置541はモニタ26に対応する。
 以上、本開示に係る技術が適用され得る内視鏡手術システム500の一例について説明した。なお、ここでは、一例として内視鏡手術システム500について説明したが、本開示に係る技術が適用され得るシステムはかかる例に限定されない。例えば、本開示に係る技術は、検査用軟性内視鏡システムや顕微鏡手術システムに適用されてもよい。
〈コンピュータの構成例〉
 ところで、上述した一連の処理は、ハードウェアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、コンピュータにインストールされる。ここで、コンピュータには、専用のハードウェアに組み込まれているコンピュータや、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のコンピュータなどが含まれる。
 図23は、上述した一連の処理をプログラムにより実行するコンピュータのハードウェアの構成例を示すブロック図である。
 コンピュータにおいて、CPU601,ROM(Read Only Memory)602,RAM(Random Access Memory)603は、バス604により相互に接続されている。
 バス604には、さらに、入出力インターフェース605が接続されている。入出力インターフェース605には、入力部606、出力部607、記録部608、通信部609、及びドライブ610が接続されている。
 入力部606は、キーボード、マウス、マイクロフォン、撮像素子などよりなる。出力部607は、ディスプレイ、スピーカなどよりなる。記録部608は、ハードディスクや不揮発性のメモリなどよりなる。通信部609は、ネットワークインターフェースなどよりなる。ドライブ610は、磁気ディスク、光ディスク、光磁気ディスク、又は半導体メモリなどのリムーバブル記録媒体611を駆動する。
 以上のように構成されるコンピュータでは、CPU601が、例えば、記録部608に記録されているプログラムを、入出力インターフェース605及びバス604を介して、RAM603にロードして実行することにより、上述した一連の処理が行われる。
 コンピュータ(CPU601)が実行するプログラムは、例えば、パッケージメディア等としてのリムーバブル記録媒体611に記録して提供することができる。また、プログラムは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供することができる。
 コンピュータでは、プログラムは、リムーバブル記録媒体611をドライブ610に装着することにより、入出力インターフェース605を介して、記録部608にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部609で受信し、記録部608にインストールすることができる。その他、プログラムは、ROM602や記録部608に、あらかじめインストールしておくことができる。
 なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。
 また、本技術の実施の形態は、上述した実施の形態に限定されるものではなく、本技術の要旨を逸脱しない範囲において種々の変更が可能である。
 例えば、本技術は、1つの機能をネットワークを介して複数の装置で分担、共同して処理するクラウドコンピューティングの構成をとることができる。
 また、上述のフローチャートで説明した各ステップは、1つの装置で実行する他、複数の装置で分担して実行することができる。
 さらに、1つのステップに複数の処理が含まれる場合には、その1つのステップに含まれる複数の処理は、1つの装置で実行する他、複数の装置で分担して実行することができる。
 また、本明細書中に記載された効果はあくまで例示であって限定されるものではなく、他の効果があってもよい。
 さらに、本技術は、以下の構成とすることも可能である。
(1)
 光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、
 前記撮像画像上における被写体の動きを検出する動き検出部と
 を備える画像処理装置。
(2)
 前記撮像画像は生体の画像である
 (1)に記載の画像処理装置。
(3)
 前記動き検出部は、1つの前記撮像画像に基づいて、前記動きとして動きベクトルの各成分の大きさを検出する
 (1)または(2)に記載の画像処理装置。
(4)
 前記光源制御部は、各前記パルス発光時に同じ波長成分の光が出力されるように前記光源を制御する
 (3)に記載の画像処理装置。
(5)
 前記動き検出部は、複数の前記撮像画像に基づいて、前記動きとして前記動きベクトルの方向をさらに検出する
 (4)に記載の画像処理装置。
(6)
 前記動きの検出結果に基づいて、前記撮像画像に対する動き補正を行う動き補正部をさらに備える
 (4)また(5)に記載の画像処理装置。
(7)
 前記動きの検出結果に基づいて、前記動きのない時刻の前記撮像画像から前記被写体の画像を生成する画像生成部をさらに備える
 (3)または(4)に記載の画像処理装置。
(8)
 前記光源制御部は、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが設けられるように前記光源を制御する
 (4)または(5)に記載の画像処理装置。
(9)
 前記動き検出部は、複数回の前記パルス発光が行われる露光期間の前記撮像画像に基づいて前記動きを検出し、
 前記動きの検出結果に基づいて、継続して前記波長成分の光が出力される露光期間の前記撮像画像に対する動き補正を行う動き補正部をさらに備える
 (8)に記載の画像処理装置。
(10)
 前記光源制御部は、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが交互に設けられるように前記光源を制御する
 (8)または(9)に記載の画像処理装置。
(11)
 前記光源制御部は、複数回の前記パルス発光が行われる露光期間が不等間隔に設けられるように前記光源を制御する
 (8)または(9)に記載の画像処理装置。
(12)
 前記光源制御部は、複数回の前記パルス発光のそれぞれにおいて、互いに異なる波長成分の光が出力されるように前記光源を制御する
 (1)または(2)に記載の画像処理装置。
(13)
 前記動き検出部は、1つの前記撮像画像から得られる前記波長成分ごとの画像に基づいて、前記動きとして動きベクトルを検出する
 (12)に記載の画像処理装置。
(14)
 前記光源制御部は、前記撮像画像とは異なる前記被写体の入力画像の露光期間中、継続して所定波長成分の光が出力されるように前記光源とは異なる他の光源を制御するとともに、前記入力画像の露光期間の少なくとも一部を含む期間において複数回のパルス発光により前記所定波長成分とは異なる他の波長成分の光が出力されるように前記光源を制御し、
 前記撮像画像を撮像する第1の撮像部と、
 前記入力画像を撮像する第2の撮像部と、
 前記被写体からの光を光学的に分離させ、分離させた前記光の一部を前記第1の撮像部に入射させるとともに、分離させた前記光の他の一部を前記第2の撮像部に入射させる分離素子と
 をさらに備える(1)乃至(3)の何れか一項に記載の画像処理装置。
(15)
 前記動きの検出結果に基づいて、前記入力画像に対する動き補正を行う動き補正部をさらに備える
 (14)に記載の画像処理装置。
(16)
 前記光源制御部は、パルス発光の周期を変化させながら、複数の異なる周期で前記光源をパルス発光させ、
 前記動き検出部は、前記複数の異なる周期ごとに得られた前記撮像画像のコントラストの度合いに基づいて、前記被写体の振動の周期を前記動きとして検出する
 (1)または(2)に記載の画像処理装置。
(17)
 前記光源制御部は、前記動きの検出後、前記動きの検出結果に応じた周期で前記光源をパルス発光させる
 (16)に記載の画像処理装置。
(18)
 光源を制御して撮像画像の露光期間に複数回パルス発光させ、
 前記撮像画像上における被写体の動きを検出する
 ステップを含む画像処理方法。
(19)
 光源を制御して撮像画像の露光期間に複数回パルス発光させ、
 前記撮像画像上における被写体の動きを検出する
 ステップを含む処理をコンピュータに実行させるプログラム。
(20)
 パルス発光可能な光源と、
 前記光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、
 前記撮像画像を撮像する撮像部と、
 前記撮像画像上における被写体の動きを検出する動き検出部と
 を備える内視鏡システム。
 11 内視鏡システム, 21 スコープ, 22 カメラヘッド, 23 光源装置, 24 カメラコントロールユニット, 26 モニタ, 31 光源制御装置, 32 信号処理回路, 33 検出部, 61 光源制御部, 62 撮像部, 63 動き検出部, 64 出力画像生成部, 141 周期検出部, 142 出力画像生成部

Claims (20)

  1.  光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、
     前記撮像画像上における被写体の動きを検出する動き検出部と
     を備える画像処理装置。
  2.  前記撮像画像は生体の画像である
     請求項1に記載の画像処理装置。
  3.  前記動き検出部は、1つの前記撮像画像に基づいて、前記動きとして動きベクトルの各成分の大きさを検出する
     請求項1に記載の画像処理装置。
  4.  前記光源制御部は、各前記パルス発光時に同じ波長成分の光が出力されるように前記光源を制御する
     請求項3に記載の画像処理装置。
  5.  前記動き検出部は、複数の前記撮像画像に基づいて、前記動きとして前記動きベクトルの方向をさらに検出する
     請求項4に記載の画像処理装置。
  6.  前記動きの検出結果に基づいて、前記撮像画像に対する動き補正を行う動き補正部をさらに備える
     請求項4に記載の画像処理装置。
  7.  前記動きの検出結果に基づいて、前記動きのない時刻の前記撮像画像から前記被写体の画像を生成する画像生成部をさらに備える
     請求項3に記載の画像処理装置。
  8.  前記光源制御部は、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが設けられるように前記光源を制御する
     請求項4に記載の画像処理装置。
  9.  前記動き検出部は、複数回の前記パルス発光が行われる露光期間の前記撮像画像に基づいて前記動きを検出し、
     前記動きの検出結果に基づいて、継続して前記波長成分の光が出力される露光期間の前記撮像画像に対する動き補正を行う動き補正部をさらに備える
     請求項8に記載の画像処理装置。
  10.  前記光源制御部は、継続して前記波長成分の光が出力される露光期間と、複数回の前記パルス発光が行われる露光期間とが交互に設けられるように前記光源を制御する
     請求項8に記載の画像処理装置。
  11.  前記光源制御部は、複数回の前記パルス発光が行われる露光期間が不等間隔に設けられるように前記光源を制御する
     請求項8に記載の画像処理装置。
  12.  前記光源制御部は、複数回の前記パルス発光のそれぞれにおいて、互いに異なる波長成分の光が出力されるように前記光源を制御する
     請求項1に記載の画像処理装置。
  13.  前記動き検出部は、1つの前記撮像画像から得られる前記波長成分ごとの画像に基づいて、前記動きとして動きベクトルを検出する
     請求項12に記載の画像処理装置。
  14.  前記光源制御部は、前記撮像画像とは異なる前記被写体の入力画像の露光期間中、継続して所定波長成分の光が出力されるように前記光源とは異なる他の光源を制御するとともに、前記入力画像の露光期間の少なくとも一部を含む期間において複数回のパルス発光により前記所定波長成分とは異なる他の波長成分の光が出力されるように前記光源を制御し、
     前記撮像画像を撮像する第1の撮像部と、
     前記入力画像を撮像する第2の撮像部と、
     前記被写体からの光を光学的に分離させ、分離させた前記光の一部を前記第1の撮像部に入射させるとともに、分離させた前記光の他の一部を前記第2の撮像部に入射させる分離素子と
     をさらに備える請求項1に記載の画像処理装置。
  15.  前記動きの検出結果に基づいて、前記入力画像に対する動き補正を行う動き補正部をさらに備える
     請求項14に記載の画像処理装置。
  16.  前記光源制御部は、パルス発光の周期を変化させながら、複数の異なる周期で前記光源をパルス発光させ、
     前記動き検出部は、前記複数の異なる周期ごとに得られた前記撮像画像のコントラストの度合いに基づいて、前記被写体の振動の周期を前記動きとして検出する
     請求項1に記載の画像処理装置。
  17.  前記光源制御部は、前記動きの検出後、前記動きの検出結果に応じた周期で前記光源をパルス発光させる
     請求項16に記載の画像処理装置。
  18.  光源を制御して撮像画像の露光期間に複数回パルス発光させ、
     前記撮像画像上における被写体の動きを検出する
     ステップを含む画像処理方法。
  19.  光源を制御して撮像画像の露光期間に複数回パルス発光させ、
     前記撮像画像上における被写体の動きを検出する
     ステップを含む処理をコンピュータに実行させるプログラム。
  20.  パルス発光可能な光源と、
     前記光源を制御して撮像画像の露光期間に複数回パルス発光させる光源制御部と、
     前記撮像画像を撮像する撮像部と、
     前記撮像画像上における被写体の動きを検出する動き検出部と
     を備える内視鏡システム。
PCT/JP2017/025462 2016-07-26 2017-07-12 画像処理装置および方法、内視鏡システム、並びにプログラム WO2018021035A1 (ja)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018529759A JP6900953B2 (ja) 2016-07-26 2017-07-12 画像処理装置および方法、内視鏡システム、並びにプログラム
US16/316,134 US11457801B2 (en) 2016-07-26 2017-07-12 Image processing device, image processing method, and endoscope system

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-145905 2016-07-26
JP2016145905 2016-07-26

Publications (1)

Publication Number Publication Date
WO2018021035A1 true WO2018021035A1 (ja) 2018-02-01

Family

ID=61016505

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/025462 WO2018021035A1 (ja) 2016-07-26 2017-07-12 画像処理装置および方法、内視鏡システム、並びにプログラム

Country Status (3)

Country Link
US (1) US11457801B2 (ja)
JP (1) JP6900953B2 (ja)
WO (1) WO2018021035A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020085028A1 (ja) * 2018-10-26 2020-04-30 パナソニックIpマネジメント株式会社 画像認識装置および画像認識方法
KR20200099471A (ko) * 2019-02-14 2020-08-24 파스포드 테크놀로지 주식회사 실장 장치 및 반도체 장치의 제조 방법
CN111568359A (zh) * 2020-05-15 2020-08-25 北京大学第三医院(北京大学第三临床医学院) 喉镜装置
US11977218B2 (en) 2019-08-21 2024-05-07 Activ Surgical, Inc. Systems and methods for medical imaging

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019163470A1 (ja) * 2018-02-22 2019-08-29 富士フイルム株式会社 内視鏡システム及びその作動方法
US20210235968A1 (en) * 2018-08-28 2021-08-05 Sony Corporation Medical system, information processing apparatus, and information processing method
US20200397277A1 (en) * 2019-06-20 2020-12-24 Ethicon Llc Videostroboscopy of vocal cords with a hyperspectral, fluorescence, and laser mapping imaging system
US11381730B2 (en) * 2020-06-25 2022-07-05 Qualcomm Incorporated Feature-based image autofocus

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298065A (ja) * 1987-05-28 1988-12-05 Babcock Hitachi Kk 物体の速度測定装置
JPH08122354A (ja) * 1994-10-19 1996-05-17 Hitachi Ltd 流速測定方法並びにその装置
JPH10221201A (ja) * 1997-02-05 1998-08-21 Toyota Motor Corp 流れ解析方法
JPH1164359A (ja) * 1997-08-27 1999-03-05 Natl Space Dev Agency Japan<Nasda> 流速計測方法および流速計測装置
JP2002148270A (ja) * 2000-11-09 2002-05-22 Bridgestone Corp 粒子速度の測定方法及び粒子速度測定装置
JP2003032529A (ja) * 2001-07-17 2003-01-31 Olympus Optical Co Ltd 信号処理装置
JP2010117190A (ja) * 2008-11-12 2010-05-27 Shin Nippon Air Technol Co Ltd 流体の流動状態測定方法
WO2010092728A1 (ja) * 2009-02-16 2010-08-19 コニカミノルタオプト株式会社 速度計測装置
JP2011221024A (ja) * 2010-04-09 2011-11-04 Siemens Ag 3次元運動特性の測定
JP2012055498A (ja) * 2010-09-09 2012-03-22 Olympus Corp 画像処理装置、内視鏡装置、画像処理プログラム及び画像処理方法
JP2012516432A (ja) * 2009-01-30 2012-07-19 シーメンス アクティエンゲゼルシャフト 物体の振動特性の測定
WO2013121616A1 (ja) * 2012-02-17 2013-08-22 オリンパスメディカルシステムズ株式会社 内視鏡装置
JP2014073398A (ja) * 2013-12-04 2014-04-24 Fujifilm Corp 内視鏡装置
JP2016202380A (ja) * 2015-04-17 2016-12-08 Hoya株式会社 画像処理装置および内視鏡装置

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2845276B2 (ja) 1986-12-26 1999-01-13 オリンパス光学工業株式会社 内視鏡装置
JP3962122B2 (ja) * 1996-11-20 2007-08-22 オリンパス株式会社 内視鏡装置
JP2002253494A (ja) 2001-03-02 2002-09-10 Asahi Optical Co Ltd ストロボ電子内視鏡装置
JP5435916B2 (ja) * 2008-09-18 2014-03-05 富士フイルム株式会社 電子内視鏡システム
JP2012119726A (ja) 2009-03-27 2012-06-21 Panasonic Corp 撮像装置およびテレビドアホン装置
JP5292379B2 (ja) * 2010-11-09 2013-09-18 富士フイルム株式会社 内視鏡装置
JP5864880B2 (ja) * 2011-04-07 2016-02-17 オリンパス株式会社 内視鏡装置及び内視鏡装置の作動方法
JP2016096848A (ja) 2014-11-18 2016-05-30 京セラ株式会社 測定装置及び測定方法

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63298065A (ja) * 1987-05-28 1988-12-05 Babcock Hitachi Kk 物体の速度測定装置
JPH08122354A (ja) * 1994-10-19 1996-05-17 Hitachi Ltd 流速測定方法並びにその装置
JPH10221201A (ja) * 1997-02-05 1998-08-21 Toyota Motor Corp 流れ解析方法
JPH1164359A (ja) * 1997-08-27 1999-03-05 Natl Space Dev Agency Japan<Nasda> 流速計測方法および流速計測装置
JP2002148270A (ja) * 2000-11-09 2002-05-22 Bridgestone Corp 粒子速度の測定方法及び粒子速度測定装置
JP2003032529A (ja) * 2001-07-17 2003-01-31 Olympus Optical Co Ltd 信号処理装置
JP2010117190A (ja) * 2008-11-12 2010-05-27 Shin Nippon Air Technol Co Ltd 流体の流動状態測定方法
JP2012516432A (ja) * 2009-01-30 2012-07-19 シーメンス アクティエンゲゼルシャフト 物体の振動特性の測定
WO2010092728A1 (ja) * 2009-02-16 2010-08-19 コニカミノルタオプト株式会社 速度計測装置
JP2011221024A (ja) * 2010-04-09 2011-11-04 Siemens Ag 3次元運動特性の測定
JP2012055498A (ja) * 2010-09-09 2012-03-22 Olympus Corp 画像処理装置、内視鏡装置、画像処理プログラム及び画像処理方法
WO2013121616A1 (ja) * 2012-02-17 2013-08-22 オリンパスメディカルシステムズ株式会社 内視鏡装置
JP2014073398A (ja) * 2013-12-04 2014-04-24 Fujifilm Corp 内視鏡装置
JP2016202380A (ja) * 2015-04-17 2016-12-08 Hoya株式会社 画像処理装置および内視鏡装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
VARUN, A. V. ET AL.: "Color plane slicing and its applications to motion characterization for machine vision", 2009 IEEE /ASME INTERNATIONAL CONFERENCE ON ADVANCED INTELLIGENT MECHATRONICS (AIM 2009) , INSTITUTE OF ELECTRICAL AND ELECTRONICS ENGINEERS, 2009, pages 590 - 594, XP031524145 *

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020085028A1 (ja) * 2018-10-26 2020-04-30 パナソニックIpマネジメント株式会社 画像認識装置および画像認識方法
JPWO2020085028A1 (ja) * 2018-10-26 2021-09-30 パナソニックIpマネジメント株式会社 画像認識装置および画像認識方法
JP7345101B2 (ja) 2018-10-26 2023-09-15 パナソニックIpマネジメント株式会社 画像認識装置および画像認識方法
KR20200099471A (ko) * 2019-02-14 2020-08-24 파스포드 테크놀로지 주식회사 실장 장치 및 반도체 장치의 제조 방법
KR102384806B1 (ko) 2019-02-14 2022-04-08 파스포드 테크놀로지 주식회사 실장 장치 및 반도체 장치의 제조 방법
US11977218B2 (en) 2019-08-21 2024-05-07 Activ Surgical, Inc. Systems and methods for medical imaging
CN111568359A (zh) * 2020-05-15 2020-08-25 北京大学第三医院(北京大学第三临床医学院) 喉镜装置

Also Published As

Publication number Publication date
JP6900953B2 (ja) 2021-07-14
JPWO2018021035A1 (ja) 2019-05-09
US11457801B2 (en) 2022-10-04
US20210282630A1 (en) 2021-09-16

Similar Documents

Publication Publication Date Title
WO2018021035A1 (ja) 画像処理装置および方法、内視鏡システム、並びにプログラム
US11788966B2 (en) Imaging system
US11216941B2 (en) Medical image processing apparatus, medical image processing method, and program
JP7226325B2 (ja) 焦点検出装置および方法、並びにプログラム
US11531151B2 (en) Imaging apparatus and image generating method that detects an orientation of an imaging section and generates an image corresponding to a polarization direction corresponding to the orientation the imaging section
US20210321887A1 (en) Medical system, information processing apparatus, and information processing method
WO2018123613A1 (ja) 医療用画像処理装置、医療用画像処理方法、プログラム
JP7095693B2 (ja) 医療用観察システム
JP7230807B2 (ja) 信号処理装置、撮像装置、信号処理方法及びプログラム
JP2012065113A (ja) 撮像装置、撮像方法及びプログラム
JP2019004978A (ja) 手術システムおよび手術用撮像装置
US11394942B2 (en) Video signal processing apparatus, video signal processing method, and image-capturing apparatus
WO2020008920A1 (ja) 医療用観察システム、医療用観察装置、及び医療用観察装置の駆動方法
US11699215B2 (en) Imaging device, method and program for producing images of a scene having an extended depth of field with good contrast
US11244478B2 (en) Medical image processing device, system, method, and program
US10917555B2 (en) Imaging apparatus, focus control method, and focus determination method
US20230047294A1 (en) Medical image generation apparatus, medical image generation method, and medical image generation program
US20220261967A1 (en) Endoscopic surgery system, image processing apparatus, and image processing method
JP7140113B2 (ja) 内視鏡
US20210235968A1 (en) Medical system, information processing apparatus, and information processing method
JP7456385B2 (ja) 画像処理装置、および画像処理方法、並びにプログラム
US20230090615A1 (en) Medical image processing device and medical observation system
WO2023276242A1 (ja) 医療用観察システム、情報処理装置及び情報処理方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2018529759

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 17834043

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: 17834043

Country of ref document: EP

Kind code of ref document: A1