Endoscope system and working method thereof
By limiting the setting conditions of the endoscope system, the endoscope system can accurately detect the area illuminated by the measurement light and display the measurement mark in the length measurement mode, which solves the problem of detection difficulties in the prior art and improves the measurement accuracy and precision.
Patent Information
- Application Number
- CN202080056811.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-03-23
- Filing Date
- 2020-08-04
- Publication Date
- 2024-11-22
- Estimated Expiration
- 2040-08-04
AI Technical Summary
In endoscopic systems, existing technologies struggle to accurately detect the focus position when the subject contains diffuse reflection, debris, or deteriorated tissue within the living body. Furthermore, when user-defined conditions are changed, the area illuminated by the measurement light cannot be effectively detected, leading to inaccurate display of measurement markers.
The endoscope system, through the control of the light source device, endoscope and processor device, restricts mode switching and setting change operations that do not meet the predetermined setting conditions, and ensures accurate detection of the measurement light illumination area and display of the corresponding measurement mark in the length measurement mode, including prohibition of setting conditions and control measures such as the first control, the second control and the third control.
It achieves accurate positioning in the measurement light illumination area and correct display of measurement marks, ensuring the correspondence between measurement accuracy and observation distance, and improving the measurement accuracy of the endoscope system.
Smart Images

