Endoscope system, endoscope processor, endoscope system control method, and recording medium

By detecting image brightness in the endoscope system and dynamically adjusting the current of the semiconductor light source, the problem of hue inconsistency caused by the semiconductor light source is solved, the stability of brightness and hue is achieved, and the accuracy of medical diagnosis is improved.

CN112118778BActive Publication Date: 2024-10-25OLYMPUS CORPORATION(JP)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980032687.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-05-21
Filing Date
2019-02-13
Publication Date
2024-10-25
Estimated Expiration
2039-02-13

AI Technical Summary

Technical Problem

During endoscopic observation using semiconductor light sources, the peak wavelength of light shifts due to changes in current magnitude, resulting in inconsistent display tones. Existing technology cannot effectively suppress this phenomenon.

Method used

The endoscope system uses a light source part, a camera part, a brightness detection part and a control part. By detecting the brightness of the image and dynamically controlling the current applied to the semiconductor light source, the current value and application time of the illumination light are adjusted to maintain appropriate brightness. and hue.

Benefits of technology

It effectively suppresses hue changes caused by wavelength shift, ensures the brightness and hue consistency of the observed image, and improves diagnostic accuracy, especially in mid-range to close-range observation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112118778B_ABST
    Figure CN112118778B_ABST
Patent Text Reader

Abstract

The endoscope system comprises: a light source unit which generates illumination light for illuminating a subject existing in a subject and has one or more semiconductor light sources; an imaging unit which captures the subject irradiated with the illumination light to obtain an image; a brightness detection unit which detects the brightness of the image; and a control unit which changes one of a current value and an application period of a current applied to the semiconductor light source when the brightness of the image falls within a first brightness range, changes the brightness of the image by performing a prescribed processing on the image when the brightness of the image falls within a second brightness range, and changes the other of a current value and an application period of a current applied to the semiconductor light source when the brightness of the image falls within a third brightness range.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to an endoscope system, an endoscope processor, an endoscope system control method and a recording medium, and in particular to an endoscope system, an endoscope processor, an endoscope system control method and a recording medium used in observing a subject existing inside a subject. Background Art

[0002] In endoscopic observation in the medical field, a semiconductor light source such as an LED is sometimes used as a light source for generating illumination light for illuminating a subject such as a biological tissue in a subject.

[0003] Specifically, for example, the following viewpoint is disclosed in Japanese Patent Gazette No. 11-253397: in an endoscope device in which a white light emitting diode is disposed at the front end of an electronic endoscope, after control is performed for setting the light emitting time of the white light emitting diode to a maximum light emitting time, control is performed for causing the white light emitting diode to emit light at a driving current value greater than an initial driving current value.

[0004] Here, when a semiconductor light source such as an LED is used as a light source for endoscopic observation, for example, the following situation may occur: due to a phenomenon in which the peak wavelength of light emitted from the semiconductor light source shifts from the original peak wavelength depending on the magnitude of the current applied to the semiconductor light source, i.e., wavelength shift, an observation image with a hue different from the original hue is displayed.

[0005] However, Japanese Patent Application Laid-Open No. 11-253397 does not particularly disclose a method for suppressing the occurrence of the above situation.

[0006] The present invention has been completed in view of the above situation, and its purpose is to provide an endoscope system, an endoscope processor, a control method for the endoscope system and a recording medium that can minimize the display of an observation image with a color tone different from the original color tone when a semiconductor light source is used as a light source for endoscopic observation. Summary of the invention

[0007] Means used to solve problems

[0008] The endoscope system comprises: a light source unit that generates illumination light for illuminating a subject existing in a subject and is configured to have one or more semiconductor light sources; an imaging unit that is configured to capture an image of the subject irradiated with the illumination light; a brightness detection unit that is configured to detect the brightness of the image; and a control unit that is configured to perform an operation corresponding to a first control mode, in which, when the brightness of the image detected by the brightness detection unit falls within a first brightness range, a control unit is configured to apply a light source to the semiconductor light source that is a source of the illumination light. A first control is performed to change one of the current value and the application period of the current; when the brightness of the image detected by the brightness detection unit belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image; when the brightness of the image detected by the brightness detection unit belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light.

[0009] The endoscope processor can be connected to a light source device and an endoscope, the light source device generates illumination light for illuminating a subject existing in the subject, and is configured to have one or more semiconductor light sources, and the endoscope is configured to capture the subject irradiated with the illumination light to obtain an image, and is characterized in that the endoscope processor comprises: a brightness detection unit, which is configured to detect the brightness of the image; and a control unit, which is configured to perform an action corresponding to the following first control mode, in which, when the brightness of the image detected by the brightness detection unit belongs to the first brightness range, the control unit causes the image to become the subject. A first control is performed to change one of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light; when the brightness of the image detected by the brightness detection unit belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image; when the brightness of the image detected by the brightness detection unit belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light.

[0010] A control method for an endoscope system, the endoscope system comprising a light source device and an endoscope, the light source device generating illumination light for illuminating a subject existing in a subject, and being configured to have one or more semiconductor light sources, the endoscope being configured to obtain an image by photographing the subject irradiated with the illumination light, characterized in that the control method for the endoscope system comprises: a detection step of detecting the brightness of the image; and a control step of directing the semiconductor light source, which is a source of the illumination light, to the endoscope when the brightness of the image detected by the detection step belongs to a first brightness range. A first control is performed to change one of the current value and the application period of the current applied by the source; when the brightness of the image detected by the detection step belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image; when the brightness of the image detected by the detection step belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of the current value and the application period of the current applied to the semiconductor light source that becomes the source of the illumination light.

[0011] A computer-readable recording medium stores an image processing program for execution by a computer, characterized in that an endoscope system is caused to execute a brightness detection step and a control step. The endoscope system has a light source device and an endoscope. The light source device generates illumination light for illuminating a subject existing in a subject, and is configured to have one or more semiconductor light sources. The endoscope is configured to obtain an image by photographing the subject irradiated with the illumination light. In the detection step, the brightness of the image is detected. In the control step, when the brightness of the image detected by the detection step belongs to a first brightness range, the endoscope is caused to execute a brightness detection step and a control step. A first control is performed to change one of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light; when the brightness of the image detected by the detection step belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image; when the brightness of the image detected by the detection step belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a diagram showing the configuration of a main part of an endoscope system according to an embodiment.

[0013] Figure 2This is a diagram showing an example of the spectrum of illumination light irradiated onto a subject when the observation mode of the endoscope system according to the embodiment is set to the white light observation mode.

[0014] Figure 3 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0015] Figure 4 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0016] Figure 5 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0017] Figure 6 This is a diagram for explaining an example of the relationship between the brightness detection value and the light emission amount of the LED when the observation mode of the endoscope system according to the embodiment is set to the white light observation mode.

[0018] Figure 7 This is a diagram showing an example of the spectrum of illumination light irradiated onto a subject when the observation mode of the endoscope system according to the embodiment is set to the special light observation mode.

[0019] Figure 8 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0020] Fig. 9 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0021] Fig.10 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0022] Fig.11 This is a diagram for explaining an example of the relationship between the brightness detection value and the light emission amount of the LED when the observation mode of the endoscope system according to the embodiment is set to the special light observation mode. DETAILED DESCRIPTION

[0023] Hereinafter, embodiments of the present invention will be described with reference to the drawings.

