Computer-implemented method, computer program and diagnostic system, in particular for determining at least one geometric feature of a section of a blood vessel

11138728 · 2021-10-05

Assignee

Inventors

Cpc classification

International classification

Abstract

A computer-implemented method determines a geometric feature of a section of a blood vessel in an operating region. An image of the section is provided. An adapted blood vessel model is provided via image processing for the section by adapting a blood vessel model, which describes the section as a flow channel with a wall delimiting the latter and with an axis of symmetry. A centerline of the section of the blood vessel is determined as a contiguous pixel line. A relative spatial position of the side of the wall is ascertained based on the centerline and the image provided. The geometric feature is derived from the adapted blood vessel model. The disclosure also relates to a method for determining the length of a contiguous pixel line in an image and a system for determining a geometric feature of a section of an object.

Claims

1. A computer-implemented method for determining at least one geometric feature of a section of a blood vessel in an operating region, the at least one feature being at least one of length, wall thickness, internal diameter and external diameter of the section of the blood vessel, the method comprising: providing at least one image of the section of the blood vessel in the operating region; determining an adapted blood vessel model for the section of the blood vessel by adapting a blood vessel model, which describes the section of the blood vessel as a flow channel with a wall delimiting the flow channel and with an axis of symmetry, via image processing using at least one of the images provided; ascertaining a relative spatial position of a side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry in the at least one image provided; determining a centerline of the section of the blood vessel in a form of a contiguous pixel line in the at least one image provided from the relative spatial position of the side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry; deriving the at least one geometric feature of the section of the blood vessel in the operating region from the adapted blood vessel model; post-processing the centerline by adapting connecting structures of pixels along the contiguous pixel line on a basis of pixel neighborhoods thereof; decomposing the post-processed centerline into a plurality of contiguous segments on a basis of a criterion; and, fitting a corresponding parametric continuous function to each of the plurality of segments of the post-processed centerline by adapting function parameters such that an overall curve formed from the fitted parametric continuous functions is C1-continuous at each point.

2. The computer-implemented method of claim 1, wherein the at least one image provided is based on fluorescence light in a form of light with wavelengths lying within a fluorescence spectrum of a fluorophore flowing through the section of the blood vessel.

3. The computer-implemented method of claim 1, wherein the blood vessel model is a hollow cylinder with the axis of symmetry and the wall has a wall thickness.

4. The computer-implemented method of claim 1, wherein the relative spatial position of the side of at least one of the wall, which delimits the flow channel and which faces the axis of symmetry, and an external wall of the blood vessel is ascertained on the basis of a segmentation of the section of the blood vessel in the at least one image provided.

5. The computer-implemented method of claim 1, wherein the at least one geometric feature is at least one of: the internal diameter of the blood vessel, which is ascertained as a mean value of local internal diameters of the flow channel along the centerline in the at least one image provided; the external diameter of the blood vessel, which is ascertained as a mean value of local external diameters along the centerline in the at least one image provided; and, the wall thickness of the blood vessel, which is ascertained as a mean value of local wall thickness values of the blood vessel along the centerline in the at least one image provided.

6. The computer-implemented method of claim 1, wherein information items about a known ratio of the internal diameter and the external diameter of a human blood vessel are used when ascertaining the relative spatial position of the side of the wall which delimits the flow channel and which faces at least one of the axis of symmetry and the external wall of the blood vessel in the at least one image provided.

7. The computer-implemented method of claim 1, wherein the side of the wall which delimits the flow channel of the adapted blood vessel model and which faces the axis of symmetry is ascertained on the basis of a criterion in relation to a curve of an intensity profile orthogonal to the section of the blood vessel in the at least one image provided.

8. The computer-implemented method of claim 7, wherein the criterion in relation to the curve of the intensity profile takes account of the curvature of the curve of the intensity profile orthogonal to the section of the blood vessel in the at least one image provided.

9. The computer-implemented method of claim 1, wherein a sum of arc lengths of the parametric continuous functions which are fitted to the plurality of segments of the centerline is ascertained for ascertaining the length of the section of the blood vessel.

10. The computer-implemented method of claim 1, wherein the adapting of connecting structures of the pixels along the contiguous pixel line on the basis of the pixel neighborhood thereof includes the following steps: detecting pixel groups, each with three successive pixels, along the contiguous pixel line, wherein one pixel in each of the pixel groups is a directly neighboring pixel of the other two pixels of the pixel group and wherein the pixels of the pixel groups define a right triangle; removing the pixel lying opposite the base of the right triangle from each pixel group.

11. The computer-implemented method of claim 1, wherein a collinearity of three successive pixels of the contiguous pixel line is taken into account as a criterion for decomposing the contiguous pixel line.

12. The computer-implemented method of claim 1, wherein the parametric continuous functions are formed as Bézier curves.

13. The computer-implemented method of claim 12, wherein control points of the Bézier curves in each of the plurality of segments of the contiguous pixel line correspond to pixel centers of the pixels of the contiguous pixel line in the corresponding segment.

14. A computer-implemented method for determining a length of a contiguous pixel line in an image, the method comprising: post-processing the contiguous pixel line by adapting connecting structures of pixels along the contiguous pixel line on a basis of a pixel neighborhood thereof; decomposing the post-processed contiguous pixel line into a plurality of contiguous segments on the basis of a criterion; fitting a corresponding parametric continuous function to each of the plurality of segments of the contiguous post-processed pixel line by adapting function parameters such that an overall curve formed from the fitted parametric continuous functions is C1-continuous at each point; and, ascertaining the length of the contiguous pixel line as a sum of arc lengths of the parametric continuous functions which are fitted to the plurality of segments of the contiguous pixel line.

15. The computer-implemented method of claim 14, wherein the adapting of connecting structures of the pixels along the contiguous pixel line on the basis of the pixel neighborhood thereof includes the following steps: detecting pixel groups, each with three successive pixels, along the contiguous pixel line, wherein one pixel in each of the pixel groups is a directly neighboring pixel of the other two pixels of the pixel group and wherein the pixels of the pixel groups define a right triangle; removing the pixel lying opposite the base of the right triangle from each pixel group.

16. The computer-implemented method of claim 15, wherein a collinearity of three successive pixels of the contiguous pixel line is taken into account as a criterion for decomposing the contiguous pixel line.

17. The computer-implemented method of claim 14, wherein the parametric continuous functions are formed as Bézier curves.

18. The computer-implemented method of claim 17, wherein the control points of the Bézier curves in each of the plurality of segments of the contiguous pixel line correspond to pixel centers of the pixels of the contiguous pixel line in this segment.

19. A computer program having program code stored on a non-transitory computer readable medium, said program code being configured, when executed by a processor, to: provide at least one image of a section of a blood vessel in an operating region; determine an adapted blood vessel model for the section of the blood vessel by adapting a blood vessel model, which describes the section of the blood vessel as a flow channel with a wall delimiting the flow channel and with an axis of symmetry, via image processing using at least one of the images provided; ascertain a relative spatial position of a side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry in the at least one image provided; determine a centerline of the section of the blood vessel in a form of a contiguous pixel line in the at least one image provided from the relative spatial position of the side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry; derive the at least one geometric feature of the section of the blood vessel in the operating region from the adapted blood vessel model; post-process the centerline by adapting connecting structures of pixels along the contiguous pixel line on a basis of pixel neighborhoods thereof; decompose the post-processed centerline into a plurality of contiguous segments on a basis of a criterion; and, fit a corresponding parametric continuous function to each of the plurality of segments of the post-processed centerline by adapting function parameters such that an overall curve formed from the fitted parametric continuous functions is C1-continuous at each point.

20. A system for determining at least one geometric feature of a section of an object, wherein the object is a blood vessel in an operating region, the at least one feature being at least one of length, wall thickness, internal diameter and external diameter of a section of a blood vessel, the system comprising: a device for providing at least one image of the section of the object; a non-transitory computer readable storage medium; and a computer unit including a processor; program code stored on said non-transitory computer readable storage medium; said program code being configured, when executed by said processor, to: provide at least one image of the section of the object; determine an adapted blood vessel model for the section of the blood vessel by adapting a blood vessel model, which describes the section of the blood vessel as a flow channel with a wall delimiting the flow channel and with an axis of symmetry, via image processing using at least one of the images provided; ascertain a relative spatial position of a side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry in the at least one image provided; determine a centerline of the section of the blood vessel in a form of a contiguous pixel line in the at least one image provided from the relative spatial position of the side of the wall of the section of the blood vessel which delimits the flow channel and which faces the axis of symmetry; derive the at least one geometric feature of the section of the blood vessel in the operating region from the adapted blood vessel model; post-process the centerline by adapting connecting structures of pixels along the contiguous pixel line on a basis of pixel neighborhoods thereof; decompose the post-processed centerline into a plurality of contiguous segments on a basis of a criterion; and, fit a corresponding parametric continuous function to each of the plurality of segments of the post-processed centerline by adapting function parameters such that an overall curve formed from the fitted parametric continuous functions is C1-continuous at each point.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

(1) The invention will now be described with reference to the drawings wherein:

(2) FIG. 1 shows a surgical microscope with a system for determining at least one geometric feature of a section of a blood vessel in an operating region;

(3) FIG. 2A shows an image of an operating region with a blood vessel;

(4) FIG. 2B shows an image of the operating region with the blood vessel of FIG. 2A, captured under fluorescence excitation light, after the addition of a fluorophore;

(5) FIG. 3 shows a blood vessel model;

(6) FIG. 4A shows a segmentation of a section of a blood vessel;

(7) FIG. 4B shows a horizontal cross section of a blood vessel model for determining geometric features in the form of length, internal diameter and external diameter;

(8) FIG. 5A shows a blood vessel;

(9) FIG. 5B shows a section of the blood vessel;

(10) FIG. 5C shows an intensity profile orthogonal to the section of the blood vessel in FIG. 5B;

(11) FIG. 5D shows a second derivative of the intensity profile in FIG. 5C;

(12) FIG. 5E shows flow channel edge points of the section of the blood vessel in FIG. 5B;

(13) FIG. 5F shows an ascertained flow channel of the section of the blood vessel in FIG. 5B;

(14) FIG. 6 shows a profile of an internal diameter and an external diameter along a centerline of a section of a blood vessel;

(15) FIG. 7A to FIG. 7H show a post-processing method for a contiguous pixel line;

(16) FIG. 8 shows direct and indirect neighbors of an initial pixel in an 8-connection pixel neighborhood;

(17) FIG. 9A shows a section of the contiguous pixel line shown in FIG. 7D;

(18) FIG. 9B shows post-processing of the section of the contiguous pixel line shown in FIG. 9A;

(19) FIG. 10 shows a contiguous pixel line;

(20) FIG. 11 shows post-processing of the contiguous pixel line of FIG. 10;

(21) FIG. 12 shows a decomposition of the post-processed contiguous pixel line of FIG. 11 into segments;

(22) FIG. 13 shows an approximation of the segments in FIG. 12 by means of a respective Bézier curve;

(23) FIG. 14 shows a flowchart of a first method for determining at least one geometric feature of a section of a blood vessel in an operating region;

(24) FIG. 15 shows a flowchart of a second method for determining at least one geometric feature of a section of a blood vessel in an operating region;

(25) FIG. 16 shows a flowchart of a third method for determining at least one geometric feature of a section of a blood vessel in an operating region; and

(26) FIG. 17 shows a flowchart of a method for determining the length of an object along a contiguous pixel line in an image.

DESCRIPTION OF THE PREFERRED EMBODIMENTS OF THE INVENTION

(27) The surgical microscope 12 shown in FIG. 1 contains a system 14 for determining at least one geometric feature of a section 90 of a blood vessel 88 in an operating region 36, the geometric feature being in the group including length, internal diameter and external diameter of the blood vessel, and is configured for neurosurgical operations. The surgical microscope 12 includes a microscope main objective 20. The microscope main objective 20 is received in a microscope main body 22. The microscope main body 22 contains an adjustable magnification system 24. A left and a right observation beam path 26, 28 passes through the microscope main objective 20. A binocular tube 30 is connected to a microscope main body 22. In the left and right observation beam path 26, 28, the binocular tube 30 contains an eyepiece lens 32 and a tube lens 34. By way of the binocular tube 30, an observing person is able to stereoscopically observe an operating region 36 at a brain 37 of a patient in the present case, using a left and right observer eye 38, 40.

(28) There is an illumination device 42 in the system 14 for determining at least one geometric feature of a section 90 of a blood vessel 88 in an operating region 36. By way of an illumination beam path 44, the illumination device 42 provides illumination light 46 for the operating region 36. The illumination device 42 includes a xenon light source 48. The illumination device 42 contains further optical elements in the form of lenses 50, a light guide 52 and an illumination objective 54. The light of the xenon light source 48 is coupled into a light guide 52 via a lens system containing lenses 50. From the light guide 52, illumination light 46 reaches the operating region 36 through an illumination objective 54.

(29) The illumination device 42 contains a switchable filter assembly for adjusting the spectral composition of the illumination light 46. This filter assembly contains an illumination filter 56. In accordance with the arrow 59, the illumination filter 56 can be moved into the illumination beam path 44 and can be moved out of the illumination beam path 44.

(30) The illumination filter 56 is a bandpass filter. It is transmissive for light from the xenon light source 48 in the spectral range between 780 nm and 810 nm. By contrast, light in the spectral range below 780 nm and above 810 nm is filtered or significantly suppressed by the illumination filter 56.

(31) An observation filter 60 for the left observation beam path 26 and an observation filter 62 for the right observation beam path 28 are situated in the microscope main body 22 on the side of the magnification system 24 distant from the microscope main objective 20. In accordance with the double-headed arrows, the observation filters 60, 62 can be moved into or out of the observation beam path 26, 28. Firstly, the illumination filter 56 and, secondly, the observation filters 60, 62 have a filter characteristic that is matched to one another. To observe the operating region 36 with fluorescence light, the illumination filter 56 is inserted into the illumination beam path 44 and the observation filters 60, 62 are arranged in the observation beam paths 26, 28.

(32) The system 14 for determining at least one geometric feature of a section 90 of a blood vessel 88 in an operating region 36 in the surgical microscope 12 includes an image capturing device 64, which serves to capture images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . of the operating region 36. Observation light from the operating region 36 can be supplied to the image capturing device 64 from the right observation beam path 28, which has an optical axis 68, through the observation filter 62 and via an output coupling beam splitter 66. There is an image sensor 70 in the image capturing device 64. The image sensor 70 is sensitive to the emission wavelength of the ICG fluorophore, which is located in the spectral range from 810 nm to 830 nm, the fluorophore being supplied to a patient for the purpose of determining at least one geometric feature of a section 90 of a blood vessel 88 in an operating region 36.

(33) The image sensor 70 of the image capturing device 64 is connected to a computer unit 72. The computer unit 72 includes an input unit 74 and contains a program memory 76. The computer unit 72 is connected to a screen 78. Images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . of the operating region 36 captured at different recording times t.sub.1, t.sub.2, t.sub.3, t.sub.4, . . . are displayed on the screen. The computer unit 72 controls a display 82. By way of a beam splitter 86, the display of the display 82 is overlaid on the observation light in the right observation beam path 28 via a lens 84. For an observing person, the display of the display 82 hence is visible simultaneously with the operating region 36 in the right eyepiece of the binocular tube 30.

(34) FIG. 2A shows an operating region 36 in the brain 37 of a patient with a section 90.sub.1 and a section 90.sub.2 of a blood vessel 88.

(35) FIG. 2B shows an image 80.sub.i of the operating region 36 in FIG. 2A, which represents a blood vessel 88 with two sections 90.sub.1 and 90.sub.2, through which blood with an added fluorophore flows, when observed with fluorescence excitation light. The observation under fluorescence light leads to the spatial extent of the blood vessel, in particular the flow channel, being better visible and hence more easily determinable.

(36) A computer program which serves to determine at least one geometric feature of a section 90.sub.i of a blood vessel 88 in an operating region 36 is loaded in the program memory 76 of the computer unit 72.

(37) The computer program contains a blood vessel model M, which describes the geometry of a section 90.sub.i of the blood vessel 88.

(38) FIG. 3 shows a blood vessel model M, which describes a section 90.sub.i, i=1, 2, . . . of the blood vessel 88, shown in FIG. 2 and through which the blood of a patient flows, as a hollow cylinder of length L and with an axis of symmetry 91, the hollow cylinder having a wall 95 with a wall thickness d delimiting the latter and forming a flow channel 94, which is delimited by the side of the wall 95 of the hollow cylinder facing the axis of symmetry 91, wherein the flow channel 94 has a circular cross section Q, an internal diameter D and an external diameter G and wherein a fluid flow can pass therethrough in the direction of the arrows 93.

(39) The parameters of the blood vessel model M.sub.B.sup.Q are ascertained in the computer program, which is loaded into the program memory 76 of the computer unit 72, by processing at least one of the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided of the section 90.sub.i of the blood vessel 88. To this end, a selected image is determined from the plurality of images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . on the basis of a criterion in respect of the image brightness of the picture elements of the image, that is, the intensity of the picture elements. Since the fluorescence light causes a particularly high intensity of picture elements in the pictures, the state in which the blood vessel is maximally filled in the image with the fluorescence agent is determined by the following criterion:
I.sub.max:=max{I(x)|x∈Ω}
A:=I.sub.max.Math.|{X∈Ω|I(x)=I.sub.max}|.

(40) where Ω denotes the set of picture elements x in an image and I(x) denotes the image brightness of the image at this picture element, referred to as the intensity of the picture element x in the present case.

(41) Maximizing the value A ascertains the image which has a high maximum intensity I.sub.max and, at the same time, a large number of pixels which assume this maximum intensity value.

(42) A segmentation 96 of the flow channel 94 of the section 90.sub.i of the blood vessel 88 is then ascertained for the section 90.sub.i of the blood vessel 88, as shown in FIG. 4A. This segmentation 96 is determined initially by means of Otsu thresholding, as described in the publication “Threshold Selection Method from Gray-Level Histograms,” Nobuyuki Otsu, IEEE Trans. Sys. Man. Cyber. volume 9, no. 1, pp. 882-886, 1979, which is herewith referred to in its entirety and the disclosure of which is incorporated in the description of this invention. This initial segmentation 96 is post-processed by means of a gradient-based segmentation method that is explained on the basis of FIGS. 5A to 5F. The post-processed segmentation 96 corresponds to a segmentation 96 of the flow channel 94 of the section 90.sub.i of the blood vessel 88. From this, it is possible to derive the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91.

(43) FIG. 4B shows a horizontal cross section of a blood vessel model M for the post-processed segmentation 96 of the section 90.sub.i of the blood vessel 88 illustrated in FIG. 4A, with the parameters of the blood vessel model, which are ascertained in the computer program for determining at least one geometric feature of the section 90 of the blood vessel 88 in the operating region 36 from the segmentation 96. In this case, the centerline 98 is ascertained by means of erosion from the post-processed segmentation 96 of the section 90.sub.i of the blood vessel 88. In the process, a start point P.sub.1 and an end point P.sub.2 of the section 90.sub.i of the blood vessel 88 are defined, between which the at least one geometric feature is determined. In this case, the start point P.sub.1 and the end point P.sub.2 are located on the centerline 98. Moreover, the start point P.sub.1 lies in a range between 5% and 15%, preferably at 10%, of the overall extent of the section 90.sub.i of the blood vessel 88 along the length and the end point P.sub.2 lies in a range between 80% and 95%, preferably at 90%, of the overall extent of the section 90.sub.i of the blood vessel along the length. This avoids inaccuracies when determining the centerline 98, which inaccuracies occur, in particular, at the start and at the end of a section 90.sub.i of a blood vessel 88.

(44) The start point P.sub.1 and the end point P.sub.2 can be determined automatically by means of image processing on the basis of the centerline 98 and the specified ranges, or they can be set by a surgeon in the selected image 138.

(45) A geometric feature in the form of the length L of the considered section 90.sub.i of the blood vessel 88 is determined by virtue of ascertaining the length of the centerline section 99 of the centerline 98 between the start point P.sub.1 and the end point P.sub.2, as illustrated in FIGS. 7A to 7F.

(46) To determine a further geometric feature in the form of the external diameter G of the section 90.sub.i of the blood vessel 88, a local external diameter G.sub.L is ascertained at each point along the centerline 98 between the start point P.sub.1 and the end point P.sub.2 by virtue of a circle being defined around each point and the radius of the circle being increased until the edge of the circle touches the external wall 89 of the blood vessel 88. In this case, the external wall of the blood vessel 88 is ascertained by a segmentation 96 of the same section 90.sub.i of the blood vessel 88 in an RGB image which shows the same section 90.sub.i of the blood vessel 88 in the operating region 36. Then, the external diameter G of the section 90.sub.i of the blood vessel 88 corresponds to the mean value of all local external diameters G.sub.L.

(47) To determine a further geometric feature in the form of the internal diameter D of the section 90.sub.i of the blood vessel 88, a local internal diameter D.sub.L is ascertained at each point along the centerline 98 between the start point P.sub.1 and the end point P.sub.2 by virtue of a circle being defined around each point and the radius of the circle being increased until the edge of the circle touches the side 92 of the wall 95 of the blood vessel 88 facing the axis of symmetry 91. The side 92 of the wall 95 of the blood vessel 88 facing the axis of symmetry 91 can be determined in this case by ascertaining the edge of the segmentation 96 of the flow channel, as in FIGS. 5A to 5F. Then, the internal diameter D of the section 90.sub.i of the blood vessel 88 corresponds to the mean value of all local internal diameters D.sub.L.

(48) To determine a further geometric feature in the form of the wall thickness d of the section 90.sub.i of the blood vessel 88, the local wall thickness d.sub.L between the side 92 of the wall 95 of the blood vessel 88 facing the axis of symmetry 91 and the external wall 89 of the blood vessel is ascertained at each point along the centerline 98 between the start point P.sub.1 and the end point P.sub.2 by virtue of the difference between the local external diameter G.sub.L and the local internal diameter D.sub.L being ascertained at each point on the centerline 98 of the section 90.sub.i of the blood vessel 88. Then, the wall thickness d of the section 90.sub.i of the blood vessel 88 corresponds to the mean value of all local wall thickness values d.sub.L.

