Blood vessel image display method, device, equipment, medium and product
By generating a gradient depth map in response to click operations in the vascular image, the problems of insufficient depth perception and unclear boundaries in the three-dimensional vascular image are solved, and clear visual depth perception of the vascular image is achieved.
Patent Information
- Application Number
- CN202511164258.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-20
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-08-20
AI Technical Summary
In the visualization of 3D vascular images, vascular depth perception is poor, and boundary recognition between different layers is low, which easily leads to visual confusion.
In response to a click operation on three-dimensional vascular image data, the click position coordinates are determined, and a gradient color depth map of all vascular image slices adjacent above and below the slice direction corresponding to the first vascular image slice is generated and displayed. Gradient colors are used to distinguish different image slices to enhance depth perception.
The visual depth perception ability of vascular images is improved, the image boundaries are clearer, and the problem of poor visualization of vascular images is solved.
Smart Images

Figure CN120661098A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of image processing technology, and in particular to a method, device, equipment, medium, and product for displaying a vascular image. Background Art
[0002] During some clinical surgeries, imaging information of the surgical site is needed for surgical navigation to provide accurate surgical location information, for example, in vascular-related surgeries.
[0003] Currently, in the visualization of 3D vascular images, vascular depth perception is poor, and the recognition of boundaries between different layers is low, which easily leads to visual confusion. Summary of the Invention
[0004] Embodiments of the present invention provide a method, apparatus, device, medium, and product for displaying a vascular image, which can enhance the visual depth perception of a vascular image, distinguish different image slices with different colors, and make image boundaries clearer.
[0005] In a first aspect, an embodiment of the present invention provides a method for displaying a blood vessel image, the method comprising:
[0006] In response to a click operation within the presentation window of the first blood vessel image slice of the three-dimensional blood vessel image data, determining click position coordinates of the click operation;
[0007] According to the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in the slice direction is generated and displayed.
[0008] In a second aspect, an embodiment of the present invention provides a blood vessel image display device, the device comprising:
[0009] an interactive information acquisition module, configured to determine a click position coordinate of the click operation in response to a click operation within a display window of a first blood vessel image slice of the three-dimensional blood vessel image data;
[0010] The image display module is used to generate and display a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in a slice direction according to the click position coordinates.
[0011] In a third aspect, an embodiment of the present invention further provides a computer device, comprising:
[0012] one or more processors;
[0013] a memory for storing one or more programs;
[0014] When the one or more programs are executed by the one or more processors, the one or more processors implement the blood vessel image display method provided by any embodiment of the present invention.
[0015] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the blood vessel image display method provided by any embodiment of the present invention.
[0016] In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the blood vessel image display method provided by any embodiment of the present invention.
[0017] The embodiments of the above invention have the following advantages or beneficial effects:
[0018] The technical solution of an embodiment of the present invention determines the click location coordinates in response to a click operation within the display window of a first vascular image slice of three-dimensional vascular image data. Based on the click location coordinates, a gradient-colored vascular depth map corresponding to all vascular image slices above and below the first vascular image slice is generated and displayed. This technical solution solves the problems of poor vascular image visualization, a failure to highlight depth information, and unclear slice boundaries. It enhances the visual depth perception of vascular images, distinguishes different image slices with different colors, and makes image boundaries clearer. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 is a flow chart of a blood vessel image display method provided by an embodiment of the present invention;
[0020] Figure 2 is a schematic diagram of an example of a three-dimensional blood vessel image model provided by an embodiment of the present invention;
[0021] Figure 3 This is a schematic diagram of a display effect of a first blood vessel image slice provided by an embodiment of the present invention;
[0022] Figure 4 This is a schematic diagram of the effect of displaying a blood vessel depth image provided by an embodiment of the present invention;
[0023] Figure 5 is a flowchart of another blood vessel image display method provided by an embodiment of the present invention;
[0024] Figure 6 This is a structural diagram of a blood vessel image display device provided by an embodiment of the present invention;
[0025] Figure 7It is a structural diagram of a computer device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described in detail below with reference to the accompanying drawings and examples. It will be understood that the specific embodiments described herein are intended only to illustrate the present invention and are not intended to limit the present invention. It should also be noted that, for ease of description, the accompanying drawings only illustrate portions relevant to the present invention, not all structures.
[0027] Figure 1 This is a flowchart of a method for displaying vascular images, provided in an embodiment of the present invention. This embodiment is applicable to scenarios involving vascular image visualization, particularly those requiring the display of vascular depth information. This method can be performed by a vascular image display device, which can be implemented using software and / or hardware and integrated into a computer device with application development capabilities, such as a medical image processing system.
[0028] like Figure 1 As shown, the blood vessel image display method of this embodiment includes the following steps:
[0029] S110 , in response to a click operation within a display window of a first blood vessel image slice of three-dimensional blood vessel image data, determining click position coordinates of the click operation.
[0030] The 3D vascular image data may be an angiography image or a magnetic resonance angiography image. The 3D vascular image data may be in a text-based medical image format (Nearly Raw Raster Data, .nrrd), a segmented / segmented NRRD format (.seg.nrrd), or a standard format in the field of neuroimaging (Neuroimaging Informatics Technology Initiative, NIfTI format, .nii.gz).
[0031] The first vascular image slice can be an image slice of the three-dimensional vascular image data in any one of three orthogonal planes in a three-dimensional image space coordinate system. The three-dimensional image space coordinate system can be a spatial coordinate system including the X, Y, and Z directions, and the corresponding three orthogonal planes can be the XY, XZ, and YZ planes. It is understood that in a vascular image slice corresponding to the XY plane, the z values of the pixels are the same; in a vascular image slice corresponding to the XZ plane, the y values of the pixels are the same; and in a vascular image slice corresponding to the YZ plane, the x values of the pixels are the same.
[0032] The first blood vessel image slice in the display window may be a blood vessel image slice corresponding to any z value within the three-dimensional blood vessel image data range in a blood vessel image slice corresponding to the XY plane; or a blood vessel image slice corresponding to any y value within the three-dimensional blood vessel image data range in a blood vessel image slice corresponding to the XZ plane; or a blood vessel image slice corresponding to any x value within the three-dimensional blood vessel image data range in a blood vessel image slice corresponding to the YZ plane.
[0033] The click operation can be an interaction between the mouse cursor and the display window, a touch operation on a touch screen, or an interaction corresponding to a remote control signal from a remote controller. The click position coordinates corresponding to the click operation are the screen coordinates in the vascular image slice display window.
[0034] In an optional embodiment, the user can select a 3D blood vessel image data to display in the image display interface, and the image display interface can simultaneously display the blood vessel image slices in the slice directions corresponding to three orthogonal planes. For example, the 3D blood vessel structure corresponding to a set of 3D blood vessel image data can be Figure 2 The first blood vessel image slice can be Figure 3 Any image slice in the three display windows.
[0035] Specifically, Figure 3 The image in (a) is a blood vessel image slice corresponding to the XY orthogonal plane corresponding to z=60; Figure 3 The image in (b) is a blood vessel image slice corresponding to the XZ orthogonal plane corresponding to y=333; Figure 3 The image (c) is a slice of the vascular image corresponding to the YZ orthogonal plane corresponding to x=256. Each display window shows the coordinate information, name, etc. of the vascular image slice. In addition, you can also Figure 3 The corresponding image display interface displays more image interactive function controls, such as at least one of zoom in, zoom out, flip, outline cutout, and other image processing function controls.
[0036] S120 , generating and displaying, based on the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent in a slice direction to the first blood vessel image slice.
[0037] The click position coordinates are screen coordinates, and can be converted into coordinates corresponding to the three-dimensional blood vessel image data according to a mapping relationship between the screen coordinate system and the three-dimensional image space coordinate system.
[0038] In this embodiment, the first blood vessel image slice is a depth information reference plane. The depth information of blood vessels in adjacent blood vessel image slices is determined upward and downward based on the first blood vessel image slice.
[0039] In an optional embodiment, the relative distance between each vessel image slice in all upper and lower vessel image slices and the first vessel image slice can be calculated. Specifically, the total number of image slices in the slice direction corresponding to each orthogonal plane can be determined based on the data dimensions of the three-dimensional vessel image data. Distance normalization can be performed based on the total number of image slices to determine the relative positional relationship, i.e., the relative distance, between each vessel image slice in all upper and lower vessel image slices and the first vessel image slice.
[0040] Then, based on the relative distance, a first color is selected from a preset gradient color palette that is mapped to the distance. The color-filled area in the associated vascular image slice is filled with the first color to obtain a depth vascular image slice. The color-filled area may be a pixel region within the vascular image slice that includes the corresponding vascular image. Finally, the depth vascular image slices corresponding to all upper and lower vascular image slices are spliced and displayed. The resulting image display effect can be such that the corresponding vascular color changes from dark to light, or from light to dark, as the distance from the first vascular image increases.
[0041] In an optional implementation, the color-filled area may be an area obtained by removing the corresponding blood vessel contour from the blood vessel area in each blood vessel image slice.
[0042] The process of determining the blood vessel contour includes the following steps:
[0043] In the first step, a corresponding binary mask image is created for each vascular image slice, wherein the vascular contour can be represented by black in the binary mask image to highlight the vascular edge.
[0044] In the second step, the binary mask image is eroded to obtain an eroded mask image to reduce the blood vessel area.
[0045] The third step is to subtract the eroded mask image from the binary mask image to obtain the vessel contour. That is, the original mask - the eroded mask = the contour (corresponding to the edge).
[0046] Through the above three steps, a black outline (edge) can be generated for the blood vessel area, which can enhance the boundary display of the blood vessels in the depth map and make the structure clearer.
[0047] In another alternative embodiment, the preset gradient color palette is a rainbow color palette, and in the mapping relationship, the color gradient from red to purple corresponds to increasing distance. That is, in all the upper and lower vascular image slices, the vascular region in the image slice closest to the first vascular image slice is represented by red, and the vascular region in the image slice farthest from the first vascular image slice is represented by purple.
[0048] The display effect of gradient color blood vessel depth map can be referred to Figure 4 The result shown. In the image display interface, two sub-image display windows are created, associated with the first vascular image slice (the display window corresponding to the first vascular image slice); and the gradient vascular depth maps corresponding to the upper and lower vascular image slices are displayed in the sub-image display windows, respectively.
[0049] In a specific embodiment, Figure 4 The process of the gradient color blood vessel depth map can refer to the following process:
[0050] First, you can create a rainbow color spectrum with a gradient of red, orange, yellow, green, cyan, blue, and violet. Each color in the spectrum is in RGBA format, consisting of four color channels (4 channels: R, G, B, and alpha transparency). The value corresponding to the last channel indicates the transparency. Then, create an RGBA canvas (4 channels: R, G, B, and alpha transparency). The initial transparency value can be completely black.
[0051] Next, the total number of layers Z in the slice dimension of the first vascular image slice is determined based on the dimensionality of the 3D vascular image data for distance normalization. Assume that the first vascular image slice corresponds to layer z1, and all other vascular image slices are at layer z0. Therefore, the normalized relative distance between each vascular image slice and the first vascular image slice can be expressed as the ratio of the absolute value of the result z0 - z1 to the total number of layers Z. Furthermore, a color can be selected from the rainbow color spectrum based on the calculated ratio: the closer the ratio is to 0, the closer the color is to red, and the closer the ratio is to 1, the closer the color is to purple. Before selecting the color, it is also possible to determine whether each vascular image slice contains vascular data. If not, the corresponding vascular image slice can be skipped and not processed.
[0052] Furthermore, the transparency of the color corresponding to each vascular image slice can be set, for example, to 30%. Then, by overlaying the rainbow colors and transparency corresponding to each vascular image slice, a gradient vascular depth map corresponding to all the vascular image slices above and below can be obtained.
[0053] In addition, the transparency corresponding to the vascular contour can be further adjusted. For example, a color layer with 30% transparency is superimposed on each image slice in depth order to enhance the vascular edge. The resulting vascular depth image can thus distinguish between different layers of image slices, overcoming the defect of blurred structural boundaries in traditional layered display and achieving transparent superposition with contour enhancement. The technical solution of this embodiment determines the click position coordinates of the click operation in response to a click operation within the display window of the first vascular image slice of the three-dimensional vascular image data; based on the click position coordinates, a gradient vascular depth map corresponding to all adjacent vascular image slices above and all adjacent vascular image slices below in the slice direction corresponding to the first vascular image slice is generated and displayed. The technical solution of the embodiment of the present invention solves the problems of poor visualization of vascular images, inability to highlight depth information, and unclear slice boundaries. It can make the visual depth perception of vascular images stronger, distinguish different image slices with different colors, and make the image boundaries clearer.
[0054] Figure 5 This flowchart illustrates a method for displaying a vascular image according to an embodiment of the present invention. This embodiment shares the same inventive concept as the vascular image display method described above and further describes the process of sliding a first vascular image slice and displaying vascular depth information. This method can be performed by a vascular image display device, which can be implemented using software and / or hardware and integrated into a computer device with application development capabilities.
[0055] like Figure 5 As shown, the blood vessel image display method of this embodiment includes the following steps:
[0056] S210 , in response to a sliding operation within a display window of a first blood vessel image slice of three-dimensional blood vessel image data, switching the blood vessel image slice within the display window according to a sliding direction and a sliding distance of the sliding operation.
[0057] The first blood vessel image slice may be any one of the blood vessel image slices of the first three-dimensional blood vessel image data in three orthogonal planes of the three-dimensional image space coordinate system. The switched blood vessel image slice is another blood vessel image slice of the first blood vessel image slice in the corresponding slice direction of the three-dimensional image space coordinate system. In a specific example, the display process of the first blood vessel image slice may include the following steps:
[0058] First, first three-dimensional blood vessel image data is obtained. The first three-dimensional blood vessel image data can be represented as a three-dimensional array (x, y, z). After loading the first three-dimensional blood vessel image data, it can be initialized and displayed according to the dimension of the three-dimensional array, which can be as follows: Figure 3As shown in the figure, a three-view grayscale display of a blood vessel image is performed (the blood vessel is white and the background is black). The initial slice position can be the slice corresponding to the midpoint of each axis (x / 2, y / 2, z / 2) in the three-dimensional image space coordinate system.
[0059] During image display, image data corresponding to a first vascular image slice in the first three-dimensional vascular image data is obtained. A near-interpretation difference calculation may also be performed on the image data corresponding to the first vascular image slice to maintain image sharpness. Furthermore, the image data corresponding to the first vascular image slice is displayed in grayscale, and position information corresponding to the first vascular image slice is displayed. The position information may be displayed as a title for the first vascular image slice. The grayscale display effect is that the blood vessels appear white, and the background area other than the blood vessels appears black.
[0060] Sliding within the display window can be done via mouse or gesture. If the slide operation is on the first vascular image slice corresponding to the XY view, the Z-axis slice is adjusted; if the slide operation is on the first vascular image slice corresponding to the XZ view, the Y-axis slice is adjusted; if the slide operation is on the first vascular image slice corresponding to the YZ view, the X-axis slice is adjusted. The target vascular image slice to be switched to is determined based on the sliding distance and direction, and the corresponding display window is refreshed based on the image data corresponding to the target vascular image slice.
[0061] S220 : In response to a click operation on the switched first blood vessel image slice in the presentation window, determine the click position coordinates of the click operation.
[0062] S230 , generating and displaying, based on the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent in a slice direction to the switched first blood vessel image slice.
[0063] The process of clicking on the switched first vessel image slice to determine the corresponding gradient vessel depth map can be similar to the process described in the above embodiment. The difference lies in the different slice layer locations corresponding to the first vessel image slice. This embodiment optimizes interactive response speed and enables real-time slice position tracking and depth map generation.
[0064] The technical solution of this embodiment switches the displayed vascular image slices within the display window in response to a sliding operation within the display window of a first vascular image slice of three-dimensional vascular image data, based on the sliding direction and sliding distance of the sliding operation; determines the click position coordinates of the click operation in response to a click operation on the switched first vascular image slice within the display window; and generates and displays a gradient-colored vascular depth map corresponding to all vascular image slices above and below the switched first vascular image slice in the slice direction, based on the click position coordinates. The technical solution of this embodiment of the present invention solves the problems of poor vascular image visualization, the inability to highlight depth information, and unclear slice boundaries. It can enhance the visual depth perception of vascular images, distinguish different image slices with different colors, and make image boundaries clearer.
[0065] Figure 6 This is a structural schematic diagram of a vascular image display device provided in an embodiment of the present invention. This embodiment is applicable to vascular image visualization scenarios. The vascular image display device can be implemented by software and / or hardware and integrated into a computer terminal device with application development capabilities.
[0066] like Figure 6 As shown, the blood vessel image display device includes: an interactive information acquisition module 310 and an image display module 320.
[0067] The interactive information acquisition module 310 is configured to determine the click location coordinates in response to a click operation within the display window of the first blood vessel image slice of the three-dimensional blood vessel image data. The image display module 320 is configured to generate and display, based on the click location coordinates, a gradient blood vessel depth map corresponding to all adjacent blood vessel image slices above and below the first blood vessel image slice in the slice direction.
[0068] The technical solution of this embodiment responds to a click operation within the display window of a first vessel image slice of three-dimensional vessel image data by determining the click location coordinates. Based on the click location coordinates, a gradient-colored vessel depth map corresponding to all vessel image slices above and below the first vessel image slice in the slice direction corresponding to the first vessel image slice is generated and displayed. This technical solution of this embodiment of the present invention solves the problems of poor vessel image visualization, a lack of depth emphasis, and unclear slice boundaries. It enhances the visual depth perception of vessel images, distinguishes different image slices with different colors, and makes image boundaries clearer.
[0069] In an optional embodiment, the image display module 320 is specifically configured to:
[0070] calculating a relative distance between each of the upper all blood vessel image slices and the first blood vessel image slice in the lower all blood vessel image slices;
[0071] Selecting a first color from a preset gradient color palette that has a mapping relationship with the distance according to the relative distance;
[0072] Filling a color-filled area in the associated blood vessel image slice based on the first color to obtain a depth blood vessel image slice;
[0073] Splicing and displaying the depth vascular image slices corresponding to all upper vascular image slices and all lower vascular image slices respectively;
[0074] The color-filled area is the area obtained by removing the corresponding blood vessel outline from the blood vessel area in each blood vessel image slice.
[0075] In an optional embodiment, the image display module 320 is further specifically configured to determine a blood vessel contour. Correspondingly, the blood vessel contour determination process includes:
[0076] Creating a corresponding binary mask image for each vascular image slice;
[0077] Performing image erosion on the binary mask image to obtain an eroded mask image;
[0078] The erosion mask image is subtracted from the binary mask image to obtain the blood vessel contour.
[0079] In an optional implementation, the preset gradient color palette is a rainbow color palette, and in the mapping relationship, distances from small to large correspond to a gradient of colors from red to purple.
[0080] In an optional embodiment, the image display module 320 is further specifically configured to:
[0081] creating two sub-image display windows associated with the first blood vessel image slice;
[0082] The gradient color blood vessel depth maps corresponding to all upper blood vessel image slices and all lower blood vessel image slices are displayed in the sub-image display window respectively.
[0083] In an optional embodiment, the image display module 320 is further specifically configured to:
[0084] In response to a sliding operation on the display window of the first blood vessel image slice, switching the display of the blood vessel image slice in the display window according to the sliding direction and sliding distance of the sliding operation;
[0085] The switched blood vessel image slices are other blood vessel image slices corresponding to the first blood vessel image slice in the slice direction of the three-dimensional image space coordinate system.
[0086] In an optional embodiment, the first blood vessel image slice is any one of the blood vessel image slices of the first three-dimensional blood vessel image data in three orthogonal planes of a three-dimensional image space coordinate system.
[0087] In an optional embodiment, the image display module 320 is further specifically configured to:
[0088] Acquire image data corresponding to a first blood vessel image slice in the first three-dimensional blood vessel image data;
[0089] Performing grayscale display on the image data and displaying position information corresponding to the first blood vessel image;
[0090] The grayscale display effect is that the blood vessels are displayed in white, and the background area other than the blood vessels is displayed in black.
[0091] The vascular image display device provided in the embodiment of the present invention can execute the vascular image display method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0092] Figure 7 A schematic structural diagram of a computer device provided in an embodiment of the present invention. Figure 7 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 7 The computer device 12 shown is only an example and should not limit the functionality and scope of use of the embodiments of the present invention. The computer device 12 can be any terminal device with computing capabilities, such as an intelligent controller, a server, a mobile phone, or other terminal devices.
[0093] like Figure 7 As shown, computer device 12 is implemented as a general-purpose computing device. Components of computer device 12 may include, but are not limited to, one or more processors or processing units 16, system memory 28, and a bus 18 that connects various system components (including system memory 28 and processing unit 16).
[0094] 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, or a local bus using any of a variety of bus architectures. Examples of these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0095] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0096] System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache 32. Computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 34 may be configured to read and write non-removable, non-volatile magnetic media ( Figure 7 Not shown, usually called a "hard drive"). Although Figure 7 Although not shown, a magnetic disk drive for reading and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), as well as an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 via one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present invention.
[0097] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may include an implementation of a network environment. Program modules 42 generally implement the functions and / or methodologies of the embodiments described herein.
[0098] The computer device 12 may also communicate with one or more external devices 14 (e.g., a keyboard, a pointing device, a display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and / or any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the computer device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. As shown, the network adapter 20 communicates with the other modules of the computer device 12 via the bus 18. It should be understood that although Figure 7Not shown, other hardware and / or software modules may be used in conjunction with computer device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0099] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the blood vessel image display method provided in the embodiment of the present invention, which includes:
[0100] In response to a click operation within the presentation window of the first blood vessel image slice of the three-dimensional blood vessel image data, determining click position coordinates of the click operation;
[0101] According to the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in the slice direction is generated and displayed.
[0102] An embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for displaying a vascular image as provided in any embodiment of the present invention is implemented. The method includes:
[0103] In response to a click operation within the presentation window of the first blood vessel image slice of the three-dimensional blood vessel image data, determining click position coordinates of the click operation;
[0104] According to the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in the slice direction is generated and displayed.
[0105] The computer storage medium of the embodiments of the present invention may adopt 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 may be, for example, but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.
[0106] A computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0107] 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.
[0108] The computer program code for performing the operations of the present invention can be written in one or more programming languages, or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0109] An embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements the blood vessel image display method provided in any embodiment of the present application.
[0110] During implementation, the computer program product may be written in one or more programming languages or a combination thereof to perform the operations of the present invention. The programming languages include object-oriented programming languages such as Java, Smalltalk, Python, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0111] Those skilled in the art will appreciate that the modules or steps of the present invention described above can be implemented using a general-purpose computing device. They can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they can be implemented using program code executable by a computer device, which can then be stored in a storage device and executed by the computing device. Alternatively, they can be fabricated into separate integrated circuit modules, or multiple modules or steps can be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
[0112] Note that the above are only preferred embodiments of the present invention and the technical principles employed. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments, and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments and may include many other equivalent embodiments without departing from the concept of the present invention. The scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for displaying a blood vessel image, characterized in that: include: In response to a click operation within a display window of a first blood vessel image slice of the three-dimensional blood vessel image data, determining click position coordinates of the click operation; According to the click position coordinates, a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in the slice direction is generated and displayed.
2. The method according to claim 1, characterized in that The generating and displaying of the gradient color blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to each other in the slice direction corresponding to the first blood vessel image slice includes: calculating a relative distance between each of the upper all blood vessel image slices and the lower all blood vessel image slices and the first blood vessel image slice; Selecting a first color from a preset gradient color palette that has a mapping relationship with the distance according to the relative distance; Filling a color-filled area in the associated blood vessel image slice based on the first color to obtain a depth blood vessel image slice; respectively splicing and displaying the depth blood vessel image slices corresponding to all upper blood vessel image slices and all lower blood vessel image slices; The color-filled area is the area obtained by removing the corresponding blood vessel outline from the blood vessel area in each blood vessel image slice.
3. The method according to claim 2, characterized in that The process of determining the blood vessel contour includes: Creating a corresponding binary mask image for each of the blood vessel image slices; Performing image corrosion on the binary mask image to obtain a corrosion mask image; The erosion mask image is subtracted from the binarized mask image to obtain the blood vessel contour.
4. The method according to claim 2, characterized in that The preset gradient color palette is a rainbow color palette, and in the mapping relationship, distances from small to large correspond to gradients of color from red to purple.
5. The method according to any one of claims 1 to 4, characterized in that: The display of the gradient-colored blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to each other in the slice direction corresponding to the first blood vessel image slice includes: creating two sub-image display windows associated with the first blood vessel image slice; The gradient color blood vessel depth maps corresponding to all the upper blood vessel image slices and all the lower blood vessel image slices are displayed in the sub-image display window respectively.
6. The method according to claim 1, characterized in that The method further comprises: In response to a sliding operation on the display window of the first blood vessel image slice, switching the display of the blood vessel image slice in the display window according to the sliding direction and sliding distance of the sliding operation; The switched blood vessel image slices are other blood vessel image slices corresponding to the first blood vessel image slice in the slice direction of the three-dimensional image space coordinate system.
7. The method according to claim 6, characterized in that The first blood vessel image slice is any one of the blood vessel image slices of the first three-dimensional blood vessel image data in three orthogonal planes of a three-dimensional image space coordinate system.
8. The method according to claim 7, characterized in that The display process of the first blood vessel image slice includes: Acquire image data corresponding to the first blood vessel image slice in the first three-dimensional blood vessel image data; Performing grayscale display on the image data and displaying position information corresponding to the first blood vessel image; The grayscale display has a display effect in which the blood vessels are displayed in white and the background area other than the blood vessels is displayed in black.
9. A blood vessel image display device, characterized in that: include: an interactive information acquisition module, configured to determine a click position coordinate of the click operation in response to a click operation within a display window of a first blood vessel image slice of the three-dimensional blood vessel image data; The image display module is used to generate and display a gradient blood vessel depth map corresponding to all upper blood vessel image slices and all lower blood vessel image slices adjacent to the first blood vessel image slice in a slice direction according to the click position coordinates.
10. A computer device, characterized in that: The computer device comprises: one or more processors; a memory for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the blood vessel image display method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the blood vessel image display method according to any one of claims 1 to 8 is implemented.
12. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the blood vessel image display method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Blood vessel extracting method
CN106296664A
Angiography image display method, device, equipment and medium
CN116883749A
Pseudo-color image generation method, device, terminal, system and medium
CN117392273A
Method and system for the presentation of blood vessel structures and identified pathologies
US20080101667A1
Ophthalmological device
US20210093191A1