[0024] Figures 1 to 11 It relates to embodiments of the present invention.

[0025] like Figure 1As shown, the endoscope system 1 comprises: an endoscope 2, which is configured to be inserted into a subject and output image data obtained by photographing a subject such as a biological tissue existing in the subject; a light source device 3, which is configured to supply illumination light for observing the subject via a light guide 7 arranged to pass through the interior of the endoscope 2; a processor 4, which is configured to generate and output an observation image corresponding to the image data output from the endoscope 2; and a display device 5, which is configured to display the observation image output from the processor 4 on a screen. Figure 1 It is a diagram showing the configuration of a main part of an endoscope system according to an embodiment.

[0026] The endoscope 2 includes an insertion portion 2a formed in an elongated shape that can be inserted into a subject, and an operation portion 2b provided at the proximal end side of the insertion portion 2a. In addition, the endoscope 2 is configured to be detachably connected to the processor 4 via, for example, a universal cable (not shown) having a built-in signal line for transmitting image data output from an imaging unit 21 (described later). In addition, the endoscope 2 is configured to be detachably connected to the light source device 3 via a light guide cable (not shown) having at least a portion of a light guide 7 built-in.

[0027] An imaging unit 21 for imaging an object such as biological tissue in the subject, an emission end of the light guide 7 , and an illumination optical system 22 for irradiating illumination light transmitted by the light guide 7 to the subject are provided at the distal end 2c of the insertion portion 2a .

[0028] The imaging unit 21 is configured to capture an object illuminated by the illumination light passing through the illumination optical system 22 to generate image data, and output the generated image data to the processor 4. That is, the imaging unit 21 is configured to capture an image of the object illuminated by the illumination light passing through the illumination optical system 22. In addition, the imaging unit 21 is configured to include an objective optical system 21a, an imaging element 21b, and an analog front end (hereinafter referred to as AFE) 21c.

[0029] The objective optical system 21 a is configured to include optical elements such as lenses, for example, and forms an image of return light (reflected light) emitted from a subject illuminated by illumination light that has passed through the illumination optical system 22 .

[0030] The imaging element 21b is for example configured to possess an image sensor such as CCD or CMOS. In addition, on the imaging surface of the imaging element 21b, a color filter for the primary color Bayer array of red, green and blue three colors of the return light incident from the object optical system 21a is provided and a plurality of pixels configured as a matrix in order to shoot the light having passed through the color filter. In addition, the imaging element 21b is configured to generate an imaging signal by shooting the return light formed by the object optical system 21a, and the imaging signal generated is output to AFE21c. In addition, the imaging element 21b is configured to perform the corresponding action with the control signal output from the processor 4.

[0031] The AFE 21 c is configured to generate image data by performing predetermined signal processing such as noise reduction processing and A / D conversion processing on the imaging signal output from the imaging element 21 b , and output the generated image data to the processor 4 .

[0032] The operating portion 2b is configured to have a shape that can be held and operated by a user. In addition, a scope switch 23 is provided on the operating portion 2b, and the scope switch 23 is configured to have one or more switches that can instruct the processor 4 in accordance with the user's input operation. Specifically, the scope switch 23 is configured to have, for example, an observation mode switching switch (not shown), which can provide an instruction for setting (switching) the observation mode of the endoscope system 1 to either the white light observation mode or the special light observation mode according to the user's operation. In addition, in the present embodiment, the same observation mode switching switch as the scope switch 23 can also be provided on the processor 4.

[0033] The light source device 3 is configured to generate illumination light for illuminating a subject existing inside the subject. The light source device 3 is configured to include a light emitting unit 31 , a multiplexer 32 , a condenser lens 33 , and a light source control unit 34 .

[0034] The light emitting unit 31 includes a purple LED 31a, a blue LED 31b, a green LED 31c, an amber LED 31d, and a red LED 31e. That is, the light emitting unit 31 includes a plurality of semiconductor light sources (semiconductor light emitting elements).

[0035] The purple LED 31a is configured to generate purple light (hereinafter referred to as V light) having a peak wavelength (central wavelength) in the purple band. Specifically, the purple LED 31a is configured to generate light with a peak wavelength set at around 415 nm as the V light. In addition, the purple LED 31a is configured to emit light or extinguish light according to the LED drive signal supplied from the light source control unit 34. In addition, the purple LED 31a is configured to emit light with an emission light amount corresponding to the LED drive signal supplied from the light source control unit 34. In addition, the emission light amount EV of the purple LED 31a is defined as the total light amount obtained by integrating the intensity of light of each wavelength included in the band of the V light.

[0036] The blue LED 31b is configured to generate blue light (hereinafter referred to as B light) having a peak wavelength (center wavelength) in a blue region on the longer wavelength side than the V light. Specifically, the blue LED 31b is configured to generate light with a peak wavelength set at around 460nm as the B light. In addition, the blue LED 31b is configured to emit light or extinguish light according to the LED drive signal supplied from the light source control unit 34. In addition, the blue LED 31b is configured to emit light with an amount of light corresponding to the LED drive signal supplied from the light source control unit 34. In addition, the amount of light emitted by the blue LED 31b EB is defined as the total amount of light obtained by integrating the intensity of light of each wavelength included in the wavelength band of the B light.

[0037] The green LED 31c is configured to generate green light (hereinafter referred to as G light) having a peak wavelength (central wavelength) in a green region on the longer wavelength side than the B light. Specifically, the green LED 31c is configured to generate light having a peak wavelength set to be around 540 nm as the G light. In addition, the green LED 31c is configured to emit light or extinguish light according to the LED drive signal supplied from the light source control unit 34. In addition, the green LED 31c is configured to emit light with an amount of light emitted corresponding to the LED drive signal supplied from the light source control unit 34. In addition, the amount of light emitted by the green LED 31c EG is defined as the total amount of light obtained by integrating the intensity of light of each wavelength included in the wavelength band of the G light.

[0038] The amber LED 31d is configured to generate amber light (hereinafter referred to as A light) having a peak wavelength (central wavelength) in an amber region on the longer wavelength side than the G light. Specifically, the amber LED 31d is configured to generate light having a peak wavelength set at around 600nm as the A light. In addition, the amber LED 31d is configured to emit light or extinguish light according to the LED driving signal supplied from the light source control unit 34. In addition, the amber LED 31d is configured to emit light with an amount of light corresponding to the LED driving signal supplied from the light source control unit 34. In addition, the light emission amount EA of the amber LED 31d is defined as the total light amount obtained by integrating the intensity of light of each wavelength included in the wavelength band of the A light. In addition, in the present embodiment, the peak wavelength of the A light emitted from the amber LED 31d can be set to any wavelength between 585nm and 615nm.

[0039] The red LED 31e is configured to generate red light (hereinafter referred to as R light) having a peak wavelength (center wavelength) in a red region on the longer wavelength side than the A light. Specifically, the red LED 31e is configured to generate light having a peak wavelength set at around 630 nm as the R light. In addition, the red LED 31e is configured to emit light or extinguish light according to the LED drive signal supplied from the light source control unit 34. In addition, the red LED 31e is configured to emit light with an amount of light emitted corresponding to the LED drive signal supplied from the light source control unit 34. In addition, the amount of light emitted ER of the red LED 31e is defined as the total amount of light obtained by integrating the intensities of light of each wavelength included in the wavelength band of the R light.

[0040] The multiplexer 32 is configured to multiplex the lights emitted from the light emitting unit 31 and allow the lights to enter the condenser lens 33 .