(49) FIG. 5A to FIG. 5F explain how the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 is determined in the computer program on the basis of one of the fluorescence light-based images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . captured and hence provided by means of the image capturing device 64. Since a wall 95 of the blood vessel scatters a fluorescence signal, the boundary between flow channel 94 and the wall 95 of the blood vessel is not uniquely identifiable in an image captured by means of the image capturing device 64. FIG. 5A shows a blood vessel 88 with a section 90.sub.i, selected therein, of one of the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . The selected section 90.sub.i of the blood vessel 88 can be seen in FIG. 5B. A local intensity profile I(x) in the selected image is illustrated in FIG. 5C as a curve 100 along the path x, which extends orthogonal to the section 90.sub.i of the blood vessel 88. The side 92 of the wall 95 which delimits the flow channel 94 of the adapted blood vessel model M and which faces the axis of symmetry 91 is ascertained from this curve 100 of the intensity profile I(x) in the selected image orthogonal to the section 90.sub.i of the blood vessel 88, that is, along the path x. To this end, a boundary between the flow channel 94 and the wall 95 is defined at the so-called flow channel edge points 106, at which the curvature 102 in the form of the second derivative of the intensity profile I(x) has a minimum 103 orthogonal to the section 90.sub.i of the blood vessel 88. In this case, the intensity I(x) adopts the intensity value 104.

(50) The motivation for this criterion is that the inventors used a surgical microscope 12 to record images of a material with a known wall thickness, in this case a silicone tube, filled with a blood-like medium and ICG dye and examined the intensity profile I(x) orthogonal to the edge of the silicone tube in the captured images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . . This was repeated for various diameters of the silicone tube and different arrangements of same under the surgical microscope 12. In the process, the inventors determined that, in particular, the curvature of the intensity profile I(x) orthogonal to the edge of the silicone tube in the captured images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . is suitable as a criterion for determining the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91. As shown in FIG. 5E, the curvature 102 of the curve 100 of the intensity profile I(x) is ascertained in the form of the second derivative of the intensity profile I(x). In this procedure, the boundary between the flow channel 94 and the wall 95 corresponds to the flow channel edge points 106, at which the curvature 102 of the intensity profile I(x) reaches a minimum 103 orthogonal to the section 90.sub.i of the blood vessel 88.

(51) To determine the boundary between flow channel 94 and wall 95, the computer program therefore ascertains a segmentation of the section 90.sub.i of the blood vessel 88. The edge pixels 97 of the segmentation and the gradient of the edge of the segmentation at these pixels are determined from the segmentation. An intensity profile in the at least one image provided is ascertained proceeding from the edge pixels 97 of the segmentation 96, in each case in the direction of the gradient. The flow channel edge points 106 are then determined as those points at which the curvature 102 of the intensity profile I(x) in the form of the second derivative has a minimum 103.

(52) As illustrated in FIG. 5E, the flow channel edge points 106 define the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91. As shown in FIG. 5F, the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 and also a segmentation 96 of the flow channel 94 are ascertained by connecting the flow channel edge points 106. Then, a centerline 98 of the section 90.sub.i of the blood vessel 88 is determined from the segmentation 96 of the flow channel 94 by erosion. Different geometric features of the section 90.sub.i of the blood vessel 88 can be determined on the basis of the centerline 98 and the relative spatial position of the side 92 of the wall 95 which delimits the flow channel 94 and which faces the axis of symmetry 91 and of the external wall 89 of the section 90.sub.i of the blood vessel 88. To this end, a circle is determined along the centerline 98 for each pixel of the centerline 98 and the diameter of the circle is increased until the edge of the circle touches the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91. The local diameter of the flow channel 94 ascertained thus corresponds to the local internal diameter D.sub.L of the section 90.sub.i of the blood vessel 88. The diameter of the flow channel 94, which corresponds to the internal diameter D of the section 90.sub.i of the blood vessel 88, is determined by averaging the local diameters D.sub.L for all points on the centerline 98. The external diameter G of the section 90.sub.i of the blood vessel 88 can be ascertained in the same way on the basis of the centerline 98 and the external wall 89. The distance between a flow channel edge point 106 and the external wall 89 of the blood vessel 88 then corresponds to the local wall thickness d.sub.L. This is likewise averaged for all points along the centerline 98 and the wall thickness d of the section 90.sub.i of the blood vessel 88 is determined therefrom.

(53) FIG. 6 illustrates the ascertained profile of the local external diameter G.sub.L and the ascertained profile of the local internal diameter D.sub.L for a sequence of 100 pixels along a centerline 98 of a section 90.sub.i of a blood vessel 88. Information items about a known ratio of the internal diameter and the external diameter of a human blood vessel can be used when ascertaining the relative spatial position of the side 92 of the wall 95 of the section 90.sub.i of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 in the at least one image provided. The difference between external diameter G and internal diameter D corresponds to twice the wall thickness d. As described in Nakagawa, D. et al., Wall-to-lumen ratio of intracranial arteries measured by indocyanine green angiography,” Asian Journal of Neurosurgery, 2016, volume 11, no. 4, pp. 361-364, an average human arterial wall has a normally distributed so-called wall-to-lumen ratio (WLR) of

(54) WLR := G - D 2 D = d D = 0 . 0 8 6 ± 0 . 0 2 2 ,

(55) where the mean value is 0.086 and the standard deviation is 0.022. This information item can be used to determine outliers in the flow channel edge points 106 or along the external wall 89 of the section 90.sub.i of the blood vessel 88 by virtue of local WLR values outside of a confidence interval in relation to a set level of significance, for example, 1%, being marked as erroneous.

(56) FIGS. 7A to 7H explain how a length of the centerline section 99 in the form of the centerline 98 of the considered section 90.sub.i of the blood vessel 88 between the start point P.sub.1 and the end point P.sub.2 is determined. Here, the centerline section 99 is available as a contiguous pixel line 108, the length of which is ascertained by means of a method 107 for determining length. As illustrated in FIG. 17, the method 107 contains a post-processing routine 154, a sort routine 156, a decomposition routine 158, a fitting routine 160 and a length calculation routine 162.

