1. Field of the Invention
The present invention relates to an endoscope system that picks up an image of an inside of a subject via image pickup means.
2. Description of the Related Art
In recent years, endoscopes including an insertion portion that can be inserted into, e.g., a body cavity have widely been used in, e.g., medical fields.
On the other hand, when the insertion portion is inserted into a luminal organ that intricately diverges like a bronchus in a body cavity to examine (a diseased tissue of) a target site on the peripheral side of the luminal organ or perform biopsy or treatment of the target site using a treatment instrument, it is sometimes difficult to introduce a distal end of the insertion portion to the vicinity of the target site only by referring to an endoscopic image obtained as a result of the insertion of the insertion portion.
Therefore, systems or apparatuses for supporting an operation to introduce a distal end of an insertion portion of an endoscope to the vicinity of a target site have been proposed.
For example, as a first conventional example, International Publication No. 2007-129493 discloses a configuration of a medical image observation support apparatus including a CT-image-data retrieving section, a CT-image-data storing section, an information extracting section, an anatomical information database, a point of view/line of view direction setting section, a luminal organ image generating section, an anatomical nomenclature information generating section, a branch specifying section, an image synthesizing and displaying section and a user I/F control section. The point of view/line of view setting section locks a point of view on to a substantial center axis of a luminal organ based on structure information of the luminal organ extracted by the information extracting section, to set a point of view and a line of view for observing an appearance of the luminal organ.
Also, as a second conventional example, Japanese Patent Application Laid-Open Publication No. 2011-212244 discloses an endoscope system in which a virtual field of view determining section determines a virtual field of view of a virtual endoscope disposed at a position in a three-dimensional medical image corresponding to a position of an endoscope detected by an endoscope position and posture detecting section based on a position of a structure of interest identified by a position of interest identifying section, a corresponding position and posture of the endoscope and an angle of view of the endoscope obtained by an endoscope angle of view obtaining section so that the position of the structure of interest is included in the virtual field of view and is continuous with a field of view of the endoscope, a virtual endoscopic image generating section receives an input of a three-dimensional medical image formed by a three-dimensional medical image forming section and generates a virtual endoscopic image with the corresponding position of the endoscope set as a point of view, the virtual endoscopic image having the determined virtual field of view, and a display control section makes the generated virtual endoscopic image be displayed on a WS display.
When a position of a distal end of an insertion portion of an endoscope is estimated, the estimation is conducted by comparison between an endoscopic image (actual image) picked up by image pickup means of the endoscope and a virtual endoscopic image (virtual image) generated based on three-dimensional data of a luminal organ provided by CT. Thus, firstly, alignment is performed by comparison between both images.
Then, if the accuracy of estimation of the position is lowered, realignment is required for ensuring a predetermined accuracy.
An endoscope system according to an aspect of the present invention includes: a virtual endoscopic image generating section that generates a virtual endoscopic image of an organ having a lumen, the virtual endoscopic image being a virtual endoscopic image at a predetermined viewpoint position inside the lumen; an image pickup section provided inside an endoscope to be inserted into the lumen, the image pickup section picking up an image of an inside of the lumen; a position information obtaining section that obtains information on a position of a distal end of an insertion portion of the endoscope as position information; a distance calculating section that calculates a distance from the position of the distal end of the insertion portion obtained by the position information obtaining section to a feature region in the organ; a distance comparing section that determines whether or not the distance calculated by the distance calculating section is within a predetermined set distance; a variation amount detecting section that detects a variation amount of a feature of a structure of the organ in the endoscopic image picked up by the image pickup section; and an information recording section that records the position of the distal end of the insertion portion of the endoscope based on a result of the determination by the distance comparing section and a result of the detection by the variation amount detecting section.
An embodiment of the present invention will be described below with reference to drawings.
As illustrated in
The endoscope apparatus 4A includes the endoscope 3A, a light source apparatus 6 that supplies illuminating light to the endoscope 3A, a camera control unit (abbreviated as “CCU”) 8A, which serves as a signal processing apparatus that performs signal processing for an image pickup device 7, which is included in image pickup means incorporated in the endoscope 3A, and a monitor 9A that displays an endoscopic image generated by the CCU 8A.
The endoscope 3A includes an elongated insertion portion (or endoscope insertion portion) 11 having flexibility, and an operation portion 12 provided at a rear end of the insertion portion 11, and in a distal end portion 13 of the insertion portion 11, an illumination window and an observation window are provided. A light guide 14 that conveys illuminating light is inserted inside the insertion portion 11 and the operation portion 12, and an incident end of the light guide 14 is connected to a light source apparatus 6, and illuminating light generated by a non-illustrated light source lamp or LED in the light source apparatus 6 enters the incident end. The illuminating light conveyed by the light guide 14 exits forward from a light exit end (distal end face) attached to the illumination window.
Also, an objective lens 15, which is included in an objective optical system that forms an image of an object, is attached to the observation window, an image pickup device 7 such as a CCD is disposed at a position where the image is formed, and the objective lens 15 and the image pickup device 7 form an image pickup apparatus 16, which serves as image pickup means (or an image pickup section) for picking up an image of the inside of the bronchus 2, which is a predetermined luminal organ to which the insertion portion 11 is to be inserted.
The image pickup device 7 is connected to the CCU 8A via a signal wire inserted inside the insertion portion 11 and the operation portion 12. The CCU 8A generates an image signal of an picked-up image corresponding to an optical image formed on an image pickup surface of the image pickup device 7, via a non-illustrated image signal generating circuit inside the CCU 8A, and outputs the image signal to the monitor 9A. The monitor 9A displays an image (movie) of the image signal as an endoscopic image (also referred to as “picked-up image”).
In the insertion portion 11 of the endoscope 3A, a bendable bending portion 19 is provided at a rear end of the distal end portion 13, and a surgeon performs an operation to rotate a bending operation knob 20 provided at the operation portion 12, enabling the bending portion 19 to bend in an arbitrary direction, i.e., upward/downward and leftward/rightward. Note that the bending operation knob 20 includes an upward/downward bending operation knob for bending the bending portion upward/downward, and a leftward/rightward bending operation knob for bending the bending portion leftward/rightward.
An endoscope apparatus 4B illustrated in
The endoscope apparatus 4B includes a stereo endoscope 3B that enables three-dimensional measurement (stereo measurement), a light source apparatus 6, a CCU 8B that performs signal processing for two image pickup devices 7a and 7b provided in the stereo endoscope 3B, and a stereo display monitor 9B that displays a stereo image signal generated by the CCU 8B.
In a distal end portion 13 of an insertion portion 11 of the stereo endoscope 3B, left and right objective lenses 15a and 15b are disposed with a predetermined space provided in a horizontal direction therebetween, and the left and right image pickup devices 7a and 7b are disposed on respective positions where respective images from the left and right objective lenses 15a and 15b are formed, whereby a stereo image pickup apparatus 16′ including left and right image pickup apparatuses 16a and 16b are formed. Note that for the left and right objective lenses 15a and 15b and the left and right image pickup apparatuses 16a and 16b, those that have respective identical characteristics are used.
Also, a light guide 14 that conveys illuminating light from the light source apparatus 6 is inserted inside the insertion portion 11. A distal end of the light guide 14 is attached to an illumination window in the distal end portion 13, and the conveyed illuminating light is made to exit from the illumination window, and illuminates an object such as a diseased part inside a body cavity.
The left and right image pickup devices 7a and 7b, which pick up an image of the illuminated object, make image pickup signals resulting from photoelectric conversion be inputted to image pickup control sections 18a and 18b in the CCU 8B, and the image pickup control sections 18a and 18b generate left and right image signals and output the left and right image signals to a stereo image signal generating section 18c.
The stereo image signal generating section 18c generates an image signal for stereo display from the left and right image signals and outputs the image signal to the stereo display monitor 9B. Then, the stereo display monitor 9B displays an image signal for stereo display, and the display of the image signal for stereo display enables a user such as a surgeon to view the object stereoscopically.
Also, the left and right image signals generated by the image pickup control sections 18a and 18b are inputted to a measurement operating section 18d, and stereo measurement utilizing the principle of triangulation is performed using the left and right image signals, enabling measurement of, e.g., a distance between two points in the picked-up endoscopic image. As will be described later, for example, a bronchus diameter Da can be measured (calculated). Information such as the bronchus diameter Da calculated by the measurement operating section 18d is outputted to an image processing section 25. Note that the bronchus diameter Da measured (calculated) from the endoscopic image is not an average inner diameter of the bronchus 2, but a value of an inner diameter calculated from two points in the lumen. Thus, in the vicinity of a divergence region in which the bronchus 2 diverges, a bronchus diameter Da that is larger than an actual inner diameter of the bronchus may be measured (calculated). In
Next, a method of obtaining three-dimensional coordinates of a point (position) to be measured by stereo measurement will be described with reference to
X=t×X
R
+D/2 (1)
Y=t×Y
R (2)
Z=t×F (3)
As a result of determination of the two-dimensional coordinate measurement points 61 and 62 in the images corresponding to the measurement point 60 as described above, three-dimensional coordinates of the measurement point 60 can be obtained using the distance D and the focal length F as parameters.
Obtainment of three-dimensional coordinates of several points enables various kinds of measurement of, e.g., a distance between two points of these points, a distance between a line connecting two points and one point from these points, area, depth, surface shape, and also enables obtainment of a distance (object distance) from the optical center 63 of the left objective lens 15a or the optical center 64 of the right objective lens 15b to an object. In order to perform the above-described stereo measurement, optical data indicating the characteristics of the distal end portion 13 and the objective lenses 15a and 15b of the endoscope 3B are used. Note that in
Examples of a method of performing an operation to calculate three-dimensional coordinates from a stereo image include the method indicated in Japanese Patent Application Laid-Open Publication No. 2011-027911.
In the present embodiment, when a bronchus diameter Da is measured, which will be described later, a distance between two points designated by designating the points 61 and 62 corresponding to one measurement point 60 of the bronchus diameter and the other measurement point of the bronchus diameter on the image pickup surface in
This method will be described with reference to
Then, two two-dimensional coordinate points that provide a largest diameter in the detection block 75 are determined as those for a bronchus diameter Da, and the two points are set as a measurement point 60a and a measurement point 60b. Note that
The above operation is performed for each of the left screen and the right screen forming a stereo image to obtain the two-dimensional measurement point 60a and the two-dimensional measurement point 60b on each of the left screen and the right screen. Then, where the operation is performed with the point corresponding to the measurement point 60a on the left screen as the two-dimensional point 61 in
The above operation is performed each time the endoscopic image is updated, enabling monitoring of variation in the bronchus diameter Da in the measurement direction, which is calculated from the endoscopic image.
Also, stereo measurement may be performed as described below using the endoscope 3A including the monocular (single) image pickup apparatus 16 in
Where the endoscope 3A is inserted into a bronchus 2 as illustrated in
For example, the distal end of the insertion portion 11 with the bending portion 19 not bent is set in the vicinity of a central line of the bronchus 2, and the surgeon bends the bending portion 19, for example, to the left to bring the distal end of the insertion portion 11 into contact with an inner wall on the left side of the bronchus 2, thereby setting the distal end of the insertion portion 11 at a first image pickup position 16a′ corresponding to that of a case where an image is picked up by the left image pickup apparatus 16a in
After pickup of an image at the first image pickup position 16a′, the surgeon bends the bending portion 19 to the right to bring the distal end into contact with an inner wall on the right side of the bronchus 2 as indicated in the alternate long and two short dashes lines in
Information such as leftward/rightward movement amounts of the distal end portion 13 when the bending portion 19 is bent to the left and the right, respectively, by operating the bending operation knob 20, a focal length of the objective lens 15 of the image pickup apparatus 16, pixels counts in horizontal and vertical directions of the image pickup device 7 and a pixel pitch is obtained in advance and stored in, e.g., the information recording section 27.
In this case, optical centers 63′ and 64′ in
As illustrated in
Note that the CT image data recording section 22 may store CT data (which is three-dimensional image information on a patient that is a subject) generated by means of CT, via, e.g., a communication channel or the Internet. The CT image data recording section 22 can be provided by, e.g., a hard disk apparatus, a flash memory or a DVD.
Also, the CT image data recording section 22, which provides the image recording means, includes an associated image information recording section 22a that records associated image information in which CT image data resulting from image data being separated from the CT data and three-dimensional position data using a first coordinate system (CT coordinate system) resulting from position information being separated from the CT data, the first coordinate system corresponding to the CT image data, are associated with each other.
Also, the insertion support apparatus 5 includes a bronchus extracting section 23 including, e.g., a luminal organ extracting circuit, which serves as luminal organ extracting means for extracting three-dimensional image data on a bronchus 2, which is a predetermined luminal organ, from the CT image data in the CT image data recording section 22, and a central processing unit (abbreviated as “CPU”).
The bronchus extracting section 23 generates three-dimensional shape information (shape data) indicating a hollow shape of the bronchus 2 and three-dimensional shape image information (image data) from the extracted three-dimensional data (more specifically, three-dimensional volume data) on the bronchus 2. In other words, the bronchus extracting section 23 includes a bronchus shape image generating section 23a, which serves as bronchus shape image generating means for generating a bronchus shape image 2a, which is an image of a three-dimensional hollow bronchus shape from the extracted three-dimensional data on the bronchus 2.
Also, when the bronchus extracting section 23 extracts the three-dimensional data on the bronchus 2, the bronchus extracting section 23 extracts the three-dimensional data in association with the three-dimensional position data on the first coordinate system (or CT coordinate system) corresponding to the three-dimensional data. The bronchus extracting section 23 includes an associated information recording section 23b including, e.g., a memory that records associated information in which the three-dimensional shape data (that is, the bronchus shape data) and the three-dimensional position data on the bronchus 2 are associated with each other.
Also, the insertion support apparatus 5 includes a VBS image generating section 24, which serves as virtual endoscopic image generating means for generating a virtual endoscopic image (also referred to as “VBS image”), which is a virtual endoscopic image corresponding to an endoscopic image generated by image pickup by the image pickup apparatus(es) 16 or 16a and 16b provided in the distal end portion 13 of the insertion portion 11 in the endoscope 3A or 3B. The below description will be provided for the case of the endoscope 3A if either endoscopes 3A or 3B can be employed.
Characteristics information including that of an image formation system in the image pickup apparatus 16 in the distal end portion 13 of the endoscope 3A (e.g., the focal length of the objective lens 15, and the count and the size of pixels in the image pickup device 7) is inputted to the VBS image generating section 24, for example, from an input apparatus 31 via a control section 26. Note that the characteristics information on the image pickup apparatus 16 may be inputted to the VBS image generating section 24 from the input apparatus 31, not via the control section 26.
The VBS image generating section 24 includes, e.g., an image generation circuit that, based on information on a three-dimensional position of the image pickup apparatus 16 disposed inside the distal end portion 13 of the endoscope 3A actually inserted inside the bronchus 2 (which can also be regarded as a three-dimensional position of the distal end of the insertion portion 11), the characteristics information for forming an image of an object in a bronchus 2 by the image pickup apparatus 16 and the bronchus shape data, generates a VBS image that virtually draws an endoscopic image that would be obtained by endoscopically picking up an image of the inside of the bronchus 2 with the three-dimensional position (also simply referred to as “position”) as a viewpoint position, or a CPU. Note that if an axis direction of the distal end (substantially corresponding to an optical axis direction of the image pickup apparatus 16) is varied while the viewpoint position remains the same, the VBS image generating section 24 can generate a VBS image corresponding to the variation.
Therefore, if, for example, a position of the distal end of the insertion portion 11 and the (axis) direction of the distal end are designated on the CT coordinate system, the VBS image generating section 24 generates a VBS image corresponding to the designated position and direction.
Also, the insertion support apparatus 5 includes: an image processing section 25 including, e.g., a CPU or an image processing circuit, the image processing section 25 performing alignment between an endoscopic image inputted from the CCU 8A and a VBS image from the VBS image generating section 24 by means of image matching; a control section 26 including, e.g., a CPU, the control section 26 serving as control means for controlling, e.g., the image processing section 25; and an information recording section 27 including, e.g., a memory, the information recording section 27 serving as information recording means for recording information on, e.g., a VBS image for providing insertion support under the control of the control section 26 as candidate information or position and image information.
Also, the insertion support apparatus 5 includes: an MPR image generating section 28 that based on the CT image data recorded in the CT image data recording section 22, generates a CT tomographic image (referred to as “MPR image”) as a multi-planar reconstruction image; and a route setting section 29, which serves as route setting means including. e.g., a pointing device such as a mouse, the route setting section 29 generating a route setting screen, which serves as an insertion route setting screen including the MPR image generated by the MPR image generating section 28, and setting a route for inserting the endoscope 3A to the target site side inside the bronchus 2.
For example, if a target site 36 is designated from the CT image data as illustrated in
Also, the endoscope system 1 includes the input apparatus 31 including, e.g., a keyboard and/or a pointing device for inputting setting information to the route setting section 29. Also, a surgeon can input parameters and data for performing image processing to the image processing section 25 via the input apparatus 31, and select, or provide an instruction for, control operation of the control section 26.
Also, if the surgeon sets a route, the route setting section 29 sends information on the set route to the VBS image generating section 24, the MPR image generating section 28 and the control section 26. The VBS image generating section 24 and the MPR image generating section 28 generate a VBS image and an MPR image along the route, respectively, and the control section 26 controls operation of the respective sections according to the route.
The endoscopic image generated by the CCU 8A (also referred to as “actual image” or simply referred to as “image”) and the VBS image generated by the VBS image generating section 24 are inputted to the image processing section 25. Also, the bronchus shape image 2a generated by the bronchus shape image generating section 23a is also inputted to the image processing section 25.
In the present embodiment, since no sensor that detects a position of the distal end of the insertion portion 11 is incorporated in the distal end portion 13 of the insertion portion 11 in which the image pickup apparatus 16 is disposed, a three-dimensional position (also simply referred to as “position”) of the distal end of the insertion portion 11 is estimated (or calculated) by means of image matching in the alignment processing section 25a of the image processing section 25.
If a three-dimensional position (known position) or a position in the vicinity thereof that can be specified on the CT coordinate system from the bronchus shape image 2a, such as an entrance or a carina K (see
Then, the surgeon inserts the distal end of the insertion 11 so that the endoscopic image looks the same as the VBS image. As a result of the alignment descried above, the alignment processing section 25a in the image processing section 25 compares the endoscopic image and the VBS image and starts image matching so that the endoscopic image and the VBS image are matched within a condition in which a comparison result is set (error margin that ensures a predetermined accuracy).
Thus, the image processing section 25 includes an image comparing section 25b including, e.g., an image comparison circuit, the image comparing section 25b serving as image comparing means for comparing the endoscopic image and the VBS image, and the alignment processing section 25a performs processing for alignment by means of image matching utilizing the image comparison by the image comparing section 25b.
As a result of performing the above-described alignment, the alignment processing section 25a in the image processing section 25 enables the position of the distal end of the insertion portion 11 and the axis direction of the distal end (viewpoint direction or sight line direction of the image pickup apparatus 16) to be specified by information indicating coordinates of the position and the axis direction (also referred to as “posture”) on the CT coordinate system (first coordinate system).
After the alignment described above, using the information subjected to the alignment, a subsequent position of the distal end of the insertion portion 11 can be obtained as information associated with a position on the CT coordinate system (first coordinate system) based on a result of the image comparison by the image comparing section 25b. In other words, the image processing section 25 includes a position estimating section 25c that obtains the position of the distal end of the insertion portion 11 by means of estimation, as position information obtaining means for obtaining the position (information) of the distal end of the insertion portion 11. The position estimating section 25c also obtains the position of the distal end of the insertion portion 11 based on the result of the image comparison by the image comparing section 25b. For a further description, the image processing section 25 estimates a moved position of the distal end of the insertion portion 11 on the CT coordinate system after alignment by the alignment processing section 25a, from a result of comparison between the endoscopic image and the VBS image in an operation to insert the insertion portion 11 to the deep part side (peripheral side) of a bronchus 2.
In other words, along with an operation to move the distal end of the insertion portion 11 substantially along a center line 35 from a position where alignment processing was performed, (in order to insert the distal end), the image pickup apparatus 16 is moved, and thus, the endoscopic image varies.
In this case, the position estimating section 25c selects a VBS image that matches best the current endoscopic image by means of image processing, using VBS images (outputted from the VBS image generating section 24) where the distal end of the insertion portion 11 is moved on a route substantially along the center line 35, and calculates (estimates) a three-dimensional position corresponding to the selected VBS image as the position of the distal end of the insertion portion 11. As described above, the position estimating section 25c also calculates (estimates) a position of the distal end of the insertion portion 11 as well as a posture thereof (the axis direction or longitudinal direction of a part around the distal end of the insertion portion 11).
Since the distal end of the insertion portion 11 may be moved to a position deviating from the center line 35, it is possible that the VBS image generating section 24 generates a VBS image for a position decentering by a relevant amount from the center line 35, and outputs the generated VBS image to the alignment processing section 25a. Consequently, a range of position estimation by means of image matching can be expanded.
Also, a movement amount and a moved position of the distal end of the insertion portion 11 are calculated (estimated) from an amount of difference between two positions estimated by the position estimating section 25c. Also, the position estimating section 25c also can calculate (estimate) a distance between an estimated position and a specific position such as a diverging point in a feature region of a bronchus 2 (position that can be specified on the CT coordinate system).
Thus, the position estimating section 25c has a function of a distance calculating section, which serves as distance calculating means for calculating a distance from a position of the distal end of the insertion portion 11 estimated by the position estimating section 25c to a feature region such as a divergence region that diverges in the bronchus 2, which is a predetermined luminal organ. As described above, the image processing section 25 has a function of the position estimating section 25c, which serves as position information obtaining means for obtaining information on a position of the distal end of the insertion portion 11 by means of estimation. In this case, the alignment processing section 25a may be defined as a configuration having the function of the position estimating section 25c.
Note that in the present description, the distal end of the insertion portion 11 means the same as a distal end of the endoscope 3A.
Also, the image processing section 25 generates an image to be displayed on a monitor 32, which serves as image display means, under the control of, e.g., a display control section 26a in the control section 26, the display control section 26a controlling display.
Under the control of the display control section 26a, the image processing section 25 normally outputs an image signal (video signal) of a bronchus shape image 2a generated by the bronchus shape image generating section 23a to the monitor 32. Then, as illustrated in
Also, as illustrated in
Note that although the center line 35 is generated by, for example, the bronchus shape image generating section 23a, the center line 35 may be generated by the image processing section 25. Also, the image processing section 25 has a function of an image generating section 25d that generates, e.g., an image in which the position of the distal end of the insertion portion 11 estimated by the position estimating section 25c is superimposed on the bronchus shape image 2a together with the center line 35.
When a user such as a surgeon inserts the insertion portion 11 into a bronchus 2 from the distal end thereof, the center line 35 and the position of the distal end of the insertion portion 11 are displayed on a bronchus shape image 2a indicating a three-dimensional shape of the bronchus 2, and an operation to insert the insertion portion 11 can be facilitated by referring to the display. Also, an operation to insert the insertion portion 11 along the center line 35 is performed, enabling estimation of the position of the distal end of the insertion portion 11 by image matching to be performed in a short period of time.
Also, the image processing section 25 includes a distance comparing section 25e, which serves as distance comparing means for comparing a distance from the position of the distal end of the insertion portion 11 estimated by the position estimating section 25c to a feature region inside a bronchus 2, which is a predetermined luminal organ, with a set distance.
Note that instead of the image processing section 25 having a configuration including the distance comparing section 25e, the control section 26 may be configured to include a distance comparing section 25e, which serves as the distance comparing means. Although it has been described above that the position estimating section 25c in the image processing section 25 calculates (estimates) a distance, the distance comparing section 25e may perform distance calculation (estimation) and distance comparison.
Furthermore, in the present embodiment, the image processing section 25 includes a variation amount detecting section 25g, which serves as variation amount detecting means for detecting an amount of variation of a feature part in an endoscopic image (also simply referred to as “image”) picked up by the image pickup apparatus 16. The variation amount detecting section 25g includes a bronchus diameter variation amount detecting section 25h that detects an amount of variation in bronchus diameter (inner diameter of a bronchus 2) as a feature part, a brightness variation amount detecting section 25i that detects an amount of variation in brightness of a divergence region as a feature part, and a shape variation amount detecting section 25j that detects an amount of variation in shape of a divergence region.
Also, the shape variation amount detecting section 25j includes a spur variation amount detecting section 25k that detects an amount of variation in length or angle of a spur (a diverging point or a divergence boundary) in which a lumen of a bronchus 2 is divided (diverges), and the brightness variation amount detecting section 25i has a function of a later-described poor visibility detecting section 25l. The present invention is not limited to the case where the brightness variation amount detecting section 25i has the function of the poor visibility detecting section 25l.
Note that the control section 26 may correct route data generated (before insertion of the insertion portion 11 of the endoscope 3A) by the route data generating section 29a, according to the position of the distal end of the insertion portion 11 estimated by the position estimating section 25c.
Also, the control section 26 has a function of the condition determining section 26b that determines whether or not a result of comparison by the distance comparing section 25e and a result of detection by the variation amount detecting section 25g meet predetermined conditions for recording.
If the condition determining section 26b in the control section 26 determines that the predetermined conditions are met, the condition determining section 26b makes information associating information on a position and a posture of the distal end of the insertion portion 11 estimated by the position estimating section 25c when it is determined that the predetermined condition are met, and a VBS image corresponding to the information on the position and the posture with each other (as position and image information or candidate information to be presented at the time of realignment) be recorded in the information recording section 27.
Thus, the information recording section 27 has a function of information recording means for recording position and image information (also simply referred to as “information”), which is used as candidate information associating information on a position and a posture of the distal end of the insertion portion 11 and a VBS image corresponding to the information on the position and the posture with each other, based on a result of comparison by the distance comparing section 25e and a result of detection by the variation amount detecting section 25g.
Also, the condition determining section 26b in the control section 26 has a function of an information recording control section 26c that performs control to record the position and the image information in the information recording section 27.
Also, for example, the display control section 26 in the control section 26 performs control to, in cases where an instruction signal for realignment is inputted from the input apparatus 31, for example, a case where a surgeon considers an accuracy of a current estimated position of the distal end of the insertion portion 11 as low, read the information recorded in the information recording section 27 and display the information on the monitor 32 via the image processing section 25 as candidate information.
In this case, the image processing section 25 includes the image generating section 25d that generates an image indicating the candidate information read from the information recording section 27 superimposed on a bronchus shape image 2a. More specifically, a position and a posture of the distal end of the insertion portion 11 and a VBS image corresponding to the position and the posture are superimposed and displayed on a bronchus shape image 2a. Note that, as will be described later,
The surgeon can perform realignment with reference to the candidate information, and the alignment processing section 25a or the position estimating section 25b can obtain information on a position and a posture of the distal end of the insertion portion 11 in such a manner the information is associated with a coordinate system for the bronchus 2. Then, as a result of the realignment, the position estimating section 25b ensures a predetermined accuracy, enabling an operation to insert the distal end of the insertion portion 11 again from the position where realignment was performed to the deep part side of the bronchus 2.
In the present embodiment, as described above, if a result of determination is that a result of comparison by the distance comparing section 25e meets a first condition and a result of detection by the variation amount detecting section 25g meets a second condition (meet the predetermined conditions including the first condition and the second condition), the information recording control section 26c or the condition determining section 26b makes information including an (estimated) position and posture of the distal end of the insertion portion 11 when such result of determination was obtained, and a VBS image corresponding to the position and the posture be recorded in the information recording section 27 as candidate information. Note that information forming candidate information including at least a position from among a position and a posture of the distal end may be recorded in the information recording section 27.
In the present embodiment, as result of information being recorded when a plurality of conditions that are different from each other are met, when realignment is performed, a proper amount (or proper number) of candidate information (pieces) can be displayed (or presented) on the monitor 32, which serves as display means (or a display apparatus).
In the present embodiment, an amount of variation of a feature part such as a bronchus diameter of a bronchus 2, which is a predetermined luminal organ, in an endoscopic image picked up by the image pickup apparatus 16 is detected by the variation amount detecting section 25g, and based on at least a result of the detection by the variation amount detecting section 25g, (information) on a position and a posture of the distal end of the insertion portion 11 when the result of the detection was provided, and information including a VBS image corresponding to the position and the posture are recorded in the information recording section 27 (as candidate information to be presented when realignment is performed).
A user such as a surgeon can easily grasp conditions or situations for recording information because the user performs an operation to insert the insertion portion 11 while observing an endoscopic image picked up by the image pickup apparatus 16. Also, candidate information presented when realignment is performed can be related to a feature part in an endoscopic image, a variation amount of which sensitively varies in response to movement of the position of the distal end of the insertion portion 11, facilitating alignment by means of image comparison.
Note that information recorded in the information recording section 27 includes a position and a posture of the distal end of the insertion portion 11 and a corresponding VBS image, but may include an endoscopic image corresponding to the position and posture information.
Also, the image processing section 25 includes an image memory 26f that when image matching is performed by comparing an endoscopic image and a VBS image with each other, temporarily stores the endoscopic image and the VBS image, or is used as a work area for image processing. Note that an image memory 25f may be provided outside the image processing section 25.
Also, in the present embodiment, for example, the input apparatus 31 may be configured so as to include a designation section 31a that selectively designates (or sets) a first condition relating to the distal end of the insertion portion 11 and a feature region for which the distance comparing section 25e performs comparison, and a second condition relating to an amount of variation in feature part detected by the variation amount detecting section 25g, respectively.
Also, for example, the information recording section 27 may include a condition information recording section 27a, which serves as condition information recording means for recording first condition candidate information relating to the first condition and second condition candidate information for the second condition in advance in addition to information to be used as candidate information described above. Note that a configuration in which the condition information recording section 27a is provided separately from the information recording section 27 may be employed.
Examples of the first condition candidate information include: (a) a distance da between the distal end of the insertion portion 11 and a diverging point Bi (i=1, 2, . . . ) on a center line 35; (b) a distance db between the distal end of the insertion portion 11 and a spur Spi (i=1, 2, . . . ) in which a bronchus 2 diverges; (c) a distance dc between the distal end of the insertion portion 11 and a center line 35 or a bronchus wall; and (d) a distance dd between the distal end of the insertion portion 11 and a region set in advance. Furthermore, it is also possible that a user such as a surgeon selectively designates any of first condition candidate information (a) to (d) via the designation section 31a so that the user can use such first condition candidate information as (information for) the first condition. In addition to the above, examples of the first condition candidate information may include: (e) a distance from the distal end of the insertion portion 11 to a target site and (f) a distance from the distal end of the insertion portion 11 to an insertion start position.
Examples of the second condition candidate information include: (a) variation in bronchus diameter Da; (b) variation in brightness of an image (endoscopic image) or a display screen that displays an endoscopic image; (c) variation in shape of a divergence; (d) variation in length of a spur Sp; (e) variation in angle of a spur Sp; (f) poor visibility; (g) large displacement of an endoscopic image; and (h) change in an endoscopic image such as appearance of an object other than a bronchus. It is also possible that a user such as a surgeon selectively designates any of the second condition candidate information (a) to (h) via the designation section 31a including, e.g., a mouse and/or a keyboard, which serves as designation means so that the user can use such second condition candidate information as (information for) the second condition.
In this case, the control section 26 has a function of a condition setting section 26d that sets a first condition and a second condition in response to designation via the designation section 31a. When the condition setting section 26d sets a first condition and a second condition, the condition setting section 26d also sets threshold value information used when the condition determining section 26b performs determination. Note that the threshold value information may also recorded in the information recording section 27 in association with the first condition candidate information.
Although in
The endoscope system 1 having such configuration as described above includes: the CT image data recording section 22, which serves as image recording means for recording three-dimensional image information on a subject, the three-dimensional image information being obtained in advance; the bronchus extracting section 23, which serves as luminal organ extracting means for extracting a bronchus 2, which is a predetermined luminal organ, from the three-dimensional image information; the VBS image generating section 24, which serves as virtual endoscopic image generating means for generating a virtual endoscopic image drawn like an endoscopically obtained image from a predetermined viewpoint position for information on the predetermined luminal organ extracted by the luminal organ extracting means; the image pickup apparatus 16 or 16′ provided inside the endoscope 3A or 3B, the image pickup apparatus 16 or 16′ serving as image pickup means for picking up an image of the inside of the predetermined luminal organ; the position estimating section 25c, which serves as position information obtaining means for obtaining information on a position of the distal end of the insertion portion 11 of the endoscope 3A inside the predetermined luminal organ as position information; the distance comparing section 25e, which serves as distance comparing means for comparing a distance from the position of the distal end of the insertion portion 11 of the endoscope 3A or 3B obtained by the position information obtaining means to a feature region in the predetermined luminal organ extracted by the luminal organ extracting means, with a set distance; the variation amount detecting section 25g, which serves as variation amount detecting means for detecting an amount of variation in a feature part in the predetermined luminal organ in an endoscopic image, which is the image picked up by the image pickup means; and the information recording section 27, which serves as information recording means for, based on a result of the comparison by the distance comparing means and a result of the detection by the variation amount detecting means, recording position and image information including the virtual endoscopic image corresponding to the information on the position of the distal end of the insertion portion of the endoscope.
Next, operation of the present embodiment will be described.
When the endoscope system 1 in
A case where the surgeon designates a distance da between the distal end of the insertion portion 11 and a diverging point Bi at which a center line 35 splits as the first condition, and variation of a bronchus diameter Da as the second condition will be described below as case (A).
(A) Case where a Distance Da Between (a Position of) the Distal End of the Insertion Portion 11 and a Diverging Point Bi and Variation of a Bronchus Diameter Da are Designated as the First Condition and the Second Condition
As illustrated in
In next step S2, the surgeon inserts the distal end of the insertion portion 11 into the bronchus 2. Here, the surgeon inserts the distal end of the insertion portion 11 so that a VBS image of, e.g., an entrance of the bronchus 2 or a carina K (see
After the alignment processing in step S2, the surgeon inserts the distal end of the insertion portion 11 to the deeper part side of the bronchus 2 relative to the position at which the alignment was performed. When the insertion portion 11 is inserted, as illustrated in step S3, the position estimating section 25c in the image processing section 25 estimates a position and a posture of the distal end of the insertion portion 11 by means of image matching using the image comparing section 25b. If the position and the posture can be estimated by means of image matching, as illustrated in
Also, as illustrated in next step S4, the control section 26 monitors whether or not an instruction signal for realignment is inputted by, e.g., the surgeon.
As described above, in step S2, if a travel distance from the position at which the alignment was performed is not large, the surgeon does not need to provide an instruction for realignment. Note that the image comparing section 25b in the image processing section 25 may be configured to, if the image comparing section 25b compares the endoscopic image and the VBS image and the image comparison shows that the degree of matching of the images indicates a misalignment that is equal to or exceeds a preset threshold value, in other words, if the estimation of the position of the distal end of the insertion portion 11 fails, generate an instruction signal for realignment and input the instruction signal to the control section 26. In this case, also, if a travel distance from the position at which the alignment was performed is not large, no instruction signal is inputted to the control section 26.
If no instruction signal is inputted to the control section 26, in step S5, the condition determining section 26b in the control section 26 determines whether or not a result of comparison by the distance comparing section 25e and a result of detection by the variation amount detecting section 25g meet predetermined conditions.
In step S5, if a determination result that the predetermined conditions are not met is provided, the processing returns to step S3. On the other hand, if a determination result that the predetermined conditions are met is provided, the processing proceeds to step S6, and, for example, the condition determining section 26b performs control so as to record information on a position and a posture of the distal end of the insertion portion 11 when the determination result that the predetermined conditions are met is provided and a corresponding VBS image in information recording section 27.
Note that since the determination result that the predetermined conditions are met is a result of comparison for at least two or more timings that are mutually different in time as will be described later, information on a position and a posture of the distal end of the insertion portion 11 at one time from among the two or more times for which the comparison was performed and a VBS image corresponding to the position and the posture is recorded in the information recording section 27. After the processing in step S6, the processing returns to step S3. Consequently, if the distal end of the insertion portion 11 travels relatively farther from the position at which first alignment was performed, the accuracy of matching by the image comparing section 25b is likely to be lowered.
If the matching accuracy is lowered, an instruction signal for realignment is inputted to the control section 26, and the control section 26 detects the input of the instruction signal. Then, as illustrated in step S7, the display control section 26a in the control section 26 performs control so as to read the information recorded in the information recording section 27 as candidate information and present or display the candidate information on the monitor 32.
In next step S8, the surgeon performs realignment with reference to the candidate information displayed on the monitor 32, and then the processing returns to step S3, and the old alignment information in step S2 is updated. Note that after the processing in step S7, it is possible that the processing returns to step S2 (not to step S3) and the surgeon performs realignment with reference to the candidate information. Consequently, the processing in
Next, the processing in steps S5 and S6 in
In step S4 in
As illustrated in
In next step S12, the distance comparing section 25e determines whether or not the first condition that the distance da between the calculated position Pj of the distal end of the insertion portion 11 and the diverging point Bi is within the set distance dth is met.
If a result of the determination that the first condition is not met is provided in the determination processing in step S12, the processing returns to step S3. On the other hand, if a result of the determination that the first condition is met is provided in the determination processing in step S12, in next step S13, a bronchus diameter Da is calculated from information in the endoscopic image as described above by means of (the measurement operating section 18d in) the endoscope apparatus 4B or stereo measurement utilizing bending of the bending portion 19 of the endoscope 3A. Then, information on the calculated bronchus diameter Da is sent to the variation amount detecting section 25g in the image processing section 25.
In next step S14, (the bronchus diameter variation amount detecting section 25h in) the variation amount detecting section 25g determines whether or not the second condition that the calculated bronchus diameter Da has varied by an amount that is equal or exceeds a set value Dth, which is threshold value information set in advance for the bronchus diameter Da is met.
As illustrated in
Also, each of positions Pj (j=1, 2, . . . , 6 in
Also,
As illustrated in
Thus, the condition determining section 26b in the control section 26 makes information on the position P3 and the posture or the position P4 and the posture when the position varies from the position P3 to the position P4 and the VBS image corresponding to the position P3 and the posture or the position P4 and the posture be recorded in the information recording section 27 (as candidate information). In other words, as illustrated in step S15 in
Note that although when the position varies from the position P4 to the position P5, the bronchus diameter Da also varies from the large value to a small value, variation from the position P1 from which the state in which the first condition is met starts is within the set value Dth, and thus, no information is recorded. As described above, instead of recording information on the position P3 and the posture or the position P4 and the posture and the VBS image corresponding to the position P3 and the posture or the position P4 and the posture in the information recording section 27 (as candidate information), information on a position and a posture between the positions P3 and P4 and the corresponding VBS image may be recorded in information recording section 27.
After recording of the information on the vicinity of the diverging point Bi in step S15 as described above, the processing returns to step S3. Then, processing similar to the above is repeated. For example, as illustrated in
Thus, for example, if an instruction signal for realignment is inputted to the control section 26 when the insertion portion is inserted to the peripheral side relative to the diverging point Bi+1 in
As illustrated in
Note that although
On the other hand, in the conventional examples, information to be recorded (in an information recording section 27) is not reduced by the first condition for a distance between the distal end of the insertion portion 11 and a diverging point Bi, which is a feature region, and the second condition for a variation amount of an inner diameter of a lumen, which is a feature part, in an endoscopic image (more specifically, a variation amount of a bronchus diameter) in the present embodiment, too much candidate information is displayed for realignment, requiring time until realignment is performed with proper candidate information.
Also, in the present embodiment, information is recorded when a feature part in the endoscopic image largely varies with movement of the position of the distal end of the insertion portion 11, and thus, a user such as a surgeon can easily visually grasp the condition for recording information. Therefore, the present embodiment enables an amount of information that is suitable for realignment to be recorded under the condition that can easily visually be grasped by a user.
Furthermore, in the present embodiment, when the recorded information is displayed (presented) as candidate information to perform realignment, such display (presentation) reflects the characteristic of a feature part in the endoscopic image largely varying with movement of the position of the distal end of the insertion portion 11, enabling a user to easily visually perform realignment by means of image matching.
Note that as illustrated in
As a result of the recording as described above, when the information is presented as candidate information for performing realignment, if the position of the distal end of the insertion portion 11 is moved in the vicinity of a position near the position for the candidate information, the bronchus diameter in the endoscopic image largely varies with the variation of the position of the insertion portion 11, enabling an increase in degree of variation in image comparison for realignment. Also, the position is in the vicinity of the position at which the bronchus diameter in the endoscopic image reaches a maximum and thus is a position that can easily be identified.
Also, as further indicated by the alternate long and two short dashes lines in
Furthermore, in this case, a configuration in which an image moving section that enables the display position of a VBS image on the candidate information side to be moved so as to overlap the display position of the current endoscopic image or the display position of an endoscopic image on the candidate information side to be moved so as to overlap the display position of the current endoscopic image is provided in the image processing section 25 may be employed. Alternatively, a configuration including an image moving section that enables the display position of the current endoscopic image to be moved to the display position of a VBS image on the candidate information side or the display position of an endoscopic image on the candidate information side may be employed.
Also, although
Note that when the distance da between the diverging point Bi and the position Pj of the distal end of the insertion portion 11 is calculated (measured), the calculation is performed as in any of the examples illustrated in
In the example illustrated in
Although in
Also, when the bronchus diameter Da is calculated (measured), as illustrated in
Although the above description has been provided in terms of the case where the first condition relates to a distance da between a diverging point Bi and the distal end of the insertion portion 11 as illustrated in
(B) Case where a Distance Between (a Position of) the Distal End of the Insertion Portion 11 and a Spur and Variation of a Bronchus Diameter are Designated as the First Condition and the Second Condition
In this case, as illustrated in
In this case, the contents of processing for the spur Spi are those provided by substituting the diverging point Bi in
The content of step S11 in
Then, operation and effects in this case are substantially the same as those of the case of the diverging point Bi. Note that as illustrated in
Also, as illustrated in
(C) Case where a Distance Dc Between (a Position of) the Distal End of the Insertion Portion 11 and a Center Line 35 and Variation of a Bronchus Diameter Da are Designated as the First Condition and the Second Condition
In this case, processing that is provided by substituting the diverging point Bi in
In this case, each of the positions P1 to P6 meets the first condition and as described for case (A), the bronchus diameter Da varies by an amount that is equal to or exceeds the set value Dth when the position moves from the position P3 to the position P4 in
Note that the above description has been provided in terms of the case where when the first condition is met, information is recorded if the bronchus diameter Da in the endoscopic image varies by an amount that is equal or exceeds the set value Dth, and furthermore, if variation occurs in relation to the first condition, that is, if the distance dc varies from a value that is equal to or below the set value dct to a value that is equal to or exceeds dct, information for a position Pj before the variation may be recorded.
When recording is performed as described above, an amount of information that is close to a requisite minimum can be recorded and information for a position immediately before realignment is performed can be recorded. More specifically, in the case of
Note that instead of monitoring the distance dc between the center line 35 and the position Pj of the distal end, a distance dd between the position Pj and a bronchus wall may be monitored. In this case, whether or not the distance dd is smaller (shorter) than a preset distance ddt may be determined.
As illustrated in
Also, as illustrated in
Also, as illustrated in
(D) Case where a Distance De from (a Position of) the Distal End of the Insertion Portion 11 to a Center of a Region Set in Advance by a User (Surgeon) and Variation of a Bronchus Diameter Da are Designated as the First Condition and the Second Condition
In this case, when a surgeon, which is a user, intends to insert the insertion portion 11 into a bronchus 2 via the input apparatus 31, as illustrated in
Then, the distance comparing section 25e continuously performs operation of monitoring whether or not a distance between the position Pj of the distal end of the insertion portion 11 and a center Ric of the set region Ri is within the set region Ri.
In this case, the operation is similar to that of the case where the set distance dth is set with the diverging point Bi as a center in case (A) described above. Note that not only a spherical set region Ri, but also a non-spherical set region can be set like the set region Ri+1.
The present invention is not limited to the case of the set regions having the shapes illustrated in
This case enables information recording and candidate information display (presentation) according to requests from a user.
(E) Case where a Distance Between a Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of Brightness of an Endoscopic Image are Designated as the First Condition and the Second Condition
In this case, as illustrated in
More specifically, as indicated by positions P1, P2, . . . , P5 illustrated in
The area of dark parts refers to the total areas of image parts of an endoscopic image each having a brightness that is equal to or below a preset value. In
Note that based on variation in number of diverging parts detected as dark parts (for example, variation from two to one or variation from one to two), such variation may be detected as a large variation amount of the area of the dark parts and in such case, information including a VBS image may be recorded in the information recording section 27.
The variation amount of brightness is not limited to that detected from a variation amount of the area of dark parts, and it is possible that an average value of brightness of endoscopic images is calculated and if the average value has a variation amount that is equal to or exceeds a threshold value, information including a VBS image is recorded in the information recording section 27.
The intervals for obtaining an endoscopic image may be linked with timings for obtaining the distal end position of the insertion portion 11 or may be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is set within the set distance dth as illustrated in
Also, the first condition may be set using a distance other than the distances da and db.
In case (E), a variation amount for which a surgeon can easily perform comparison such as the area of dark parts is employed as a variation amount of a feature part in an image, and thus, when the image is displayed as candidate information, the surgeon can easily perform alignment visually.
(F) Case where a Distance Between a Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of a Divergence Shape in an Endoscopic Image are Designated as the First Condition and the Second Condition
More specifically, for example, at fixed intervals or fixed time intervals as indicated by positions P1, P2, . . . , P5 illustrated in
More specifically, variation of the bronchus divergence shape when the position moves from the position P1 to the position P2 is small, but at the position P3 that is close to a divergence region that diverges, the bronchus divergence shape largely varies compared to that at the position P2. If the shape variation amount detecting section 25j detects the large variation of the bronchus divergence shape, the shape variation amount detecting section 25j makes information including a VBS image before or after the variation be recorded in the information recording section 27.
The intervals for obtaining an endoscopic image may be linked with timings for obtaining a distal end position of the insertion portion 11, or may be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is within the set distance dth as illustrated in
Also, the first condition may be set using a distance other than the distances da and db.
In case (F), a variation amount for which a surgeon can easily perform comparison such as variation of a bronchus divergence shape as a variation amount of a feature part in an image, and thus, when the image is displayed as candidate information, the surgeon can easily perform alignment visually.
(G) Case where a Distance Between the Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of a Length of the Spur in an Endoscopic Image are Designated as the First Condition and the Second Condition
In this case, as illustrated in
For example, at fixed intervals or fixed time intervals indicated by position P1, P2, . . . , P5 illustrated in
The intervals for obtaining an endoscopic image may be linked with timings for obtaining a distal end position of the insertion portion 11, or may also be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is within the set distance dth as illustrated in
Also, the first condition may be set using a distance other than the distances da and db.
In case (G), a variation amount for which a surgeon can easily perform comparison such as variation of a bronchus divergence shape is employed as a variation amount of a feature part in an image, and thus, when the image is displayed as candidate information, the surgeon can easily perform alignment visually. (H) Case where a distance between a distal end position of the insertion portion 11 and a diverging point or a spur and variation of an angle of the spur in an endoscopic image are designated as the first condition and the second condition.
In this case, as illustrated in
For example, at fixed intervals or fixed time intervals as indicated by positions P1, P2, . . . , P5 illustrated in
The intervals for obtaining an endoscopic image may be linked with timings for obtaining a distal end position of the insertion portion 11, or may also be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is within the set distance dth as illustrated in
Also, the first condition may be set using a distance other than the distances da and db.
In case (H), a variation amount for which a surgeon can easily perform comparison visually such as variation of a bronchus divergence shape is employed as a variation amount of a feature part in an image, and thus, when the image is displayed as candidate information, the surgeon can easily perform alignment visually.
(I) Case where a Distance Between a Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of Poor Visibility in an Endoscopic Image are Designated as the First Condition and the Second Condition
In this case, as illustrated in
Thus, for example, the brightness variation amount detecting section 25i has the function of the poor visibility detecting section 25l.
The intervals for obtaining an endoscopic image may be linked with timings for obtaining a distal end position of the insertion portion 11, or may also be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is within the set distance dth as illustrated in
In case (I), a variation amount for which a surgeon can easily perform comparison visually such as poor visibility is employed as a variation amount of a feature part in an image, and thus, the surgeon can easily grasp a state for which information was recorded.
Note that although the above-described shape variation amount detecting section 25j detects a variation amount of a divergence shape inside a bronchus, upon variation from a divergence shape to a structure or a shape other than the divergence shape, in other words, upon detection of variation to a structure or a shape other than a divergence shape, information may be recorded.
(J) Case where a Distance Between a Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of a Bronchus Divergence Shape in an Endoscopic Image are Designated as the First Condition and the Second Condition
In this case, as illustrated in
As illustrated in
The intervals for obtaining an endoscopic image may be linked with timings for obtaining a distal end position of the insertion portion 11, or may also be fixed time intervals or fixed distance intervals. Furthermore, the first condition is not limited to the condition that the distance da between the distal end position and the diverging point Bi is within the set distance dth as illustrated in
In case (J), a variation amount for which a surgeon can easily perform comparison visually such as existence or non-existence of a divergence shape is employed as a variation amount of a feature part in an image, and thus, the surgeon can easily grasp a state for which information was recorded.
(K) Case where a Distance Between a Distal End Position of the Insertion Portion 11 and a Diverging Point or a Spur and Variation of Displacement of a Feature Part in an Endoscopic Image are Designated as the First Condition and the Second Condition
In this case, as illustrated in
The n−1-th image In−1 and the n-th image In picked up in frames or fields adjacent to each other are inputted to a displacement amount operation processing section 82, and the displacement amount operation processing section 82 performs an operation to calculate a motion vector quantity indicating an amount of displacement of a point in one image corresponding to a point set in the other image (for example the image In) from the point set in the other image.
The motion vector quantity calculated by the displacement amount operation processing section 82 is inputted to a displacement amount determining section 83, and the displacement amount determining section 83 recognizes the calculated motion vector quantity as a displacement amount and determines whether or not a magnitude (absolute value) of the motion vector quantity exceeds a preset value, and according to a result of the determination, makes information including a VBS image be recorded as candidate information. Note that a configuration in which the condition determining section 26b illustrated in
The displacement amount operation processing section 82 sets a range of W×H pixels with a center point of the image In as a center, as a template, and finds a corresponding point in the image In−1 corresponding to the center point. The finding of the corresponding point is performed by calculating, for example, a SAD (sum of absolute differences) in luminance. Where t(x, y) is a pixel value in the template and g(x, y) is a pixel value in the image that is the target of the finding, F(u, v), which is a SAD in coordinates (u, v), can generally be calculated according to Expression (4).
F(u,v)=ΣiΣj|g(i+u,j+v)−t(i,j)| (4)
Σi and Σj indicate that an operation to add up |g−t| for a width W and a height H of the template in which i is within NW and within NH, respectively, and W is the width of the template and H is the height of the template, and −W/2≦NW≦W/2, and −H/2≦NH≦H/2. Also, (Ox, Oy) are central coordinates in the image In−1 corresponding to the image In, and F(u, v) is calculated within the ranges of Ox−W/2≦u≦Ox+W/2 and Oy−H/2≦v≦Oy+H/2. Coordinates (Ex, Ey) when F(u, v) is minimum provide the corresponding point.
From the coordinates (Ex, Ey) of the corresponding point for the central coordinates (Ox, Oy) in the image In, a motion vector m is calculated according to Expression (5).
m=(Ex−Ox,Ey−Oy) (5)
The motion vector m is calculated according to the method described above.
Upon the processing for calculating the motion vector m as a displacement amount being ended by the calculation of the motion vector m, the displacement amount determining section 83 compares the magnitude of the motion vector m with the preset value, and if the displacement amount determining section 83 determines that the magnitude of the motion vector m is larger than the preset value, the displacement amount determining section 83 determines that variation that is a displacement exceeding the preset value occurs for the information recording section 27, and outputs a recording instruction signal (or storage instruction signal) for recording a VBS image to the information recording section 27. Upon receipt of the recording instruction signal, the information recording section 27 records the image before occurrence of the displacement exceeding the preset value from the first memory 81a of the image memory 25f, as a candidate image. The operation of recording a candidate image is performed each time a recording instruction signal is inputted, and thereby candidate images are accumulated in the information recording section 27.
Repetition of the above operation enables endoscopic images immediately before endoscopic images whose displacement is larger than the preset value to be accumulated as candidate images. For a method of detecting a displacement of an endoscopic image, an operation according to SHIFT (scale-invariant feature transform) may be employed, and if an operation to calculate a feature point corresponding to each image fails or if a frequency analysis of an image indicates that high-frequency components are reduced by an amount that is equal to or exceeds a preset value, recording may be performed in such a manner as described above. In such case, effects similar to the above can also be provided.
Note that the above embodiment has been described in terms of typical combinations of a first condition and a second condition, information may be recorded according to a combination other than the above-described combinations.
In other words, the present invention includes configurations and methods using a combination of a first condition and a second condition that is different from any of those used in the present embodiment. Furthermore, the first condition and the second condition are set not only by a user, but also may be set by recording the first condition and the second condition in advance in, for example, the condition setting section 26d or the information recording control section 26c in the apparatus without a user setting the first condition and the second condition.
Also, the condition information recording section 27a, which is condition information recording means, has been described as recoding information on a plurality of candidate conditions that can be set as the first condition and the second condition and candidate information, respectively, the condition information recording section 27a, may be described as recording a plurality of condition information pieces (or information pieces) that can be set as the first condition and the second condition, respectively, without using information on candidate conditions and candidate information.
In the above description, if an instruction signal for realignment is inputted to the control section 26 via, e.g., the input apparatus 31, the information recorded in the information recording section 27 is displayed (presented) as candidate information on the monitor 32, which is display means.
The present invention is not limited to this case, and for example, information recorded at a predetermined timing in the information recording section 27 may be displayed (represented) as candidate information on the monitor 32, which is display means.
For example, arrangement may be made so that a user provides an input for setting a time interval or a condition for displaying candidate information to the control section 26 via, e.g., the input apparatus 31, and the control section 26 performs control to if the set time interval or condition is met, read information from the information recording section 27 to display the candidate information including VBS images on the monitor 32 via the image processing section 25.
Also, in a configuration including image comparing means for comparing information on an image picked up by image pickup means and a virtual endoscopic image, and display means for displaying, at predetermined timing, a virtual endoscopic image recorded in information obtaining means, the information obtaining means may be configured to obtain at least position information on the image pickup means based on a result of the comparison by the image comparing means.
Also, the present invention is not limited to the above-described configuration illustrated in, for example,
Number | Date | Country | Kind |
---|---|---|---|
2013-044601 | Mar 2013 | JP | national |
This application is a continuation application of PCT/JP2014/053875 filed on Feb. 19, 2014 and claims benefit of Japanese Application No. 2013-044601 filed in Japan on Mar. 6, 2013, the entire contents of which are incorporated herein by this reference.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP2014/053875 | Feb 2014 | US |
Child | 14485935 | US |