[0041] The condenser lens 33 is configured to condense the light incident via the multiplexer 32 and emit the light toward the incident end of the light guide 7 .

[0042] The light source control unit 34 includes, for example, a control circuit and a drive circuit, etc. The light source control unit 34 generates and outputs a pulsed drive signal, ie, an LED drive signal, for driving each LED of the light emitting unit 31 based on a control signal output from the processor 4 .

[0043] The processor 4 includes a brightness detection unit 41 , a gain adjustment unit 42 , an image processing unit 43 , an observation image generation unit 44 , and a control unit 45 .

[0044] The brightness detection unit 41 is configured to include, for example, a brightness detection circuit, etc. In addition, the brightness detection unit 41 is configured to perform a process for detecting the brightness of image data output from the endoscope 2, namely, a brightness detection process, and to generate information indicating the brightness detected by the brightness detection process, namely, brightness detection information, and output it to the control unit 45.

[0045] The gain adjustment unit 42 is configured to include, for example, a gain adjustment circuit, etc. In addition, the gain adjustment unit 42 is configured to set a gain value GV based on a control signal output from the control unit 45, and perform a gain adjustment process of multiplying the set gain value GV by the image data output from the endoscope 2. In addition, the gain adjustment unit 42 is configured to output the image data subjected to the above-mentioned gain adjustment process to the image processing unit 43.

[0046] The image processing unit 43 is configured to include, for example, an image processing circuit, etc. The image processing unit 43 is configured to perform color separation processing on the image data output from the gain adjustment unit 42 based on a control signal output from the control unit 45 , and output the image data obtained by the color separation processing to the observation image generation unit 44 .

[0047] The observation image generator 44 includes, for example, an image generating circuit, etc. The observation image generator 44 generates an observation image using the image data output from the image processing unit 43 based on a control signal output from the control unit 45 , and outputs the generated observation image to the display device 5 .

[0048] The control unit 45 is configured to include, for example, a control circuit, etc. The control unit 45 is configured to generate and output a control signal for performing an operation in accordance with an instruction from the scope switch 23. The control unit 45 is configured to generate and output a control signal for controlling the operation of the imaging element 21b.

[0049] The control unit 45 is provided with a memory 45a, which stores control information for white light observation (hereinafter referred to as control information WCJ) indicating the control content performed by the control unit 45 in the white light observation mode, and control information for special light observation (hereinafter referred to as control information SCJ) indicating the control content performed by the control unit 45 in the special light observation mode.

[0050] The control information WCJ includes, for example, information used to control the brightness of the observation image WLG displayed on the display device 5 in the white light observation mode, that is, brightness control information for white light observation (hereinafter referred to as brightness control information WBCJ). In addition, the control information SCJ includes, for example, information used to control the brightness of the observation image SLG displayed on the display device 5 in the special light observation mode, that is, brightness control information for special light observation (hereinafter referred to as brightness control information SBCJ).

[0051] The control unit 45 is configured to read the control information WCJ from the memory 45a when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode is performed, and to generate and output a control signal for performing an operation corresponding to the read control information WCJ. Furthermore, the control unit 45 is configured to set the brightness target value TWA in the white light observation mode when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode is performed. Furthermore, the control unit 45 is configured to perform an operation related to brightness control such as bringing the brightness of the observation image WLG displayed on the display device 5 close to the brightness target value TWA based on the brightness detection information output from the brightness detection unit 41 and the brightness control information WBCJ included in the control information WCJ when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode is performed.

[0052] The control unit 45 is configured to read the control information SCJ from the memory 45a when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the special light observation mode is performed, and to generate and output a control signal for performing an operation corresponding to the read control information SCJ. Furthermore, the control unit 45 is configured to set the brightness target value TSA in the special light observation mode when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the special light observation mode is performed. Furthermore, the control unit 45 is configured to perform an operation related to brightness control such as bringing the brightness of the observation image SLG displayed on the display device 5 close to the brightness target value TSA based on the brightness detection information output from the brightness detection unit 41 and the brightness control information SBCJ included in the control information SCJ when it is detected that an instruction for setting the observation mode of the endoscope system 1 to the special light observation mode is performed.

[0053] That is, the control unit 45 is configured to perform an operation for setting the observation mode of the endoscope system 1 to any one of the white light observation mode and the special light observation mode based on the instruction from the scope switch 23 and the control information read from the memory 45a. In addition, the control unit 45 is configured to have a function as an illumination mode switching unit, and performs an operation for switching the illumination mode when irradiating the object with illumination light emitted from the light source device 3 to any one of an illumination mode for irradiating the object with illumination light WL described later and an illumination mode for irradiating the object with illumination light SL described later.

[0054] In addition, in the present embodiment, each part of the processor 4 may be configured as an individual electronic circuit, or may be configured as a circuit block in an integrated circuit such as an FPGA (Field Programmable Gate Array). In addition, in the present embodiment, for example, the processor 4 may also be configured to have more than one CPU. In addition, by appropriately deforming the structure of the present embodiment, for example, a computer not shown in the figure may also read a program for executing the functions of each part of the processor 4 from a storage medium such as a memory, and perform actions corresponding to the read program.

[0055] The display device 5 is configured to include, for example, an LCD (Liquid Crystal Display) and the like, and can display an observation image output from the processor 4 and the like.

[0056] Next, the operation of this embodiment will be described below.

[0057] After connecting the components of the endoscope system 1 and turning on the power, a user such as a surgeon operates the observation mode switching switch of the scope switch 23 to issue an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode.

[0058] When the control unit 45 detects that an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode has been issued, the control unit 45 reads the control information WCJ from the memory 45a. In addition, the control unit 45 generates a control signal for causing the V light, B light, G light, A light, and R light to be emitted from the light source device 3 simultaneously based on the control information WCJ, and outputs it to the light source control unit 34. In addition, the control unit 45 generates a control signal for setting the emission light quantity ratio among the emission light quantities EV, EB, EG, EA, and ER to a predetermined emission light quantity ratio RWT based on the control information WCJ, and outputs it to the light source control unit 34. In addition, the control unit 45 generates a control signal for setting the gain value GV to 1 based on the brightness control information WBCJ included in the control information WCJ, and outputs it to the gain adjustment unit 42. In addition, the control unit 45 generates a control signal for performing an action corresponding to the control information WCJ, and outputs it to the image processing unit 43 and the observation image generation unit 44.

[0059] The light source control unit 34 generates an LED drive signal for causing the purple LED 31a, the blue LED 31b, the green LED 31c, the amber LED 31d, and the red LED 31e to emit light simultaneously at a predetermined light emission ratio RWT in the white light observation mode, based on the control signal output from the control unit 45, and outputs the generated LED drive signal to the light emitting unit 31. Then, based on the operation of the light source control unit 34, in the white light observation mode, the illumination light WL including the V light, the B light, the G light, the A light, and the R light is emitted from the light source device 3 (the light emitting unit 31), the illumination light WL is irradiated to the subject, and the image data WDI obtained by capturing the return light (reflected light) of the illumination light WL is output from the imaging unit 21 to the brightness detection unit 41 and the gain adjustment unit 42, respectively.