(57) FIG. 7A shows a section 90.sub.i of the blood vessel 88 with the centerline 98. In the image capturing device 64, the section 90.sub.i of the blood vessel 88 is imaged on a region 71 of the image sensor 70 of the image capturing device 64 shown in FIG. 7B with a resolution evident from FIG. 7C. FIG. 7D shows the discretized centerline on the image sensor 70 in the form of a contiguous pixel line 108. FIG. 7E shows a post-processed contiguous pixel line 110, in which the marked pixels are removed. To this end, the computer program contains a post-processing routine 154 which post-processes the discretized contiguous pixel line 108 in order to avoid discretization errors where possible when determining the length of the centerline 98 between the start point P.sub.1 and the end point P.sub.2. These discretization errors are 6.3% on average, as described in the article A. Naber, D. Berwanger, W. Nahm, “In Silico Modelling of Blood Vessel Segmentations for Estimation of Discretization Error in Spatial Measurement and its Impact on Quantitative Fluorescence Angiography,” 41st Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), 2019, as the result of experiments. The pixels of the post-processed contiguous pixel line 110 are sorted such that a sorted contiguous pixel line 112 in the form of a polygonal chain arises. As shown in FIG. 7G, the sorted contiguous pixel line 112 is decomposed into segments 114, 114′ with segment boundaries 116. As shown in FIG. 7H, continuous functions 118, 118′ in the form of Bézier curves are fitted to the individual segments 114, 114′ and the length L of the centerline section 99 of the section 90.sub.i of the blood vessel 88 between the start point P.sub.1 and the end point P.sub.2 is calculated as the sum of the arc integrals of the Bézier curves. To this end, the computer program contains a fitting routine 160 and a length calculation routine 162. This algorithm for determining length is particularly suitable for reducing the discretization error. The individual steps are explained on the basis of the following figures.

(58) FIG. 8 shows an 8-connected pixel neighborhood 120 of an initial pixel 122 with its neighboring pixels 124, 126, which are directly neighboring pixels 124 of the initial pixel 122 or indirectly neighboring pixels 126 of the initial pixel 122. Direct neighbors are characterized in that the distance in pixels from the initial pixel is exactly 1. By contrast, the distance in pixels of indirect neighbors 126 from the initial pixel is √2.

(59) FIGS. 9A and 9B explain the post-processing routine 154 of the computer program, which post-processes a contiguous pixel line 108 in order to reduce discretization errors and thereby, in particular, improve the determination of length. During the post-processing, the centerline 98 is post-processed by adapting connecting structures of the pixels, that is, the pixel configurations, along the contiguous pixel line 108 on the basis of the pixel neighborhoods 120 thereof to form adapted connecting structures 134. In particular, the number of connecting structures occurring along the contiguous pixel line 108 of the centerline 98 is reduced in the process. To this end, pixels are removed from the contiguous pixel line 108. As shown in FIGS. 9A and 9B, the post-processing routine 154 of the computer program corrects the contiguous pixel line 108 of the centerline 98 by considering pixel neighborhoods 120. To this end, the pixel neighborhood 120 which surrounds each pixel along the centerline 98 and is in the form of the 8-connected pixel neighborhood is considered for each pixel along the centerline 98. L-shaped connecting structures as in FIG. 9A are replaced in the process by diagonal connecting structures in FIG. 9B. To this end, pixel groups 128 with in each case three successive pixels along the contiguous pixel line 108 are detected in a first step, wherein one pixel in each pixel group 128 is a directly neighboring pixel 124 of the other two pixels of the pixel group 128 and wherein the pixels of the pixel groups 128 define a right triangle 130. In a second step, the pixel 132 opposite the base of the right triangle 130 is removed from each pixel group 128. In this way, a post-processed contiguous pixel line 110 arises from the contiguous pixel line 108.

(60) FIGS. 10 to 13 explain the steps of the method of determining length for the contiguous pixel line 108 in FIG. 10.

(61) The post-processing routine 154 adapts the connecting structures of the pixels along the contiguous pixel line in FIG. 10, as explained in FIGS. 9A and 9B. In the process, pixel groups 128 of three pixels each are detected, wherein one pixel in each pixel group is a directly neighboring pixel of the other two pixels of the pixel group and wherein the pixels of the pixel groups 128 define a right triangle 130. The pixels 132 lying opposite the base of the right triangle 130 are removed from the contiguous pixel line 108, as a result of which a post-processed contiguous pixel line 110 arises. By reducing the number of connecting structures, it is possible to assign a unique sort to the pixels along the post-processed contiguous pixel line 110 in the sort routine 156. This is because each pixel—apart from the start and end pixel of the post-processed contiguous pixel line 110—has exactly two neighboring pixels within the pixel neighborhood 120 considered, and so a path from the start point to the end point of the post-processed contiguous pixel line 110 is uniquely determined.

(62) FIG. 12 elucidates the decomposition of the post-processed contiguous pixel line 110 into segments 114, 114′, 114″, 114′″ in the decomposition routine 158. The following criteria are considered during the decomposition: Each segment 114, 114′, 114″, 114′″ contains at least four pixels, with pixels on segment boundaries belonging to both adjacent segments. The segment boundaries are set in such a way that the pixel of the segment boundary forms collinear pixels 117 with the preceding pixel and the subsequent pixel; that is, these lie along one line.