Figure CN114207499B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an endoscope system for displaying a measurement mark for measuring the size of a subject and an operating method thereof. Background Art
[0002] In an endoscope system having a light source device, an endoscope, and a processor device, the distance to a subject or the size of the subject is acquired. For example, in Patent Document 1, illumination light and measurement light are irradiated to a subject, and a measurement light irradiation area such as a focused light appears on the subject by irradiation of the light beam. In addition, a measurement mark for measuring the size of the subject is displayed on the subject image corresponding to the focused light position.
[0003] Previous technical literature
[0004] Patent Literature
[0005] Patent Document 1: International Publication No. 2018 / 051680 Summary of the invention
[0006] Technical issues to be solved by the invention
[0007] As a method for accurately detecting the position of the focal point from the subject image, there is a color separation method such as RGB / HSV that uses the color / brightness / chroma of the image. However, when the subject contains diffuse reflections, residues, or deteriorated (discolored) tissues in the living body, it is sometimes difficult to detect the position of the focal point. In addition, the doctor who is the user sometimes changes the setting conditions related to the light source device, the endoscope, and the processor device to the color or lighting that makes it easy to detect the lesion, so as to facilitate the detection of the lesion. When the setting conditions are changed in this way, the position of the focal point may not be detected. Therefore, the setting conditions related to the light source device, the endoscope, and the processor device are required to be set to a state in which the position of the measurement light irradiation area such as the focal point can be detected, and to be set to a state in which a measurement mark corresponding to the observation distance can be displayed.
[0008] An object of the present invention is to provide an endoscope system and a method for operating the same, wherein, when measuring light is used to display a measuring mark on an image, setting conditions related to a light source device, an endoscope and a processor device can be set to be able to detect a state in which the position of a measuring light irradiation area formed on a subject by the measuring light is detected.
[0009] Means for solving technical problems
[0010] The endoscope system of the present invention comprises: a light source device; an endoscope that irradiates measuring light to a subject; and a processor device that has a processor and generates a subject image related to the subject, the processor performing at least one of the following controls: a first control that, when a switching operation to a length measurement mode is performed to display a measuring image of a measuring mark for measuring the size of the subject on a display, if a setting condition related to the light source device, the endoscope or the processor device meets a predetermined prohibited setting condition, prohibiting switching to the length measurement mode; a second control that, in the length measurement mode, when a setting change operation of the setting condition is performed, if the setting condition to be changed by the setting change operation meets the prohibited setting condition, invalidating the setting change operation; or a third control that, in the length measurement mode, when a setting change operation of the setting condition is performed, if the setting condition to be changed by the setting change operation meets the prohibited setting condition, switching from the length measurement mode to another mode.
[0011] Preferably, the prohibition setting condition includes a first prohibition setting condition that prevents detection of the position of the measurement light irradiation area that appears in the subject by irradiation of the measurement light from the subject image. Preferably, the subject image includes a measurement light image based on the color of the measurement light, the setting condition includes a special observation mode in which the measurement light image is not used for displaying the measurement image, and the first prohibition setting condition includes the special observation mode. Preferably, the processor performs control as follows: when a switching operation to the length measurement mode is performed in the special observation mode, instead of prohibiting the switching to the length measurement mode, the special observation mode is released and switched to the length measurement mode. Preferably, the measurement light image is a red image.
[0012] Preferably, the prohibition setting condition includes a second prohibition setting condition that prevents display of a measurement mark corresponding to the observation distance in the measurement image. Preferably, the second prohibition setting condition includes use of a zoom function that enlarges or reduces a subject in the subject image.
[0013] Preferably, the processor notifies the intention to prohibit switching to the length measurement mode when performing the first control to prohibit switching to the length measurement mode. Preferably, the processor notifies the intention to invalidate the setting change operation when performing the second control to invalidate the setting change operation. Preferably, the processor notifies the intention to switch to the other mode when performing the third control to switch from the length measurement mode to the other mode.
[0014] Preferably, the measuring mark includes: a first measuring mark indicating an actual size of the object; or a second measuring mark including a cross line on the object formed by the measuring light and a scale on the cross line that serves as an indicator of the size of the object.
[0015] Preferably, the endoscope comprises: a measuring light emitting portion for irradiating measuring light; and an imaging optical system, which is arranged at a position different from the measuring light emitting portion at the front end portion and receives light from the subject, and the measuring light is emitted obliquely relative to the optical axis of the imaging optical system, and the processor performs the following processing: acquiring a subject image, i.e., an image of the subject including a measuring light irradiation area that appears in the subject due to the irradiation of the measuring light, detecting the position of the measuring light irradiation area from the subject image, and displaying a measuring image on a display corresponding to the position of the measuring light irradiation area.
[0016] In the working method of the endoscope system of the present invention, the endoscope system comprises: a light source device; an endoscope, which irradiates measuring light to a subject; and a processor device, which has a processor and generates a subject image related to the subject, and the processor performs at least one of the following controls: a first control, when a switching operation to a length measurement mode is performed to display a measuring image of a measuring mark used to measure the size of the subject on a display, if a setting condition related to the light source device, the endoscope or the processor device meets a predetermined prohibited setting condition, the switching to the length measurement mode is prohibited; a second control, when a setting change operation of the setting condition is performed in the length measurement mode, if the setting condition to be changed by the setting change operation meets the prohibited setting condition, the setting change operation is invalidated; or a third control, when a setting change operation of the setting condition is performed in the length measurement mode, if the setting condition to be changed by the setting change operation meets the prohibited setting condition, the length measurement mode is switched to another mode.
[0017] Effects of the Invention
[0018] According to the present invention, when measuring light is used to display measuring marks on an image, the setting conditions related to the light source device, the endoscope and the processor device can be set to a state in which the position of the measuring light irradiation area formed on the subject by the measuring light can be detected, and can be set to a state in which measuring marks corresponding to the observation distance can be displayed. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 This is an external view of the endoscope system.
[0020] Figure 2 It is a top view showing the front end portion of the endoscope.
[0021] Figure 3 It is a block diagram showing the functions of the endoscope system.
[0022] Figure 4 middle, Figure 4(A) is an explanatory diagram showing a subject image in a state where the digital zoom function is turned off. Figure 4 (B) is an explanatory diagram showing a subject image with the digital zoom function turned on.
[0023] Figure 5 : is a block diagram showing a measurement light emitting section.
[0024] Figure 6 1 is an explanatory diagram showing a spot SP formed on a subject by the measuring light.
[0025] Figure 7 It is an explanatory diagram showing the relationship between the distal end portion of the endoscope and the proximal end Px, the center vicinity Py, and the distal end Pz within the observation distance range Rx.
[0026] Figure 8 It is a block diagram showing the functions of the signal processing unit.
[0027] Fig. 9 It is an explanatory diagram showing the first control.
[0028] Fig.10 This is a diagram of an image on a monitor displayed when the first control is performed.
[0029] Fig.11 This is an explanatory diagram showing control for canceling the special observation mode and switching to the length measurement mode.
[0030] Fig.12 It is an explanatory diagram showing the second control.
[0031] Fig.13 This is a diagram of an image on the monitor displayed when the second control is performed.
[0032] Fig.14 It is an explanatory diagram showing the third control.
[0033] Fig.15 This is a diagram of an image on the monitor displayed when the third control is performed.
[0034] Fig.16 This is an image diagram showing the light spot and the first measurement mark when the observation distance is the near end Px.
[0035] Fig.17 This is an image diagram showing the light spot and the first measurement mark when the observation distance is near the center Py.
[0036] Fig.18 This is an image diagram showing the light spot and the first measurement mark when the observation distance is the far end Pz.
[0037] Fig.19It is an explanatory diagram showing a first measuring mark of a cross, a cross with scale, a distorted cross, a circle and a cross, and a measuring point group type.
[0038] Fig. 20 This is an image diagram showing three concentric circle marks of the same color.
[0039] Fig.21 This is an image diagram showing three concentric circle marks of different colors.
[0040] Fig. 22 This is an image diagram showing distorted concentric circle marks.
[0041] Fig.23 It is a flowchart showing a series of processes of the present invention.
[0042] Fig.24 This is an explanatory diagram showing a light emission pattern in which concentrated light is irradiated intermittently.
[0043] Fig.25 This is a graphic diagram showing crosshairs and scales.
[0044] Fig.26 It is an explanatory diagram showing a light emission pattern in which linear measurement light is intermittently irradiated.
[0045] Fig. 27 It is an explanatory diagram showing the stripe pattern light ZPL.
[0046] Fig.28 It is an explanatory diagram showing the light emission pattern of the stripe pattern light ZPL of the phase X, the phase Y, and the phase Z.
[0047] Fig.29 It is an explanatory diagram showing the measurement light LPL in a grid-like pattern.
[0048] Fig.30 This is an explanatory diagram showing a light emission pattern of measurement light intermittently irradiating a grid-like pattern.
[0049] Fig.31 It is an explanatory diagram showing three-dimensional planar light TPL.
[0050] Fig.32 This is an explanatory diagram showing a light emission pattern of intermittently irradiating three-dimensional planar light. DETAILED DESCRIPTION
[0051] like Figure 1As shown in FIG. 1 , the endoscope system 10 includes an endoscope 12, a light source device 14, a processor device 16, a monitor 18 (display), and a user interface 19. The endoscope 12 includes an insertion portion 12a inserted into a subject, an operation portion 12b provided at a base end portion of the insertion portion 12a, and a universal cable 12c. The universal cable 12c is a light guide 28 (see FIG. 1 ) for guiding illumination light emitted by the light source device 14. Figure 3 ), a control line for transmitting control signals for controlling the endoscope 12, a signal line for transmitting image signals obtained by photographing the observation object, and a power line for supplying power to each part of the endoscope 12. A connector 29 connected to the light source device 14 is provided at the front end of the universal cable 12c.
[0052] The light source device 14 generates illumination light using, for example, a semiconductor light source such as an LED (Light Emitting Diode), an LD (Laser Diode), or a halogen lamp such as a xenon lamp. When the connector 29 is connected to the light source device 14, the illumination light is incident on the light guide 28 of the connector 29 (see Figure 3 ), and irradiates the observation object from the front end of the insertion part 12a.
[0053] Furthermore, the light source device 14 is electrically connected to the processor device 16, and the connector 29 of the endoscope 12 is connected to the processor device 16 via the light source device 14. The transmission and reception of control signals, image signals, etc. between the light source device 14 and the connector 29 is wireless communication. Therefore, the light source device 14 transmits the control signals, etc. transmitted and received with the connector 29 to the processor device 16 in a wireless manner. Furthermore, the light source device 14 supplies power for driving the endoscope 12 to the connector 29, but the supply of this power is also performed in a wireless manner.
[0054] The processor device 16 controls the light quantity and light emission timing of the illumination light emitted by the light source device 14 and each part of the endoscope 12, and generates an endoscopic image by using an image signal obtained by photographing the observation object irradiated with the illumination light. In addition, the processor device 16 is electrically connected to a monitor 18 and a user interface 19. The monitor 18 displays the endoscopic image generated by the processor device 16, information related to the endoscopic image, etc. The user interface 19 has a function of receiving input operations such as function settings.
[0055] The endoscope 12 has a normal observation mode, a special observation mode, and a length measurement mode, and these three modes are switched by a mode switching switch 13a provided on an operation portion 12b of the endoscope 12. The normal observation mode is a mode in which the observation object is illuminated by illumination light. The special observation mode is a mode in which the observation object is illuminated by special light different from the illumination light. In the length measurement mode, the observation object is illuminated by illumination light and measurement light, and a measurement mark for measuring the size of the observation object, etc. is displayed on the subject image obtained by photographing the observation object. In addition, the illumination light is light used to give brightness to the observation object as a whole to observe the observation object as a whole. The special light is light used to emphasize a specific area in the observation object. The measurement light is light used to display the measurement mark.
[0056] Furthermore, the operation unit 12b of the endoscope 12 is provided with a freeze switch 13b for operating a still image acquisition command, which is a command for acquiring a still image of the subject image. When the user operates the freeze switch 13b, the screen of the monitor 18 is frozen and a warning sound (e.g., "beep") is emitted to indicate that the still image acquisition is being performed. Then, the still image of the subject image obtained before and after the operation timing of the freeze switch 13b is stored in the still image storage unit 42 in the processor device 16 (see Figure 3 ). In addition, the still image storage unit 42 is a storage unit such as a hard disk or a USB (Universal Serial Bus) memory. When the processor device 16 can be connected to a network, a still image of the subject image can be stored in a still image storage server (not shown) connected to the network instead of or in addition to the still image storage unit 42.
[0057] In addition, a still image acquisition command can be issued using an operating device other than the freeze switch 13b. For example, a foot pedal can be connected to the processor device 16, and a still image acquisition command can be issued when the user operates the foot pedal (not shown) with his foot. The mode switching can be performed using the foot pedal. In addition, a gesture recognition unit (not shown) that recognizes the user's gesture can be connected to the processor device 16, and a still image acquisition command can be issued when the gesture recognition unit recognizes a specific gesture performed by the user. The mode switching can be performed using the gesture recognition unit.
[0058] Furthermore, a sight line input unit (not shown) provided near the monitor 18 may be connected to the processor device 16, and when the sight line input unit recognizes that the user's sight line stays within a specified area of the monitor 18 for more than a certain period of time, a still image acquisition command may be issued. Furthermore, a voice recognition unit (not shown) may be connected to the processor device 16, and when the voice recognition unit recognizes a specific voice uttered by the user, a still image acquisition command may be issued. Regarding mode switching, the voice recognition unit may be used. Furthermore, an operation panel such as a touch panel (not shown) may be connected to the processor device 16, and when the user performs a specific operation on the operation panel, a still image acquisition command may be issued. Regarding mode switching, the operation panel may be used.
[0059] like Figure 2 As shown, the front end portion 12d of the endoscope 12 is roughly circular and is provided with an imaging optical system 21 for receiving light from the subject, an illumination optical system 22 for irradiating illumination light to the subject, a measurement light emitting portion 23 for radiating measurement light to the subject, an opening 24 for allowing a treatment instrument to protrude toward the subject, and an air and water supply nozzle 25 for supplying air and water.
[0060] The optical axis Ax of the imaging optical system 21 extends in a direction perpendicular to the paper surface. The longitudinal first direction D1 is orthogonal to the optical axis Ax, and the transverse second direction D2 is orthogonal to the optical axis Ax and the first direction D1. The imaging optical system 21 and the measurement light emitting unit 23 are respectively provided at different positions of the front end portion 12d and arranged along the first direction D1.
[0061] like Figure 3 As shown, the light source device 14 includes a light source unit 26 and a light source control unit 27. The light source unit 26 generates illumination light or special light for illuminating the subject. The illumination light or special light emitted from the light source unit 26 enters the light guide 28 and is irradiated to the subject through the illumination lens 22a. As the light source unit 26, as a light source of illumination light, a white light source emitting white light, or a plurality of light sources including a white light source and a light source emitting light of other colors (for example, a blue light source emitting blue light) can be used. In addition, as the light source unit 26, as a light source of special light, a light source emitting broadband light including a blue narrow-band light for emphasizing surface information such as surface blood vessels can be used. The light source control unit 27 is connected to the system control unit 41 of the processor device 16. In addition, as illumination light, a white mixed color light composed of a combination of blue light, green light, and red light can be used. In this case, it is preferable to perform the optical design of the illumination optical system 22 in such a way that the irradiation range of the green light is larger than the irradiation range of the red light.
[0062] The light source control unit 27 controls the light source unit 26 according to the command from the system control unit 41. In addition to issuing commands related to light source control to the light source control unit 27, the system control unit 41 also controls the light source 23a (refer to Figure 5 ). In the case of the normal observation mode, the system control unit 41 controls the illumination light to be turned on and the measurement light to be turned off. In the case of the special observation mode, the system control unit 41 controls the special light to be turned on and the measurement light to be turned off. In the case of the length measurement mode, the system control unit 41 controls the illumination light to be turned on and the measurement light to be turned on.
[0063] The illumination optical system 22 includes an illumination lens 22a, and light from the light guide 28 is irradiated to the observation object via the illumination lens 22a. The imaging optical system 21 includes an objective lens 21a, a zoom lens 21b, and an imaging element 32. Reflected light from the observation object is incident on the imaging element 32 via the objective lens 21a and the zoom lens 21b. As a result, a reflected image of the observation object is formed on the imaging element 32.
[0064] The zoom lens 21b has an optical zoom function of enlarging or reducing the subject as a zoom function by moving between the telephoto end and the wide-angle end. The optical zoom function can be turned on and off by the zoom operation unit 13c (see FIG. 14 ) provided on the operation unit 12b of the endoscope. Figure 1 ) switch, and when the optical zoom function is turned on, the zoom operation unit 13c is further operated to enlarge or reduce the subject at a specific magnification.
[0065] The imaging element 32 is a color camera sensor that captures the reflected image of the subject and outputs an image signal. The imaging element 32 is preferably a CCD (Charge Coupled Device) camera sensor, a CMOS (Complementary Metal-Oxide Semiconductor) camera sensor, or the like. The imaging element 32 used in the present invention is a color camera sensor for obtaining red images, green images, and blue images of three colors, namely R (red), G (green), and B (blue). The red image is an image output from a red pixel having a red filter in the imaging element 32. The green image is an image output from a green pixel having a green filter in the imaging element 32. The blue image is an image output from a blue pixel having a blue filter in the imaging element 32. The imaging element 32 is controlled by the camera control unit 33.
[0066] The image signal output from the imaging element 32 is sent to the CDS / AGC circuit 34. The CDS / AGC circuit 34 performs correlated double sampling (CDS (Correlated Double Sampling)) and automatic gain control (AGC (Auto Gain Control)) on the image signal as an analog signal. The image signal passed through the CDS / AGC circuit 34 is converted into a digital image signal through an A / D converter (A / D (Analog / Digital: analog / digital) frequency converter) 35. The digital image signal after A / D conversion is input to the communication I / F (Interface) 37 of the light source device 14 via the communication I / F (Interface) 36.
[0067] In the processor device 16, programs related to the mode-related controls such as the first control, the second control, and the third control described later are embedded in a program memory (not shown). The system control unit 41 composed of the processor realizes the functions of the receiving unit 38, the signal processing unit 39, and the display control unit 40 connected to the communication I / F (Interface) 37 of the light source device 14 by operating the programs embedded in the program memory. In addition, the first signal processing unit 50, the mode control unit 56, the irradiation position detection unit 58, and the second signal processing unit (see FIG. 4 ) included in the signal processing unit 39 are also realized by the operation of the above-mentioned programs. Figure 8 ) function.
[0068] The receiving unit 38 receives the image signal transmitted from the communication I / F 37 and transmits it to the signal processing unit 39. The signal processing unit 39 has a built-in memory for temporarily storing the image signal received from the receiving unit 38, and processes the collection of image signals stored in the memory, that is, the image signal group, to generate a subject image. In addition, the receiving unit 38 can directly send the control signal associated with the light source control unit 27 to the system control unit 41. In addition, with respect to the processing unit associated with the length measurement mode in the processor device 16 (for example, the first signal processing unit 50 and the second signal processing unit 52), a length measurement processor (not shown) different from the processor device 16 can be provided. At this time, the length measurement processor and the processor device 16 are set in advance to be able to communicate with each other so that images or various information can be sent and received.
[0069] In the signal processing unit 39, when the normal observation mode is set, a signal distribution process is performed to distribute the blue image of the subject image to the B channel of the monitor 18, the green image of the subject image to the G channel of the monitor 18, and the red image of the subject image to the R channel of the monitor 18, thereby displaying a color subject image on the monitor 18. Regarding the length measurement mode, the same signal distribution process as the normal observation mode is also performed. On the other hand, in the signal processing unit 39, when the special observation mode is set, the red image of the subject image is not used for display on the monitor 18, the blue image of the subject image is distributed to the B channel and the G channel of the monitor 18, and the green image of the subject image is distributed to the R channel of the monitor 18, thereby displaying a similar color subject image on the monitor 18.
[0070] In the signal processing unit 39 , when the digital zoom function is turned on through the user interface 19 as a zoom function, a part of the subject image is cut out and enlarged or reduced, thereby enlarging or reducing the subject at a specific magnification. Figure 4 (A) shows a subject image in a state where the digital zoom function is turned off. Figure 4 (B) shows shear Figure 4 (A) is a subject image in which the center portion of the subject image is enlarged with the digital zoom function turned on. In addition, when the digital zoom function is turned off, the subject is not enlarged or reduced by cutting the subject image.
[0071] Furthermore, when the signal processing unit 39 is set to the length measurement mode, structure emphasis processing for emphasizing structures such as blood vessels and color difference emphasis processing for expanding the color difference between a normal part and a diseased part in the observation object can be performed on the subject image.
[0072] The display control unit 40 displays the subject image generated by the signal processing unit 39 on the monitor 18. The system control unit 41 controls the imaging element 32 via the imaging control unit 33 provided in the endoscope 12. The imaging control unit 33 also controls the CDS / AGC circuit 34 and the A / D converter 35 based on the control of the imaging element 32.
[0073] like Figure 5As shown, the measurement light emitting unit 23 emits the measurement light at an angle relative to the optical axis Ax of the imaging optical system 21. The measurement light emitting unit 23 includes a light source 23a, a diffractive optical element DOE23b (Diffractive Optical Element), a prism 23c, and an emitting unit 23d. The light source 23a emits light (specifically, visible light) of a color that can be detected by the pixels of the imaging element 32, and includes a light emitting element such as a laser light source LD (Laser Diode) or an LED (Light Emitting Diode) and a focusing lens that collects the light emitted from the light emitting element. In addition, the light source 23a is provided on an observer electrical substrate (not shown). The observer electrical substrate is provided at the front end portion 12d of the endoscope, receives power supply from the light source device 14 or the processor device 16, and supplies power to the light source 23a.
[0074] In the present embodiment, the wavelength of the light emitted by the light source 23a is, for example, a red laser (color of the light beam) of 600 nm or more and 650 nm or less, but light of other wavelength bands, for example, green light of 495 nm or more and 570 nm or less, may be used. The light source 23a is controlled by the system control unit 41, and the light is emitted according to the command from the system control unit 41. The DOE 23b converts the light emitted from the light source into a measurement light for obtaining measurement information. In addition, with respect to the measurement light, it is preferred to adjust the light amount from the perspective of protecting the human body, eyes, and internal organs, and to adjust the light amount to a sufficient degree of whitening (pixel saturation) within the observation range of the endoscope 12.
[0075] The prism 23c is an optical component for changing the traveling direction of the measurement light converted by the DOE 23b. The prism 23c changes the traveling direction of the measurement light so as to intersect with the field of view of the imaging optical system 21 including the objective lens 21a. The details of the traveling direction of the measurement light will also be described later. The measurement light Lm emitted from the prism 23c is irradiated to the subject through the emission portion 23d formed by the optical component.
[0076] By irradiating the measuring light onto the subject, Figure 6 As shown in FIG. 1 , a light spot SP is formed in the subject as a measurement light irradiation area. The position of the light spot SP is detected by the irradiation position detection unit 58 (refer to FIG. 1 ). Figure 8 ) detection, and sets a measurement mark indicating the size of the object according to the position of the spot SP. The set measurement mark is displayed on the object image. In addition, as described later, the measurement mark includes a plurality of types such as a first measurement mark and a second measurement mark, and which measurement mark is displayed on the object image can be selected according to a user command. As a user command, for example, the user interface 19 can be used.
[0077] In addition, instead of forming the emission portion 23d by an optical component, a slit for auxiliary measurement formed at the front end portion 12d of the endoscope may be used. Furthermore, in the case where the emission portion 23d is formed by an optical component, an anti-reflection coating (AR (Anti-Reflection) coating) (anti-reflection portion) is preferably applied. The anti-reflection coating is provided in this way because: if the measurement light does not pass through the emission portion 23d but is reflected, thereby reducing the proportion of the measurement light irradiated to the subject, it is difficult for the irradiation position detection unit 58 described later to identify the position of the light spot SP formed on the subject by the measurement light.
[0078] In addition, the measurement light emitting unit 23 only needs to be able to emit the measurement light toward the field of view of the imaging optical system 21. For example, the light source 23a may be provided in a light source device, and the light emitted from the light source 23a may be guided to the DOE 23b through an optical fiber. Furthermore, the structure may be such that the light source 23a and the DOE 23b are tilted relative to the optical axis Ax of the imaging optical system 21 without using the prism 23c, thereby emitting the measurement light Lm in a direction across the field of view of the imaging optical system 21.
[0079] Regarding the direction of travel of the measured light, such as Figure 7 As shown, the measuring light Lm is emitted in a state where the optical axis of the measuring light Lm intersects the optical axis Ax of the imaging optical system 21. It can be seen that if observation can be performed within the range of observation distance Rx, the position of the spot SP formed on the subject by the measuring light Lm within the imaging range (indicated by arrows Qx, Qy, Qz) of each point in the near end Px, the center vicinity Py, and the far end Pz of the range Rx (the point where each arrow Qx, Qy, Qz intersects with the optical axis Ax) is different. In addition, the imaging angle of the imaging optical system 21 is represented in the area sandwiched between two solid lines 101, and the central area (the area sandwiched between two dotted lines 102) with less aberration in this imaging angle is measured.
[0080] As described above, the measuring light Lm is emitted in a state where the optical axis of the measuring light Lm intersects the optical axis Ax, thereby enabling the size of the subject to be measured according to the movement of the light spot position relative to the change in the observation distance. Then, the subject illuminated by the measuring light is photographed using the imaging element 32, thereby obtaining a subject image including the light spot SP. In the subject image, the position of the light spot SP varies depending on the relationship between the optical axis Ax of the imaging optical system 21 and the optical axis of the measuring light Lm and the observation distance, but the closer the observation distance, the more pixels are displayed for the same actual size (e.g., 5 mm), and the farther the observation distance, the fewer pixels are displayed.
[0081] like Figure 8As shown, the signal processing unit 39 of the processor device 16 includes: a first signal processing unit 50 that controls whether the length measurement mode can be executed, etc., and detects the position of the light spot SP in the subject image when the length measurement mode is allowed to be executed; and a second signal processing unit 52 that sets a measurement mark according to the position of the light spot SP. In addition, in the signal processing unit 39, when the normal observation mode is set, the subject image of the subject illuminated by the illumination light is input. When the special observation mode is set, the subject image of the subject illuminated by the special light is input. When the length measurement mode is set, the subject image of the subject illuminated by the illumination light and the measurement light is input.
[0082] The first signal processing unit 50 includes: a mode control unit 56 for performing control related to whether the length measurement mode can be executed, and an irradiation position detection unit 58 for detecting the irradiation position of the light spot SP from the subject image. The details of the mode control unit 56 will be described later. In the irradiation position detection unit 58, the irradiation position of the light spot SP is detected from the subject image in a state where the length measurement mode is allowed to be executed. Specifically, in the irradiation position detection unit 58, the coordinates of the light spot SP are calculated in real time based on the subject image, and the irradiation position of the light spot SP is obtained based on the calculated coordinates. In order to detect the irradiation position of the light spot SP by the irradiation position detection unit 58, a light beam color image based on the color of the measuring light must be included in the subject image. As a method of detecting the irradiation position, it is preferable to obtain the coordinates of the center of gravity position of the light spot SP in the subject image.
[0083] The mode control unit 56 performs at least one of the following controls: a first control, when a switching operation to the length measurement mode is performed through the mode switching switch 13a, if the setting conditions in the current settings related to the light source device 14, the endoscope 12, and the processor device 16 meet the predetermined prohibited setting conditions, switching to the length measurement mode is prohibited; a second control, when a setting change operation of the setting conditions is performed through the user interface 19 in the length measurement mode, if the setting conditions to be changed through the setting change operation meet the prohibited setting conditions, the setting change operation is invalidated; or a third control, when a setting change operation of the setting conditions is performed through the user interface 19 in the length measurement mode, if the setting conditions to be changed through the setting change operation meet the prohibited setting conditions, the length measurement mode is automatically switched to other modes.
[0084] As setting conditions related to the light source device 14, there are included lighting conditions of the illumination light used in the normal observation mode or the length measurement mode, lighting conditions of the special light used in the special observation mode, or lighting conditions of the measuring light used in the length measurement mode. The lighting conditions include, for example, the amount of illumination light, etc. As setting conditions related to the endoscope 12, there are included imaging conditions related to the imaging of the subject. As imaging conditions, for example, there are included shutter speed, etc. As setting conditions related to the processor device 16, there are included processing conditions such as image processing related to the subject image. The processing conditions include, for example, color balance, brightness correction, various emphasis processing, etc. In addition, it is preferred that in the length measurement mode, the position detection of the focusing SP is optimized and set to the setting conditions (illumination light amount, shutter speed, color balance, brightness correction, various emphasis processing) that satisfy the visual recognizability when the user measures the size.
[0085] The prohibited setting conditions include: a first prohibited setting condition that prevents detection of the position of the measurement light irradiation area from the subject image in the length measurement mode; and a second prohibited setting condition that prevents accurate display of the measurement mark corresponding to the observation distance in the measurement image. As the first prohibited setting condition, for example, a special observation mode in which the measurement light image is not used for display of the measurement image, brightness emphasis or red emphasis on the subject image, etc. are included. As described above, in the special observation mode, the red image as the measurement light image is not used for display on the monitor 18, so it is difficult to detect the measurement light irradiation area. In addition, in the length measurement mode, it is preferable to reduce the brightness in the subject image and suppress the red tone compared to the normal observation mode or the special observation mode.
[0086] Furthermore, as the second prohibited setting condition, for example, the use (turning on) of a zoom function such as an optical zoom function or a digital zoom function is included. This is because the measurement mark displayed in the measurement image is determined based on the position of the light spot SP, not based on the magnification of the zoom function, so when the zoom function is turned on, it is difficult for the measurement mark to be displayed corresponding to the observation distance.
[0087] For example, when the special observation mode is set, the mode switching switch 13a is used to switch to the length measurement mode. Fig. 9 As shown in FIG. 1 , the mode control unit 56 performs a first control for prohibiting switching to the length measurement mode and maintaining the state of the special observation mode. Fig.10 As shown, the mode control unit 56 displays a message notifying that the switching to the length measurement mode is prohibited on the monitor 18 (a warning sound may be emitted). Fig.11 As shown, the mode control unit 56 can perform control to release the special observation mode and switch to the length measurement mode.
[0088] Furthermore, in the length measurement mode, when a setting change operation of turning on the zoom function is performed by operating the zoom operation unit 13c, as shown in FIG. Fig.12 As shown in FIG. 1 , the mode control unit 56 performs a second control to invalidate the setting change operation of turning on the zoom function. Fig.13 As shown, the mode control unit 56 displays a message on the monitor 18 (a warning sound may be emitted) notifying that the setting change operation to turn on the zoom function has been invalidated.
[0089] Furthermore, in the length measurement mode, when a setting change operation of turning on the zoom function is performed by operating the zoom operation unit 13c, as shown in FIG. Fig.14 As shown in FIG. 1 , the mode control unit 56 cancels the length measurement mode and switches to the normal observation mode as the third control of the other modes. Fig.15 As shown, the mode control unit 56 displays a message notifying that the length measurement mode is canceled (the measurement mark is not displayed) and switched to the normal observation mode on the monitor 18 (a warning sound may be emitted). In addition, when the third control is performed, the setting change operation of turning on the zoom function is activated, and the subject on the subject image is enlarged or reduced by the zoom function.
[0090] The second signal processing unit 52 sets the first measurement mark as a measurement mark for measuring the size of the object according to the irradiation position of the light spot SP, and sets a mark display position for displaying the first measurement mark on the monitor 18. The second signal processing unit 52 sets the measurement mark image corresponding to the irradiation position by referring to the mark table 62 in which measurement mark images that are displayed differently according to the irradiation position of the light spot SP and the mark display position are stored in association with the irradiation position of the light spot.
[0091] The measurement mark image has a different size or shape, for example, depending on the irradiation position of the light spot SP and the mark display position. The display of the measurement mark image will be described later. In addition, the mark table 62 keeps the stored content even when the power of the processor device 16 is turned off. In addition, the mark table 62 stores the measurement mark image and the irradiation position in a corresponding relationship, but the distance to the subject (the distance between the front end portion 12d of the endoscope 12 and the subject) corresponding to the irradiation position and the measurement mark image may also be stored in a corresponding relationship.
[0092] When displaying a measurement image in which the measurement mark is superimposed on the subject image on the monitor 18, the display control unit 40 controls the display mode of the measurement mark to be different according to the irradiation position of the light spot SP and the mark display position. Specifically, the display control unit 40 displays the measurement image in which the first measurement mark is superimposed on the light spot SP on the monitor 18. As the first measurement mark, for example, a circular measurement mark is used. In this case, Fig.16 As shown, when the observation distance is close to the proximal end Px, the center of the spot SP1 formed on the tumor tm1 of the object is aligned, and a mark M1 indicating the actual size of 5 mm (horizontal and vertical directions of the object image) is displayed. In addition, when the measurement mark is displayed on the monitor 18, it can also be displayed on the monitor 18 according to the observation distance.
[0093] The mark display position of the mark M1 is located at the peripheral portion of the subject image affected by the deformation caused by the imaging optical system 21, so the mark M1 is elliptical in accordance with the influence of the deformation, etc. The above mark M1 is almost consistent with the range of the tumor tm1, so the tumor tm1 can be measured to be about 5 mm. In addition, it is possible to display only the first measurement mark without displaying the spot on the subject image.
[0094] And, if Fig.17 As shown in FIG. 1 , when the observation distance is close to the central vicinity Py, the center of the spot SP2 formed on the tumor tm2 of the object is aligned, and a mark M2 indicating an actual size of 5 mm (horizontal and vertical directions of the object image) is displayed. The mark display position of the mark M2 is located at the center of the object image which is not easily affected by the deformation of the imaging optical system 21, so the mark M2 is not affected by the deformation and the like and has a circular shape.
[0095] And, if Fig.18 As shown in FIG. 1 , the center of the spot SP3 formed on the tumor tm3 of the subject is aligned, and a mark M3 indicating an actual size of 5 mm (horizontally and vertically in the subject image) is displayed. The mark display position of the mark M3 is located at the peripheral portion of the subject image affected by the deformation caused by the imaging optical system 21, so the mark M3 is elliptical in shape in accordance with the influence of the deformation, etc. As shown in the above Figure 16 to Figure 18 As shown, the size of the first measurement mark corresponding to the same actual size of 5 mm decreases as the observation distance increases. In addition, the shape of the first measurement mark also varies depending on the mark display position in response to the influence of the deformation caused by the imaging optical system 21.
[0096] In addition, Figure 16 to Figure 18In the embodiment, the center of the light spot SP is aligned with the center of the mark and displayed, but if there is no problem in the measurement accuracy, the first measurement mark can be displayed at a position away from the light spot SP. However, in this case, it is also preferable to display the first measurement mark near the light spot. In addition, the distortion aberration of the subject image can be corrected and the first measurement mark in an undeformed state can be displayed on the corrected subject image, rather than being deformed and displayed.
[0097] And, in Figure 16 to Figure 18 In FIG. 1 , a first measurement mark corresponding to the actual size of the object, 5 mm, is displayed. However, the actual size of the object can be set to any value (e.g., 2 mm, 3 mm, 10 mm, etc.) according to the object to be observed and the purpose of observation. Figure 16 to Figure 18 In the example, the first measurement mark is set to be roughly circular, but Fig.19 As shown, it can also be set to a cross shape in which the vertical line and the horizontal line intersect. And, it can also be set to a cross shape with a scale Mx added to at least one of the vertical line and the horizontal line of the cross shape. And, as the first measuring mark, it can be set to a distorted cross shape that tilts at least one of the vertical line and the horizontal line. And, the first measuring mark can be set to a circle and a cross shape formed by combining a cross shape and a circle. In addition, the first measuring mark can be set to a measuring point group type formed by combining a plurality of measuring points EP corresponding to the actual size from the light spot. And, the number of the first measuring marks can be one or more, and the color of the first measuring mark can be changed according to the actual size.
[0098] In addition, as the first measurement mark, Fig. 20 As shown, three circular marks M4A, M4B, and M4C (with diameters of 2 mm, 5 mm, and 10 mm, respectively) of different sizes can be displayed on the subject image with the light spot SP4 formed on the tumor tm4 as the center. Regarding the three concentric circular marks, since multiple marks are displayed, the labor and time of switching can be saved, and even when the subject is non-linear, measurement can be performed. In addition, when multiple concentric circular marks are displayed with the light spot as the center, a combination of multiple conditions can be prepared in advance and selected from the combination, instead of specifying the size and color for each mark. And, as Fig. 20 As shown, the number of circular marks is not limited to 3, and 2 or 4 or more circular marks may also be used. Fig. 20 In FIG. 1 , the three circular marks are concentric circles having the same center, but the invention is not limited to concentric circles and may be a plurality of circles based on the position of the light spot SP4.
[0099] exist Fig. 20In the example, all three concentric circle marks are displayed in the same color (black), but when multiple concentric circle marks are displayed, multiple colored concentric circle marks may be displayed with the colors changing according to the marks. Fig.21 As shown, the mark M5A is represented by a dotted line representing red, the mark M5B is represented by a solid line representing blue, and the mark M5C is represented by a dashed line representing white. By changing the color of the mark in this way, the recognition is improved, so that measurement can be easily performed.
[0100] Furthermore, as the first measurement mark, in addition to a plurality of concentric circle marks, Fig. 22 As shown in FIG. 1 , a plurality of distorted concentric circle marks formed by distorting each concentric circle may be used. In this case, the distorted concentric circle marks M6A, M6B, and M6C are displayed on the subject image with the spot SP5 formed on the tumor tm5 as the center.
[0101] Next, use Fig.23 The flowchart shown in FIG. 1 illustrates a series of processes of the present invention. If the mode switch SW13a is operated to switch to the length measurement mode, the mode control unit 56 performs the following first control, that is, when the setting conditions in the current settings related to the light source device 14, the endoscope 12 or the processor device 16 meet the preset prohibition setting conditions, the switching operation to the length measurement mode is invalidated and the switching to the length measurement mode is prohibited. When the first control is performed, a message notifying "Switching to the length measurement mode is prohibited" is displayed on the monitor 18. In addition, when the user wants to use the length measurement mode, the mode switch SW13a or the user interface 19 is operated to change the setting conditions to those that do not meet the prohibition setting conditions. Then, the mode switch SW13a is operated again to switch to the length measurement mode. In this way, the switching to the length measurement mode is performed.
[0102] Next, the second control is performed such that, in the length measurement mode, when a setting change operation of a setting condition is performed through the user interface 19 or the like, if the setting condition to be changed by the setting change operation meets the setting prohibition condition, the setting change operation is invalidated and the length measurement mode is continued. When the second control is performed, a message notifying that "the setting change operation is invalidated" is displayed on the monitor 18.
[0103] On the other hand, the third control is performed as follows: in the length measurement mode, even if the setting condition to be changed by the setting change operation meets the setting prohibition condition, the user wishes to cancel the length measurement mode and activates the setting change operation, and operates the user interface 19, etc. to switch from the length measurement mode to another mode. When the third control is performed, the setting condition for activating the setting change operation is changed. In addition, a message notifying that "the length measurement mode is switched to another mode" is displayed on the monitor 18. These notifications can use icons, indicators, etc. that indicate the state of the length measurement mode and the observation conditions.
[0104] In the length measurement mode, the illumination light and the focused light (measuring light) are continuously irradiated to the subject. Fig.24 As shown, the illumination light is continuously turned on and continuously illuminates the subject, while the spotlight can be intermittently illuminated to the subject by repeatedly turning on and off (or dimming) every frame (or every several frames). At this time, in the frame where the spotlight is turned on, the position detection of the spotlight and the display setting of the measurement mark are performed. Then, the measurement mark for which the display setting is performed is preferably superimposed on the image obtained in the frame where only the illumination light is irradiated.
[0105] In addition, as for the measuring light, light that forms a light spot when irradiated to the subject is used, but other light may be used. Fig.25 As shown, a linear measurement light may be used that forms a cross line 80 on the subject when irradiated to the subject. By irradiating the linear measurement light to the subject, a cross line 80 as a linear irradiation area is formed on the subject. At this time, as a measurement mark, a second measurement mark consisting of the cross line 80 and a scale 82 is generated, and the scale 82 becomes an indicator of the size of the subject (for example, polyp P) on the cross line 80. When the linear measurement light is used, the irradiation position detection unit 58 detects the position of the cross line 80 (irradiation position of the measurement light). The lower the cross line 80 is, the closer the observation distance is, and the higher the cross line 80 is, the farther the observation distance is. Therefore, the lower the cross line 80 is, the larger the interval between the scales 82 is, and the higher the cross line 80 is, the smaller the interval between the scales 82 is.
[0106] When linear measuring light is used as the measuring light, in the length measurement mode, the illumination light and the linear measuring light may be continuously irradiated onto the subject, and Fig.26As shown, the illumination light is continuously irradiated to the subject, while the linear measurement light is repeatedly turned on and off (or dimmed) every one frame (or every several frames), so that the linear measurement light can be intermittently irradiated to the subject. At this time, in the frame where the linear measurement light is turned on, the position detection of the linear measurement light and the display setting of the measurement mark are performed. Then, the measurement mark for which the display setting is performed is preferably superimposed on the image obtained in the frame where only the illumination light is irradiated.
[0107] In addition, regarding the measurement light, when it is irradiated to the subject, Fig. 27 As shown, stripe pattern light ZPL that forms a stripe pattern on the subject can be used (for example, refer to Japanese Patent Publication No. 2016-198304). The stripe pattern light ZPL is obtained by irradiating a liquid crystal shutter (not shown) with a variable transmittance with a specific laser, and is formed by two different vertical stripe patterns that are periodically repeated in the horizontal direction by an area (transmission area) that transmits the specific laser through the liquid crystal shutter and an area (non-transmission area) that does not transmit the specific laser. In the case of using stripe pattern light as the measuring light, since the period of the stripe pattern light changes depending on the distance from the subject, the period or phase of the stripe pattern light is shifted by the liquid crystal shutter to irradiate multiple times, and the three-dimensional shape of the subject is measured based on multiple images obtained by shifting the period or phase.
[0108] For example, the stripe pattern light of phase X, the stripe pattern light of phase Y, and the stripe pattern light of phase Z are alternately irradiated to the subject. The stripe pattern light of phases X, Y, and Z causes the vertical stripe pattern to shift in phase every 120° (2π / 3). At this time, the three images obtained from each stripe pattern light are used to measure the three-dimensional shape of the subject. For example, Fig.28 As shown, it is preferred that the stripe pattern light of phase X, the stripe pattern light of phase Y, and the stripe pattern light of phase Z are switched in units of one frame (or in units of several frames) to irradiate the subject. In addition, it is preferred that the illumination light continuously irradiates the subject.
[0109] In addition, regarding the measurement light, when it is irradiated to the subject, Fig.29As shown, a measuring light LPL of a grid-like pattern formed into a grid-like pattern can be used (for example, refer to Japanese Patent Publication No. 2017-217215). At this time, the three-dimensional shape of the object is measured based on the deformation state of the grid-like pattern when the measuring light LPL of the grid-like pattern is irradiated to the object, so it is required to accurately detect the grid-like pattern. Therefore, the measuring light LPL of the grid-like pattern is not completely grid-shaped, and it is slightly deformed from the grid shape such as in a wavy shape to improve the detection accuracy of the grid-like pattern. In addition, an S plug cord is provided in the grid-like pattern to indicate that the endpoints of the left and right horizontal line segments are continuous. When detecting the grid-like pattern, not only the pattern is detected, but also the S plug cord is detected together, thereby improving the detection accuracy of the pattern. In addition, as a grid-like pattern, in addition to a pattern formed by regularly arranging vertical lines and horizontal lines, it can also be a pattern formed by arranging multiple light spots in a grid shape in the longitudinal and transverse directions.
[0110] When the grid-pattern measurement light LPL is used as the measurement light, the illumination light and the grid-pattern measurement light LPL may be continuously irradiated onto the subject in the length measurement mode, and Fig.30 As shown, the illumination light continuously irradiates the subject, while the grid pattern measurement light LPL is repeatedly turned on and off (or dimmed) every one frame (or every several frames), thereby intermittently irradiating the grid pattern measurement light LPL to the subject. At this time, in the frame where the grid pattern measurement light LPL is lit, the three-dimensional shape based on the grid pattern measurement light LPL is measured. Then, it is preferable to overlap and display the measurement result of the three-dimensional shape on the image obtained in the frame where only the illumination light is irradiated.
[0111] In addition, regarding the measurement light, Fig.31 As shown, a three-dimensional plane light TPL represented by grid lines on the subject image can be used (for example, refer to Japanese Patent Publication No. 2017-508529). At this time, the front end 12d is moved so that the three-dimensional plane light TPL matches the measurement object. Then, when the three-dimensional plane light TPL intersects the measurement object, the distance between the three-dimensional plane light TPL and the cross curve CC of the subject is calculated by manual operation based on a user interface or the like or automatic processing.
[0112] When the three-dimensional plane light TPL is used as the measuring light, the illumination light and the three-dimensional plane light TPL may be continuously irradiated to the object in the length measurement mode, and Fig.32 As shown, the illumination light continuously irradiates the subject, while the three-dimensional plane light TPL is repeatedly turned on and off (or dimmed) every frame (or every several frames), thereby allowing the three-dimensional plane light TPL to intermittently irradiate the subject.
[0113] In the above-mentioned embodiment, the hardware structure of the processing unit (processing unit) that performs various processes, such as the receiving unit 38, the signal processing unit 39, the display control unit 40, the system control unit 41, the still image storage unit 42, the first signal processing unit 50, the second signal processing unit 52, the mode control unit 56, the irradiation position detection unit 58, and the marking table 62, is various processors (processors) as shown below. The various processors include a general-purpose processor that executes software (programs) and functions as various processing units, namely a CPU (Central Processing Unit), a processor that can change the circuit structure after manufacturing, such as a FPGA (Field Programmable Gate Array), that is, a programmable logic device (PLD), and a processor that has a circuit structure specially designed to perform various processes, namely, a dedicated circuit.
[0114] One processing unit may be composed of one of these various processors, or may be composed of a combination of two or more processors of the same type or different types (for example, a combination of multiple FPGAs, CPUs and FPGAs). Furthermore, multiple processing units may be composed of one processor. As an example of multiple processing units composed of one processor, first, there is a method in which a processor is composed of a combination of one or more CPUs and software, as represented by computers such as clients and servers, and the processor functions as multiple processing units. Secondly, there is a method in which a processor is used that implements the functions of the entire system including multiple processing units, as represented by a system on chip (SoC). In this way, as a hardware structure, various processing units are composed of one or more of the above-mentioned various processors.
[0115] More specifically, the hardware structure of these various processors is a circuit in the form of a combination of circuit elements such as semiconductor elements, and the hardware structure of the storage unit is a storage device such as a HDD (hard disc drive) or an SSD (solid state drive).
[0116] In addition, regarding the measurement light and the irradiation of the measurement light, the following are preferred. The measurement light is preferably focused. The measurement light is preferably linear measurement light. The measurement light is preferably measurement light with a grid pattern. The measurement light is preferably three-dimensional plane light. The measurement light is preferably irradiated to the subject intermittently. The measurement light is preferably stripe pattern light. It is preferred to switch between multiple stripe pattern lights with different phases or periods to irradiate the subject.
[0117] Explanation of symbols
[0118] 10-endoscope system, 12-endoscope, 12a-insertion part, 12b-operation part, 12c-bending part, 12d-front end part, 13a-mode switching switch, 13b-freeze switch, 13c-zoom operation part, 14-light source device, 16-processor device, 18-monitor, 19-user interface, 21-imaging optical system, 21a-objective lens, 21b-zoom lens, 22-illumination optical system, 22a-illumination lens, 23-measurement light output part, 23a-light source, 23b-DOE, 23c-prism, 23d-output part, 24-opening, 25-air and water supply nozzle, 26-light source part, 27-light source control part, 28-light guide, 29-connector, 32-imaging element, 33-imaging control part, 34-CDS / AGC circuit , 35-A / D converter, 36-communication I / F, 37-communication I / F, 38-receiving unit, 39-signal processing unit, 40-display control unit, 41-system control unit, 42-still image storage unit, 50-first signal processing unit, 52-second signal processing unit, 56-mode control unit, 58-irradiation position detection unit, 62-marking table, 80-cross line, 82-scale, 101, 102-solid line, M1, M2, M3-cross mark, tml, tm2, tm3, tm4, tm5-tumor, SP-spot, SPl, SP2, SP3, SP4, SP5-spot, M4A, M4B, M4C, M5A, M5B, M5C-circular mark, M6A, M6B, M6C-distortion concentric circle mark, P-polyp.
Claims
1. An endoscope system comprising: Light source device; an endoscope that irradiates a measuring light onto a subject; and a processor device having a processor and generating a subject image related to the subject, The endoscope has a normal observation mode, a special observation mode and a length measurement mode. The processor performs at least one of the following controls: A first control for prohibiting switching to the length measurement mode when a switching operation to display a measurement image of a measurement mark for measuring the size of the object on a display is performed, if a setting condition related to the light source device, the endoscope or the processor device meets a predetermined prohibition setting condition; a second control of, in the length measurement mode, when a setting change operation of the setting condition is performed, in a case where the setting condition to be changed by the setting change operation meets the prohibition setting condition, invalidating the setting change operation; or The third control is to switch from the length measurement mode to another mode when a setting change operation of the setting condition is performed in the length measurement mode and the setting condition to be changed by the setting change operation meets the prohibition setting condition, The prohibited setting conditions include a first prohibited setting condition that prevents detection of a position of a measurement light irradiation area that appears in the subject through irradiation of the measurement light from the subject image, and a second prohibited setting condition that prevents display of a measurement mark corresponding to an observation distance in the measurement image.
2. The endoscope system according to claim 1, wherein: including a measurement light image based on the color of the measurement light in the subject image, The setting conditions include a special observation mode in which the measurement light image is not used for displaying the measurement image. The first prohibition setting condition includes the special observation mode.
3. The endoscope system according to claim 2, wherein: The processor performs the following control: When a switching operation to the length measurement mode is performed in the special observation mode, the special observation mode is released and the mode is switched to the length measurement mode instead of prohibiting the switching to the length measurement mode.
4. The endoscope system according to claim 2, wherein: The measurement light image is a red image.
5. The endoscope system according to claim 3, wherein: The measurement light image is a red image.
6. The endoscope system according to claim 1, wherein: The second prohibition setting condition includes use of a zoom function for enlarging or reducing the subject in the subject image.
7. The endoscope system according to any one of claims 1 to 6, wherein: The processor performs notification of an intention to prohibit switching to the length measurement mode when performing the first control to prohibit switching to the length measurement mode.
8. The endoscope system according to any one of claims 1 to 6, wherein: The processor performs notification of an intention to invalidate the setting change operation when performing the second control to invalidate the setting change operation.
9. The endoscope system according to any one of claims 1 to 6, wherein: When performing the third control of switching from the length measurement mode to another mode, the processor notifies the intention of switching to the other mode.
10. The endoscope system according to any one of claims 1 to 6, wherein: The measuring mark includes: a first measuring mark indicating the actual size of the object; or a second measuring mark including a cross line on the object formed by the measuring light and a scale on the cross line that serves as an indicator of the size of the object.
11. The endoscope system according to any one of claims 1 to 6, wherein: The endoscope comprises: a measuring light emitting portion for emitting the measuring light; and an imaging optical system provided at a front end portion at a position different from the measuring light emitting portion for receiving light from the subject, wherein the measuring light is emitted obliquely with respect to an optical axis of the imaging optical system. The processor performs the following processing: acquiring the object image, namely, an object image including a measurement light irradiation area appearing in the object due to the irradiation of the measurement light, detecting the position of the measurement light irradiation area from the subject image, The measurement image is displayed on a display corresponding to the position of the measurement light irradiation area.
12. A method for operating an endoscope system, the endoscope system comprising: Light source device; an endoscope that irradiates a measuring light onto a subject; and a processor device having a processor and generating a subject image related to the subject, The endoscope has a normal observation mode, a special observation mode and a length measurement mode. In the working method of the endoscope system, The processor performs at least one of the following controls: A first control for prohibiting switching to the length measurement mode when a switching operation to display a measurement image of a measurement mark for measuring the size of the object on a display is performed, if a setting condition related to the light source device, the endoscope or the processor device meets a predetermined prohibition setting condition; a second control of, in the length measurement mode, when a setting change operation of the setting condition is performed, in a case where the setting condition to be changed by the setting change operation meets the prohibition setting condition, invalidating the setting change operation; or The third control is to switch from the length measurement mode to another mode when a setting change operation of the setting condition is performed in the length measurement mode and the setting condition to be changed by the setting change operation meets the prohibition setting condition, The prohibited setting conditions include a first prohibited setting condition that prevents detection of a position of a measurement light irradiation area that appears in the subject through irradiation of the measurement light from the subject image, and a second prohibited setting condition that prevents display of a measurement mark corresponding to an observation distance in the measurement image.