[0060] In this embodiment, the predetermined light emission amount ratio RWT is set to satisfy the relationship EV = ER < EB = EA < EG. Figure 2 The case where the illumination light WL including the most G light among the five colors of light emitted simultaneously from the light emitting unit 31 is irradiated onto the subject will be described. In addition, in the present embodiment, when the observation mode of the endoscope system 1 is set to the white light observation mode, the subject is photographed by Figure 2 Therefore, in the present embodiment, according to each pixel of the image data WDI, a pixel value is obtained, which has a brightness value of a blue component corresponding to the amount of light received by V light and B light included in the return light of the illumination light WL, a brightness value of a green component corresponding to the amount of light received by G light included in the return light, and a brightness value of a red component corresponding to the amount of light received by A light and R light included in the return light. Figure 2 This is a diagram showing an example of the spectrum of illumination light irradiated onto a subject when the observation mode of the endoscope system according to the embodiment is set to the white light observation mode.

[0061] The gain adjustment unit 42 sets the gain value GV to 1 according to the control signal output from the control unit 45, and performs a gain adjustment process of multiplying the set gain value GV by the image data WDI output from the endoscope 2. The gain adjustment unit 42 outputs the image data WDI subjected to the above-mentioned gain adjustment process to the image processing unit 43.

[0062] The image processing unit 43 performs color separation processing on the image data WDI outputted via the gain adjustment unit 42, for example, based on the control signal outputted from the control unit 45, thereby generating image data WVDI of a purple component corresponding to the V light included in the return light of the illumination light WL irradiated to the subject, image data WBDI of a blue component corresponding to the B light included in the return light, image data WGDI of a green component corresponding to the G light included in the return light, image data WADI of an amber component corresponding to the A light included in the return light, and image data WRDI of a red component corresponding to the R light included in the return light. Then, the image processing unit 43 outputs the image data of each color component obtained by the above-mentioned color separation processing to the observation image generation unit 44.

[0063] The observation image generating unit 44 allocates, based on the control signal output from the control unit 45, a brightness value obtained by adding the image data WVDI and WBDI outputted via the image processing unit 43 to the B (blue) channel of the display device 5, allocates the brightness value of the image data WGDI outputted via the image processing unit 43 to the G (green) channel of the display device 5, and allocates the brightness value obtained by adding the image data WADI and WRDI outputted via the image processing unit 43 to the R (red) channel of the display device 5, thereby generating an observation image WLG and outputting the generated observation image WLG to the display device 5.

[0064] The brightness detection unit 41 performs brightness detection processing for detecting the brightness of the image data WDI output from the endoscope 2 , generates brightness detection information WBSJ which is information indicating the brightness detected by the brightness detection processing, and outputs it to the control unit 45 .

[0065] Specifically, the brightness detection unit 41 calculates the average value of the brightness values ​​of each pixel included in the image data WDI as the brightness detection value WDB, and generates brightness detection information indicating the calculated brightness detection value WDB and outputs it to the control unit 45. Figure 2 When the illustrated illumination light irradiates the subject, the brightness detection value WDB becomes the same value or substantially the same value as the average value of the luminance value of the green component of each pixel included in the image data WDI.

[0066] The control unit 45 sets the brightness target value TWA in the white light observation mode when detecting that an instruction for setting the observation mode of the endoscope system 1 to the white light observation mode has been issued. In addition, the control unit 45 performs an operation related to brightness control such as bringing the brightness of the observation image displayed on the display device 5 close to the brightness target value TWA based on the brightness detection information WBSJ output from the brightness detection unit 41 and the brightness control information WBCJ included in the control information WCJ.

[0067] Here, a specific example of brightness control performed by the control unit 45 in the white light observation mode is described. In addition, the case where the light emission amount EG of the green LED 31c among the five color LEDs that are the source of the illumination light WL in the white light observation mode is changed is described as a representative example. In addition, according to the present embodiment, in the white light observation mode, a predetermined light emission amount ratio RWT is maintained, and control is performed to change the light emission amount of the four color LEDs other than the green LED 31c in the same manner as the specific example described below.

[0068] The control unit 45 determines the lower limit WDBL of the brightness detection value WDB calculated by the brightness detection unit 41, the upper limit WDBU of the brightness detection value WDB, and the thresholds WDB1 and WDB2 (where WDB1<WDB2) corresponding to the brightness detection value WDB, based on the brightness control information WBCJ. In addition, the control unit 45 determines the brightness detection value WDB based on the brightness detection information WBSJ output from the brightness detection unit 41.

[0069] For example, when the control unit 45 detects that the brightness detection value WDB is within the range of the lower limit value WDBL or more and less than the threshold value WDB1, the control unit 45 sets the current value of the LED drive signal supplied to the green LED 31c to the current value IM based on the brightness target value TWA and the brightness control information WBCJ set within the range, and performs PWM (pulse width modulation) according to the brightness detection value WDB, thereby generating a control signal for changing the pulse width of the LED drive signal to an arbitrary pulse width less than the pulse width PN and outputting it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value WDB is within the range of the lower limit value WDBL or more and less than the threshold value WDB1, the control unit 45 generates a control signal for setting the gain value to 1 based on the brightness control information WBCJ and outputs it to the gain adjustment unit 42. In addition, the pulse width PN is preferably a pulse width such that the duty ratio becomes 1.

[0070] The light source control unit 34 controls the light source 44 to adjust the light source 44 in accordance with the control signal output from the control unit 45. For example, when the brightness detection value WDB is equal to the lower limit value WDBL, Figure 3 The pulse signal having the current value IM and the pulse width PM smaller than the pulse width PN is supplied to the green LED 31 c as the LED driving signal. Figure 3 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0071] The gain adjustment unit 42 sets the gain value GV to 1 based on the control signal output from the control unit 45 , and performs a gain adjustment process of multiplying the set gain value GV by the image data WDI output from the endoscope 2 .

[0072] For example, when the control unit 45 detects that the brightness detection value WDB is within the range of not less than the threshold value WDB1 and not less than the threshold value WDB2, the control unit 45 sets the pulse width of the LED drive signal supplied to the green LED 31c to the pulse width PN based on the brightness target value TWA set within the range and the brightness control information WBCJ, and performs PAM (pulse amplitude modulation) according to the brightness detection value WDB, thereby generating a control signal for changing the current value of the LED drive signal to an arbitrary current value within the range of not less than the current value IM and not less than the current value IN, and outputs it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value WDB is within the range of not less than the threshold value WDB1 and not less than the threshold value WDB2, the control unit 45 generates a control signal for setting the gain value to 1 based on the brightness control information WBCJ, and outputs it to the gain adjustment unit 42.

[0073] The light source control unit 34 controls the light source 44 to output the control signal from the control unit 45. For example, when the brightness detection value WDB is equal to the threshold value WDB1, Figure 4 The pulse signal having the current value IM and the pulse width PN wider than the pulse width PM is supplied to the green LED 31 c as the LED driving signal. Figure 4 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0074] The gain adjustment unit 42 sets the gain value GV to 1 based on the control signal output from the control unit 45 , and performs a gain adjustment process of multiplying the set gain value GV by the image data WDI output from the endoscope 2 .

[0075] For example, when the control unit 45 detects that the brightness detection value WDB is within the range of not less than the threshold value WDB2 and not more than the upper limit value WDBU, the control unit 45 sets the pulse width of the LED drive signal supplied to the green LED 31c to the pulse width PN based on the brightness control information WBCJ, and generates a control signal for setting the current value of the LED drive signal to the current value IN, and outputs it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value WDB is within the range of not less than the threshold value WDB2 and not more than the upper limit value WDBU, the control unit 45 generates a control signal for changing the gain value to an arbitrary gain value of not less than 1 and not more than GMAX based on the brightness target value TWA set in the range and the brightness control information WBCJ, and outputs it to the gain adjustment unit 42.

