CN115330756A - Light and shadow feature-based guide wire identification method and system in OCT image - Google Patents

Light and shadow feature-based guide wire identification method and system in OCT image Download PDF

Info

Publication number
CN115330756A
CN115330756A CN202211237459.4A CN202211237459A CN115330756A CN 115330756 A CN115330756 A CN 115330756A CN 202211237459 A CN202211237459 A CN 202211237459A CN 115330756 A CN115330756 A CN 115330756A
Authority
CN
China
Prior art keywords
guide wire
oct image
curve
accumulation curve
light
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211237459.4A
Other languages
Chinese (zh)
Other versions
CN115330756B (en
Inventor
张仕瑞
赵士勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Hengyu Medical Technology Co ltd
Original Assignee
Tianjin Hengyu Medical Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Hengyu Medical Technology Co ltd filed Critical Tianjin Hengyu Medical Technology Co ltd
Priority to CN202211237459.4A priority Critical patent/CN115330756B/en
Publication of CN115330756A publication Critical patent/CN115330756A/en
Application granted granted Critical
Publication of CN115330756B publication Critical patent/CN115330756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0012Biomedical image inspection
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10072Tomographic images
    • G06T2207/10101Optical tomography; Optical coherence tomography [OCT]

Abstract

The invention discloses a method and a system for identifying a guide wire in an OCT image based on light and shadow characteristics, wherein the method comprises the following steps: acquiring an OCT image, and removing a catheter area in the OCT image; obtaining a gray value accumulation curve of the OCT image without the catheter area and smoothing the obtained gray value accumulation curve; accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve; and obtaining the position of the guide wire according to the step length accumulation curve, and correcting the position of the guide wire to finish the identification of the guide wire. The guide wire position is judged frame by frame according to the step-size accumulation curve, and then the guide wire is corrected according to the front reference frame and the rear reference frame.

Description

Light and shadow feature-based guide wire identification method and system in OCT image
Technical Field
The invention relates to the technical field of OCT image recognition, in particular to a method and a system for recognizing a guide wire in an OCT image based on light and shadow characteristics.
Background
Optical Coherence Tomography (OCT) can guide Percutaneous Coronary Intervention (PCI). Compared with the simple radiography, the method can optimize the stent implantation guidance and clinical prognosis, namely improve the expansion and adherence conditions of the stent, reduce the complication incidence rate of the stent implantation and the like.
One OCT scan can obtain 200 to 300 image sequences, and three kinds of shadows generally exist in the images, namely: a guide wire, a stent, a vessel branch, etc., as shown in fig. 1. According to the current OCT image acquisition method, a guide wire and a light shadow formed by the guide wire have to appear in an image, and the guide wire light shadow is similar to the light shadow of a wider stent and is easily confused (as shown in fig. 2), which brings obstacles for further research and engineering of an image processing algorithm taking an OCT image as a research object.
In the prior art, for identification and removal of a guide wire in OCT, direct pixel correction is mostly adopted, for example, in a patent with a patent number of cn201910839921.X and named as an intravascular optical coherence tomography blood vessel wall inner contour automatic identification method, when identifying the guide wire, "an image Inone is traversed according to the number of lines in a column coordinate range of 0 to n/5, and if the number of pixels which are continuously 1 in the same line is less than 20, the pixels are set to 0, so that the guide wire is removed.
Disclosure of Invention
Therefore, an object of the present invention is to provide a method and a system for identifying a guidewire in an OCT image based on light and shadow features, which identify a guidewire presence region based on the light and shadow features in the OCT image.
In order to achieve the above object, the method for identifying a guide wire in an OCT image based on light and shadow features of the present invention includes the following steps:
s1, acquiring an OCT image, and removing a catheter area in the OCT image;
s2, obtaining a gray value accumulation curve of the OCT image without the catheter area and smoothing the obtained gray value accumulation curve;
s3, accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve;
and S4, obtaining the guide wire position according to the step-length accumulation curve, correcting the guide wire position and finishing the identification of the guide wire.
Further preferably, in S1, the acquiring the OCT image and removing the catheter region in the OCT image includes the following steps:
s101, obtaining an OCT image under a polar coordinate system;
s102, identifying a catheter region for acquiring an OCT image;
s103, reassigning the pixel values of the identified catheter area;
and S104, transforming the OCT image after the assignment processing to a plane rectangular coordinate system.
Further preferably, in S2, the method further includes performing binarization processing on the OCT image from which the catheter region is removed, and performing gray value accumulation calculation on the binarized image to obtain a gray value accumulation curve.
Further preferably, in S2, the cumulative gray-level value curve obtained by removing the OCT image of the catheter region is expressed by the following formula:
Figure DEST_PATH_IMAGE001
in the formula (I), the compound is shown in the specification,
Figure 544318DEST_PATH_IMAGE002
which represents the cumulative curve of the gray-value,
Figure DEST_PATH_IMAGE003
representing the OCT image height in planar rectangular coordinates,
Figure 416328DEST_PATH_IMAGE004
representing the plane rectangular coordinate
Figure DEST_PATH_IMAGE005
Go to the first
Figure 485784DEST_PATH_IMAGE006
OCT image pixel values of the column.
Further preferably, in S2, the smoothing of the obtained gray-scale value accumulation curve includes: according to the set smoothing times
Figure DEST_PATH_IMAGE007
And flat slider length
Figure 41530DEST_PATH_IMAGE008
And smoothing the obtained gray value accumulation curve according to the following formula:
Figure DEST_PATH_IMAGE009
in the formula:
Figure 905450DEST_PATH_IMAGE010
which represents the curve after the smoothing is completed,
Figure DEST_PATH_IMAGE011
which represents the cumulative curve of the gray-value,
Figure 15488DEST_PATH_IMAGE012
representing the width of the OCT image in planar rectangular coordinates.
Further preferably, in S3, the step size is accumulated according to a preset step size, and an obtained step size accumulation curve is represented according to the following formula:
Figure DEST_PATH_IMAGE013
in the formula (I), the compound is shown in the specification,
Figure 360407DEST_PATH_IMAGE014
a step-size accumulation curve is shown,
Figure DEST_PATH_IMAGE015
which represents a smoothing curve, is shown,
Figure 770659DEST_PATH_IMAGE016
represents the width of an OCT image in a plane rectangular coordinate,
Figure DEST_PATH_IMAGE017
and representing the accumulation step length, wherein the accumulation step length is taken as the guide wire width.
Further preferably, in S4, the obtaining the position of the guide wire according to the step-size summation curve includes: in OCT image
Figure 71060DEST_PATH_IMAGE018
Middle handle curve
Figure DEST_PATH_IMAGE019
Abscissa corresponding to lowest value
Figure 933973DEST_PATH_IMAGE020
Regarding the center position of the guide wire, the curve is processed according to the following formula
Figure DEST_PATH_IMAGE021
Continuously taking the minimum value to obtain the position of the guide wire;
Figure 345232DEST_PATH_IMAGE022
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE023
is shown as
Figure 344412DEST_PATH_IMAGE024
The position of the guide wire in the frame image,
Figure DEST_PATH_IMAGE025
is shown as
Figure 815714DEST_PATH_IMAGE024
And accumulating the curve according to the corresponding step length of the frame.
Further preferably, in S4, when the guide wire position is obtained and corrected according to the step-size accumulation curve, the method includes:
s401, setting guide wire correction reference frame number
Figure 697082DEST_PATH_IMAGE026
Correcting the tolerance of the guide wire
Figure DEST_PATH_IMAGE027
Probability distribution function
Figure 914961DEST_PATH_IMAGE028
And each frame of guide wire position parameters
Figure DEST_PATH_IMAGE029
(ii) a The guide wire correction reference frame number
Figure 34227DEST_PATH_IMAGE030
The method comprises the following steps of (1) setting reference frames with different weight coefficients in front and back adjacent frames, front and back odd or even frames and front and back;
s402, calculating the probability distribution of the guide wire position of the current frame according to the following formula
Figure DEST_PATH_IMAGE031
Figure 410850DEST_PATH_IMAGE032
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE033
is shown as
Figure 982777DEST_PATH_IMAGE034
The probability distribution of the position of the guide wire is framed,
Figure DEST_PATH_IMAGE035
denotes the first
Figure 735838DEST_PATH_IMAGE036
Frame guide wire position;
s403, obtaining the formula
Figure DEST_PATH_IMAGE037
Abscissa corresponding to maximum function value
Figure 240769DEST_PATH_IMAGE038
In the area of the handle
Figure DEST_PATH_IMAGE039
Regions may exist for the guidewire to be considered, otherwise corrections are made.
Further preferably, the corrected guidewire position is expressed according to the following formula:
Figure 788294DEST_PATH_IMAGE040
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE041
is shown as
Figure 113096DEST_PATH_IMAGE042
Corrected guidewire position for the frame.
The invention also provides a light and shadow feature-based guide wire identification system in the OCT image, which is used for implementing the light and shadow feature-based guide wire identification method in the OCT image, and comprises the following steps: the image acquisition module is used for acquiring the OCT image and removing the catheter area in the OCT image; the smoothing processing module is used for removing the OCT image of the catheter area to obtain a gray value accumulation curve and smoothing the obtained gray value accumulation curve; the curve calculation module is used for accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve; and the guide wire correcting module is used for obtaining the position of the guide wire according to the step length accumulation curve, correcting the position of the guide wire and finishing the identification of the guide wire.
Compared with the prior art, the method and the system for identifying the guide wire in the OCT image based on the light and shadow characteristics at least have the following advantages:
according to the method, gray value accumulation processing is adopted in an OCT image for removing a catheter area, a step-size accumulation curve is further obtained, the position of the guide wire is judged frame by frame according to the step-size accumulation curve, the guide wire is corrected according to front and back reference frames, and the judgment is directly carried out according to pixel values.
In the method, the positions of the guide wires obtained from the current frame are corrected according to the probability distribution function of the front and rear reference frames, the scheme is more scientific, and the influence on the internal environment of other blood vessels is avoided when the guide wires are deleted in the later period.
Drawings
Fig. 1 is an OCT image in a rectangular plane coordinate system in which three kinds of light and shadow exist in the background art.
FIG. 2 is an OCT image in a rectangular plane coordinate system with a wide stent in the background art.
Fig. 3 is an OCT image in a polar coordinate system acquired in example 1 of the present application.
Fig. 4 is an OCT image in a rectangular plane coordinate system with the catheter region removed in example 1 of the present application.
Fig. 5 is an OCT image in a polar coordinate system in embodiment 2 of the present application.
Fig. 6 is an OCT image in a plane orthogonal coordinate system with a catheter region removed in embodiment 2 of the present application.
FIG. 7 is a graph of the effect of OCT image and Otsu processing in a rectangular planar coordinate system according to the present application.
FIG. 8 is a plot of the present application along the abscissa
Figure DEST_PATH_IMAGE043
Of variation
Figure 672778DEST_PATH_IMAGE044
Direction accumulation value curve.
Fig. 9 is a graph of an accumulated value after smoothing in the present application.
Fig. 10 is a schematic diagram of a step-size summation curve and a guide wire position in the present application.
Fig. 11 is a schematic diagram of a step-size accumulation curve, a guide wire position, and a corresponding probability distribution curve in the first frame shown in embodiment 3 of the present application.
Fig. 12 is a schematic diagram of a step-size accumulation curve, a guide wire position, and a corresponding probability distribution curve in the second frame shown in embodiment 3 of the present application.
Fig. 13 is a schematic diagram of a step-size accumulation curve, a guidewire position, and a corresponding probability distribution curve in the third frame shown in embodiment 3 of the present application.
Fig. 14 is a schematic diagram of a step-size accumulation curve, a guide wire position, and a corresponding probability distribution curve in the fourth frame shown in embodiment 3 of the present application.
Fig. 15 is a schematic diagram of a step-size accumulation curve, a guide wire position, and a corresponding probability distribution curve in the fifth frame shown in embodiment 3 of the present application.
Figure 16 is a probability distribution curve for guidewire position in the present application and corrected guidewire position for figure 13.
Fig. 17 is a schematic flowchart of a method for identifying a guide wire in an OCT image based on light and shadow features according to the present application.
Detailed Description
The invention is described in further detail below with reference to the figures and the detailed description.
As shown in fig. 17, an embodiment of an aspect of the present invention provides a method for identifying a guidewire in an OCT image based on light and shadow features.
The method comprises the following steps:
s1, acquiring an OCT image, and removing a catheter area in the OCT image;
s2, obtaining a gray value accumulation curve of the OCT image without the catheter area and smoothing the obtained gray value accumulation curve;
s3, accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve;
and S4, obtaining the guide wire position according to the step length accumulation curve, correcting the guide wire position and completing the identification of the guide wire.
As shown in fig. 3, in S1, the acquiring the OCT image and removing the catheter region in the OCT image includes the steps of:
s101, obtaining an OCT image under a polar coordinate system;
s102, identifying a catheter region for acquiring an OCT image;
s103, reassigning the pixel values of the identified catheter area;
and S104, transforming the OCT image subjected to assignment processing into a plane rectangular coordinate system.
Example 1 in a polar coordinate system
Figure DEST_PATH_IMAGE045
Line of
Figure 953587DEST_PATH_IMAGE045
Column(s) of
Figure 468750DEST_PATH_IMAGE046
OCT image
Figure DEST_PATH_IMAGE047
The catheter region is selected by the physician. The method assumes that the catheter region is circular, i.e. the received information is the center coordinates and radius of the catheter region, as shown in FIG. 3
Figure 15269DEST_PATH_IMAGE048
Shown in the graph. Then the region is mapped to a planar rectangular coordinate system region, and the planar rectangular coordinate system region is subjected to planar rectangular coordinate system
Figure DEST_PATH_IMAGE049
Line of
Figure 616191DEST_PATH_IMAGE050
Column(s) of
Figure DEST_PATH_IMAGE051
OCT image
Figure 564555DEST_PATH_IMAGE052
Where the area pixel values are set to zero or to smaller values as in figure 4. Figure 3 is an OCT image in a polar coordinate system,
Figure 985041DEST_PATH_IMAGE048
the curve represents the region of the catheter selected by the physician (assuming that the region is circular, centered at the very center of the image). Figure 4 is an OCT image in a planar orthogonal coordinate system with the catheter region removed (zeroed).
Example 2 the reason for the catheter region being selected by the physician is that in the clinic the catheter region (assuming that the region is circular, its center of the circle) is not necessarily centered in the OCT image. When the catheter region is not exactly centered in the OCT image, the corresponding region in the plane orthogonal coordinate system should be changed, as shown in fig. 5 and 6. Fig. 5 shows, in a polar coordinate system, an OCT image,
Figure DEST_PATH_IMAGE053
the curve represents a region of the catheter selected by the physician (assuming that the region is circular, it is not centered in the image). FIG. 6 is a view of the catheter area of FIG. 5
Figure 18856DEST_PATH_IMAGE053
And the OCT image under the plane rectangular coordinate system with the area in the curve removed (set to be zero).
It should be noted that the conduit region "is assumed to be circular for convenience of description and handling. It is also within the scope of this patent to assume that the catheter region is treated as an arbitrary polygon. The size of the row and column of the image under the polar coordinate system and the image under the plane rectangular coordinate system have no absolute relation and can be arbitrarily scaled. Are intended to be covered by this patent. It is within the scope of this patent to describe that "pixel value set to zero" may be replaced by "pixel value set to low".
And S2, performing binarization processing on the OCT image without the catheter area, and performing gray value accumulation calculation on the image after binarization processing to obtain a gray value accumulation curve.
Further, the original image is not binarized, and gray value accumulation is directly carried out to obtain a curve
Figure 933723DEST_PATH_IMAGE054
And are intended to be covered by the present patent. Binarization is performed to facilitate reduction of noise vs. curve in the image
Figure 519949DEST_PATH_IMAGE054
The effect of the degree of smoothing. Firstly, under the rectangular plane coordinate system, the pair
Figure 862069DEST_PATH_IMAGE049
Line for mobile communication terminal
Figure 914339DEST_PATH_IMAGE050
Column(s) of
Figure DEST_PATH_IMAGE055
OCT image
Figure 351005DEST_PATH_IMAGE052
The binarization is performed by, but not limited to, otsu's method, and the processing effect is shown in FIG. 7. And in the image, respectively different
Figure 805120DEST_PATH_IMAGE056
Corresponding to
Figure DEST_PATH_IMAGE057
Accumulating all the pixel values in the direction to obtain a curve
Figure 36250DEST_PATH_IMAGE058
As shown in fig. 8.
In S2, the cumulative gray-level curve obtained by removing the OCT image of the catheter region is expressed by the following formula 1:
Figure DEST_PATH_IMAGE059
(formula 1)
In the formula (I), the compound is shown in the specification,
Figure 44658DEST_PATH_IMAGE060
which represents a cumulative curve of the gray-value,
Figure DEST_PATH_IMAGE061
representing the OCT image height in a planar rectangular coordinate system,
Figure 285015DEST_PATH_IMAGE062
representing the plane rectangular coordinate
Figure DEST_PATH_IMAGE063
Go to the first
Figure 62478DEST_PATH_IMAGE064
OCT image pixel values of the column.
Next, in S2, the smoothing processing on the obtained gray-value accumulation curve includes: according to the set smoothing times
Figure DEST_PATH_IMAGE065
Length of the flat slide
Figure 467439DEST_PATH_IMAGE066
And smoothing the obtained gray value accumulation curve according to the following formula:
Figure DEST_PATH_IMAGE067
(formula 2)
In the formula:
Figure 697563DEST_PATH_IMAGE068
it is shown that the curve after the smoothing,
Figure DEST_PATH_IMAGE069
the curve of the original curve is shown,
Figure 741611DEST_PATH_IMAGE070
and the width of the OCT image under a plane rectangular coordinate system is shown.
The purpose of curve smoothing is: and the influence of noise in the image on the smoothness of the curve is reduced. Therefore, the smoothing method itself may use the above mathematical expression, but is not limited to the above mathematical expression. It is within the scope of this patent to use "curve smoothing" as a direct or indirect method of objective.
Completely replacing the original curve after each smoothing, i.e.:
Figure DEST_PATH_IMAGE071
Until the smoothing times reach
Figure 108002DEST_PATH_IMAGE072
Next, the process is carried out. Get
Figure DEST_PATH_IMAGE073
The time curve smoothing effect is shown in FIG. 9 by
Figure 946514DEST_PATH_IMAGE074
And (4) curve representation.
Further in S3, the step length accumulation curve obtained by accumulating according to the preset step length is used for the purpose of curve step length accumulation, which is to find a "continuous low value" interval in the curve. It is within the scope of this patent to express the following mathematical expressions, but not limited to the method. Specifically including the hypothetical width of the guide wire
Figure DEST_PATH_IMAGE075
And as the step length, performing step length accumulation on the curve, wherein the expression of the step length accumulation curve is as follows:
Figure 929513DEST_PATH_IMAGE076
(formula 3)
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE077
a step-size accumulation curve is shown,
Figure 511673DEST_PATH_IMAGE078
which represents a smoothing curve, is shown,
Figure 529308DEST_PATH_IMAGE056
representing the width of an OCT image in a plane rectangular coordinate system,
Figure DEST_PATH_IMAGE079
represents the accumulation step length, saidThe accumulated step length is taken as the guide wire width.
Finally, based on step length accumulation curve
Figure 807230DEST_PATH_IMAGE077
Deriving position of guide wire, i.e. in OCT image
Figure 277525DEST_PATH_IMAGE080
Middle handle curve
Figure DEST_PATH_IMAGE081
Abscissa corresponding to lowest value
Figure 663376DEST_PATH_IMAGE082
The position is regarded as the center position of the guide wire. As shown in FIG. 10, the step-size accumulation curve is composed of
Figure 801097DEST_PATH_IMAGE058
Showing the position of the guide wire by a straight line
Figure DEST_PATH_IMAGE083
And (4) showing. In common with
Figure 997723DEST_PATH_IMAGE084
In the frame OCT image sequence, let
Figure DEST_PATH_IMAGE085
For the guidewire position, then:
Figure 939003DEST_PATH_IMAGE086
(formula 4)
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE087
is shown as
Figure 3911DEST_PATH_IMAGE088
The position of the guide wire in the frame image,
Figure DEST_PATH_IMAGE089
is shown as
Figure 730558DEST_PATH_IMAGE090
And accumulating the curve according to the corresponding step length of the frame.
When a wider stent is present in the OCT image, the stent may be misidentified as a guidewire. In order to reduce guide wire misjudgment, after all frame guide wires are identified, the guide wire position is corrected according to the characteristic that the guide wire positions of the front frame and the rear frame are relatively continuous. Specifically, in S4, when the position of the guide wire is obtained and corrected according to the step-size accumulation curve, the method includes the following steps: setting guide wire correction reference frame number
Figure DEST_PATH_IMAGE091
Correcting tolerance for guidewire
Figure 96423DEST_PATH_IMAGE092
Probability distribution function
Figure 541310DEST_PATH_IMAGE028
And setting the position of each guide wire
Figure DEST_PATH_IMAGE093
. To the first
Figure 268964DEST_PATH_IMAGE094
When the frame carries out guide wire correction, the probability distribution of the guide wire position of the current frame is obtained based on the guide wire positions of the previous frame and the next frame
Figure DEST_PATH_IMAGE095
The expression is as follows:
Figure 115697DEST_PATH_IMAGE096
(formula 5)
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE097
is shown as
Figure 637814DEST_PATH_IMAGE098
The probability distribution of the position of the guide wire of the frame,
Figure DEST_PATH_IMAGE099
is shown as
Figure 304419DEST_PATH_IMAGE100
Frame guidewire position.
The above mathematical expression is not limited. Guide wire correction reference frame number
Figure DEST_PATH_IMAGE101
The method comprises the following steps of (1) setting reference frames with different weight coefficients in front and back of adjacent frames, front and back odd or even frames and front and back of frames; are intended to be covered by this patent.
S403, obtaining the formula
Figure 570184DEST_PATH_IMAGE102
Abscissa corresponding to maximum function value
Figure DEST_PATH_IMAGE103
In the area of the handle
Figure 5845DEST_PATH_IMAGE104
Regions may exist for the guidewire to be considered, otherwise corrections are made.
The straight-back guide wire position is expressed according to the following formula:
Figure DEST_PATH_IMAGE105
(formula 6)
In the formula (I), the compound is shown in the specification,
Figure 701793DEST_PATH_IMAGE106
denotes the first
Figure DEST_PATH_IMAGE107
Corrected guidewire position for the frame.
Embodiment 3 adopts the guide wire identification results of continuous frames in the continuous 5-frame OCT image sequence and the corresponding probability scores as shown in FIGS. 11 to 15Cloth curve (gaussian distribution). Fig. 13 and 14 show that the identification error (the result of identifying the wide stent as the guide wire) is recognized. The guidewire correction procedure is performed with respect to fig. 13. Fig. 16 is a corrected original image 13 with reference to fig. 11, 12, 14, and 15. Before correction, the [ probability distribution curve ] of each frame is calculated only according to the current frame. Then, according to fig. 11, 12, 14, 15, a [ probability distribution curve ] is calculated and corrected. Therefore, in fig. 16, the peak position of the curve changes in comparison with the original figure 13. Step-size accumulation curves in FIGS. 11, 12, 13, 14, and 15
Figure 855693DEST_PATH_IMAGE058
Indicating, guide wire position by straight line
Figure 190729DEST_PATH_IMAGE083
The corresponding probability distribution curve is represented by
Figure 277633DEST_PATH_IMAGE108
Shown; the corresponding probability distribution curve in FIG. 16 is represented by
Figure DEST_PATH_IMAGE109
The indication, and the correction result, i.e. the corrected position of the guide wire, are straight lines
Figure 892285DEST_PATH_IMAGE110
And (4) showing.
The invention also provides a light and shadow feature-based guide wire identification system in the OCT image, which is used for implementing the light and shadow feature-based guide wire identification method in the OCT image, and comprises the following steps: the image acquisition module is used for acquiring the OCT image and removing the catheter area in the OCT image; the smoothing processing module is used for removing the OCT image of the catheter area to obtain a gray value accumulation curve and smoothing the obtained gray value accumulation curve; the curve calculation module is used for accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve; and the guide wire correcting module is used for obtaining the position of the guide wire according to the step length accumulation curve, correcting the position of the guide wire and finishing the identification of the guide wire. See the description above for specific embodiments.
It should be understood that the above examples are only for clarity of illustration and are not intended to limit the embodiments. Other variations and modifications will be apparent to persons skilled in the art in light of the above description. And are neither required nor exhaustive of all embodiments. And obvious variations or modifications therefrom are within the scope of the invention.

Claims (10)

1. A method for identifying a guide wire in an OCT image based on light and shadow characteristics is characterized by comprising the following steps:
s1, acquiring an OCT image, and removing a catheter area in the OCT image;
s2, obtaining a gray value accumulation curve of the OCT image without the catheter area and smoothing the obtained gray value accumulation curve;
s3, accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve;
and S4, obtaining the guide wire position according to the step length accumulation curve, correcting the guide wire position and completing the identification of the guide wire.
2. The method for identifying the guide wire in the OCT image based on the light and shadow feature of claim 1, wherein in S1, the step of acquiring the OCT image and removing the catheter area in the OCT image comprises the following steps:
s101, acquiring an OCT image under a polar coordinate system;
s102, identifying a catheter region for acquiring an OCT image;
s103, reassigning the pixel values of the identified catheter area;
and S104, transforming the OCT image subjected to assignment processing into a plane rectangular coordinate system.
3. The method for identifying the guide wire in the OCT image based on the light and shadow feature of claim 1, wherein in S2, the method further comprises performing binarization processing on the OCT image without the catheter region, and performing gray value accumulation calculation on the image after the binarization processing to obtain a gray value accumulation curve.
4. The method for identifying the guide wire in the OCT image based on the light and shadow characteristics as claimed in claim 1, wherein in S2, the gray scale value accumulation curve obtained by removing the OCT image of the catheter area is expressed by the following formula:
Figure DEST_PATH_IMAGE002
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE004
which represents a cumulative curve of the gray-value,
Figure DEST_PATH_IMAGE006
representing the OCT image height in a planar rectangular coordinate system,
Figure DEST_PATH_IMAGE008
represents the second in a rectangular plane coordinate system
Figure DEST_PATH_IMAGE010
Go to the first
Figure DEST_PATH_IMAGE012
OCT image pixel values of the column.
5. The method for identifying the guide wire in the OCT image based on the light and shadow feature of claim 4, wherein in S2, the smoothing of the obtained gray value accumulation curve comprises: according to the set smoothing times
Figure DEST_PATH_IMAGE014
Length of the flat slide
Figure DEST_PATH_IMAGE016
And smoothing the obtained gray value accumulation curve according to the following formula:
Figure DEST_PATH_IMAGE018
in the formula:
Figure DEST_PATH_IMAGE020
it is shown that the curve after the smoothing,
Figure 593899DEST_PATH_IMAGE004
the curve of the original curve is shown,
Figure DEST_PATH_IMAGE022
and the width of the OCT image in a plane rectangular coordinate system is shown.
6. The method for identifying the guide wire in the OCT image based on the light and shadow feature of claim 1, wherein in S3, the accumulation is performed according to a preset step length, and an obtained step length accumulation curve is represented according to the following formula:
Figure DEST_PATH_IMAGE024
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE026
a step-size accumulation curve is shown,
Figure 399788DEST_PATH_IMAGE020
a curve representing the smoothing of the surface of the wafer,
Figure 710683DEST_PATH_IMAGE022
representing the width of the OCT image in a plane rectangular coordinate system,
Figure DEST_PATH_IMAGE028
and representing the accumulation step length, wherein the accumulation step length is taken as the guide wire width.
7. The method for identifying the guide wire in the OCT image based on the light and shadow characteristics as claimed in claim 1, wherein in S4, the obtaining the guide wire position according to the step-size accumulation curve comprises: in OCT image
Figure DEST_PATH_IMAGE030
Middle handle curve
Figure DEST_PATH_IMAGE032
Abscissa corresponding to minimum value
Figure DEST_PATH_IMAGE034
Regarding the center position of the guide wire, the curve is processed according to the following formula
Figure 512417DEST_PATH_IMAGE032
Continuously taking the minimum value to obtain the position of the guide wire;
Figure DEST_PATH_IMAGE036
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE038
is shown as
Figure 670997DEST_PATH_IMAGE010
The position of the guide wire in the frame image,
Figure DEST_PATH_IMAGE040
is shown as
Figure DEST_PATH_IMAGE042
Step size corresponding to frameThe curves are accumulated.
8. The method for identifying the guide wire in the OCT image based on the light and shadow feature of claim 1, wherein in S4, when the guide wire position is obtained and corrected according to the step-size accumulation curve, the method comprises the following steps:
s401, setting guide wire correction reference frame number
Figure DEST_PATH_IMAGE044
Correcting for guide wire tolerances
Figure DEST_PATH_IMAGE046
Probability distribution function
Figure DEST_PATH_IMAGE048
And each frame of guide wire position parameters
Figure DEST_PATH_IMAGE050
(ii) a The guide wire correction reference frame number
Figure DEST_PATH_IMAGE052
The method comprises the following steps of (1) setting reference frames with different weight coefficients in front and back of adjacent frames, front and back odd or even frames and front and back of frames;
s402, calculating the probability distribution of the guide wire position of the current frame according to the following formula
Figure DEST_PATH_IMAGE054
Figure DEST_PATH_IMAGE056
In the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE058
denotes the first
Figure 868627DEST_PATH_IMAGE010
The probability distribution of the position of the guide wire of the frame,
Figure DEST_PATH_IMAGE060
is shown as
Figure DEST_PATH_IMAGE062
Frame guide wire position;
s403, obtaining the formula
Figure DEST_PATH_IMAGE064
Abscissa corresponding to maximum function value
Figure DEST_PATH_IMAGE066
In the area of the handle
Figure DEST_PATH_IMAGE068
Regions may exist for the guidewire to be considered, otherwise corrections are made.
9. The method for identifying the guide wire in the OCT image based on the light and shadow characteristics as claimed in claim 8, wherein the guide wire position after correction is expressed according to the following formula:
Figure DEST_PATH_IMAGE070
in the formula (I), the compound is shown in the specification,
Figure DEST_PATH_IMAGE072
denotes the first
Figure 680201DEST_PATH_IMAGE010
Corrected guidewire position for the frame.
10. A system for identifying a guide wire in an OCT image based on a light and shadow feature, which is used to implement the method for identifying a guide wire in an OCT image based on a light and shadow feature according to any one of claims 1 to 8, and comprises:
the image acquisition module is used for acquiring an OCT image and removing a catheter area in the OCT image;
the smoothing module is used for removing the OCT image of the catheter area, obtaining a gray value accumulation curve and smoothing the obtained gray value accumulation curve;
the curve calculation module is used for accumulating the smoothed gray value accumulation curve according to a preset step length to obtain a step length accumulation curve;
and the guide wire correcting module is used for obtaining the position of the guide wire according to the step length accumulation curve, correcting the position of the guide wire and finishing the identification of the guide wire.
CN202211237459.4A 2022-10-11 2022-10-11 Light and shadow feature-based guide wire identification method and system in OCT image Active CN115330756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211237459.4A CN115330756B (en) 2022-10-11 2022-10-11 Light and shadow feature-based guide wire identification method and system in OCT image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211237459.4A CN115330756B (en) 2022-10-11 2022-10-11 Light and shadow feature-based guide wire identification method and system in OCT image

Publications (2)

Publication Number Publication Date
CN115330756A true CN115330756A (en) 2022-11-11
CN115330756B CN115330756B (en) 2023-02-28

Family

ID=83913532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211237459.4A Active CN115330756B (en) 2022-10-11 2022-10-11 Light and shadow feature-based guide wire identification method and system in OCT image

Country Status (1)

Country Link
CN (1) CN115330756B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148101A (en) * 1995-11-27 2000-11-14 Canon Kabushiki Kaisha Digital image processor
US20040170327A1 (en) * 2001-06-19 2004-09-02 Whoi-Yul Kim Method of extracting shape variation descriptor for retrieving image sequence
US20090110299A1 (en) * 2007-10-30 2009-04-30 Kddi Corporation Apparatus, method and computer program for classifying pixels in a motion picture as foreground or background
CN102930278A (en) * 2012-10-16 2013-02-13 天津大学 Human eye sight estimation method and device
CN102930513A (en) * 2012-09-25 2013-02-13 北京航空航天大学 Method for integrating virtual light and real light of video scene
CN103207987A (en) * 2013-02-28 2013-07-17 华北电力大学 Indicating value identification method of dial instrument
US20160124964A1 (en) * 2014-10-31 2016-05-05 Pixcon Methods for uploading and ranking photographs
CN106097269A (en) * 2016-06-11 2016-11-09 华南理工大学 Method based on the micro-vision system of high-resolution calculating ghost imaging and acquisition image
CN108986064A (en) * 2017-05-31 2018-12-11 杭州海康威视数字技术股份有限公司 A kind of people flow rate statistical method, equipment and system
CN112017254A (en) * 2020-06-29 2020-12-01 浙江大学 Hybrid ray tracing drawing method and system
CN113077392A (en) * 2021-03-17 2021-07-06 华夏芯(北京)通用处理器技术有限公司 High-accuracy automatic reading method for fuzzy photos of pointer table
CN113470137A (en) * 2021-06-30 2021-10-01 天津大学 IVOCT image guide wire artifact removing method based on gray-scale weighting
CN113935961A (en) * 2021-09-29 2022-01-14 西安邮电大学 Robust breast molybdenum target MLO (Multi-level object) visual angle image pectoral muscle segmentation method
CN114820600A (en) * 2022-06-27 2022-07-29 天津恒宇医疗科技有限公司 Coronary artery intravascular stent detection method and system based on OCT image

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6148101A (en) * 1995-11-27 2000-11-14 Canon Kabushiki Kaisha Digital image processor
US20040170327A1 (en) * 2001-06-19 2004-09-02 Whoi-Yul Kim Method of extracting shape variation descriptor for retrieving image sequence
US20090110299A1 (en) * 2007-10-30 2009-04-30 Kddi Corporation Apparatus, method and computer program for classifying pixels in a motion picture as foreground or background
CN102930513A (en) * 2012-09-25 2013-02-13 北京航空航天大学 Method for integrating virtual light and real light of video scene
CN102930278A (en) * 2012-10-16 2013-02-13 天津大学 Human eye sight estimation method and device
CN103207987A (en) * 2013-02-28 2013-07-17 华北电力大学 Indicating value identification method of dial instrument
US20160124964A1 (en) * 2014-10-31 2016-05-05 Pixcon Methods for uploading and ranking photographs
CN106097269A (en) * 2016-06-11 2016-11-09 华南理工大学 Method based on the micro-vision system of high-resolution calculating ghost imaging and acquisition image
CN108986064A (en) * 2017-05-31 2018-12-11 杭州海康威视数字技术股份有限公司 A kind of people flow rate statistical method, equipment and system
CN112017254A (en) * 2020-06-29 2020-12-01 浙江大学 Hybrid ray tracing drawing method and system
CN113077392A (en) * 2021-03-17 2021-07-06 华夏芯(北京)通用处理器技术有限公司 High-accuracy automatic reading method for fuzzy photos of pointer table
CN113470137A (en) * 2021-06-30 2021-10-01 天津大学 IVOCT image guide wire artifact removing method based on gray-scale weighting
CN113935961A (en) * 2021-09-29 2022-01-14 西安邮电大学 Robust breast molybdenum target MLO (Multi-level object) visual angle image pectoral muscle segmentation method
CN114820600A (en) * 2022-06-27 2022-07-29 天津恒宇医疗科技有限公司 Coronary artery intravascular stent detection method and system based on OCT image

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
DAH-JYELEE ET AL.: "Multi-frame structure from motion using optical flow probability distributions", 《NEUROCOMPUTING》 *
刘忠领: "旋转弹光电成像制导图像处理关键算法研究", 《中国博士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN115330756B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN112883824A (en) Finger vein feature recognition device for intelligent blood sampling and recognition method thereof
CN105389793B (en) A kind of method of automatic identification body surface fracture strike and width
CN116993628B (en) CT image enhancement system for tumor radio frequency ablation guidance
CN116071355A (en) Auxiliary segmentation system and method for peripheral blood vessel image
CN111105427B (en) Lung image segmentation method and system based on connected region analysis
CN113679419A (en) Adjustable Doppler spectrum envelope parameter calculation method
US20020106118A1 (en) Detection of ribcage boundary from digital chest image
CN115330756B (en) Light and shadow feature-based guide wire identification method and system in OCT image
CN111666997B (en) Sample balancing method and target organ segmentation model construction method
CN115311696B (en) Finger area detection method based on vein texture features
CN113052794A (en) Image definition recognition method based on edge features
CN110288540B (en) Carbon fiber wire X-ray image online imaging standardization method
CN112330638A (en) Horizontal registration and image enhancement method for retina OCT (optical coherence tomography) image
CN115601360B (en) Chromosome structure abnormality auxiliary identification method and system and computer equipment
CN115239751A (en) Postoperative image needle track extraction method
CN115994870A (en) Image processing method for enhancing denoising
CN113344823B (en) Three-dimensional roughness characterization method for ablation area morphology of silver wire type contact
CN106937864B (en) Skin tissue estimation method and system using same
CN114663402A (en) Cable prolapse detection method based on Hough linear detection and curve fitting
CN110838121A (en) Child hand bone joint identification method for assisting bone age identification
CN117649357B (en) Ultrasonic image processing method based on image enhancement
CN107369143B (en) Image noise reduction method based on continuous band-pass filtering and reconstruction
CN109934818B (en) Method for detecting malformation of external contour of fruit
CN117152803B (en) Facial vein image equalization method
CN117670916B (en) Coating edge detection method based on deep learning

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant