Landmark estimation method, endoscope device and storage medium
By estimating the axis and boundary of the insertion part in the endoscopic image, the problem of landmark occlusion when the endoscope body is bent is solved, and high-precision estimation of the landmark position is achieved, which is suitable for complex scenarios where the tumor is located near the cardia or anus. .
Patent Information
- Application Number
- CN201880092227.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-06-22
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2038-06-22
AI Technical Summary
When the endoscope body is curved, the landmarks are blocked and cannot be directly designated as measurement points, making it difficult to estimate the landmark position with high accuracy. Especially when the tumor is located near the cardia or anus, it is difficult to set the area of interest on a plane with the existing technology. .
By estimating the axis of the insertion part and the boundary with the subject, image processing technology is used to indirectly estimate the position of the landmark in the endoscopic image, including axis estimation, boundary estimation and landmark position estimation, to realize the curved endoscope body. High-precision landmark location determination.
Even when the endoscope body is bent and the landmark is blocked, the landmark position can be estimated with high accuracy, which solves the problem of difficulty in measurement due to landmark obstruction and improves the measurement accuracy of the endoscope in complex scenes.
Smart Images

Figure CN111936030B
Abstract
Description
Technical Field
[0001] The invention relates to a landmark estimation method, an endoscope device and a storage medium. Background Art
[0002] Conventionally, endoscopes are widely used in the medical and industrial fields. For example, in the medical field, an operator can observe an endoscopic image of the inside of a subject displayed on a display device, find and identify a lesion as the subject, and perform treatment using a treatment instrument on the lesion.
[0003] Generally, there is a known technique for calculating the three-dimensional coordinates of a subject using the principle of triangulation based on positional offset information of multiple images obtained from different viewpoints. In addition, there is also a known technique for irradiating a subject with projection light and finding the three-dimensional coordinates of the subject based on the time required for the reflected light to reach a sensor, the captured pattern, etc.
[0004] By using these techniques to obtain the three-dimensional coordinates of two or more points of the object, physical quantities such as the size and volume of the object can be calculated. In observation using an endoscope, by using these techniques, the size of the tumor, the distance from a landmark such as the cardia or anus to the tumor, etc. can also be measured.
[0005] When calculating the physical quantity of the object, it is necessary to set the measurement point and the measurement area. As described above, in endoscopic observation, when measuring the distance from a landmark to a tumor, it is necessary to appropriately set the position of the landmark and the position of the tumor.
[0006] On the other hand, when a tumor exists near the cardia or anus, which is a landmark, it is necessary to bend the endoscope body and photograph the object with the front end of the endoscope turned back. When photographing in this posture, the endoscope body itself is reflected in the endoscopic image. Therefore, it is not possible to directly photograph the landmark using the reflected endoscope body, so it is difficult to appropriately set the measurement point. Therefore, a method of indirectly estimating the measurement point has been proposed.
[0007] For example, by using the method proposed in Japanese Patent Application Laid-Open No. 2016-80674, a region of interest including measurement points that are difficult to specify directly is set, and by analyzing the region of interest, it is possible to indirectly estimate the measurement points.
[0008] However, in the estimation method of Japanese Patent Application Laid-Open No. 2016-80674, it is necessary to set the region of interest on a plane. In contrast, in an image obtained by photographing a tumor near a landmark with the endoscope turned back, there is an obstruction of the endoscope itself, and the endoscope is arranged at an angle relative to the lumen surface of the object, so it is impossible to set the region of interest on a plane. Therefore, in the above method, there is a problem that the measurement point cannot be estimated.
[0009] The present invention has been completed in view of the above situation, and its purpose is to provide a landmark estimation method and an endoscope device that can estimate the position of a landmark with high accuracy even when the landmark is blocked by bending the endoscope body and the endoscope itself is reflected in the endoscopic image and cannot be directly designated as a measurement point. Summary of the invention
[0010] Means used to solve problems
[0011] A landmark estimation method according to one embodiment of the present invention estimates the position of a landmark in an endoscopic image obtained by photographing a subject using an endoscope with a bent insertion portion, wherein the landmark is present in a hole portion of the subject and is a portion through which the insertion portion passes, wherein the landmark estimation method comprises the following steps: estimating an axis of the insertion portion; estimating a boundary between the insertion portion and the subject; and estimating the position of the landmark based on the axis and the boundary.
[0012] An endoscope device according to one embodiment of the present invention has a landmark estimation unit, which estimates the position of a landmark in an endoscopic image obtained by photographing a subject using an endoscope with a bent insertion portion, wherein the landmark is a hole portion existing on the subject and is a portion through which the insertion portion passes, wherein the landmark estimation unit has: an axis estimation unit, which estimates the axis of the insertion portion; a boundary estimation unit, which estimates the boundary between the insertion portion and the subject; and a landmark position estimation unit, which estimates the position of the landmark based on the axis and the boundary.
[0013] A storage medium according to one embodiment of the present invention is a non-volatile computer-readable storage medium storing a program, wherein the program causes a computer to perform the following processing: in an endoscopic image obtained by photographing a subject using an endoscope with a bent insertion portion, estimating the position of a landmark, the landmark being a hole portion of the subject and being a portion through which the insertion portion passes, the processing comprising the following steps: estimating an axis of the insertion portion; estimating a boundary between the insertion portion and the subject; and estimating the position of the landmark based on the axis and the boundary. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a perspective view showing an example of the overall structure of the endoscope device 1 according to the embodiment of the present invention.
[0015] Figure 2 This is a block diagram showing a configuration related to image processing by the processor 4 according to the first embodiment of the present invention.
[0016] Figure 3A This is a block diagram showing the configuration of the calculation unit 22b of the control calculation unit 22 according to the first embodiment of the present invention. Figure 3B It is a block diagram showing the structure of the axis estimation unit 32A.
[0017] Figure 4 : is a flowchart showing an example of the flow of the landmark estimation process in the landmark estimation unit 32 .
[0018] Figure 5 This is a schematic diagram showing an example of a landmark to be detected.
[0019] Fig. 6A 1 is a diagram showing an example of an endoscopic image generated by the image generating unit 31 .
[0020] Figure 6B It is explained based on Fig. 6A Schematic diagram of the estimated landmark locations from endoscopic images.
[0021] Figure 7 It is a schematic diagram for explaining the estimated position of the axis line 9a of the insertion portion 9 according to the second embodiment.
[0022] Figure 8 It is a schematic diagram for explaining an estimated position of the axis line 9a of the insertion portion 9 according to a modified example of the second embodiment.
[0023] Fig. 9 It is a schematic diagram for explaining the estimated position of the axis line 9a of the insertion portion 9 according to the third embodiment.
[0024] Fig.10 It is a schematic diagram for explaining an example of the structure of the endoscope 2 according to the fourth embodiment.
[0025] Fig.11 This is a schematic diagram for explaining another example of the structure of the endoscope 2 according to the fourth embodiment.
[0026] Fig.12 This is a schematic diagram for explaining another example of the structure of the endoscope 2 according to the fourth embodiment.
[0027] Fig.13 It is a schematic diagram for explaining the estimated position of the axis line 9a of the insertion portion 9 according to the fourth embodiment.
[0028] Fig.14 It is a schematic diagram for explaining another estimated position of the axis line 9a of the insertion portion 9 according to the fourth embodiment.
[0029] Fig.15 This is a block diagram showing the configuration of the computing unit 22b of the control computing unit 22 according to the fifth embodiment.
[0030] Fig.16 It is a schematic diagram showing the straight-line distance between the landmark and the lesion.
[0031] Fig.17It is a schematic diagram showing the distance along the surface between the landmark and the lesion.
[0032] Fig.18 It is a schematic diagram for explaining an example of the structure of the endoscope 2 according to the sixth embodiment. DETAILED DESCRIPTION
[0033] Hereinafter, embodiments will be described with reference to the drawings.
[0034] (First embodiment)
[0035] Figure 1 1 is a perspective view showing an example of the overall structure of an endoscope device according to an embodiment of the present invention. Figure 1 As shown, the endoscope device 1 of the present embodiment mainly includes an electronic endoscope (hereinafter simply referred to as an endoscope) 2 as an endoscope body, a light source device 3, a processor 4, and a monitor 5.
[0036] The endoscope 2 is configured to include: a long and slender insertion portion 9, an operating portion 10, and a universal cable 19 as an electric cable. The insertion portion 9 of the endoscope 2 is configured to include a front end portion 6, a bending portion 7, and a flexible tube portion 8 in order from the front end. The front end portion 6 is provided with an illumination window and an observation window (not shown), and illumination light is emitted from the illumination window toward the subject, and return light from the subject is incident on the observation window. In the front end portion 6, as a unit for photographing the subject, a solid-state imaging element such as a CCD and a CMOS is configured, and the subject image formed by the light incident from the observation window is photoelectrically converted to output an imaging signal. The imaging signal is provided to the processor 4 through the universal cable 19.
[0037] The bending operation portion 14 for performing bending operation on the bending portion 7 of the insertion portion 9 is rotatably provided on the operation portion 10, and the operation portion 10 is provided with switches for various endoscope functions including a focus switch 15. In addition, the bending operation portion 14 is provided with a UD bending operation knob 12 for performing bending operation on the bending portion 7 in the vertical direction and a RL bending operation knob 13 for performing bending operation on the bending portion 7 in the left-right direction in an overlapping manner.
[0038] Furthermore, the connection portion between the insertion portion 9 and the operating portion 10 is constructed to include: a grip portion 11, which also serves as a grip portion for the user; and a disposal instrument channel penetration portion 18, which is arranged on an anti-bending portion provided between the grip portion 11 and one end of the flexible tube portion 8 of the insertion portion 9, and serves as an opening portion of a disposal instrument channel through which various disposal portions provided on the insertion portion 9 penetrate.
[0039] The universal cable 19 extending from the operation section 10 has a scope connector 19a at the extension end, which is detachable from the light source device 3. In addition, a coiled spiral cable 20 is extended from the scope connector 19a, and a scope connector 20a is provided at the extension end of the spiral cable 20 as a detachable connector for the processor 4. In addition, the endoscope 2 of the present embodiment transmits illumination light from the light source device 3 to the front end portion 6 via the universal cable 19, the operation section 10, and the light guide cable of the illumination unit provided on the insertion section 9.
[0040] The processor 4 is electrically connected to a monitor 5 that displays an endoscopic image, processes an imaging signal obtained by photoelectric conversion by an imaging unit such as a CCD mounted on the endoscope 2, and outputs the image signal to the monitor 5 as an image signal. The monitor 5 displays the endoscopic image.
[0041] Figure 2 2 is a block diagram showing a configuration related to image processing by the processor 4. The processor 4 is an image processing device having an imaging signal acquisition unit 21, a control operation unit 22, a storage device 23, and an input unit 24. The control operation unit 22 is a circuit including a control unit 22a and an operation unit 22b.
[0042] The imaging signal acquisition unit 21 is a circuit that receives and acquires imaging signals from the imaging element of the endoscope 2 under the control of the control unit 22 a and outputs the imaging signals to the control operation unit 22 .
[0043] The control unit 22a includes a central processing unit (hereinafter referred to as CPU), ROM, RAM, etc., and performs overall operation control of the processor 4. In accordance with the operator's instructions to the input unit 24, it controls the drive of the imaging element of the endoscope 2, controls various circuits based on various operation signals from the operation unit 10 of the endoscope 2, controls recording of various data in the storage device 23 and reading of various data from the storage device 23, and controls image processing.
[0044] That is, the control unit 22 a controls the operation of the endoscope device 1 based on instructions or inputs made in the input unit 24 , and outputs control signals or setting signals for each unit.
[0045] The operation unit 22b is a circuit that, under the control of the control unit 22a, performs various image processing and various operation processing based on the camera signal obtained by the camera signal acquisition unit 21, and generates an image signal of the endoscopic image displayed on the monitor 5 and various display information, and outputs them to the monitor 5.
[0046] In addition, all or part of the processing of the control unit 22a and the computing unit 22b in the control computing unit 22 may be performed by a software program.
[0047] The storage device 23 is a large-capacity storage device such as a hard disk device, and stores various data such as image data of endoscopic images of the inside of the subject obtained by endoscopic examination and auxiliary information.
[0048] The input unit 24 is an operation panel having various buttons, and is an input device for the operator to provide the processor 4 with various settings of the endoscope device 1 , various instructions, and the like.
[0049] Figure 3A 2 is a block diagram showing the configuration of the computing unit 22 b of the control computing unit 22 in the present embodiment.
[0050] The calculation unit 22 b is a circuit including an image generation unit 31 and a landmark estimation unit 32 .
[0051] The image generation unit 31 is a circuit that receives an imaging signal and generates an endoscopic image based on the imaging signal according to an observation mode, and performs predetermined emphasis processing, various correction processing, and superimposition processing for superimposing and displaying various information and menu screens on the endoscopic image.
[0052] The landmark estimation unit 32 is a circuit that estimates the position of a landmark, which is a hole in the endoscope image where the insertion unit 9 of the endoscope 2 is inserted into the observation site (for example, the pyloric part of the stomach in gastrointestinal endoscopy). The landmark estimation unit 32 is composed of an axis estimation unit 32A, a boundary estimation unit 32B, and a landmark position estimation unit 32C.
[0053] The axis estimation unit 32A is a circuit that extracts the insertion portion 9 of the endoscope 2 from the endoscopic image and estimates the central axis of the insertion portion 9 . Figure 3B : is a block diagram showing the structure of the axis estimation unit 32A. Figure 3B The operation of each unit in the axis estimation unit 32A shown will be described later at the corresponding points in the following description. Figure 3B Not only the structure of the present embodiment described below but also the structures of the second to sixth embodiments described after the present embodiment are shown.
[0054] The boundary estimation unit 32B is a circuit that estimates the insertion source side (the proximal end side, the side away from the distal end portion 6 ) in the insertion portion 9 reflected in the endoscopic image as a boundary.
[0055] The landmark position estimation unit 32C is a circuit that estimates the landmark position using the estimated central axis of the insertion portion 9 of the endoscope 2 and the boundary between the insertion portion 9 and the subject.
[0056] Figure 4 : is a flowchart showing an example of the flow of the landmark estimation process in the landmark estimation unit 32. Figure 52 is a schematic diagram showing an example of a landmark to be detected. As a condition in which the subject is photographed with the insertion portion 9 of the endoscope 2 bent and the front end portion 6 turned back, as shown in FIG. Figure 5 As shown, in addition to observing tumors near the cardia 49 of the stomach 40, other examples include observing tumors near the anus of the large intestine, and checking the access port of an aircraft engine with an industrial endoscope. Figure 5 In the case of , the cardia 49, which is a hole for inserting the insertion portion 9 into the stomach, becomes a landmark.
[0057] Before the landmark estimation process, the control unit 22a controls the driving of the light source and the driving of the imaging element of the endoscope 2, and controls the imaging signal acquisition unit 21, so that the computing unit 22b acquires the imaging signal from the endoscope 2. The image generation unit 31 of the computing unit 22b generates an endoscopic image based on the imaging signal under the control of the control unit 22a. Fig. 6A 1 is a diagram showing an example of an endoscopic image generated by the image generating unit 31 .
[0058] The landmark estimation unit 32 estimates the axis of the insertion portion 9 based on the generated endoscopic image (S1). The processing of S1 involves Figure 3A The axis estimation unit 32A in FIG. The axis estimation can be performed by, for example, extracting the insertion portion 9 as a target from the endoscopic image and determining the longitudinal direction of the insertion portion 9 .
[0059] Next, the landmark estimation unit 32 estimates the boundary between the extracted insertion portion 9 and the subject (S2). The processing in S2 involves Figure 3A When the subject is photographed with the front end 6 looking back, the front end side of the insertion section 9 must be located at the peripheral side of the endoscopic image, and the insertion source side of the insertion section 9 must be located at the center side of the endoscopic image. Figure 5 Among the boundary lines (in the case of the inner wall of the stomach), the boundary line that intersects the longitudinal direction of the insertion portion 9 and is located on the center side of the endoscopic image is estimated to be the boundary between the insertion portion 9 and the subject.
[0060] Finally, the landmark estimation unit 32 estimates the position of the landmark (S3). The process of S3 involves Figure 3A The landmark position estimation unit 32C in. Figure 6B It is explained based on Fig. 6A The position of the landmark L can be estimated as the intersection of the axis 9a of the insertion portion 9 estimated in S1 and the boundary 9b estimated in S2.
[0061] As described above, according to the landmark estimation method of the above embodiment, even when the insertion portion of the endoscope is bent and the insertion portion itself is reflected in the endoscopic image, the landmark is blocked and cannot be directly specified as a measurement point, the position of the landmark can be estimated with high accuracy.
[0062] (Second embodiment)
[0063] In the first embodiment described above, the axis 9a of the insertion portion 9 is estimated by detecting the longitudinal direction of the insertion portion 9. However, in the present embodiment, the axis 9a is detected using image processing. The endoscope device of the present embodiment has the same structure as the endoscope device 1 of the first embodiment, and the same reference numerals are given to the same structural elements and the description thereof is omitted. Figure 4 The landmark estimation process of this embodiment is performed in the same order as the flowchart shown in FIG. 1 . However, the specific method of S1 is different from that of the first embodiment. Figure 4 The method of S1 of this embodiment is a specific method for estimating the axis 9a of the insertion portion 9. In addition, the processing of S1 in this embodiment involves Figure 3B The color analysis unit 32A1 in.
[0064] Figure 7 It is a schematic diagram for explaining the estimated position of the axis line 9a of the insertion portion 9 according to the second embodiment. Figure 7 Show Fig. 6A The endoscope image shown is subjected to the processing described later to detect the state of the edge of the insertion portion 9. When estimating the axis 9a of the insertion portion 9, the color analysis unit 32A1 of the axis estimation unit 32A uses the difference between the color of the insertion portion 9 (for example, black) and the color in the body cavity (red) to segment the insertion portion 9 area and the body cavity area, and detects the edge of the insertion portion 9 as an object. For edge detection, an existing method such as Hough transform can be used.
[0065] Based on the detected edge, a straight line (center line) along the length direction of the insertion portion 9 that bisects the radial width of the insertion portion 9 is calculated. The center line can also be calculated using existing methods such as principal axis extraction based on image moments. The center line thus obtained is estimated as the axis 9a of the insertion portion 9.
[0066] As described above, according to this embodiment, the same effects as those of the first embodiment can be obtained.
[0067] (Variation of the Second Embodiment)
[0068] In the second embodiment described above, the edge of the insertion portion 9 is detected by color analysis to estimate the axis 9a of the insertion portion 9, but in this modification, the axis 9a is detected using a mark provided on the insertion portion 9 as an object. The endoscope device of this modification has the same structure as the endoscope device 1 of the first embodiment, and the same reference numerals are given to the same structural elements and the description thereof is omitted. Figure 4 The landmark estimation process of this embodiment is performed in the same order as the flowchart shown in FIG. 1 . However, the specific method of S1 is different from that of the second embodiment. Figure 4 The method of S1 is a specific method for estimating the axis 9a of the insertion portion 9. In addition, the processing of S1 in this modification example involves Figure 3B The tag analysis unit 32A2 in.
[0069] Figure 8 1 is a schematic diagram illustrating the estimated position of the axis 9a of the insertion portion 9 of a modified example of the second embodiment. Usually, a mark 9d is provided on the insertion portion 9 of the endoscope 2 at a certain position (or a certain interval) from the front end. The mark 9d is provided with a mark having a color different from the color of the insertion portion 9 so that it can be easily identified on the endoscopic image. For example, in the case where the color of the insertion portion 9 is black, a white mark 9d of the opposite color is provided. Furthermore, the mark 9d is preferably configured so that the mark 9d can always be identified on the endoscopic image regardless of the insertion state of the insertion portion 9, such as the insertion direction, insertion depth, and insertion direction. Therefore, for example, a mark 9d having a shape that goes around the outer edge of the insertion portion 9 along the radial direction of the insertion portion 9 is configured at a certain interval from the front end.
[0070] The marking analysis unit 32A2 of the axis estimation unit 32A detects the marking 9d from the endoscopic image based on the information related to the shape and color of the marking pre-stored in the storage device 23 or the like. As described above, in the case where a marking 9d having a shape that goes around the outer edge of the insertion unit 9 is provided along the radial direction of the insertion unit 9, the direction perpendicular to the line segment detected as the marking 9d is estimated as the axial direction. In addition, the method of estimating the axis differs depending on the shape of the marking 9d. For example, in the case where the marking 9d is arranged along the length direction of the insertion unit 9, the same direction as the marking 9d is estimated as the axial direction, wherein the marking 9d has a straight line shape with scales added at certain intervals like a plurality of straight lines.
[0071] As described above, according to this modification, the same effects as those of the first and second embodiments can be obtained.
[0072] (Third embodiment)
[0073] In the above-mentioned embodiment, the length direction, edge, mark and other objects of the insertion portion 9 are extracted from the endoscope image, and the axis 9a is estimated based on this information. However, in the present embodiment, the axis 9a is estimated using the brightness information of the image. The endoscope device of the present modified example has the same structure as the endoscope device 1 of the first embodiment, and the same reference numerals are given to the same structural elements and the description thereof is omitted. Figure 4 The landmark estimation process of this embodiment is performed in the same order as the flowchart shown in FIG. 1 . However, the specific method of S1 is different from that of the second embodiment. Figure 4 The method of S1 is a specific method for estimating the axis 9a of the insertion portion 9. In addition, the processing of S1 in this modification example involves Figure 3B The brightness analysis unit 32A3 in.
[0074] Fig. 9 3 is a schematic diagram for explaining the estimated position of the axis line 9a of the insertion portion 9 according to the third embodiment. Fig. 6A The brightness value of each pixel is calculated in the endoscopic image shown. Usually, the surface of the insertion portion 9 is mirror-finished. Therefore, the illumination light irradiated into the body cavity is mirror-reflected by the surface of the insertion portion 9. Since the insertion portion 9 is roughly cylindrical, the closer to the axis 9a of the insertion portion 9, the smaller the reflection angle, and the reflected light is perpendicular to the camera surface arranged at the front end portion 6. On the other hand, the farther away from the axis 9a of the insertion portion and closer to the edge, the larger the incident angle of the reflected light, and the reflected light is obliquely incident with respect to the camera surface arranged at the front end portion 6.
[0075] That is, in the endoscope image, the closer the pixel is to the axis 9a of the insertion portion 9, the higher the brightness value is, and the farther away from the axis 9a is, the lower the brightness value is. By using this phenomenon, by detecting an area where the calculated pixel value is higher than a predetermined threshold, it is possible to estimate that the axis 9a of the insertion portion 9 exists on the central axis of the area (high brightness area 9f).
[0076] In this way, by utilizing mirror reflection, even when the original texture is not captured (for example, when the color difference between the insertion portion 9 and the body cavity is small, it is difficult to perform region segmentation by color, or when it is difficult to detect the marker 9d set in the insertion portion 9), the axis 9a can be stably estimated. In addition, the brightness analysis unit 32A3 can also be used to determine whether the axis 9a estimated by the above-mentioned embodiment or modification example exists in a high brightness area. In this case, since the axis 9a estimated incorrectly can be excluded, the estimation accuracy of the axis 9a is improved.
[0077] As described above, according to this embodiment, the same effects as those of the first and second embodiments can be obtained. Furthermore, by combining with the first and second embodiments, the detection accuracy of the axis 9a can be improved.
[0078] (Fourth embodiment)
[0079] In the above-mentioned embodiment, the landmark is estimated based on the two-dimensional endoscopic image, but in the present embodiment, a three-dimensional endoscopic image (3D surface data) is obtained, and the landmark is estimated based on the data. The endoscope device of the present embodiment has the same structure as the endoscope device 1 of the first embodiment except for the unit for obtaining 3D surface data provided in the endoscope 2, and the same reference numerals are given to the same structural elements and the description thereof is omitted.
[0080] Fig.10 1 is a schematic diagram illustrating an example of the structure of the endoscope 2 of the present embodiment. The endoscope 2 of the present embodiment has a projection type measuring device 41 as a unit for acquiring 3D surface data. The projection type measuring device 41 adopts the TOF (Time OFflight) method, that is, irradiating a subject with projection light and detecting reflected light from the subject. By measuring the time from irradiation of projection light to detection of reflected light, the three-dimensional coordinates of the subject are calculated based on the measured time.
[0081] The projection type measuring device 41 is inserted from the treatment instrument channel penetration portion 18, for example, and irradiates projection light from the treatment instrument channel 44 provided on the front end portion 6 through the operation portion 10 and the inside of the insertion portion 9. The reflected light from the subject is incident from the treatment instrument channel 44, and is detected by the detection portion (not shown) of the projection type measuring device 41, and the time required until the detection is measured. In addition, the reflected light from the subject may be configured to be detected through a window other than the treatment instrument channel 44 provided on the front end portion 6. For example, it may be configured to be detected through the observation window 42 using an imaging element.
[0082] In addition, the projection measuring device 41 may be a device that uses any method as long as it is a device that can obtain 3D surface data in a non-contact manner. It may be a device that does not calculate the three-dimensional coordinates of the existing device based on the return time of the reflected light as described above, but uses other methods such as the pattern projection method (a method of projecting a specific known pattern such as a grid pattern onto the subject and calculating the three-dimensional surface data of the subject based on the deformation of the pattern captured by the camera element).
[0083] In addition, if Fig.11 As shown, the projection light or the specific pattern for measurement may be configured to be irradiated from the light source device 3 to the subject through the illumination window 43 . Fig.11 This is a schematic diagram for explaining another example of the structure of the endoscope 2 according to the fourth embodiment.
[0084] In addition, if Fig.12As shown, a stereo camera system can also be installed on the endoscope 2 to calculate the 3D surface data of the object using the principle of triangulation based on the position offset information of two images, wherein the two images are obtained based on the reflected light of the object received by two observation windows 42a and 42b at different positions. Fig.12 This is a schematic diagram for explaining another example of the structure of the endoscope 2 according to the fourth embodiment.
[0085] The landmark estimation process of this embodiment is performed according to Figure 4 However, the specific methods of S1 and S3 are different from those of the above-mentioned embodiment. Figure 4 The method of S1 is a specific method for estimating the axis 9a of the insertion portion 9. In addition, the processing of S1 in this embodiment involves Figure 3B Surface data analysis unit 32A4 in.
[0086] Fig.13 2 is a schematic diagram for explaining the estimated position of the axis 9a of the insertion portion 9 of the fourth embodiment. The surface data analysis unit 32A4 acquires 3D surface data of the object. Based on the surface data, the edge of the insertion portion 9 of the endoscope 2 in the longitudinal direction is detected. Fig.13 In FIG. 1 , among the edges 9e of the insertion portion 9, the edge 9e1 that can be obtained as surface data is indicated by a solid line, and the edge 9e2 that cannot be obtained as surface data is indicated by a dotted line. In the present embodiment, the edge 9e1 that can be obtained as surface data is estimated to be the axis 9a of the insertion portion 9.
[0087] Alternatively, the cross-sectional shape (elliptical shape) of the insertion portion 9 may be estimated based on surface data of the boundary between the insertion portion 9 and the body cavity, and a straight line passing through the center of the estimated cross section and parallel to the edge 9e1 obtainable as surface data may be estimated as the axis 9a. Fig.14 1 is a schematic diagram illustrating other estimated positions of the axis 9a of the insertion portion 9 of the fourth embodiment. The cross-sectional shape of the insertion portion 9 can be estimated based on the surface data, or the design data of the cross-sectional shape of the insertion portion 9 can be pre-stored in a storage unit (not shown) provided in the endoscope 2 and referred to.
[0088] Next, after estimating the boundary between the insertion portion 9 and the body cavity ( S2 ), a landmark is estimated in S3 . Specifically, the intersection of the plane Sb detected as the body cavity (eg, stomach wall) based on the 3D surface data and the axis 9a estimated in S1 is estimated as a landmark L.
[0089] As described above, according to this embodiment, the same effects as those of the first embodiment can be obtained.
[0090] (Fifth embodiment)
[0091] In this embodiment, the lesion in the body cavity is detected, and the distance between the landmark estimated in the above-mentioned embodiments and the lesion is calculated. The endoscope device of this embodiment has the same structure as the endoscope device 1 of the first embodiment, and the same reference numerals are given to the same structural elements and the description thereof is omitted. The structure of the operation unit 22b which is different from that of the first embodiment is described below.
[0092] Fig.15 This is a block diagram showing the configuration of the computing unit 22b of the control computing unit 22 according to the fifth embodiment of the present invention. The computing unit 22b of this embodiment includes a lesion detecting unit 33 and a distance analyzing unit 34 in addition to the image generating unit 31 and the landmark estimating unit 32.
[0093] The lesion detection unit 33 detects the lesion from the endoscopic image by, for example, applying an image recognizer to the image, wherein the image recognizer has acquired a function of recognizing a tumor (polyp) image by a learning method such as deep learning. The detection of the lesion is not limited to the learning method described above, and other methods may be used. For example, the polyp candidate detection process disclosed in Japanese Patent Application Laid-Open No. 2007-244518 may be used.
[0094] The distance analysis unit 34 calculates the distance between the lesion and the landmark. The distance between two points can be calculated as a straight-line distance, or when 3D surface data of the object is obtained, the distance along the inner surface of the body cavity can be obtained.
[0095] Fig.16 is a schematic diagram showing the straight-line distance between the landmark and the lesion. Fig.16 As shown, the distance analysis unit 34 connects the estimated landmark L and the detected lesion T with a straight line to calculate the distance between them. Fig.17 3 is a schematic diagram showing the distance along the surface between the landmark and the lesion. Fig.17 As shown, the estimated landmark L and the detected lesion T are connected by a straight line, and the distance between them is calculated.
[0096] As described above, according to the estimation method of this embodiment, the same effects as those of the first embodiment can be obtained, and the distance to the lesion can be measured using the estimated positions of the landmarks, thereby generating and presenting information useful for the operator's surgical technique.
[0097] (Sixth embodiment)
[0098] In the above-mentioned embodiment, landmark estimation is performed regardless of the state of the endoscope, but in the present embodiment, landmark estimation is performed only when the insertion portion 9 is in a bent state. The endoscope device of the present embodiment has the same structure as the endoscope device 1 of the first embodiment, except for a unit for detecting the bending of the insertion portion 9 provided in the endoscope 2, and the same structural elements are denoted by the same reference numerals and their description is omitted.
[0099] Fig.18 1 is a schematic diagram illustrating an example of the structure of the endoscope 2 of the present embodiment. In the endoscope 2 of the present embodiment, a wire 51 for bending the insertion portion 9 is provided in the endoscope 2. One end of the wire is connected to a pressure sensing device 52. When pressure is applied to the wire 51 in order to bend the insertion portion 9, the pressure sensing device 52 detects the situation. The detection result of the pressure sensing device 52 is output to the control operation unit 22. In addition, the means for detecting the bending of the insertion portion 9 is not limited to the detection of the pressure sensing device 52 described above, and other means may also be used.
[0100] The control operation unit 22 executes each process in the landmark estimation unit 32 only when the pressure sensing device 52 detects the linear pressure. Alternatively, the bending angle of the insertion portion 9 may be estimated based on the linear pressure detected by the pressure sensing device 52 and used to estimate the axis 9a of the insertion portion.
[0101] As described above, according to the above-described embodiments and modifications, even when the insertion portion itself is reflected in the endoscopic image due to bending the endoscope insertion portion and the landmark is blocked and cannot be directly specified as a measurement point, the position of the landmark can be estimated with high accuracy.
[0102] The present invention is not limited to the above-described embodiments, and various modifications and applications can be made without departing from the spirit of the invention.
Claims
1. A landmark estimation method, in which, in an endoscopic image obtained by photographing a subject using an endoscope with a bent insertion portion, the position of a landmark is estimated, the landmark existing in a hole of the subject and being a portion through which the insertion portion penetrates, wherein: The landmark estimation method comprises the following steps: estimating an axis of the insertion portion; estimating a boundary between the insertion portion and the object; and A position of the landmark is estimated based on the axis and the boundary.
2. The landmark estimation method according to claim 1, characterized in that: An object used for estimating the axis is extracted from the endoscopic image by color analysis of the endoscopic image, and the shape of the object is analyzed to estimate the axis.
3. The landmark estimation method according to claim 2, characterized in that: The object is an edge of the insertion portion.
4. The landmark estimation method according to claim 2, characterized in that: The object is a marker provided on the insertion portion.
5. The landmark estimation method according to claim 2, characterized in that: By analyzing the brightness of the endoscopic image, the specular reflection portion of the insertion portion is extracted, and the central area of the insertion portion where the axis is located is estimated.
6. The landmark estimation method according to claim 1, characterized in that: 3D surface data of the object is acquired, and an edge in the longitudinal direction of the insertion portion extracted from the 3D surface data is estimated as the axis.
7. The landmark estimation method according to claim 1, characterized in that: The cross-sectional shape of the insertion portion is elliptical approximated based on 3D surface data of the boundary between the insertion portion and the subject, and a straight line passing through the center of the ellipse and parallel to the longitudinal edge of the insertion portion extracted from the 3D surface data is estimated as the axis.
8. The landmark estimation method according to claim 7, characterized in that: An intersection point between the estimated axis and the 3D surface data of the object is estimated as the landmark.
9. The landmark estimation method according to claim 6, characterized in that: A lesion is further detected from the object, and a distance from the landmark to the lesion is calculated.
10. The landmark estimation method according to claim 9, characterized in that: The distance is a distance along a surface based on the 3D surface data.
11. The landmark estimation method according to claim 1, characterized in that: The bending state of the insertion portion is detected, and the estimation of the axis is performed only when the bending of the insertion portion is detected.
12. An endoscope device for estimating the position of a landmark in an endoscopic image obtained by photographing a subject using an endoscope whose insertion portion is bent, the landmark being a hole portion existing in the subject and a portion through which the insertion portion penetrates, characterized in that: The endoscope device comprises: an axis estimating section that estimates the axis of the insertion section; a boundary estimating unit that estimates a boundary between the insertion portion and the object; and A landmark position estimating unit estimates the position of the landmark based on the axis and the boundary.
13. A storage medium, which is a non-volatile computer-readable storage medium storing a program, wherein: The program causes a computer to execute the following processing: in an endoscopic image obtained by photographing a subject using an endoscope whose insertion portion is bent, estimating the position of a landmark that is present in a hole portion of the subject and is a portion through which the insertion portion penetrates, The process comprises the following steps: estimating an axis of the insertion portion; estimating a boundary between the insertion portion and the object; and A position of the landmark is estimated based on the axis and the boundary.