[0076] The gain value GMAX is a gain value corresponding to the upper limit value of the gain value GV used in the gain adjustment process of the gain adjustment unit 42. The gain value GMAX may be a fixed value set in advance, or may be a variable value changeable by the user.

[0077] The light source control unit 34 controls the light source 44 to control the light source 44 in accordance with the control signal output from the control unit 45. For example, when the brightness detection value WDB is within the range of not less than the threshold value WDB2 and not more than the upper limit value WDBU, Figure 5 The pulse signal having the current value IN and the pulse width PN shown is supplied to the green LED 31 c as an LED driving signal. Figure 5 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0078] The gain adjustment unit 42 sets the gain value GV to an arbitrary value greater than 1 and less than GMAX based on the control signal output from the control unit 45, and performs a gain adjustment process of multiplying the set gain value GV by the image data WDI output from the endoscope 2. The gain adjustment unit 42 outputs the image data WDI subjected to the above-mentioned gain adjustment process to the image processing unit 43.

[0079] In the brightness control described above, the control unit 45 preferably determines the threshold value WDB1 as the upper limit value when the brightness of the image data WDI obtained in the white light observation mode is changed by PWM. In the brightness control described above, the control unit 45 preferably determines the threshold value WDB2 as the upper limit value when the brightness of the image data WDI obtained in the white light observation mode is changed by PAM.

[0080] According to the brightness control described above, in the white light observation mode, the light emission amount EG of the green LED 31c is adjusted according to the brightness detection value WDB as follows: Figure 6Change as shown. Figure 6 This is a diagram for explaining an example of the relationship between the brightness detection value and the light emission amount of the LED when the observation mode of the endoscope system according to the embodiment is set to the white light observation mode.

[0081] Specifically, when the brightness detection value WDB is within the range of the lower limit value WDBL and less than the threshold value WDB1, the emission light amount EG changes within the range of the minimum emission light amount ELG and less than the emission light amount EMG (>ELG) according to the application period of the current applied to the green LED 31c. In addition, when the brightness detection value WDB is within the range of the threshold value WDB1 and less than the threshold value WDB2, the emission light amount EG changes within the range of the emission light amount EMG and less than the maximum emission light amount EUG (>EMG) according to the current value of the current applied to the green LED 31c. In addition, when the brightness detection value WDB is within the range of the threshold value WDB2 and less than the upper limit value WDBU, the emission light amount EG is maintained at the maximum emission light amount EUG.

[0082] Therefore, according to the brightness control described above, for example, when the brightness detection value WDB is within the range of the lower limit value WDBL or more and less than the threshold value WDB1, the gain value GV is fixed to 1 and the light emission amount of each LED of the light emitting unit 31 is changed, thereby making it possible to set the brightness of the observation image WLG displayed on the display device 5 to a brightness suitable for near-field observation. In addition, according to the brightness control described above, for example, when the brightness detection value WDB is within the range of the threshold value WDB1 or more and less than the threshold value WDB2, the gain value GV is fixed to 1 and the light emission amount of each LED of the light emitting unit 31 is changed, thereby making it possible to set the brightness of the observation image WLG displayed on the display device 5 to a brightness suitable for mid-field observation. In addition, according to the brightness control described above, for example, when the brightness detection value WDB is within the range of the threshold value WDB2 or more and less than the upper limit value WDBU, the light emission amount of each LED of the light emitting unit 31 is fixed and the gain value GV is changed, thereby making it possible to set the brightness of the observation image WLG displayed on the display device 5 to a brightness suitable for far-field observation.

[0083] The user confirms the observation image WLG displayed on the display device 5, inserts the insertion portion 2a of the endoscope 2 into the interior of the subject, and arranges the distal end portion 2c near a desired object existing inside the subject. Thereafter, the user operates the observation mode switching switch of the scope switch 23 while the distal end portion 2c of the endoscope 2 is arranged near the desired object, thereby instructing to set the observation mode of the endoscope system 1 to the special light observation mode.

[0084] When the control unit 45 detects that an instruction for setting the observation mode of the endoscope system 1 to the special light observation mode has been issued, the control unit 45 reads the control information SCJ from the memory 45a. In addition, the control unit 45 generates a control signal for causing the G light, the A light, and the R light to be emitted from the light source device 3 at the same time based on the control information SCJ, and outputs it to the light source control unit 34. In addition, the control unit 45 generates a control signal for setting the emission light quantity ratio among the emission light quantities EG, EA, and ER to a predetermined emission light quantity ratio RST based on the control information SCJ, and outputs it to the light source control unit 34. In addition, the control unit 45 generates a control signal for setting the gain value GV to 1 based on the brightness control information SBCJ included in the control information SCJ, and outputs it to the gain adjustment unit 42. In addition, the control unit 45 generates a control signal for performing an action corresponding to the control information SCJ, and outputs it to the image processing unit 43 and the observation image generation unit 44.

[0085] The light source control unit 34 generates an LED drive signal for extinguishing the purple LED 31a and the blue LED 31b and causing the green LED 31c, the amber LED 31d, and the red LED 31e to emit light simultaneously at a predetermined light emission ratio RST in the special light observation mode, based on the control signal output from the control unit 45, and outputs the generated LED drive signal to the light emitting unit 31. Then, based on the operation of the light source control unit 34, in the special light observation mode, illumination light SL including G light, A light, and R light is emitted from the light source device 3 (light emitting unit 31), the illumination light SL is irradiated onto the subject, and image data SDI obtained by capturing the return light (reflected light) of the illumination light SL is output from the imaging unit 21 to the brightness detection unit 41 and the gain adjustment unit 42, respectively.

[0086] In addition, in this embodiment, the predetermined emission light quantity ratio RST is set to satisfy the relationship EG<ER<EA, for example. Figure 7 The case where the illumination light SL including the most A light among the three colors of light emitted simultaneously from the light emitting unit 31 is irradiated to the subject is described. In addition, in the present embodiment, when the observation mode of the endoscope system 1 is set to the special light observation mode, the subject is photographed by Figure 7 Therefore, in the present embodiment, according to each pixel of the image data SDI, a pixel value is obtained, and the pixel value has a brightness value of a green component corresponding to the amount of light received by G light contained in the return light of the illumination light SL, and a brightness value of a red component corresponding to the amount of light received by A light and R light contained in the return light. Figure 7 This is a diagram showing an example of the spectrum of illumination light irradiated onto a subject when the observation mode of the endoscope system according to the embodiment is set to the special light observation mode.

[0087] The gain adjustment unit 42 sets the gain value GV to 1 based on the control signal output from the control unit 45, and performs a gain adjustment process of multiplying the set gain value GV by the image data SDI output from the endoscope 2. The gain adjustment unit 42 outputs the image data SDI subjected to the above-mentioned gain adjustment process to the image processing unit 43.

[0088] The image processing unit 43 performs color separation processing on the image data SDI outputted via the gain adjustment unit 42, for example, based on the control signal outputted from the control unit 45, thereby generating image data SGDI of a green component corresponding to the G light included in the return light of the illumination light SL irradiated to the subject, image data SADI of an amber component corresponding to the A light included in the return light, and image data SRDI of a red component corresponding to the R light included in the return light. Then, the image processing unit 43 outputs the image data of each color component obtained by the above-mentioned color separation processing to the observation image generation unit 44.

