The present invention relates to an endoscope apparatus that measures the size of a subject.
A distance to an object to be observed, the size of an object to be observed, or the like is measured in an endoscope apparatus. For example, JP1992-012724A (JP-H04-012724A) discloses an endoscope apparatus that obtains the three-dimensional information of an object to be observed irradiated with planar light by sweeping planar light from the distal end of an endoscope and processing the taken image of the portion to be observed in a state where parallel light is swept. Further, JP2017-508529A (corresponding to US2016/287141A1) discloses an endoscope apparatus that applies planar light to an object to be observed from the distal end of an endoscope and superimposes and displays a mesh, which shows the trajectory of the planar light, and a curved line where the planar light crosses an object to be observed on a taken image. In a case two points positioned on the curved line superimposed on the taken image are selected in this endoscope apparatus, a distance between the two points is calculated and displayed.
It is preferable that auxiliary measurement light for measurement having a wavelength in a wavelength range where directivity is high and reflectivity from an object to be observed is high is used to measure a distance to an object to be observed, the size of an object to be observed, or the like as described above. In a case where the color of an object to be measured included in the object to be observed is the same as the color of the auxiliary measurement light when illumination light, which is used to illuminate the object to be observed with brightness, and the auxiliary measurement light are simultaneously applied to the object to be observed, the visibility of the object to be measured may deteriorate. For example, since the measurement light is spread and superimposed on a red portion in a case where the object to be measured is the red portion and the auxiliary measurement light is light having a wavelength range corresponding to a red color, there is a case where it may be difficult to recognize the red portion.
An object of the invention is to provide an endoscope apparatus where the obstruction of the visibility of an object to be measured caused by auxiliary measurement light does not occur even though the auxiliary measurement light is used to measure the size and the like of the object to be measured included in an object to be observed.
An endoscope apparatus according to an aspect of the invention comprises a light source unit for illumination light that generates illumination light used to illuminate a subject, an auxiliary measurement light-emitting unit that emits auxiliary measurement light, a light source control unit that allows the illumination light to be continuously emitted and allows the auxiliary measurement light to be emitted in the form of a pulse at a specific frame interval, an imaging element that images the subject, a signal processing unit that generates a first taken image obtained through the imaging of the subject illuminated with the illumination light and generates a second taken image obtained through the imaging of the subject illuminated with the illumination light and the auxiliary measurement light, and a display control unit that allows a display unit to display a specific image where a measurement marker obtained from the second taken image is displayed in the first taken image.
It is preferable that the auxiliary measurement light-emitting unit is a first auxiliary measurement light-emitting unit emitting planar auxiliary measurement light as the auxiliary measurement light, and the measurement marker is a first measurement marker including a crossing line corresponding to a portion, which crosses the subject, of a plane formed by the planar auxiliary measurement light and gradations provided on the crossing line and serving as an index of a size of the subject. It is preferable that the endoscope apparatus further comprises an imaging optical system including an objective lens used to form an image of the subject on the imaging element, the auxiliary measurement light-emitting unit emits the auxiliary measurement light in a state where the plane crosses an optical axis of the objective lens, and the plane is included in an effective imaging range that is a range where an effective visual field predetermined in a visual field of the imaging optical system and a depth-of-field of the imaging optical system overlap with each other.
It is preferable that the auxiliary measurement light-emitting unit is a second auxiliary measurement light-emitting unit emitting spot-like auxiliary measurement light as the auxiliary measurement light, the signal processing unit includes a spot position recognition unit recognizing a position of a spot, which is a substantially circular area formed on the subject by the spot-like auxiliary measurement light, in the second taken image and a measurement marker generation unit including a second measurement marker representing an actual size of the subject as the measurement marker on the basis of the position of the spot in the second taken image, and the display control unit displays the second measurement marker in the first taken image. It is preferable that the display control unit displays a spot display portion, which corresponds to the position of the spot, in the first taken image in addition to the second measurement marker. It is preferable that the second measurement marker has any one of a cruciform shape, a cruciform shape with gradations, a distorted cruciform shape, a circular-and-cruciform shape, or a shape of a measurement point group. It is preferable that the second measurement marker has any one of a shape of a plurality of concentric circles, a shape of a plurality of color concentric circles, or a shape of a plurality of distorted concentric circles.
It is preferable that the imaging element is a global shutter-type imaging element perfonning exposure and reading of electric charges on each pixel at the same timing to output an image signal used to obtain the first taken image or the second taken image, and, until the first taken image is acquired at a second timing next to a first timing after the first taken image is acquired at the first timing, the first taken image acquired at the first timing is continuously displayed and the second taken image is not displayed in the specific image.
It is preferable that the imaging element is a rolling shutter-type imaging element including a plurality of lines used to image an object to be observed illuminated with the illumination light or the auxiliary measurement light, performing exposure at different exposure timings for the respective lines, and reading electric charges at different reading timings for the respective lines to output an image signal used to obtain the first taken image or the second taken image, and, until the first taken image is acquired at a second timing next to a first timing after the first taken image is acquired at the first timing, the first taken image acquired at the first timing is continuously displayed and the second taken image is not displayed in the specific image.
It is preferable that the imaging element is a rolling shutter-type imaging element including a plurality of lines used to image an object to be observed illuminated with the illumination light or the auxiliary measurement light, performing exposure at different exposure timings for the respective lines, and reading electric charges at different reading timings for the respective lines to output an image signal used to obtain the first taken image or the second taken image, the rolling shutter-type imaging element provides a blanking period in which the output of the image signal is prohibited, the light source control unit emits the auxiliary measurement light in the blanking period, and, until the first taken image is acquired at a second timing next to a first timing after the first taken image is acquired at the first timing, the first taken image acquired at the first timing is continuously displayed and the second taken image is not displayed in the specific image.
It is preferable that a first mode in which the first taken image is displayed on the display unit and a second mode in which the specific image is displayed on the display unit are provided, and a reading period of the imaging element in the second mode is set shorter than a reading period of the imaging element in the first mode. It is preferable that a frame rate of the display unit, which displays the specific image, is equal to a value of a sum of the reading period of the imaging element in the second mode and the blanking period. It is preferable that a first mode in which the first taken image is displayed on the display unit and a second mode in which the specific image is displayed on the display unit are provided, and a reading period of the imaging element in the first mode is set equal to a reading period of the imaging element in the second mode. It is preferable that a value of a sum of the reading period of the imaging element in the first mode and the blanking period is equal to a value of a sum of the reading period of the imaging element in the second mode and the blanking period.
According to the aspect of the invention, the obstruction of the visibility of an object to be measured caused by auxiliary measurement light does not occur even though the auxiliary measurement light is used to measure the size and the like of the object to be measured.
As shown in
The endoscope 12 includes an insertion part 12a that is to be inserted into a subject, an operation part 12b that is provided at a proximal end portion of the insertion part 12a, and a bendable portion 12c and a distal end portion 12d that are provided at a distal end of the insertion part 12a. The bendable portion 12c operates to be bent by the operation of an angle knob 12e of the operation part 12b. The distal end portion 12d is oriented in a desired direction by the bending operation of the bendable portion 12c.
The endoscope 12 has a normal mode (first mode) and a length measurement mode (second mode), and these modes are switched by a mode changeover switch 13 that is provided on the operation part 12b of the endoscope 12. The normal mode is a mode where an object to be observed with illumination light is illuminated. In the length measurement mode, an object to be observed is illuminated with illumination light or planar auxiliary measurement light to be described later, so that gradations 70A used to measure a specific portion is displayed on the monitor 18. The gradations 70A are provided on a line referred to as a crossing line 30f (see
As shown in
An optical axis Ax of the objective lens 21 extends in a direction perpendicular to the plane of paper. A vertical first direction D1 is orthogonal to the optical axis Ax, and a horizontal second direction D2 is orthogonal to the optical axis Ax and the first direction D1. The objective lens 21 and the auxiliary measurement lens 23 are arranged in the first direction D1.
As shown in
The distal end portion 12d of the endoscope 12 is provided with an illumination optical system 29a, an imaging optical system 29b, and a first auxiliary measurement light-emitting unit 30. The illumination optical system 29a includes the illumination lens 22, and an object to be observed is irradiated with light, which is emitted from the light guide 28, through the illumination lens 22. The imaging optical system 29b includes the objective lens 21 and an imaging element 32. Light reflected from the object to be observed is incident on the imaging element 32 through the objective lens 21. Accordingly, the reflected image of the object to be observed is formed on the imaging element 32.
The imaging element 32 is a color imaging sensor, and takes the reflected image of a subject and outputs image signals. It is preferable that the imaging element 32 is a charge coupled device (CCD) imaging sensor, a complementary metal-oxide semiconductor (CMOS) imaging sensor, or the like. The imaging element 32 used in the invention is a color imaging sensor that is used to obtain RGB image signals corresponding to three colors of R (red), G (green), and B (blue). The imaging element 32 is controlled by an imaging control unit 33.
The image signals output through the imaging element 32 are transmitted to a CDS/AGC circuit 34. The CDS/AGC circuit 34 performs correlated double sampling (CDS) or auto gain control (AGC) on the image signals that are analog signals. The image signals, which have been transmitted through the CDS/AGC circuit 34, are converted into digital image signals by an analog/digital converter (A/D converter) 35. The digital image signals, which have been subjected to A/D conversion, are input to the processor device 16 through a communication inter/face (I/F) 36.
As shown in
Light emitted from the light source 30a is red light having a wavelength of, for example, 650 nm, but is not limited to this wavelength. The light source 30a is controlled by the system control unit 41, and emits light on the basis of a command output from the system control unit 41. The DOE 30b converts the light, which is emitted from the light source, into auxiliary measurement light that is planar light. The converted planar auxiliary measurement light is parallel to the optical axis Ax of the objective lens 21.
The prism 30c is an optical member that is used to change the travel direction of planar auxiliary measurement light converted by the DOE 30b. The prism 30c changes the travel direction of planar auxiliary measurement light so that planar auxiliary measurement light crosses the visual field of the imaging optical system including the objective lens 21 and lens groups. A subject is irradiated with planar auxiliary measurement light Lm, which is emitted from the prism 30c, through the auxiliary measurement lens 23.
The first auxiliary measurement light-emitting unit 30 has only to be capable of emitting planar light toward the visual field of the imaging optical system. For example, the light source 30a may be provided in the light source device and light emitted from the light source 30a may be guided to the DOE 30b by optical fibers. Further, the prism 30c may not be used and the directions of the light source 30a and the DOE 30b may be inclined with respect to the optical axis Ax so that planar auxiliary measurement light Lm is emitted in a direction crossing the visual field of the imaging optical system.
As shown in
A method of displaying the gradations 70A on the crossing line 30f in the length measurement mode will be described below. As shown in
The depth-of-field R1 is optionally determined, but the imaging optical system is designed in the endoscope so that the depth-of-field R1 is present in a range where a distance from the objective lens 21 is 3 mm or more and 100 mm or less. The position P1 is present at a position where a distance from the distal end portion of the objective lens 21 (a point on a distal end closest to a subject in a direction along the optical axis Ax of the objective lens 21) is, for example, 3 mm. The position P3 is present at a position where a distance from the distal end portion of the objective lens 21 is, for example, 100 mm. Accordingly, the imaging element 32 can image a subject, which is positioned in the visual field 21A and the depth-of-field R1, with high resolution.
The visual field 21A is a field having an angle of view in the range of, for example, 140° to 170°. As described above, the visual field 21A is set wide in the endoscope 12. For this reason, distortion appears around the visual field 21A in the optical image of a subject that is formed on the light-receiving surface of the imaging element 32 by the imaging optical system.
An effective visual field 21B shown by a broken line is predetermined in the endoscope apparatus 10 as a range, which does not substantially cause distortion to appear in the optical image, of the visual field 21A. The effective visual field 21B serves as a range that is suitable to display gradations as the index of a subject to be described later. A range where the effective visual field 21B and the depth-of-field R1 overlap with each other will be referred to as an effective imaging range 21C below. A subject positioned in the effective imaging range 21C can be observed in a state where resolution is high and distortion does not appear.
In an auxiliary measurement light-emitting frame that emits planar auxiliary measurement light in the length measurement mode, the first auxiliary measurement light-emitting unit 30 emits planar auxiliary measurement light Lm in a state where a plane formed by planar auxiliary measurement light Lm crosses the optical axis Ax at a position P2. The auxiliary measurement light-emitting unit 30 allows the plane, which is formed by planar auxiliary measurement light Lm, to be within the effective imaging range 21C. The position P2 is present in the depth-of-field R1, and is a position where a distance L2 from the distal end portion of the objective lens 21 is in the range of 5 mm to 20 mm or 3 mm to 20 mm (a range particularly frequently used to observe a subject in endoscopy).
In a case where an object to be observed, such as a polyp, is present, a user, who uses the endoscope 12, operates the endoscope 12 so that the object to be observed is positioned in an optimum observation range for the object to be observed. Since an object to be observed is excessively big in the taken image in a case where the object to be observed is positioned on the near side of the optimum observation range, there is a case where it is not suitable for diagnosis. On the other hand, since it is difficult to observe the detailed state of an object to be observed in a case where the object to be observed is positioned on the back side of the optimum observation range, there is a case where it is not suitable for diagnosis. Accordingly, the object to be observed is frequently observed in a state where the object to be observed is positioned in the optimum observation range.
The plane 30F, which is formed by planar auxiliary measurement light Lm, crosses the visual field 21A in a state where the plane 30F passes through an end portion of the cross section 211B of the effective imaging range 21C, passes through a center line E2 of the cross section 212B of the effective imaging range 21C, and passes through an end portion of the cross section 213B of the effective imaging range 21C. According to the above-mentioned structure, an optical image OP1 shown in
The crossing line 30f, which is formed between the subject H1 and the plane 30F in a case where the subject H1 is irradiated with planar auxiliary measurement light Lm, is displayed in the optical image OP1. The crossing line 30f is positioned on the lower side in the optical image OP1. The effective visual field 21B is subsidiarity shown in the optical image OP1 (the same applies to optical images OP2 and OP3 to be described later). Further, an optical image OP2 shown in
Furthermore, an optical image OP3 shown in
The signal processing unit 39 generates a second taken image, which is used to set the gradations 70A, on the basis of the above-mentioned optical images OP1, OP2, and OP3. The generated second taken image is transmitted to the display control unit 40. The display control unit 40 acquires the second taken image obtained at the time of the auxiliary measurement light-emitting frame and a first taken image obtained at the time of an only-illumination light-emitting frame that emits only illumination light without emitting planar auxiliary measurement light. Then, the display control unit 40 sets a direction, in which the crossing line 30f included in the second taken image extends, as a horizontal direction. Accordingly, the extraction of the crossing line from the second taken image is completed. After that, the display control unit 40 displays the extracted crossing line 30f in the first taken image, so that a specific image including the crossing line 30f is displayed on the monitor 18.
In a case where the specific image is displayed on the monitor 18, the position of the crossing line 30f in the optical image in the vertical direction is changed due to a change in the distance to the subject on which the crossing line 30f is formed. That is, as the subject becomes distant from the objective lens 21, the crossing line 30f is moved up from the lower side of the display unit.
In a case where the display control unit 40 displays the specific image including the crossing line 30f on the monitor 18 on the basis of the optical image OP1 and the like, the display control unit 40 allows the crossing line 30f to overlap to display the gradations of the crossing line 30f that show an actual size. The gradations form gradations serving as the index of the size of a subject. A data table, which shows a relationship between a position in the vertical direction in the second taken image generated by the signal processing unit 39 and the actual size of one pixel of the image at the position, is stored in a ROM built in the display control unit 40.
A method of generating the data table is as follows. For example, a sheet of graph paper on which squares having a length of 1 mm and a width of 1 mm are arranged is prepared as the above-mentioned subject H1, and the graph paper is imaged by the imaging element 32 in a state where the graph paper is placed at an arbitrary distance from the distal end portion of the objective lens 21. Then, the position yn of the crossing line 30f of the second taken image in the vertical direction is obtained. Further, the length of the crossing line 30f included in the second taken image is measured using the squares of the graph paper. The measured length of the crossing line 30f is divided by the total number of pixels of the second taken image in the horizontal direction, so that the actual size of one pixel at the position is obtained. Then, information about the actual size of one pixel and the position yn are stored in the ROM in association with each other. The above-mentioned work is repeated while the position of the graph paper in the optical axis direction D3 is finely changed, so that the data table is made.
Specifically, the display control unit 40 detects the crossing line 30f from the second taken image generated by the signal processing unit 39, and uses one of a plurality of pixel data forming the crossing line 30f as a starting point. Then, the display control unit 40 sequentially selects pixel data from the starting point in the horizontal direction, and obtains information about the actual size of one pixel at the positions from the positions of the selected pixel data in the vertical direction and the data table.
The display control unit 40 integrates the actual size whenever the display control unit 40 selects pixel data, and specifies pixel data, which is selected in a case where an integrated value becomes the integer multiple of unit length (for example, 1 mm), as pixel data where gradations are to overlap. Further, the display control unit 40 also specifies the pixel data of the starting point as pixel data where gradations are to overlap. The display control unit 40 displays gradations (for example, vertical lines extending in the vertical direction), which show intervals corresponding to unit length, on the pixel data where gradations are to overlap. The gradations are displayed in the first taken image, so that a specific image including the gradations 70A (see
As described above, the length of an object to be measured can be obtained using the gradations 70A displayed in the specific image. For example, it is understood that the length of the polyp P in the direction H is about 4.5 mm as shown in
As shown in
In a case where the crossing line 30f is positioned outside a range 21X corresponding to the effective visual field 21B in the specific image displayed on the monitor 18 as shown in
As shown in
The first auxiliary measurement light-emitting unit 30 of the endoscope apparatus 10 may be adapted to be attachably and detachably mounted on the distal end portion 12d of the endoscope 12 other than a structure where the first auxiliary measurement light-emitting unit 30 of the endoscope apparatus 10 is fixed to the distal end portion 12d of the endoscope 12. In this case, the first auxiliary measurement light-emitting unit 30 may be adapted to be capable of being retrofitted to the opening 24 of the distal end portion 12d as an accessory as shown in
In the length measurement mode of this embodiment, the light source control unit 27 allows illumination light, which is used for the entire illumination of an object to be observed, to be continuously emitted and allows planar auxiliary measurement light Lm to be emitted in the form of a pulse. Accordingly, as shown in
The patterns of light emission and imaging in the length measurement mode are as follows. A first pattern is a pattern in a case where a CCD (global shutter-type imaging element), which performs exposure and the reading of electric charges on the respective pixels at the same timing to output image signals, is used as the imaging element 32. Further, in the first pattern, planar auxiliary measurement light Lm is emitted at a two-frame interval as a specific frame interval.
In the first pattern, as shown in
Further, illumination light and auxiliary measurement light Lm are emitted at the timing T2. The simultaneous reading of electric charges is performed on the basis of the exposure using illumination light and planar auxiliary measurement light Lm, which is performed at the timing T2, when the timing T2 is switched to a timing T3. As a result, a second taken image N+Lm including components of illumination light and auxiliary measurement light Lm is obtained. The extraction of the crossing line 30f and the setting of the gradations 70A are performed on the basis of this second taken image N+Lm. The crossing line 30f and the gradations 70A are displayed in the first taken image N that is displayed at the timing T2. Accordingly, a specific image S where the crossing line 30f and the gradations 70A are displayed in the first taken image N displayed at the timing T2 is displayed at the timing T3.
The first taken image N displayed at the timing T2 (first timing) is displayed on the monitor 18 not only at the timing T2 but also at the timing T3. That is, the first taken image displayed at the timing T2 is continuously displayed over two frames until a timing T4 (second timing) when the next first taken image is obtained (the same subject image is displayed at the timings T2 and T3). The second taken image N+Lm is not displayed on the monitor 18 at the timing T3. Here, in the nominal mode, the first taken image N is displayed while being changed for each frame. However, since the same first taken image N2 is continuously displayed over two frames as described above in the first pattern of the length measurement mode, a frame rate in the first pattern of the length measurement mode is substantially ½ of that in the normal mode.
An image is displayed even at a timing T4 or later in the same way. That is, the first taken image displayed at the timing T4 is continuously displayed in the specific image S at the timings T4 and T5, and a first taken image N displayed at the timing T6 is continuously displayed in the specific image S at the timings T6 and T7. In contrast, a second taken image N+Lm is not displayed on the monitor 18 at the timings T4, T5, T6, and T7. Since the first taken image N, which does not include the components of planar auxiliary measurement light, is displayed for the display of the specific image S as described above, a frame rate is slightly reduced but the obstruction of the visibility of an object to be observed, which may be caused by the emission of planar auxiliary measurement light Lm, does not occur.
A second pattern is a pattern in a case where a CMOS (rolling shutter-type imaging element), which includes a plurality of lines used to image an object to be observed illuminated with illumination light or planar auxiliary measurement light Lm, performs exposure at different exposure timings for the respective lines, and reads electric charges at different reading timings for the respective lines to output image signals, is used as the imaging element 32. Further, in the second pattern, planar auxiliary measurement light Lm is emitted at a three-frame interval as a specific frame interval.
In the second pattern, as shown in
Further, illumination light and auxiliary measurement light Lm are emitted at the timing T2. Rolling shutter is performed on the basis of illumination, which is performed using illumination light to the timing T2 from the timing T1, and illumination that is performed using planar auxiliary measurement light Lm at the timing T2. Accordingly, a second taken image N+Lm including components of illumination light and planar auxiliary measurement light Lm is obtained when the timing T2 is switched to the timing T3. Furthermore, even when the timing T3 is switched to the timing T4, a second taken image N+Lm including the components of illumination light and planar auxiliary measurement light Lm is obtained. The extraction of the crossing line 30f and the setting of the gradations 70A are performed on the basis of the second taken image N+Lm. Planar auxiliary measurement light Lm is not emitted at the timings T3 and T4.
The crossing line 30f and the gradations 70A are displayed in the first taken image N that is displayed at the timing T2. Accordingly, a specific image S where the crossing line 30f and the gradations 70A are displayed in the first taken image N displayed at the timing T2 is displayed at the timings T3 and T4. The first taken image N displayed at the timing T2 (first timing) is displayed on the monitor 18 not only at the timing T2 but also at the timings T3 and T4. That is, the first taken image displayed at the timing T2 is continuously displayed over three frames until a timing T5 (second timing) when the next first taken image is obtained (the same subject image is displayed at the timings T2, T3, and T4). In contrast, the second taken image N+Lm is not displayed on the monitor 18 at the timings T3 and T4. Since the same first taken image N2 is continuously displayed over three frames in the second pattern of the length measurement mode, a frame rate in the second pattern of the length measurement mode is substantially ⅓ of that in the normal mode.
An image is displayed even at a timing T5 or later in the same way. The first taken image displayed at the timing T5 is displayed in the specific image S at the timings T5, T6, and T7. In contrast, a second taken image N+Lm is not displayed on the monitor 18 at the timings T5, T6, and T7. Since the first taken image, which does not include the components of planar auxiliary measurement light, is displayed for the display of the specific image S as described above, a frame rate is reduced but the obstruction of the visibility of an object to be observed, which may be caused by the emission of planar auxiliary measurement light Lm, does not occur.
A third pattern is a pattern in a case where a rolling shutter-type imaging element is used as the imaging element 32 as in the second pattern. Further, in the third pattern, planar auxiliary measurement light Lm is emitted at a two-frame interval as a specific frame interval.
In the third pattern, as shown in
Further, a blanking period Bk in which the output of image signals to be performed by the reading of electric charges is prohibited is provided between the respective reading periods (until the start of reading of electric charges after the completion of reading of electric charges) in the third pattern. Planar auxiliary measurement light Lm is emitted in this blanking period Bk. Rolling shutter is performed on the basis of illumination using illumination light and planar auxiliary measurement light Lm, so that a second taken image N+Lm including components illumination light and planar auxiliary measurement light Lm is obtained. The extraction of the crossing line 30f and the setting of the gradations 70A are performed on the basis of the second taken image N+Lm. The crossing line 30f and the gradations 70A are displayed in the first taken image N that is displayed at the timing T2. Then, a specific image S where the crossing line 30f and the gradations 70A are displayed in the first taken image N displayed at the timing T2 is displayed at the timing T4.
An image is displayed even at a timing T5 or later in the same way. The first taken image N displayed at the timing T5 is displayed in the specific image S at a timing T5 (first timing), a timing T6, and a timing T7 until a first taken image N is obtained at the next timing T8 (second timing). That is, the first taken image N displayed at the timing T5 is continuously displayed at the timings T5, T6, and T7 (the same subject image is displayed at the timings T5, T6, and T7). In contrast, the second taken image N+Lm is not displayed at the timings T5, T6, and T7. Since the first taken image, which does not include the components of planar auxiliary measurement light, is displayed for the display of the specific image S as described above, a frame rate is reduced but the obstruction of the visibility of an object to be observed, which may be caused by the emission of planar auxiliary measurement light, does not occur. Since the same first taken image N2 is continuously displayed over three frames in the third pattern of the length measurement mode, a frame rate in the third pattern of the length measurement mode is substantially ⅓ of that in the normal mode.
The crossing line 30f and the gradations 70A, which are extracted and set from the second taken image N obtained before the timing T5 are used in the specific image S displayed at the timings T5 and T6, and the crossing line 30f and the gradations 70A, which are extracted and set from the second taken image obtained after the timing T5 are used in the specific image S displayed at the timing T7.
A fourth pattern is a pattern in a case where a rolling shutter-type imaging element is used as the imaging element 32 as in the second pattern. Further, in the fourth pattern, planar auxiliary measurement light Lm is emitted at a two-frame interval as a specific frame interval.
In the fourth pattern, as shown in
Prc(=display frame rate)=Prs+Bk Equation 1)
Here, Prc is 1/60 in a case where the display frame rate is set to 1/60 sec. In this case, it is preferable that, for example, Prs is set to 1/90 sec and Bk is set to 1/180 sec.
Further, a blanking period Bk in which the output of image signals to be performed by the reading of electric charges is prohibited is provided between the respective reading periods in the fourth pattern. Planar auxiliary measurement light Lm is emitted in this blanking period Bk. Rolling shutter is performed on the basis of illumination using illumination light and planar auxiliary measurement light Lm in the blanking period Bk, so that a second taken image N+Lm including components illumination light and planar auxiliary measurement light is obtained. The extraction of the crossing line 30f and the setting of the gradations 70A are performed on the basis of the second taken image N+Lm. The crossing line 30f and the gradations 70A are displayed in the first taken image N that is displayed at the timing T2. Then, a specific image S where the crossing line 30f and the gradations 70A are displayed in the first taken image N displayed at the timing T2 is displayed at the timing T3. That is, the first taken image N displayed at the timing T2 is continuously displayed over two frames (the same subject image is displayed at the timings T2 and T3). On the other hand, the second taken image N+Lm is not displayed at the timing T3.
An image is displayed even at the timing T4 or later in the same way. The first taken image displayed at the timing T4 is used in the specific image S at the timings T4 and T5. Further, the first taken image displayed at the timing T6 is used in the specific image S at the timings T6 and T7. On the other hand, a second taken image N+Lm is not displayed at the timings T4, T5, T6, and T7. Since the first taken image, which does not include the components of planar auxiliary measurement light, is used for the display of the specific image S as described above, a frame rate is reduced but the obstruction of the visibility of an object to be observed, which may be caused by the emission of planar auxiliary measurement light, does not occur.
A fifth pattern is the same as the fourth pattern except that a reading period in the natural mode is set equal to a reading period in the length measurement mode. That is, as shown in
The crossing line 30f and the gradations 70A are displayed in the first taken image N that is displayed at the timing T2. Then, a specific image S where the crossing line 30f and the gradations 70A are displayed in the first taken image N displayed at the timing T2 is displayed at the timing T3. That is, the first taken image N displayed at the timing T2 is continuously displayed over two frames (the same subject image is displayed at the timings T2 and T3). On the other hand, the second taken image N+Lm is not displayed at the timing T3. Since the first taken image, which does not include the components of planar auxiliary measurement light, is used for the display of the specific image S as described above, a frame rate is reduced but the obstruction of the visibility of an object to be observed, which may be caused by the emission of planar auxiliary measurement light Lm, does not occur. Further, since a reading period in the normal mode is equal to a reading period in the length measurement mode and the same blanking period is provided in each of the respective modes (that is, a method of driving the imaging element 32 is not changed in the respective modes) in the fifth pattern, a mode is smoothly switched without the disturbance of the image (interruption, blackout, or stop) in a case where the noinial mode is to be switched to the length measurement mode.
The reading period Prs of the imaging element 32 in the fifth pattern of the length measurement mode is set shorter than the reading period Prc of the imaging element 32 in the normal mode as shown in the following equation 2).
Prc+Bk=Prs+Bk(=display frame rate) Equation 2)
Here, it is preferable that, for example, Prc and Prs are set to 1/90 sec and Bk is set to 1/180 sec in a case where the display frame rate is set to 1/60 sec.
According to a second embodiment, in a length measurement mode, spot-like auxiliary measurement light is used instead of planar auxiliary measurement light Lm and a substantially circular area (spot) is formed on a subject by spot-like auxiliary measurement light. Then, a second measurement marker, which represents the actual size of the subject, is generated on the basis of the position of this spot and is displayed on a first taken image. A light-emitting frame of the length measurement mode is the same as that in the first embodiment in that an only-illumination light-emitting frame FLx emitting only illumination light without emitting spot-like auxiliary measurement light and an auxiliary measurement light-emitting frame Fly emitting illumination light and spot-like auxiliary measurement light are emitted at specific intervals (see
As shown in
A prism 30c is an optical member that is used to change the travel direction of spot-like auxiliary measurement light emitted from the light source unit. The prism 30c changes the travel direction of spot-like auxiliary measurement light so that spot-like auxiliary measurement light crosses the visual field of an imaging optical system including an objective lens 21 and lens groups. A subject is irradiated with spot-like auxiliary measurement light, which is emitted from the prism 30c, through an auxiliary measurement lens 23.
In an auxiliary measurement light-emitting frame that emits auxiliary measurement light in the length measurement mode, the second auxiliary measurement light-emitting unit 100 emits spot-like auxiliary measurement light in a state where an optical axis Ln of the spot-like auxiliary measurement light crosses an optical axis Ax of the objective lens 21 as shown in
Since spot-like auxiliary measurement light is emitted in the second embodiment in a state where the optical axis Ln of spot-like auxiliary measurement light crosses the optical axis Ax as described above, sensitivity to the movement of the position of a spot with respect to a change in the observation distance is high. Accordingly, the size of the subject can be measured with high accuracy. Then, the subject illuminated with spot-like auxiliary measurement light is imaged by the imaging element 32, so that a second taken image including a spot is obtained. In the second taken image, the position of a spot depends on a relationship between the optical axis Ax of the objective lens 21 and the optical axis Ln of auxiliary measurement light and an observation distance. The number of pixels showing the same actual size (for example, 5 mm) is increased in the case of a short observation distance, and the number of pixels showing the same actual size (for example, 5 mm) is reduced in the case of a long observation distance.
Accordingly, in a case where information showing a relationship between the position of a spot and the size (the number of pixels) of the second measurement marker corresponding to the actual size of a subject is stored in advance as described in detail below, the size of the measurement marker can be calculated from the position of the spot. In the second embodiment, a signal processing unit 39 of a processor device 16 includes a spot position recognition unit 105 and a measurement marker generation unit 107 as shown in
It is preferable that the spot position recognition unit 105 recognizes the position of a spot from an image, which includes many components corresponding to the color of auxiliary measurement light, of the second taken image. Since auxiliary measurement light includes, for example, many red components, it is preferable that the spot position recognition unit 105 recognizes the position of a spot from a red image of the second taken image. As a method of recognizing the position of a spot, for example, there is a method including binarizing a red image of the second taken image and recognizing the center of a white portion (a pixel where signal strength is higher than a threshold value for binarization) of the binarized image as the position of a spot.
The measurement marker generation unit 107 generates a second measurement marker, which represents the actual size of a subject, on the basis of the position of the spot in the second taken image. The measurement marker generation unit 107 calculates the size of a marker from the position of the spot with reference to a marker table 107a where a relationship between the position of a spot in the second taken image and a second measurement marker representing the actual size of a subject is stored. Then, the measurement marker generation unit 107 generates a second measurement marker corresponding to the size of the marker.
After the recognition of the position of the spot and the generation of the second measurement marker are completed, a display control unit 40 displays a spot display portion and the second measurement marker at the position of the spot in a first taken image (where the spot does not appear), which is obtained through the imaging of the subject illuminated with illumination light, on a monitor 18. For example, a cruciform measurement marker is used as the second measurement marker in the second embodiment. As shown in
Since a spot formed by auxiliary measurement light does not appear in the first taken image, a spot display portion is displayed at a portion, which corresponds to the position of the recognized spot, with brightness and a color that allow a user to know the position of the spot. In a case where the spot and a portion of the subject to be observed have the same color (red color), the visibility of the portion to be observed may deteriorate due to the spread of the color. However, since a spot display portion representing the spot is displayed in the first taken image where the spot does not appear as described above, the spread of the color caused by auxiliary measurement light can be avoided. Accordingly, the visibility of the portion to be observed does not deteriorate.
Similarly, as shown in
The spot and the marker are displayed in
Further, the second measurement marker corresponding to the actual size of a subject of 5 mm is displayed in
A method of making the marker table 107a will be described below. A relationship between the position of a spot and the size of a marker can be obtained through the imaging of a chart where a pattern having the actual size is regularly formed. For example, spot-like auxiliary measurement light is emitted to the chart; a graph paper-shaped chart including lines (5 mm) having the same size as the actual size or lines (for example, 1 mm) having a size smaller than the actual size is imaged while an observation distance is changed to change the position of a spot; and a relationship between the position of a spot (pixel coordinates of the spot on the imaging surface of the imaging element 32) and the number of pixels corresponding to the actual size (pixels showing 5 mm that is the actual size) is acquired.
As shown in
The X-coordinate of a spot corresponds to the Y-coordinate of a spot one to one, and basically the same results are obtained (the same number of pixels is obtained at the position of the same spot) even though any one of the function g1 or g2 is used. Accordingly, in a case where the size of the second measurement marker is to be calculated, any one of the function g1 or g2 may be used and a function of which sensitivity to a change in the number of pixels with respect to a change in position is higher may be selected from the functions g1 and g2. Further, in a case where the values of the functions g1 and g2 are significantly different from each other, it may be determined that “the position of a spot cannot be recognized”.
The functions g1, g2, h1, and h2 obtained as described above are stored in a marker table in the form of a look-up table. The functions g1 and g2 may be stored in a marker table in the form of a function.
In the second embodiment, as shown in
In
Further, as shown in
In the embodiment, the hardware structures of processing units, which perform various kinds of processing, such as the signal processing unit 39, the display control unit 40, and the system control unit 41, are various processors to be described later. Various processors include: a central processing unit (CPU) that is a general-purpose processor functioning as various processing units by executing software (program); a programmable logic device (PLD) that is a processor of which the circuit configuration can be changed after the manufacture of a field programmable gate array (FPGA) and the like; a dedicated electrical circuit that is a processor having circuit configuration designed for exclusive use to perform various kinds of processing; and the like.
One processing unit may be formed of one of these various processors, or may be formed of a combination of two or more same kind or different kinds of processors (for example, a plurality of FPGAs or a combination of a CPU and an FPGA). Further, a plurality of processing units may be formed of one processor. As an example where a plurality of processing units are formed of one processor, first, there is an aspect where one processor is formed of a combination of one or more CPUs and software so as to be typified by a computer, such as a client or a server, and functions as a plurality of processing units. Second, there is an aspect where a processor fulfilling the functions of the entire system, which includes a plurality of processing units, by one integrated circuit (IC) chip is used so as to be typified by System On Chip (SoC) or the like. In this way, various processing units are formed using one or more of the above-mentioned various processors as hardware structures.
In addition, the hardware structures of these various processors are more specifically electrical circuitry where circuit elements, such as semiconductor elements, are combined.
10: endoscope apparatus
12: endoscope
12
a: insertion part
12
b: operation part
12
c: bendable portion
12
d: distal end portion
12
e: angle knob
13: mode changeover switch
14: light source device
16: processor device
18: monitor
19: user interface
21: objective lens
21A: visual field
21
b: outside of range
21B: effective visual field
21C: effective imaging range
21X: range
22: illumination lens
23: auxiliary measurement lens
24: opening
25: air/water supply nozzle
26: light source unit
27: light source control unit
28: light guide
29
a: illumination optical system
29
b: imaging optical system
30: first auxiliary measurement light-emitting unit
30
a: light source
30
c: prism
30
f: crossing line
30F: plane
32: imaging element
33: imaging control unit
34: circuit
36: communication inter/face (I/F)
38: communication inter/face (I/F)
39: signal processing unit
40: display control unit
41: system control unit
48: imaging sensor
64: display control unit
70A: gradations
70B: frame
80: rising line
82: diagonal line
100: second auxiliary measurement light-emitting unit
101: solid line
102: dotted line
105: spot position recognition unit
107: measurement marker generation unit
107
a: marker table
211B: cross section
212A: cross section
212B: cross section
213A: cross section
213B: cross section
Number | Date | Country | Kind |
---|---|---|---|
2018-081223 | Apr 2018 | JP | national |
This application claims priority under 35 U.S.C § 119(a) to Japanese Patent Application No. 2018-081223 filed on 20 Apr. 2018. The above application is hereby expressly incorporated by reference, in its entirety, into the present application.