CN117612677A - Vascular centerline editing method and device, electronic terminal and storage medium - Google Patents
Vascular centerline editing method and device, electronic terminal and storage medium Download PDFInfo
- Publication number
- CN117612677A CN117612677A CN202311581865.7A CN202311581865A CN117612677A CN 117612677 A CN117612677 A CN 117612677A CN 202311581865 A CN202311581865 A CN 202311581865A CN 117612677 A CN117612677 A CN 117612677A
- Authority
- CN
- China
- Prior art keywords
- center line
- editing
- centerline
- target
- pixels
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 59
- 230000002792 vascular Effects 0.000 title claims description 12
- 210000004204 blood vessel Anatomy 0.000 claims abstract description 39
- 238000004590 computer program Methods 0.000 claims description 7
- 230000004044 response Effects 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 15
- 230000006870 function Effects 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 6
- 230000001960 triggered effect Effects 0.000 description 4
- 210000004351 coronary vessel Anatomy 0.000 description 3
- 238000006073 displacement reaction Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000010200 validation analysis Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 210000001367 artery Anatomy 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H30/00—ICT specially adapted for the handling or processing of medical images
- G16H30/40—ICT specially adapted for the handling or processing of medical images for processing medical images, e.g. editing
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0012—Biomedical image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2210/00—Indexing scheme for image generation or computer graphics
- G06T2210/41—Medical
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Radiology & Medical Imaging (AREA)
- General Health & Medical Sciences (AREA)
- Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
- Epidemiology (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Apparatus For Radiation Diagnosis (AREA)
Abstract
The embodiment of the invention discloses a method and a device for editing a blood vessel center line, an electronic terminal and a storage medium, wherein the method comprises the following steps: receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image; selecting a target central line from all blood vessel central lines according to the central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control; receiving a center line editing operation through the editing interface; and editing pixels used for representing the target center line in the local image according to the center line editing operation. By providing an editing interface tool for the centerline, correction of the vessel centerline can be achieved.
Description
Technical Field
The embodiment of the invention relates to a computer technology, in particular to a blood vessel center line editing method, a blood vessel center line editing device, an electronic terminal and a storage medium.
Background
There is often some degree of error based on the vessel centerline extracted by the prior art. What is needed is an editing method for a vessel centerline that allows for correction of an extracted vessel centerline.
Disclosure of Invention
In view of the above, the embodiments of the present invention provide a method, an apparatus, an electronic terminal, and a storage medium for editing a blood vessel centerline, which can implement correction of the blood vessel centerline.
In a first aspect, an embodiment of the present invention provides a method for editing a blood vessel centerline, including:
receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
selecting a target central line from all blood vessel central lines according to the central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control;
receiving a center line editing operation through the editing interface;
and editing pixels used for representing the target center line in the local image according to the center line editing operation.
Optionally, in the case that the editing interface includes a second view control for vessel navigation, the receiving, by the editing interface, a center line selection operation includes:
and responding to the triggering of the vascular item control in the second view control, and receiving a center line selection operation.
Optionally, in the case that the editing interface includes a third view control for presenting a three-dimensional blood vessel image, the receiving, by the editing interface, a center line selection operation includes:
and receiving a center line selection operation in response to the triggering of the vessel identification control of the three-dimensional vessel in the third view control.
Optionally, in a case where the centerline editing operation includes a centerline dragging operation, the editing, according to the centerline editing operation, pixels in the local image for characterizing the target centerline includes:
and according to the center line dragging operation, uniformly displacing each pixel used for representing the target center line in the local image.
Optionally, in a case where the centerline editing operation includes a centerline extending operation, the editing pixels for characterizing the target centerline in the partial image according to the centerline editing operation includes:
determining a first target point pixel from the partial image according to the centerline extension operation;
generating an extension line from a first starting point pixel to a first target point pixel by taking a pixel used for representing the end point of the target central line in the local image as the first starting point pixel;
wherein the pixels of the extension line belong to newly added pixels for representing the target center line.
Optionally, in a case where the center line editing operation includes a center line truncation operation, the editing, according to the center line editing operation, pixels in the local image for characterizing the target center line includes:
determining a cutoff point pixel from pixels used for representing the target center line in the local image according to the center line cutoff operation;
taking the pixel from the cutoff point to the end point of the target center line as a cutoff region pixel in the pixels used for representing the target center line;
and setting the pixel value of the pixel of the truncated region as a preset background pixel value.
Optionally, in a case where the center line editing operation includes a center line adding edge operation, the editing, according to the center line editing operation, pixels in the local image for characterizing the target center line includes:
determining a second starting point pixel from pixels used for representing the target center line in the local image according to the center line adding edge branch operation;
determining a second target point pixel from the partial image;
generating a branch center line from the second start point pixel to the second target point pixel;
wherein, the pixels of the side branch central line belong to newly added pixels for representing the target central line.
In a second aspect, an embodiment of the present invention further provides a blood vessel centerline editing apparatus, including:
the selecting operation receiving module is used for receiving the center line selecting operation through the editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
the target center line presenting module is used for selecting a target center line from all blood vessel center lines according to the center line selection operation, and presenting a local image containing the target center line in the curved surface reconstruction image in the first view control;
the editing operation receiving module is used for receiving the center line editing operation through the editing interface;
and the editing module is used for editing pixels used for representing the target center line in the local image according to the center line editing operation.
In a third aspect, an embodiment of the present invention further provides an electronic terminal, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor, where the processor implements a method for editing a blood vessel centerline as provided in any embodiment of the present application when the processor executes the program.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium having a computer program stored thereon, wherein the program when executed by a processor implements a vascular centerline editing method as provided in any of the embodiments of the present application.
The embodiment of the invention provides a blood vessel center line editing method, a device, an electronic terminal and a storage medium, wherein the blood vessel center line editing method comprises the following steps: receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image; selecting a target central line from all blood vessel central lines according to the central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control; receiving a center line editing operation through the editing interface; and editing pixels used for representing the target center line in the local image according to the center line editing operation. By providing an editing interface tool for the centerline, correction of the vessel centerline can be achieved.
Drawings
Fig. 1 is a flowchart of a method for editing a blood vessel centerline according to an embodiment of the present invention;
fig. 2 is a schematic diagram of an editing interface in a method for editing a blood vessel centerline according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an editing interface in a method for editing a blood vessel center line according to a second embodiment of the present invention;
fig. 4 is a schematic diagram of an editing interface in a method for editing a blood vessel center line according to a second embodiment of the present invention;
fig. 5 is a schematic diagram of an editing interface in a method for editing a blood vessel center line according to a second embodiment of the present invention;
fig. 6 is a schematic diagram of an editing interface in a method for editing a blood vessel center line according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a blood vessel centerline editing apparatus according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of an electronic terminal according to a fourth embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a method for editing a blood vessel centerline according to an embodiment of the present invention. The present embodiment is applicable to the case of editing and correcting for the extracted blood vessel centerline line. The method can be implemented by the blood vessel center line editing device provided by the embodiment of the invention, and the device can be implemented in a software and/or hardware mode and can be configured in an electronic terminal, for example, configured in a computer.
Referring to fig. 1, the method for editing a blood vessel centerline provided in this embodiment may include the following steps:
s110, receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image.
Through curved surface reconstruction (Curved Projection Reformation, CPR) technology, a curve can be drawn along a region of interest, volume elements along the curve are recombined, and the twisted, shortened and overlapped vascular structures can be stretched and straightened and displayed on the same plane so as to facilitate vascular analysis. In the embodiment of the invention, the image of the central line of the blood vessel can be extracted and processed based on the CPR technology to obtain the curved surface reconstruction image. And, the curved reconstruction image may be rendered in a first view control of the editing interface.
Fig. 2 is a schematic diagram illustrating an editing interface in a method for editing a blood vessel centerline according to an embodiment of the present invention. In fig. 2, the vessel center line of the heart region is taken as an example, and description is made of information on the vessel center line editing interface. In addition, the editing interface of the vessel center line of other regions may be referred to in the related description of the embodiments of the present invention, which is not exhaustive herein. Referring to fig. 2, a curved reconstruction image may be presented in a first view control of the editing interface, and at least one vessel centerline may be included in the curved reconstruction image.
The center line selecting control can be deployed in advance in the editing interface, and the center line selecting operation can be received in response to the triggering operation of the center line selecting control so as to be used for selecting the target center line which needs to be edited currently.
For example, in some alternative implementations, where the editing interface includes a second view control for vessel navigation, receiving, by the editing interface, a centerline selection operation, including: and responding to the triggering of the vascular item control in the second view control, and receiving a center line selection operation.
Referring to fig. 2, a second view control may also be included in the editing interface, where the view control may include a vessel entry control corresponding to each vessel centerline in the curved reconstruction image. For example, the second view control of fig. 2 may include a vessel entry control (denoted by LAD in fig. 2) corresponding to the center line of the left anterior descending (left anterior descending artery, LAD) of the coronary artery of the heart, a vessel entry control (denoted by RCA in fig. 2) corresponding to the center line of the right coronary artery (right coronary artery, RCA), and the like. In addition, a plurality of sub-item controls can be arranged under each blood vessel item control so as to represent each node of the corresponding blood vessel center line, and blood vessel navigation is facilitated.
In these alternative implementations, the centerline selection operation may be considered received when a vessel entry control in the first view control is triggered. Correspondingly, the blood vessel center line corresponding to the triggered blood vessel item control can be regarded as the target center line which needs to be edited currently.
As another example, in some alternative implementations, where the editing interface includes a third view control for rendering a three-dimensional vessel image, receiving, by the editing interface, a centerline selection operation includes: and receiving a center line selection operation in response to the triggering of the vessel identification control of the three-dimensional vessel in the third view control.
Referring to fig. 2, the editing interface summary may also include a third view control that may include a three-dimensional view of the heart region including each vessel centerline and a vessel identification control for each vessel centerline. Wherein the vessel identification control may be a text control. For example, the third view control in fig. 2 may include a vessel identification control of the LAD, a vessel identification control of the RCA, or the like.
In these alternative implementations, the centerline selection operation may be deemed received when a vessel identification control in the second view control is triggered. Correspondingly, the blood vessel center line corresponding to the triggered blood vessel identification control can be regarded as the target center line which needs to be edited currently.
It will be appreciated that the second view control and/or the third view control may be provided in the editing interface to enable multiple ways of target centerline selection. And, after the target centerline is selected with one of the view controls, the associated control in the other view control will also be highlighted. For example, in fig. 2, in the case where the LAD is selected as the target center line by using the vessel entry control in the second view control, the target center line of the LAD may be displayed differently (e.g., set to different pixel values) from other vessel center lines in the third view control, so as to highlight the target center line that is currently required to be edited.
S120, selecting a target center line from the center lines of the blood vessels according to the center line selection operation, and presenting a local image containing the target center line in the curved surface reconstruction image in the first view control.
Referring again to fig. 2, after the target center line (the vessel center line of the LAD in fig. 2) to be edited is selected, the local image including the target center line in the curved surface reconstructed image may be enlarged, so that the local image including the target center line is presented in the first view control. Thereby being more beneficial to editing operation on the target center line and improving user experience.
S130, receiving a center line editing operation through an editing interface.
In the embodiment of the invention, the center line editing operation can include, but is not limited to, operations for realizing correction functions such as center line adding, deleting, cutting, extending, dragging and the like. The center line editing operation for realizing each correction function may be constituted by at least one step operation. Accordingly, at least one editing control may be deployed for each revision function in the editing interface. Further, in response to the triggering of at least one editing control corresponding to any of the correction functions, a centerline editing operation corresponding to the correction function may be received.
S140, editing pixels used for representing the target center line in the local image according to the center line editing operation.
In the embodiment of the invention, the pixels of each point in the local image belong to an editable state (namely, the pixel values can be changed). The pixels representing the target centerline may be edited in accordance with a centerline editing operation. For example, the pixel values of the pixels in the target center line can be changed to realize the correction functions such as deleting and cutting off the target center line; for another example, the pixels outside the target center line may be set to the same pixel value as the target center line, so as to increase the pixels of the target center line, and implement the correction functions of extending the target center line and adding edge branches.
According to the blood vessel center line editing method provided by the embodiment of the invention, through an editing interface, center line selection operation is received; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image; selecting a target central line from all blood vessel central lines according to central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control; receiving a center line editing operation through an editing interface; and editing pixels used for representing the target center line in the local image according to the center line editing operation. By providing an editing interface tool for the centerline, correction of the vessel centerline can be achieved.
Example two
The blood vessel center line editing method provided in the present embodiment can be combined with each of the alternatives in the blood vessel center line editing method provided in the above-described embodiment. The method for editing the centerline of the blood vessel provided in this embodiment describes in detail the target centerline editing process for different centerline editing operations. Through various centerline editing operations, operations such as dragging, extending, cutting off, adding side branches and the like on the target centerline can be realized.
In some alternative embodiments, where the centerline editing operation includes a centerline dragging operation, editing pixels in the partial image that characterize the target centerline according to the centerline editing operation may include: and according to the center line dragging operation, uniformly displacing each pixel used for representing the center line of the target in the local image.
Fig. 3 is a schematic diagram illustrating an editing interface in a method for editing a blood vessel centerline according to a second embodiment of the present invention. Referring to fig. 3, in the case where the target center line is selected as a whole, the target center line may be dragged using an indication control (for example, an arrow control in fig. 3) to implement uniform displacement of each pixel of the target center line. In fig. 3, the target center line before displacement is indicated by a solid line, and the target center line after displacement is indicated by a broken line. When the drag operation is completed, editing is considered to be completed, and thus, the position of the center line can be corrected.
In some alternative embodiments, where the centerline editing operation includes a centerline extension operation, editing pixels in the partial image that characterize the target centerline according to the centerline editing operation includes:
determining a first target point pixel from the partial image according to the centerline extension operation; generating an extension line from the first starting point pixel to the first target point pixel by taking a pixel used for representing the end point of the target center line in the local image as the first starting point pixel; wherein the pixels of the extension line belong to newly added pixels for characterizing the target center line.
Fig. 4 is a schematic diagram illustrating an editing interface in a method for editing a blood vessel centerline according to a second embodiment of the present invention. Referring to FIG. 4, an "extended centerline" mode may be entered by actuating the "extended" control 410, at which time the pixel at the end of the target centerline may be taken as the first starting point pixel; the first target point pixel may be determined from the partial image by a pointing control (e.g., the arrow control in fig. 4); the first target pixel may be validated by triggering the "validation" control 420, which may then generate an extension line from the first starting pixel to the first target pixel, and automatically exit the "extended centerline" mode after the extension line is generated.
Wherein an extension of the target center line may be indicated by a dotted line in fig. 4. Wherein the pixels of the extension line may be set to be the same as the target center line to characterize the pixels of the extension line as belonging to the newly added pixels for characterizing the target center line. In addition, the extended target centerline may also be aborted and the "extended centerline" mode exited by triggering a "cancel" 430 control or other preset shortcut key.
In some alternative embodiments, where the centerline editing operation includes a centerline truncating operation, editing pixels in the partial image that characterize the target centerline according to the centerline editing operation includes:
determining a cutoff point pixel from pixels used for representing the target center line in the local image according to the center line cutoff operation; taking the pixels from the cutoff point to the end point of the target center line as the pixels of the cutoff region in the pixels used for representing the target center line; and setting the pixel value of the pixel of the truncated region as a preset background pixel value.
Fig. 5 is a schematic diagram illustrating an editing interface in a method for editing a blood vessel centerline according to a second embodiment of the present invention. Referring to FIG. 5, the "truncated centerline" mode may be entered by triggering a "truncated" control 510; a intercept point pixel may be determined from the pixels of the target centerline by dragging the index line control 520; the pixels from the cutoff point to the target centerline endpoint may be set to a preset background pixel value by triggering the "confirm" control 530 to achieve the effect of deleting a portion of the centerline from the vessel centerline. In fig. 5, truncated area pixels may be represented by dotted lines. Wherein, after the center line is truncated, the 'center line truncated' mode can be automatically exited. The cut-off target centerline may also be aborted and the "cut-off centerline" mode exited by triggering a "cancel" 540 control or other preset shortcut key.
In some alternative embodiments, where the centerline editing operation includes a centerline adding edge operation, editing pixels in the partial image that characterize the target centerline according to the centerline editing operation includes:
according to the center line adding edge branch operation, determining a second starting point pixel from pixels used for representing the target center line in the local image; determining a second target point pixel from the partial image; generating a branch center line from the second start point pixel to the second target point pixel; wherein, the pixels of the side branch central line belong to the newly added pixels used for representing the target central line.
Fig. 6 is a schematic diagram illustrating an editing interface in a method for editing a blood vessel centerline according to a second embodiment of the present invention. Referring to FIG. 6, the "Add side count" mode may be entered by triggering an "Add" control 610; a second starting point pixel may be determined from the pixels of the target centerline by dragging lead control 620; the second target point pixel may be determined from the partial image by a pointing control (e.g., the arrow control in fig. 6); the second target point pixel may be validated by triggering the "validation" control 630, which may then generate a side branch centerline from the second starting point pixel to the second target point pixel, and automatically exit the "add side branch" mode after generating the side branch centerline.
Wherein the added edge branch centerline of the target centerline may be represented in fig. 6 by a dashed line. The pixels of the side branch center line can be set to be the same as the target center line, so that the pixels representing the side branch center line belong to newly added pixels for representing the target center line. In addition, the add side branch centerline may also be aborted and the "add side branch" mode exited by triggering the "cancel" 640 control or other preset shortcut key.
It can be understood that each control provided in the embodiment can be reasonably deployed in the same editing interface, so as to realize the correction functions of dragging, extending, cutting off, adding edge branches and the like on the target center line.
The vascular centerline editing method provided by the embodiment of the invention describes the target centerline editing process aiming at different centerline editing operations in detail. Through various centerline editing operations, operations such as dragging, extending, cutting off, adding side branches and the like on the target centerline can be realized. In addition, the blood vessel center line editing method provided by the present embodiment belongs to the same technical concept as the blood vessel center line editing method provided by the above embodiment, technical details which are not described in detail in the present embodiment can be seen in the above embodiment, and the same technical features have the same advantageous effects in the present embodiment as in the above embodiment.
Example III
Fig. 7 is a schematic structural diagram of a blood vessel centerline editing apparatus according to a third embodiment of the present invention. The blood vessel center line editing device can be used for realizing the blood vessel center line editing method provided by the embodiment of the invention.
Referring to fig. 7, the apparatus for editing a blood vessel centerline provided by the present invention may include:
a selection operation receiving module 710, configured to receive a center line selection operation through the editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
the target center line presenting module 720 is configured to select a target center line from the blood vessel center lines according to a center line selection operation, and present a local image including the target center line in the curved surface reconstructed image in the first view control;
an editing operation receiving module 730, configured to receive a centerline editing operation through an editing interface;
and the editing module 740 is used for editing pixels used for representing the target center line in the partial image according to the center line editing operation.
In some alternative implementations, the selection operation receiving module may be configured to:
and responding to the triggering of the vascular item control in the second view control, and receiving a center line selection operation.
In some alternative implementations, the selection operation receiving module may be configured to:
and receiving a center line selection operation in response to the triggering of the vessel identification control of the three-dimensional vessel in the third view control.
In some alternative implementations, where the centerline editing operation includes a centerline drag operation, the editing module may be configured to:
and according to the center line dragging operation, uniformly displacing each pixel used for representing the center line of the target in the local image.
In some alternative implementations, where the centerline editing operation includes a centerline extension operation, the editing module may be configured to:
determining a first target point pixel from the partial image according to the centerline extension operation;
generating an extension line from the first starting point pixel to the first target point pixel by taking a pixel used for representing the end point of the target center line in the local image as the first starting point pixel;
wherein the pixels of the extension line belong to newly added pixels for characterizing the target center line.
In some alternative implementations, where the centerline editing operation includes a centerline truncating operation, the editing module may be configured to:
determining a cutoff point pixel from pixels used for representing the target center line in the local image according to the center line cutoff operation;
taking the pixels from the cutoff point to the end point of the target center line as the pixels of the cutoff region in the pixels used for representing the target center line;
and setting the pixel value of the pixel of the truncated region as a preset background pixel value.
In some alternative implementations, where the centerline editing operation includes a centerline add edge operation, the editing module may be configured to:
according to the center line adding edge branch operation, determining a second starting point pixel from pixels used for representing the target center line in the local image;
determining a second target point pixel from the partial image;
generating a branch center line from the second start point pixel to the second target point pixel;
wherein, the pixels of the side branch central line belong to the newly added pixels used for representing the target central line.
The blood vessel center line editing device provided by the embodiment of the invention can execute the blood vessel center line editing method provided by the embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. Technical details which are not described in detail can be seen in the vascular centerline editing method provided by the embodiment of the invention.
Example IV
Fig. 8 is a schematic structural diagram of an electronic terminal according to a fourth embodiment of the present invention. Fig. 8 illustrates a block diagram of an exemplary electronic terminal 12 suitable for use in implementing embodiments of the present invention. The electronic terminal 12 shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention. The device 12 is typically an electronic terminal that assumes vessel centerline editing functionality.
As shown in fig. 8, the electronic terminal 12 is in the form of a general purpose computing device. The components of the electronic terminal 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 connecting the different components, including the memory 28 and the processing unit 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include industry standard architecture (Industry Standard Architecture, ISA) bus, micro channel architecture (Micro Channel Architecture, MCA) bus, enhanced ISA bus, video electronics standards association (Video Electronics Standards Association, VESA) local bus, and peripheral component interconnect (Peripheral Component Interconnect, PCI) bus.
The electronic terminal 12 typically includes a variety of computer-readable media. Such media can be any available media that is accessible by electronic terminal 12 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 28 may include computer device readable media in the form of volatile memory, such as random access memory (Random Access Memory, RAM) 30 and/or cache memory 32. The electronic terminal 12 may further include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 8, commonly referred to as a "hard disk drive"). Although not shown in fig. 8, a disk drive for reading from and writing to a removable nonvolatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from and writing to a removable nonvolatile optical disk (e.g., a Compact Disc-Read Only Memory (CD-ROM), digital versatile Disc (Digital Video Disc-Read Only Memory, DVD-ROM), or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product 40, with program product 40 having a set of program modules 42 configured to perform the functions of embodiments of the present invention. Program product 40 may be stored, for example, in memory 28, such program modules 42 include, but are not limited to, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The electronic terminal 12 may also be in communication with one or more external devices 14 (e.g., keyboard, mouse, camera, etc., and display), one or more devices that enable a user to interact with the electronic terminal 12, and/or any device (e.g., network card, modem, etc.) that enables the electronic terminal 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Also, the electronic terminal 12 may communicate with one or more networks such as a local area network (Local Area Network, LAN), a wide area network Wide Area Network, a WAN, and/or a public network such as the internet via the network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic terminal 12 via the bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with the electronic terminal 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, disk array (Redundant Arrays of Independent Disks, RAID) devices, tape drives, data backup storage devices, and the like.
The processor 16 executes a program stored in the memory 28 to perform various functional applications and data processing, for example, to implement a blood vessel centerline editing method provided by the above-described embodiment of the present invention, including:
receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
selecting a target central line from all blood vessel central lines according to central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control; receiving a center line editing operation through an editing interface; and editing pixels used for representing the target center line in the local image according to the center line editing operation.
Of course, those skilled in the art will understand that the processor may also implement the technical solution of the method for editing a vessel centerline provided by the embodiment of the present invention.
Example five
The fifth embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a blood vessel centerline editing method as provided by the embodiments of the present invention, the method comprising:
receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image; selecting a target central line from all blood vessel central lines according to central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control; receiving a center line editing operation through an editing interface; and editing pixels used for representing the target center line in the local image according to the center line editing operation.
Of course, the computer readable storage medium provided by the embodiment of the present invention, on which the computer program stored is not limited to the above method operations, may also perform the blood vessel centerline editing method provided by the embodiment of the present invention.
The computer storage media of embodiments of the invention may take the form of any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor apparatus, device, or means, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution apparatus, device, or apparatus.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.
Claims (10)
1. A method for editing a blood vessel centerline, comprising:
receiving a center line selection operation through an editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
selecting a target central line from all blood vessel central lines according to the central line selection operation, and presenting a local image containing the target central line in the curved surface reconstruction image in the first view control;
receiving a center line editing operation through the editing interface;
and editing pixels used for representing the target center line in the local image according to the center line editing operation.
2. The method of claim 1, wherein, in the case where the editing interface includes a second view control for vessel navigation, the receiving, by the editing interface, a center line selection operation includes:
and responding to the triggering of the vascular item control in the second view control, and receiving a center line selection operation.
3. The method of claim 1, wherein, in the case where the editing interface includes a third view control for presenting a three-dimensional blood vessel image, the receiving, by the editing interface, a centerline selection operation includes:
and receiving a center line selection operation in response to the triggering of the vessel identification control of the three-dimensional vessel in the third view control.
4. The method of claim 1, wherein, in the case where the centerline editing operation includes a centerline dragging operation, the editing pixels in the partial image that characterize the target centerline according to the centerline editing operation includes:
and according to the center line dragging operation, uniformly displacing each pixel used for representing the target center line in the local image.
5. The method according to claim 1, wherein, in a case where the center line editing operation includes a center line extending operation, the editing pixels for characterizing the target center line in the partial image according to the center line editing operation includes:
determining a first target point pixel from the partial image according to the centerline extension operation;
generating an extension line from a first starting point pixel to a first target point pixel by taking a pixel used for representing the end point of the target central line in the local image as the first starting point pixel;
wherein the pixels of the extension line belong to newly added pixels for representing the target center line.
6. The method of claim 1, wherein, in the case where the centerline editing operation includes a centerline truncating operation, the editing pixels in the partial image that characterize the target centerline according to the centerline editing operation comprises:
determining a cutoff point pixel from pixels used for representing the target center line in the local image according to the center line cutoff operation;
taking the pixel from the cutoff point to the end point of the target center line as a cutoff region pixel in the pixels used for representing the target center line;
and setting the pixel value of the pixel of the truncated region as a preset background pixel value.
7. The method of claim 1, wherein, in the case where the centerline editing operation includes a centerline adding edge operation, the editing pixels in the partial image that characterize the target centerline according to the centerline editing operation includes:
determining a second starting point pixel from pixels used for representing the target center line in the local image according to the center line adding edge branch operation;
determining a second target point pixel from the partial image;
generating a branch center line from the second start point pixel to the second target point pixel;
wherein, the pixels of the side branch central line belong to newly added pixels for representing the target central line.
8. A blood vessel centerline editing apparatus, comprising:
the selecting operation receiving module is used for receiving the center line selecting operation through the editing interface; the editing interface at least comprises a first view control for presenting a curved surface reconstruction image;
the target center line presenting module is used for selecting a target center line from all blood vessel center lines according to the center line selection operation, and presenting a local image containing the target center line in the curved surface reconstruction image in the first view control;
the editing operation receiving module is used for receiving the center line editing operation through the editing interface;
and the editing module is used for editing pixels used for representing the target center line in the local image according to the center line editing operation.
9. An electronic terminal comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the vessel centerline editing method according to any of claims 1-7 when the program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when executed by a processor, implements the vascular centerline editing method as claimed in any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311581865.7A CN117612677A (en) | 2023-11-23 | 2023-11-23 | Vascular centerline editing method and device, electronic terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311581865.7A CN117612677A (en) | 2023-11-23 | 2023-11-23 | Vascular centerline editing method and device, electronic terminal and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117612677A true CN117612677A (en) | 2024-02-27 |
Family
ID=89955644
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311581865.7A Pending CN117612677A (en) | 2023-11-23 | 2023-11-23 | Vascular centerline editing method and device, electronic terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117612677A (en) |
-
2023
- 2023-11-23 CN CN202311581865.7A patent/CN117612677A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108833787B (en) | Method and apparatus for generating short video | |
US20140164900A1 (en) | Appending content with annotation | |
CN110389807B (en) | Interface translation method and device, electronic equipment and storage medium | |
CN106951248B (en) | Method and device for adding codes, readable storage medium and computing equipment | |
CN111143004A (en) | Scene guide method and device, electronic equipment and storage medium | |
CN110780874B (en) | Method and device for generating information | |
US20100077325A1 (en) | In Situ Editing of GUI Features | |
CN111813409A (en) | Code generation method, device, equipment and storage medium of interactive interface | |
CN114077430A (en) | Interface generation method and device, electronic equipment and storage medium | |
JP2006506691A (en) | Two-layer paste buffer and display | |
US10169054B2 (en) | Undo and redo of content specific operations | |
CN109635304B (en) | Multi-language system data processing method and device | |
CN107862035B (en) | Network reading method and device for conference record, intelligent tablet and storage medium | |
CN114997117A (en) | Document editing method, device, terminal and non-transitory storage medium | |
US11151778B2 (en) | Optimized browser object rendering | |
CN117612677A (en) | Vascular centerline editing method and device, electronic terminal and storage medium | |
US20160232139A1 (en) | Debugging document formatting system | |
CN114356475B (en) | Display processing method, device, equipment and storage medium | |
CN114047863A (en) | Page interaction method and device | |
CN113495651B (en) | Window control method and device | |
CN109190097B (en) | Method and apparatus for outputting information | |
CN111124387B (en) | Modeling system, modeling method, computer device and storage medium for machine learning platform | |
CN114461214A (en) | Page display method and device, electronic equipment and storage medium | |
CN109799936B (en) | Image generation method, device, equipment and medium | |
CN113791858A (en) | Display method, device, equipment and storage medium |
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 |