[0089] The observation image generating unit 44 allocates the brightness value of the image data SGDI outputted via the image processing unit 43 to the B (blue) channel of the display device 5, allocates the brightness value of the image data SADI outputted via the image processing unit 43 to the G (green) channel of the display device 5, and allocates the brightness value of the image data SRDI outputted via the image processing unit 43 to the R (red) channel of the display device 5 in the special light observation mode, for example, based on the control signal outputted from the control unit 45, thereby generating an observation image SLG and outputting the generated observation image SLG to the display device 5.

[0090] The brightness detection unit 41 performs brightness detection processing for detecting the brightness of the image data SDI output from the endoscope 2 , generates brightness detection information SBSJ which is information indicating the brightness detected by the brightness detection processing, and outputs it to the control unit 45 .

[0091] Specifically, the brightness detection unit 41 calculates the average value of the brightness values ​​of each pixel included in the image data SDI as the brightness detection value SDB, and generates brightness detection information indicating the calculated brightness detection value SDB and outputs it to the control unit 45. Figure 7 When the illustrated illumination light irradiates the subject, the brightness detection value SDB becomes the same value or substantially the same value as the average value of the luminance value of the red component of each pixel included in the image data SDI.

[0092] The control unit 45 sets the brightness target value TSA in the special light observation mode when detecting that an instruction for setting the observation mode of the endoscope system 1 to the special light observation mode has been issued. In addition, the control unit 45 performs an operation related to brightness control such as bringing the brightness of the observation image displayed on the display device 5 close to the brightness target value TSA based on the brightness detection information SBSJ output from the brightness detection unit 41 and the brightness control information SBCJ included in the control information SCJ.

[0093] Here, a specific example of brightness control performed by the control unit 45 in the special light observation mode is described. In addition, hereinafter, when the observation mode of the endoscope system 1 is set to the special light observation mode, a wavelength shift corresponding to the magnitude of the current of the LED drive signal supplied to each of the three color LEDs that are the generation source of the illumination light SL is generated. In addition, hereinafter, a case where the light emission amount EA of the amber LED 31d among the three color LEDs that are the generation source of the illumination light SL in the special light observation mode is changed is described as a representative example. In addition, according to the present embodiment, in the special light observation mode, a control is performed such that the light emission amount EA of the two color LEDs other than the amber LED 31d is changed by the same method as the specific example described below while maintaining the prescribed light emission amount ratio RST.

[0094] The control unit 45 determines the lower limit SDBL of the brightness detection value SDB calculated by the brightness detection unit 41, the upper limit SDBU of the brightness detection value SDB, and the thresholds SDB1 and SDB2 (where SDB1<SDB2) corresponding to the brightness detection value SDB, based on the brightness control information SBCJ. In addition, the control unit 45 determines the brightness detection value SDB based on the brightness detection information SBSJ output from the brightness detection unit 41.

[0095] For example, when the control unit 45 detects that the brightness detection value SDB is within the range of the lower limit value SDBL or more and less than the threshold value SDB1, the control unit 45 sets the current value of the LED drive signal supplied to the amber LED 31d to the current value IS based on the brightness target value TSA and the brightness control information SBCJ set within the range, and performs PWM (pulse width modulation) according to the brightness detection value SDB, thereby generating a control signal for changing the pulse width of the LED drive signal to an arbitrary pulse width less than the pulse width PT and outputting it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value SDB is within the range of the lower limit value SDBL or more and less than the threshold value SDB1, the control unit 45 generates a control signal for setting the gain value to 1 based on the brightness control information SBCJ and outputs it to the gain adjustment unit 42. In addition, the pulse width PT is preferably a pulse width such that the duty ratio becomes 1.

[0096] That is, when the control unit 45 detects that the brightness detection value SDB belongs to the brightness range not less than the lower limit value SDBL and less than the threshold value SDB1, it controls to change the application period of the current applied to each LED that is the source of the illumination light SL.

[0097] The light source control unit 34 controls the light source 34 to adjust the light source 34 in accordance with the control signal output from the control unit 45. For example, when the brightness detection value SDB is equal to the lower limit value SDBL, Figure 8 The pulse signal shown having the current value IS and the pulse width PS smaller than the pulse width PT is supplied as the LED driving signal to the amber LED 31 d . Figure 8 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0098] The gain adjustment unit 42 sets the gain value GV to 1 based on the control signal output from the control unit 45 , and performs a gain adjustment process of multiplying the set gain value GV by the image data SDI output from the endoscope 2 .

[0099] For example, when the control unit 45 detects that the brightness detection value SDB is within the range of not less than the threshold value SDB1 and not less than the threshold value SDB2, the control unit 45 sets the pulse width of the LED drive signal supplied to the amber LED 31d to the pulse width PT based on the brightness control information SBCJ, and generates a control signal for setting the current value of the LED drive signal to the current value IS, and outputs it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value SDB is within the range of not less than the threshold value SDB1 and not less than the threshold value SDB2, for example, the control unit 45 generates a control signal for changing the gain value to an arbitrary gain value not less than 1 and not less than GMAX based on the brightness target value TSA set in the range and the brightness control information SBCJ according to the brightness detection value SDB, and outputs it to the gain adjustment unit 42.

[0100] That is, when the control unit 45 detects that the brightness detection value SDB belongs to the brightness range above the threshold value SDB1 and below the threshold value SDB2, it performs the following control: the current value of the current applied to each LED that serves as the source of the illumination light SL is maintained at the current value IS, the application period of the current applied to each LED is maintained at the pulse width PT, and the gain value multiplied by the image data SDI is changed.

[0101] The light source control unit 34 controls the light source 44 to control the light source 45 in accordance with the control signal output from the control unit 45. For example, when the brightness detection value SDB is within the range of a threshold value SDB1 or more and a threshold value SDB2 or less, Fig. 9 The pulse signal having the current value IS and the pulse width PT wider than the pulse width PS is supplied as an LED driving signal to each LED of the light emitting unit 31 . Fig. 9 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0102] The gain adjustment unit 42 sets the gain value GV to an arbitrary gain value greater than or equal to 1 and less than GMAX based on the control signal output from the control unit 45, and performs a gain adjustment process of multiplying the set gain value GV by the image data SDI output from the endoscope 2. The gain adjustment unit 42 outputs the image data SDI subjected to the above-mentioned gain adjustment process to the image processing unit 43.

[0103] For example, when the control unit 45 detects that the brightness detection value SDB is within the range of not less than the threshold value SDB2 and not more than the upper limit value SDBU, the control unit 45 sets the pulse width of the LED drive signal supplied to the amber LED 31d to the pulse width PT based on the brightness target value TSA set within the range and the brightness control information SBCJ, and performs PAM (pulse amplitude modulation) according to the brightness detection value SDB, thereby generating a control signal for changing the current value of the LED drive signal to an arbitrary current value within the range greater than the current value IS and not more than the current value IT, and outputs it to the light source control unit 34. In addition, when the control unit 45 detects that the brightness detection value SDB is within the range of not less than the threshold value SDB2 and not more than the upper limit value SDBU, the control unit 45 generates a control signal for setting the gain value to GMAX based on the brightness control information SBCJ, and outputs it to the gain adjustment unit 42.