(63) The post-processed contiguous pixel line 110 is traversed from its start pixel to its end pixel in the sequence set by the sort routine 156. The start pixel is the first pixel of the first segment 114. The fourth pixel of the first segment 114 is not collinear with the preceding and the subsequent pixel. Only the fifth pixel forms collinear pixels 117 with the preceding pixel and the subsequent pixel. Therefore, a segment boundary 116 is set at this pixel and the first segment 114 is terminated. The pixel of the segment boundary 116 is the first pixel of the next segment 114′ at the same time. There are collinear pixels 117 at the antepenultimate pixel of the post-processed contiguous pixel line. However, no segment boundary 136 is inserted here because otherwise the last segment would contain fewer than four pixels. Therefore, the last two pixels of the post-processed contiguous pixel line 110 are added to the segment 114′″.

(64) As illustrated in FIG. 13, continuous functions 118, 118′, 118”, 118′″ are fitted to the individual segments 114, 114′, 114″, 114′″ in the fitting routine 160. Bézier curves are chosen as continuous functions. The control points of a Bézier curve in a segment 114, 114′, 114″, 114′″ in this case correspond to the pixel centers 121 of the pixels belonging to this segment 114, 114′, 114″, 114′″. On account of the collinearity of the pixels at the segment boundaries 116, the overall curve formed from the individual fitted continuous functions 118, 118′, 118”, 118′″ is C1 continuous. The length of the contiguous pixel line 108 is calculated in the length calculation routine 162 by virtue of ascertaining the sum of the arc lengths of the individual continuous functions 118, 118′, 118″, 118′″ which were fitted to the segments 114, 114′, 114″, 114′″. In this way, a particularly simple and fast approximation of the contiguous pixel line 108 is achieved and discretization errors within the scope of the length calculation are reduced.

(65) FIG. 14 shows a flowchart of a method 10 for determining at least one geometric feature of a section 90.sub.i of a blood vessel 88 in an operating region 36. In an image selection step 140, an image is selected from the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided. The selected image 138 is segmented in an image segmentation step 142. From the segmentation 96, a centerline 98 is determined in a centerline calculation step 144 and a side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 is determined in a flow channel wall side calculation step 146. A start point P.sub.1 and an end point P.sub.2 of the centerline 98 is ascertained in a start and end point calculation step 148. Then, a geometric feature of the section 90.sub.i of the blood vessel 88 in the form of the length of the section 90.sub.i of the blood vessel 88 is determined by ascertaining the length of the centerline section 99 between the start point P.sub.1 and the end point P.sub.2 in a length calculation step 150. By way of example, the number of pixels in the centerline section 99 can serve as the length of the centerline section 99.

(66) As an alternative or in addition to the length, one or more further geometric features of the section 90.sub.i of the blood vessel 88 in the form of the internal diameter D, the external diameter G and/or the wall thickness d are ascertained, as described above on the basis of FIGS. 4 to 6, from the centerline 98, the segmentation 96 of the section 90.sub.i of the blood vessel 88 and the side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91.

(67) FIG. 15 shows a flowchart of a further method 10′ for determining at least one geometric feature of a section 90.sub.i of a blood vessel 88 in an operating region 36. In an image selection step 140, an image is selected from the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided. The selected image 138 is segmented in an image segmentation step 142. From the segmentation 96, a centerline 98 is determined in a centerline calculation step 144 and a side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 is determined in a flow channel wall side calculation step 146. A start point P.sub.1 and an end point P.sub.2 of the centerline 98 are ascertained in a start and end point calculation step 148. The centerline section 99 corresponds to a contiguous pixel line 108. The centerline 98 is post-processed in a post-processing routine 154, as described on the basis of FIG. 9, and the pixels are sorted in a sort routine 156. The post-processed centerline is decomposed into segments 114 in a decomposition routine 158 and continuous functions 118 are fitted to the segments in a fitting routine 160. Then, a geometric feature of the section 90.sub.i of the blood vessel 88 in the form of the length of the section 90.sub.i of the blood vessel 88 is determined by ascertaining the sum of the arc lengths of the fitted continuous functions 118 in a length calculation routine 162.

(68) As an alternative or in addition to the length, one or more further geometric features of the section 90.sub.i of the blood vessel 88 in the form of the internal diameter D, the external diameter G and/or the wall thickness d are ascertained, as described above on the basis of FIGS. 4 to 6, from the centerline 98, the segmentation 96 of the section 90.sub.i of the blood vessel 88 and the side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91.

(69) FIG. 16 shows a flowchart of a further method 10″ for determining at least one geometric feature of a section 90.sub.i of a blood vessel 88 in an operating region 36. In an image selection step 140, an image is selected from the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided. The selected image 138 is segmented in an image segmentation step 142. From the segmentation 96, a centerline 98 is determined in a centerline calculation step 144 and a side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91 is determined in a flow channel wall side calculation step 146. A start point P.sub.1 and an end point P.sub.2 of the centerline 98 are ascertained in a start and end point calculation step 148. The centerline section 99 corresponds to a contiguous pixel line 108. The centerline 98 is post-processed in a post-processing routine 154, as described on the basis of FIG. 9, and the pixels are sorted in a sort routine 156. The post-processed centerline is decomposed into segments 114 in a decomposition routine 158 and continuous functions 118 are fitted to the segments in a fitting routine 160. Then, a geometric feature of the section 90.sub.i of the blood vessel 88 in the form of the length of the section 90.sub.i of the blood vessel 88 is determined by ascertaining the sum of the arc lengths of the fitted continuous functions 118 in a length calculation routine 162.

(70) As an alternative or in addition to the length, one or more further geometric features of the section 90.sub.i of the blood vessel 88 in the form of the internal diameter D, the external diameter G and/or the wall thickness d are ascertained, as described above on the basis of FIGS. 4 to 6, from the fitted centerline in the form of the overall curve of the continuous functions 118 which were fitted to the segments 114 of the post-processed centerline, the segmentation 96 of the section 90.sub.i of the blood vessel 88 and the side 92 of the wall 95 of the blood vessel 88 which delimits the flow channel 94 and which faces the axis of symmetry 91.

(71) FIG. 17 shows a flowchart of a method 107 for determining the length of an object captured by means of an image capturing device, which ascertains a length L for a contiguous pixel line 108. A post-processed contiguous pixel line 110 is determined from the contiguous pixel line 108 in a post-processing routine 154. The pixels of the contiguous pixel line 110 are sorted in a sort routine 156. The post-processed contiguous pixel line 110 is decomposed into segments 114 in a decomposition routine 158. Continuous functions 118 are fitted to the individual segments 114 in a fitting routine 160. The length L of the contiguous pixel line 108 is ascertained in a length calculation routine 162 by virtue of the arc length of the overall curve formed from the segments 114 being calculated.

(72) In summary, the following, in particular, should be noted: The invention relates to a computer-implemented method 10, 10′, 10″ for determining at least one geometric feature of a section 90.sub.1, 90.sub.2, 90.sub.3, . . . of a blood vessel 88 in an operating region 36, the feature being contained in the group containing length L, wall thickness d, internal diameter D and external diameter G of the section 90.sub.1, 90.sub.2, 90.sub.3, . . . of the blood vessel 88, in which at least one image 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . of the section 90.sub.1, 90.sub.2, 90.sub.3, . . . of the blood vessel 88 in the operating region 36 is provided and in which an adapted blood vessel model M is provided by means of image processing for the section 90.sub.1, 90.sub.2, 90.sub.3, . . . of the blood vessel 88 by adapting a blood vessel model M, which describes the section 90.sub.1, 90.sub.2, 90.sub.3, . . . of the blood vessel 88 as a flow channel 94 with a wall 95 delimiting the latter and with an axis of symmetry 91, at at least one of the images 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided, wherein a centerline 98 of the section 90.sub.1, 90.sub.2, 90.sub.3 . . . , of the blood vessel 88 is determined in the form of a contiguous pixel line 108 in the at least one image 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4 . . . , provided, wherein a relative spatial position of the side 92 of the wall 95 which delimits the flow channel 94 and which faces the axis of symmetry 91 is ascertained on the basis of the centerline 98 and the at least one image 80.sub.1, 80.sub.2, 80.sub.3, 80.sub.4, . . . provided, and wherein the at least one geometric feature of the section 90.sub.1, 90.sub.2, 90.sub.3, . . . of the blood vessel 88 in the operating region 36 is derived from the adapted blood vessel model M. The invention also relates to a computer-implemented method for determining the length of a contiguous pixel line in an image and a system for determining at least one geometric feature of a section 90.sub.1, 90.sub.2, 90.sub.3, . . . of an object.

(73) It is understood that the foregoing description is that of the preferred embodiments of the invention and that various changes and modifications may be made thereto without departing from the spirit and scope of the invention as defined in the appended claims.

LIST OF REFERENCE SIGNS

(74) 10, 10′, 10″ Method 12 Surgical microscope 14 System for determining the blood volume flow 20 Microscope main objective 22 Microscope main body 24 Magnification system 26 Left observation beam path 28 Right observation beam path 30 Binocular tube 32 Eyepiece lens 34 Tube lens 36 Operating region 37 Brain 38 Left observer eye 40 Right observer eye 42 Illumination device 44 Illumination beam path 46 Illumination light 48 Xenon light source 50 Lens 52 Light guide 54 Illumination objective 56 First illumination filter 58 Second illumination filter 59 Arrow 60 Observation filter for the left observation beam path 62 Observation filter for the right observation beam path 64 Image capturing device 66 Output coupling beam splitter 68 Optical axis 70 Image sensor 71 Region 72 Computer unit 74 Input unit 76 Program memory 78 Screen 80.sub.1 Image 1 80.sub.2 Image 2 80.sub.3 Image 3 80.sub.4 Image 4 82 Display 84 Lens 86 Beam splitter 88 Blood vessel 89 External wall 90.sub.1, 90.sub.2, 90.sub.3 Section 91 Axis of symmetry 92 Side of the wall of the blood vessel facing the axis of symmetry 93 Arrow 94 Flow channel 95 Wall 96 Segmentation 97 Edge pixel 98 Centerline 99 Centerline section 100 Curve 102 Curvature 103 Minimum 104 Point with minimum curvature 106 Flow channel edge point 107 Method 108 Contiguous pixel line 110 Post-processed contiguous pixel line 112 Sorted contiguous pixel line 114, 114′, 114″, 114′″ Segments 116 Segment boundary 117 Collinear pixels 118, 118′, 118″, 118′″ Continuous function 120 Pixel neighborhood 121 Pixel center 122 Initial pixel 124 Directly neighboring pixel 126 Indirectly neighboring pixel 128 Pixel group 130 Right triangle 132 Pixel opposite to the base of the right triangle 134 Adapted connecting structure 136 No segment boundary 138 Selected image 140 Image selection 142 Image segmentation 144 Centerline calculation 146 Flow channel wall side calculation 148 Start point and end point calculation 150 Length Calculation 152 Diameter and wall thickness calculation routine 154 Post-processing routine 156 Sort routine 158 Decomposition routine 160 Fitting routine 162 Length calculation routine M Blood vessel model t.sub.1, t.sub.2, t.sub.3, t.sub.4 Recording times L Length of the section of the blood vessel Q Cross section of the flow channel D Internal diameter D.sub.L Local diameter G External diameter G.sub.L Local external diameter d Wall thickness d.sub.L Local wall thickness P.sub.1, P.sub.1m Start point P.sub.2, P.sub.2m End point B, B.sub.approx Arc length