[0104] That is, when the control unit 45 detects that the brightness detection value SDB belongs to the brightness range above the threshold value SDB2 and below the upper limit value SDBU, it controls the gain value multiplied by the image data SDI to maintain at GMAX, and changes the current value of the current applied to each LED that becomes the source of the illumination light SL.

[0105] The light source control unit 34 controls the light source 44 to adjust the light source 44 in accordance with the control signal output from the control unit 45. For example, when the brightness detection value SDB is equal to the upper limit value SDBU, Fig.10 The pulse signal having the current value IT and the pulse width PT shown is supplied to each LED of the light emitting unit 31 as an LED driving signal. Fig.10 This is a diagram for explaining an example of a signal supplied to an LED provided in the light source device according to the embodiment.

[0106] The gain adjustment unit 42 sets the gain value GV to GMAX based on the control signal output from the control unit 45 , and performs a gain adjustment process of multiplying the set gain value GV by the image data SDI output from the endoscope 2 .

[0107] In the brightness control described above, the control unit 45 preferably determines the threshold value SDB1 as the upper limit value when the brightness of the image data SDI obtained in the special light observation mode is changed by PWM. In the brightness control described above, the control unit 45 preferably determines the threshold value SDB2 as the upper limit value when the brightness of the image data SDI obtained in the special light observation mode is changed by the gain adjustment processing of the gain adjustment unit 42.

[0108] According to the brightness control described above, in the special light observation mode, the light emission amount EA of the amber LED 31d is adjusted according to the brightness detection value SDB as follows: Fig.11Change as shown. Fig.11 This is a diagram for explaining an example of the relationship between the brightness detection value and the light emission amount of the LED when the observation mode of the endoscope system according to the embodiment is set to the special light observation mode.

[0109] Specifically, when the brightness detection value SDB is within the range of the lower limit value SDBL and less than the threshold value SDB1, the light emission amount EA changes within the range of the minimum light emission amount ELA and less than the light emission amount EMA (>ELA) according to the application period of the current applied to the amber LED 31d. In addition, when the brightness detection value SDB is within the range of the threshold value SDB1 and less than the threshold value SDB2, the light emission amount EA is maintained at the light emission amount EMA. In addition, when the brightness detection value SDB is within the range of the threshold value SDB2 and less than the upper limit value SDBU, the light emission amount EA changes within the range of greater than the light emission amount EMA and less than the maximum light emission amount EUA (>EMA) according to the current value of the current applied to the amber LED 31d.

[0110] Therefore, according to the brightness control described above, for example, when the brightness detection value SDB is within the range of the lower limit value SDBL or more and less than the threshold value SDB1, the gain value GV is fixed to 1 and the light emission amount of the green LED 31c, the amber LED 31d, and the red LED 31e is changed, thereby making it possible to set the brightness of the observation image SLG displayed on the display device 5 to a brightness suitable for near-field observation. In addition, according to the brightness control described above, for example, when the brightness detection value SDB is within the range of the threshold value SDB1 or more and less than the threshold value SDB2, the light emission amount of the green LED 31c, the amber LED 31d, and the red LED 31e is fixed and the gain value GV is changed, thereby making it possible to set the brightness of the observation image SLG displayed on the display device 5 to a brightness suitable for mid-field observation. In addition, according to the brightness control described above, for example, when the brightness detection value SDB is within the range of above the threshold value SDB2 and below the upper limit value SDBU, the gain value GV is fixed to GMAX and the light emission amounts of the green LED 31c, amber LED 31d and red LED 31e are changed, thereby enabling the brightness of the observation image SLG displayed on the display device 5 to be set to a brightness suitable for distant observation.

[0111] However, in endoscopic observation in the medical field, generally, operations related to searching for lesion sites are performed in the distant view, and operations related to diagnosing lesion sites are performed in the mid- to close-up view. Therefore, when observing in the distant view, there is a tendency that the brightness of the observation image displayed by the display device is given more importance than the color tone of the observation image. Furthermore, when observing in the mid- to close-up view, there is a tendency that the brightness of the observation image displayed by the display device and the color tone of the observation image are given roughly the same importance. Furthermore, in special light observation that mainly utilizes operations related to diagnosing lesion sites, it is necessary to improve the visual confirmation of the lesion site compared to white light observation. Therefore, in special light observation, there is a tendency that the color tone of the observation image displayed by the display device is given more importance than white light observation.

[0112] In addition, when a semiconductor light source such as an LED is used as a light source for endoscopic observation, for example, the following situation may occur: due to a phenomenon in which the peak wavelength of light emitted from the semiconductor light source shifts from the original peak wavelength depending on the magnitude of the current applied to the semiconductor light source, i.e., wavelength shift occurs, and therefore an observation image with a hue different from the original hue is displayed.

[0113] In contrast, according to the present embodiment, in the special light observation mode, brightness control is performed to suppress the change in color tone due to the wavelength shift and to improve the brightness of the observation image, so that, for example, in the case of mid-range to close-range observation, an observation image having a color tone that can ensure accuracy related to the diagnosis of the lesion site can be displayed on the display device 5. Therefore, according to the present embodiment, when a semiconductor light source is used as a light source for endoscopic observation, the display of an observation image having a color tone different from the original color tone can be suppressed as much as possible.

[0114] In addition, according to the present embodiment, for example, in the brightness control of the white light observation mode and the brightness control of the special light observation mode, the control for performing PWM and the control for performing PAM may be interchanged. Moreover, in such a case, the threshold value WDB1 is determined as the upper limit value when the brightness of the image data WDI obtained in the white light observation mode is changed by PAM. Furthermore, in the above-mentioned case, the threshold value WDB2 is determined as the upper limit value when the brightness of the image data WDI obtained in the white light observation mode is changed by PWM.

[0115] That is, according to the present embodiment, in the brightness control of the special light observation mode, the control unit 45 may perform an action corresponding to the following control mode CPA, in which, when the brightness detection value SDB belongs to the brightness range RSA which is greater than the lower limit value SDBL and less than the threshold value SDB1, a control CA is performed to change one of the current value and the application period of the current applied to each LED which is the source of the illumination light SL, and when the brightness detection value SDB belongs to the brightness range RSB which is greater than the threshold value SDB1 and less than the threshold value SDB2, a control CB is performed to change the gain value GV, and when the brightness detection value SDB belongs to the brightness range RSC which is greater than the threshold value SDB2 and less than the upper limit value SDBU, a control CC is performed to change the other of the current value and the application period of the current applied to each LED. In addition, according to the present embodiment, in the brightness control of the white light observation mode, the control unit 45 may perform an action corresponding to the following control mode CPB, in which, when the brightness detection value WDB belongs to the brightness range RSD which is greater than the lower limit value WDBL and less than the threshold value WDB1, control CD is performed to change one of the current value and the application period of the current applied to each LED which is the source of the illumination light WL, and when the brightness detection value WDB belongs to the brightness range RSE which is greater than the threshold value WDB1 and less than the threshold value WDB2, control CE is performed to change the other of the current value and the application period of the current applied to each LED, and when the brightness detection value WDB belongs to the brightness range RSF which is greater than the threshold value WDB2 and less than the upper limit value WDBU, control CF is performed to change the gain value GV.

[0116] Furthermore, according to the present embodiment, for example, in the special light observation mode, control for changing the gain value GV may be performed between control for performing PWM and control for performing PAM, and brightness control different from the above-described brightness control may be performed.

[0117] According to the present embodiment, for example, when the image sensor 21b is configured to include an electronic shutter, control for changing the shutter speed of the electronic shutter may be performed instead of control for changing the gain value GV.

[0118] According to the present embodiment, for example, when the imaging element 21b is configured to have a binning function, control for changing the number of pixels processed as one pixel group in the binning function may be performed instead of control for changing the gain value GV.

[0119] Furthermore, according to the present embodiment, for example, brightness control information corresponding to three or more observation modes including a white light observation mode and a special light observation mode may be stored in the memory 45 a .

[0120] Furthermore, according to the present embodiment, for example, instead of the green LED 31c, a fluorescent light source having a semiconductor light source that generates blue excitation light and a fluorescent body that generates green fluorescence when excited by the blue excitation light may be provided in the light emitting section 31. That is, according to the present embodiment, for example, a light source that is less likely to be shifted in wavelength than the green LED 31c may be provided in the light emitting section 31.

[0121] Furthermore, by appropriately modifying the structure of this embodiment, the present invention can be applied to an imaging element having a color filter other than the primary color Bayer array such as a complementary color filter on an imaging plane.

[0122] Furthermore, by appropriately modifying the structure of this embodiment, it is also possible to apply to an imaging element such as a monochrome image sensor that does not have a color filter on its imaging surface.

[0123] The present invention is not limited to the above-described embodiment, and various modifications and applications are possible without departing from the gist of the invention.

[0124] The present application is filed based on Japanese Patent Application No. 2018-96955 filed in Japan on May 21, 2018 as a priority claim, and the above-mentioned disclosed contents are cited in the present application specification and claims.

Claims

1. An endoscope system, characterized in that: The endoscope system comprises: a light source unit that generates illumination light for illuminating a subject existing inside the subject and is configured to include one or more semiconductor light sources; an imaging unit configured to capture an image of the subject irradiated with the illumination light; a brightness detection unit configured to detect the brightness of the image; and A control unit is configured to perform an action corresponding to the following first control mode, in which, when the brightness of the image detected by the brightness detection unit belongs to a first brightness range, a first control is performed to change one of a current value and an application period of a current applied to a semiconductor light source that is a source of the illumination light according to a brightness target value corresponding to the first brightness range; when the brightness of the image detected by the brightness detection unit belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image according to the brightness target value corresponding to the second brightness range; and when the brightness of the image detected by the brightness detection unit belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of a current value and an application period of a current applied to a semiconductor light source that is a source of the illumination light according to the brightness target value corresponding to the third brightness range.

2. The endoscope system according to claim 1, characterized in that: As the first control, the control unit performs control such that an application period of the current applied to the semiconductor light source serving as a source of the illumination light is changed to an arbitrary application period shorter than a predetermined application period, As the second control, the control unit performs the following control: maintaining the application period of the current applied to the semiconductor light source that is the source of the illumination light at the prescribed application period, and changing the gain value multiplied in the gain adjustment processing performed on the image to an arbitrary gain value that is smaller than the prescribed gain value, As the third control, the control unit performs the following control: maintaining the application period of the current applied to the semiconductor light source that serves as the source of the illumination light at the prescribed application period, maintaining the gain value multiplied in the gain adjustment process at the prescribed gain value, and changing the current value of the current applied to the semiconductor light source that serves as the source of the illumination light.

3. The endoscope system according to claim 1, characterized in that: The control unit determines a first threshold value corresponding to an upper limit value of the first brightness range as an upper limit value when the brightness of the image is changed by the first control, and determines a second threshold value corresponding to an upper limit value of the second brightness range as an upper limit value when the brightness of the image is changed by the second control.

4. The endoscope system according to claim 1, characterized in that: The endoscope system further includes an illumination mode switching unit configured to perform an action for switching the illumination mode when irradiating the illumination light to the subject to either a first illumination mode or a second illumination mode, wherein in the first illumination mode, a first illumination light including more of the first light than the second light is irradiated to the subject as the illumination light, the first light being light emitted from a first semiconductor light source among a plurality of semiconductor light sources provided in the light source unit, the second light being light emitted from a second semiconductor light source among the plurality of semiconductor light sources and having a peak wavelength on a shorter wavelength side than the first light, and in the second illumination mode, a second illumination light including more of the second light than the first light is irradiated to the subject as the illumination light, The control unit performs an action corresponding to the first control mode in the first lighting mode, and performs an action corresponding to the second control mode in the second lighting mode. In the second control mode, when the brightness of the image detected by the brightness detection unit belongs to the fourth brightness range, the control unit performs a fourth control to change one of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light. When the brightness of the image detected by the brightness detection unit belongs to the fifth brightness range that is brighter than the fourth brightness range, the control unit performs a fifth control to change the other of the current value and the application period of the current applied to the semiconductor light source that is the source of the illumination light. When the brightness of the image detected by the brightness detection unit belongs to the sixth brightness range that is brighter than the fifth brightness range, the control unit performs a sixth control to change the brightness of the image by performing the prescribed processing on the image.

5. The endoscope system according to claim 4, characterized in that: The peak wavelength of the first light is set to any wavelength between 585 nm and 615 nm.

6. A processor for an endoscope, which can be connected to a light source device and an endoscope, wherein the light source device generates illumination light for illuminating a subject existing in a subject and is configured to have one or more semiconductor light sources, and the endoscope is configured to capture the subject irradiated with the illumination light to obtain an image, characterized in that: The endoscope processor comprises: a brightness detection unit configured to detect the brightness of the image; and A control unit is configured to perform an action corresponding to the following first control mode, in which, when the brightness of the image detected by the brightness detection unit belongs to a first brightness range, a first control is performed to change one of a current value and an application period of a current applied to a semiconductor light source that is a source of the illumination light according to a brightness target value corresponding to the first brightness range; when the brightness of the image detected by the brightness detection unit belongs to a second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image according to the brightness target value corresponding to the second brightness range; and when the brightness of the image detected by the brightness detection unit belongs to a third brightness range that is brighter than the second brightness range, a third control is performed to change the other of a current value and an application period of a current applied to a semiconductor light source that is a source of the illumination light according to the brightness target value corresponding to the third brightness range.

7. A computer-readable recording medium storing an image processing program for execution by a computer, characterized in that: The endoscope system is caused to execute a brightness detection step and a control step, wherein the endoscope system has a light source device and an endoscope, wherein the light source device generates illumination light for illuminating a subject existing in a subject and is configured to have one or more semiconductor light sources, and the endoscope is configured to capture the subject irradiated with the illumination light to obtain an image, In the detection step, the brightness of the image is detected. In the control step, when the brightness of the image detected by the detection step belongs to the first brightness range, a first control is performed to change one of the current value and the application period of the current applied to the semiconductor light source that becomes the source of the illumination light according to the brightness target value corresponding to the first brightness range. When the brightness of the image detected by the detection step belongs to the second brightness range that is brighter than the first brightness range, a second control is performed to change the brightness of the image by performing a prescribed processing on the image according to the brightness target value corresponding to the second brightness range. When the brightness of the image detected by the detection step belongs to the third brightness range that is brighter than the second brightness range, a third control is performed to change the other of the current value and the application period of the current applied to the semiconductor light source that becomes the source of the illumination light according to the brightness target value corresponding to the third brightness range.