WO2023178863A1 - 三维数据显示方法及装置、电子设备和存储介质 - Google Patents

三维数据显示方法及装置、电子设备和存储介质 Download PDF

Info

Publication number
WO2023178863A1
WO2023178863A1 PCT/CN2022/101255 CN2022101255W WO2023178863A1 WO 2023178863 A1 WO2023178863 A1 WO 2023178863A1 CN 2022101255 W CN2022101255 W CN 2022101255W WO 2023178863 A1 WO2023178863 A1 WO 2023178863A1
Authority
WO
WIPO (PCT)
Prior art keywords
slice
dimensional
data
target
human body
Prior art date
Application number
PCT/CN2022/101255
Other languages
English (en)
French (fr)
Inventor
石明康
Original Assignee
上海商汤智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 上海商汤智能科技有限公司 filed Critical 上海商汤智能科技有限公司
Publication of WO2023178863A1 publication Critical patent/WO2023178863A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/003Navigation within 3D models or images
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/10Geometric effects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/50Lighting effects
    • G06T15/80Shading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • G06T7/73Determining position or orientation of objects or cameras using feature-based methods
    • G06T7/75Determining position or orientation of objects or cameras using feature-based methods involving models

Definitions

  • the present disclosure relates to the field of computer technology, and in particular, to a three-dimensional data display method and device, electronic equipment and storage media.
  • Figure 1 shows a schematic diagram of a slice diagram in the related art.
  • the present disclosure proposes a three-dimensional data display technical solution.
  • a three-dimensional data display method including: acquiring three-dimensional scan data of a human body part, where the three-dimensional scan data includes slice data of the human body part in three dimensions and the three dimensions
  • the slice data corresponds to the slice position information of the human body part; determine the slice data at the target slice position according to the target slice positions and the slice position information respectively specified in the three dimensions; according to the target
  • the slice data at the slice position displays a three-dimensional slice model of the human body part.
  • the three-dimensional slice model includes: a slice map of the human body part at the target slice position rendered according to the slice data.
  • determining the slice data at the target slice position according to the target slice position specified in the three dimensions and the slice position information includes: in response to receiving a request for The slice position adjustment instruction of the target dimension determines the slice data at the target slice position in the target dimension indicated by the slice position adjustment instruction; wherein, displaying the slice data at the target slice position according to the slice position adjustment instruction
  • the three-dimensional slice model of the human body part includes: rendering the human body part at the target slice position in the target dimension according to the slice data at the target slice position in the target dimension indicated by the slice position adjustment instruction. slice diagram.
  • the three-dimensional scan data also includes organ outline information and organ position information of at least one organ in the human body part
  • the method further includes: according to the organ outline of the at least one organ Information and organ position information, and a three-dimensional block corresponding to the at least one organ is rendered in the three-dimensional slice model; wherein each three-dimensional block has an outline similar to that of each organ, and each three-dimensional block is in the three-dimensional
  • the displayed positions in the slice model correspond to the actual positions of the respective organs within the human body part.
  • the method further includes: in response to receiving a hiding instruction for a displayed three-dimensional tile, hiding the three-dimensional tile indicated by the hiding instruction in the three-dimensional slice model; and/or, in response to receiving a display instruction for a hidden three-dimensional tile, rendering the three-dimensional tile indicated by the display instruction in the three-dimensional slice model.
  • the three-dimensional tiles corresponding to different organs in the human body part have different display effects, and the display effects include at least one of color and transparency.
  • the method further includes: in response to receiving to the color adjustment instruction for the three-dimensional tile, converting the color of the three-dimensional tile indicated by the color adjustment instruction into the target color indicated by the color adjustment instruction; and/or in response to receiving the color adjustment instruction for the three-dimensional tile.
  • the transparency adjustment instruction converts the transparency of the three-dimensional tile indicated by the transparency adjustment instruction into the target transparency indicated by the transparency adjustment instruction.
  • the three-dimensional slice model has at least one of a three-dimensional perspective, a transverse perspective, a longitudinal perspective, and a vertical perspective, wherein the three-dimensional perspective is used to simultaneously display three dimensions.
  • the cross-section view is used to display the cross-section view in the A vertical slice diagram; wherein the three-dimensional slice model is currently displayed in any viewing angle mode, and the method further includes: in response to receiving a viewing angle switching instruction for the three-dimensional slice model, controlling the three-dimensional slice model to transform into The target perspective mode indicated by the perspective switching instruction; and/or, in response to receiving the pose adjustment instruction for the three-dimensional slice model, transforming the three-dimensional slice model into the target position indicated by the pose adjustment instruction. posture.
  • the method further includes: in response to receiving a light and dark adjustment instruction for the slice map in the three-dimensional slice model, according to at least one of the brightness and contrast indicated by the light and dark adjustment instruction. to adjust the light and dark contrast effects of different sliced tissues in the slice diagram.
  • obtaining three-dimensional scan data of human body parts includes: obtaining original three-dimensional scan data in an original data format sent by a back-end server; converting the original three-dimensional scan data into preset data format of three-dimensional scan data; extract at least one of the following information from the three-dimensional scan data with a preset data format: slice data of the human body parts in three dimensions, slice position information of the slice data of the three dimensions , organ outline information and organ position information of at least one organ in the human body part.
  • a three-dimensional data display device including: an acquisition module for acquiring three-dimensional scan data of human body parts, where the three-dimensional scan data includes slice data of the human body parts in three dimensions; The slice data in the three dimensions correspond to the slice position information of the human body part; a determination module is configured to determine the target slice according to the target slice positions specified in the three dimensions and the slice position information. the slice data at the position; a display module, configured to display the three-dimensional slice model of the human body part according to the slice data at the target slice position, where the three-dimensional slice model includes: the slice rendered according to the slice data A slice diagram of the human body part at the target slice position.
  • the determination module includes: a slice data determination sub-module, configured to determine the target indicated by the slice position adjustment instruction in response to receiving a slice position adjustment instruction for the target dimension. Slice data at the target slice position in the dimension; wherein, the display module includes: a slice map rendering submodule, configured to slice at the target slice position in the target dimension according to the slice position adjustment instruction. data, rendering the slice map of the human body part at the target slice position in the target dimension.
  • the three-dimensional scan data also includes organ outline information and organ position information of at least one organ in the human body part
  • the device further includes: a tile rendering module, configured to Organ outline information and organ position information of the at least one organ, and rendering a three-dimensional block corresponding to the at least one organ in the three-dimensional slice model; wherein each three-dimensional block has an outline similar to that of each organ, and each of the three-dimensional blocks has an outline similar to that of each organ.
  • the display position of the three-dimensional tile in the three-dimensional slice model corresponds to the actual position of each organ in the human body part.
  • the device further includes: a tile hiding module, configured to, in response to receiving a hiding instruction for a displayed three-dimensional tile, store the hidden instruction indicated in the three-dimensional slice model. Hide the three-dimensional tiles; and/or, a tile display module, configured to render the three-dimensional image indicated by the display instruction in the three-dimensional slice model in response to receiving a display instruction for the hidden three-dimensional tile. piece.
  • a tile hiding module configured to, in response to receiving a hiding instruction for a displayed three-dimensional tile, store the hidden instruction indicated in the three-dimensional slice model. Hide the three-dimensional tiles
  • a tile display module configured to render the three-dimensional image indicated by the display instruction in the three-dimensional slice model in response to receiving a display instruction for the hidden three-dimensional tile. piece.
  • the three-dimensional tiles corresponding to different organs in the human body part have different display effects.
  • the display effects include at least one of color and transparency.
  • the device further includes: tile color A transformation module configured to, in response to receiving a color adjustment instruction for a three-dimensional tile, transform the color of the three-dimensional tile indicated by the color adjustment instruction into a target color indicated by the color adjustment instruction; and/or, FIG.
  • a block transparency conversion module configured to, in response to receiving a transparency adjustment instruction for a three-dimensional block, convert the transparency of the three-dimensional block indicated by the transparency adjustment instruction into a target transparency indicated by the transparency adjustment instruction.
  • the three-dimensional slice model has at least one of a three-dimensional perspective, a transverse perspective, a longitudinal perspective, and a vertical perspective, wherein the three-dimensional perspective is used to simultaneously display three dimensions.
  • the cross-section view is used to display the cross-section view in the A vertical slice diagram; wherein the three-dimensional slice model is currently displayed in any viewing angle mode, and the device further includes: a viewing angle switching module, configured to control all viewing angles in response to receiving a viewing angle switching instruction for the three-dimensional slice model.
  • the three-dimensional slice model is transformed into the target perspective mode indicated by the perspective switching instruction; and/or a pose transformation module is configured to convert the three-dimensional slice model into a target perspective mode in response to receiving a pose adjustment instruction for the three-dimensional slice model.
  • the model is transformed into the target pose indicated by the pose adjustment instruction.
  • the device further includes: a light and dark adjustment module, configured to, in response to receiving a light and dark adjustment instruction for a slice map in the three-dimensional slice model, adjust the brightness indicated by the light and dark adjustment instruction. and at least one of contrast, adjusting the light and dark contrast effects of different sliced tissues in the slice diagram.
  • a light and dark adjustment module configured to, in response to receiving a light and dark adjustment instruction for a slice map in the three-dimensional slice model, adjust the brightness indicated by the light and dark adjustment instruction. and at least one of contrast, adjusting the light and dark contrast effects of different sliced tissues in the slice diagram.
  • the acquisition module includes: an original data acquisition sub-module, used to acquire the original three-dimensional scan data in the original data format sent by the back-end server; a data conversion module, used to convert the original The three-dimensional scan data is converted into three-dimensional scan data with a preset data format; an information extraction module is used to extract at least one of the following information from the three-dimensional scan data with a preset data format: the three-dimensional coordinates of the human body parts Slice data, slice position information of the three-dimensional slice data, organ outline information and organ position information of at least one organ in the human body part.
  • an electronic device including: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to call instructions stored in the memory to execute the above method.
  • a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
  • a computer program product including computer readable code, or a non-volatile computer readable storage medium carrying the computer readable code, when the computer readable code is stored in an electronic device
  • the processor in the electronic device executes the above method.
  • the slice data at the target slice position is determined through the target slice position and slice position information specified in three dimensions respectively, and the three-dimensional slice model of the human body part is displayed according to the slice data at the target slice position, which can In the three-dimensional slice model, the slice images at the three target slice positions specified by the user in three dimensions are simultaneously displayed, so that the user can more conveniently and intuitively view the slice images at different target slice positions in different dimensions, improving the accuracy of the slice image. Check efficiency.
  • Figure 1 shows a schematic diagram of a slice diagram in the related art.
  • FIG. 2 shows a flowchart of a three-dimensional data display method according to an embodiment of the present disclosure.
  • FIG. 3 shows a schematic diagram of a position adjustment control according to an embodiment of the present disclosure.
  • Figure 4 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • Figure 5 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • Figure 6 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • Figure 7 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • Figure 8 shows a schematic diagram of a control panel according to an embodiment of the present disclosure.
  • FIG. 9 shows a block diagram of a three-dimensional data display device according to an embodiment of the present disclosure.
  • FIG. 10 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • exemplary means "serving as an example, example, or illustrative.” Any embodiment described herein as “exemplary” is not necessarily to be construed as superior or superior to other embodiments.
  • a and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations.
  • at least one herein means any one of a plurality or any combination of at least two of a plurality, for example, including at least one of A, B, and C, which can mean including from A, Any one or more elements selected from the set composed of B and C.
  • FIG. 2 shows a flow chart of a three-dimensional data display method according to an embodiment of the present disclosure.
  • the three-dimensional data display method can be executed by a terminal device.
  • the terminal device can be a user equipment (User Equipment, UE), a mobile device, a user terminal, a terminal , cellular phones, cordless phones, personal digital assistants (Personal Digital Assistant, PDA), handheld devices, computing devices, vehicle-mounted devices, wearable devices and other electronic devices, the method can call the computer stored in the memory through the processor of the electronic device Implemented in the form of readable instructions.
  • the three-dimensional data display method includes:
  • step S11 three-dimensional scan data of human body parts is obtained.
  • the three-dimensional scan data can be three-dimensional data obtained by scanning human body parts with a CT device.
  • the CT device can directly transmit the three-dimensional scan data obtained by the scan to the above-mentioned electronic device, or can also transmit it to the backend.
  • the server is sent by the back-end server to an electronic device that needs to view slice images of human body parts, etc. This embodiment of the present disclosure does not limit this.
  • the three-dimensional scanning data includes slice data of human body parts in three dimensions and slice position information corresponding to the slice data of human body parts in three dimensions.
  • Human body parts may include, for example, abdomen, chest, head, etc., to which embodiments of the present disclosure are not limited; slice data may be understood as three-dimensional data required to render slice images of human body parts, and slice data may be in a preset data format (for example, vis3D format), so that electronic devices can render slice images.
  • the slice position information includes the slice positions of all slice data in human body parts.
  • the three dimensions defined by the three-dimensional coordinate system may include: X-axis dimension, Y-axis dimension and Z-axis dimension. It should be understood that the dimensions of the slice data of each dimension, slice positions, etc.
  • the three-dimensional coordinate system is used as the benchmark. Of course, it can also be projected into other three-dimensional coordinate systems (such as the three-dimensional coordinate system constructed when displaying the three-dimensional slice model) according to actual needs, so as to render the slice diagram in the display interface of the electronic device.
  • the disclosed embodiments are not limiting.
  • step S12 slice data at the target slice position is determined based on the target slice position and slice position information respectively specified in three dimensions.
  • the target slice position can be understood as the slice position of the human body part of the slice image that the user desires to display.
  • the user can pre-specify the target slice position in the three-dimensional coordinate system of the three-dimensional slice model. For example, the user can set the coordinate positions on the three coordinate axes of the three-dimensional coordinate system, and use the set coordinate positions as Target slice location.
  • a position adjustment control for adjusting the target slice position can be provided in the display interface.
  • the user can use the position adjustment control to adjust the target slice position respectively.
  • Figure 3 shows a schematic diagram of a position adjustment control according to an embodiment of the present disclosure. As shown in Figure 3, the user can specify goals in three dimensions by adjusting the position of the "hollow circle" in each dimension on the line segment. Slice position.
  • the slice position information includes the slice positions of all slice data in the human body part. Then according to the target slice positions and slice position information specified in the three dimensions, the slices at the target slice positions specified in the three dimensions can be obtained. The data is used to display the three-dimensional slice model of human body parts using the target slice positions specified in three dimensions.
  • a three-dimensional slice model of the human body part is displayed according to the slice data at the target slice position.
  • the three-dimensional slice model includes: a slice map of the human body part at the target slice position rendered according to the slice data.
  • the slice data can be understood as the three-dimensional data required to render the slice map, in which the three-dimensional slice model of the human body part is displayed according to the slice data at the target slice position, which can be understood as, according to the three targets in three dimensions.
  • the slice data at the slice position renders a slice image of the human body part at the target slice position in the display interface of the electronic device.
  • rendering technologies known in the art such as the open source three.js technology, to render slice images based on slice data, and the embodiments of the present disclosure are not limited to this.
  • Figure 4 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure. As shown in Figure 4, the three-dimensional slice model includes three slice images in three dimensions.
  • At least one three-dimensional scan data of a human body part can be obtained through the above step S11, such as three-dimensional scan data of the same human body part of the same person at different times, or three-dimensional scan data of the same human body part of different people.
  • steps S12-S13 can display at least one three-dimensional slice model in the display interface, which can facilitate the user to compare different three-dimensional slice models of human body parts at the same time.
  • the slice data at the target slice position is determined through the target slice position and slice position information specified in three dimensions, and the three-dimensional slice model of the human body part is displayed according to the slice data at the target slice position, which can be
  • the three-dimensional slice model simultaneously displays slice images at three target slice positions specified by the user in three dimensions, so that users can more conveniently and intuitively view slice images at different target slice positions.
  • the user can use the position adjustment control to specify different target slice positions in different dimensions, so as to facilitate the user to view slice maps at different target slice positions in different dimensions.
  • the three Determining the slice data at the target slice position according to the target slice position and slice position information respectively specified in the dimensions, including: in response to receiving a slice position adjustment instruction for the target dimension, determining the target in the target dimension indicated by the slice position adjustment instruction. The slice data at the slice location.
  • the target dimension can be understood as the dimension in which the target slice position adjusted by the user is located.
  • the target dimension can be any one of the three dimensions.
  • the user uses the above position adjustment control to adjust the target slice position in the X-axis dimension.
  • the X-axis dimension can be the target dimension.
  • the operation of moving the "hollow circle” corresponding to the X-axis dimension in the above-mentioned position adjustment control can be understood as issuing an adjustment instruction for the slice position in the X-axis dimension.
  • the "hollow circle” on the line segment The position corresponds to the target slice position indicated in the X-axis dimension by the slice position adjustment instruction.
  • the slice position adjustment instruction can indicate the target slice position in the target dimension, that is, the specified target slice position in the target dimension is obtained. According to the target slice position in the target dimension indicated by the slice position adjustment instruction and the above slice position information, you can Determine the slice data at the target slice position in the target dimension indicated by the slice position adjustment instruction.
  • a three-dimensional slice model of the human body part is displayed based on the slice data at the target slice position, including : Based on the slice data at the target slice position in the target dimension indicated by the slice position adjustment instruction, render the slice map of the human body part at the target slice position in the target dimension. In this way, slice images at different target slice positions in different dimensions can be easily displayed.
  • the target dimension can be any of the three dimensions. It should be understood that when the display interface is displayed for the first time When the 3D slice model is displayed in the 3D slice model, the slice map in three dimensions can be rendered according to the preset default slice positions in the three dimensions. When the user adjusts the target slice position in the target dimension, the target can be re-rendered in the 3D slice model. Slice images in one dimension, and slice images in other dimensions do not need to be re-rendered.
  • Figure 5 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • Figures 5 and 4 respectively show slice diagrams at different target slice positions in three dimensions. It should be understood that it can be shown in Figure 5 Adjust to FIG. 4 , or adjust from FIG. 4 to FIG. 5 , which is not limited by the embodiment of the present disclosure.
  • the user can display slice images at different target slice positions in three dimensions in the three-dimensional slice model by adjusting the target slice position, making it easier for the user to view slice images in different dimensions at the same time.
  • the three-dimensional scan data also includes organ outline information and organ position information of at least one organ in the human body part, and the method further includes:
  • a three-dimensional block corresponding to at least one organ is rendered in the three-dimensional slice model; wherein each three-dimensional block has an outline similar to that of each organ, and each three-dimensional block is in the three-dimensional slice model
  • the positions shown in the model correspond to the actual positions of the various organs within the human body part. In this way, it is convenient for the user to intuitively view the relative positions of the slice diagrams at different target slice positions relative to the human body parts, and it is also convenient for the user to understand the slice content displayed by the slice diagrams at different target slice positions.
  • the organ outline information can represent the outline of the organs in the human body part
  • the organ position information can represent the actual position of the organ in the human body part.
  • the user can preset the organ type to display the three-dimensional tiles in the three-dimensional slice model (such as the liver, pancreas, etc. in the human abdomen), and the organ outline information and organ position information can be respectively based on the organ type set by the user.
  • the information extracted from the three-dimensional scan data is not limited by the embodiments of the present disclosure.
  • the rendering technology known in the art can be used to render the three-dimensional block corresponding to the at least one organ in the three-dimensional slice model, and the three-dimensional block is in The three-dimensional slice model is fixed relative to the slice map.
  • the three-dimensional slice model can display slice maps at different target slice positions. This allows users to intuitively see the slice maps at different target slice positions relative to the organs in the human body. relative position.
  • the method further includes: responding to receiving a hiding instruction for the displayed three-dimensional tile, hiding the three-dimensional tile indicated by the hiding instruction in the three-dimensional slice model; and/or, in response to receiving the display instruction for the hidden three-dimensional tile, in the three-dimensional Renders the three-dimensional tiles indicated by the display directive in the sliced model. In this way, it is convenient for the user to randomly display or hide the three-dimensional tiles of the organ.
  • the hiding instruction can indicate the three-dimensional tile to be hidden. After receiving the hiding instruction, the three-dimensional tile indicated by the hiding instruction can be hidden.
  • the display instruction can indicate the three-dimensional tile to be displayed. When the display instruction is received, the three-dimensional tile indicated by the hiding instruction can be hidden.
  • the three-dimensional block indicated by the display instruction can be re-displayed after the instruction.
  • a hidden button and/or a displayed button can be provided in the display interface to facilitate the user to utilize the hidden button and/or displayed button.
  • the display button issues a hiding instruction and/or a display instruction, which is not limited by the embodiment of the present disclosure.
  • the three-dimensional tiles of different organs can use different colors and/or different transparency, that is, the three-dimensional tiles corresponding to different organs in the human body parts
  • the display effects include at least one of color and transparency
  • the method further includes:
  • the color adjustment instruction In response to receiving the color adjustment instruction for the three-dimensional tile, convert the color of the three-dimensional tile indicated by the color adjustment instruction into the target color indicated by the color adjustment instruction; and/or in response to receiving the transparency of the three-dimensional tile.
  • the adjustment instruction converts the transparency of the three-dimensional tile indicated by the transparency adjustment instruction into the target transparency indicated by the transparency adjustment instruction. In this way, users can easily customize the display effect of three-dimensional tiles.
  • an input box control can be provided after the user selects any three-dimensional tile to receive the user's input.
  • the method of inputting the color value of the target color and the numerical value of the target transparency into the frame control is not limited in this embodiment of the present disclosure.
  • the three-dimensional slice model can display slices in three dimensions at the same time, but users may have needs to only see slices in a certain dimension.
  • the three-dimensional slice model has at least one view mode among a three-dimensional view, a cross-cut view, a longitudinal view and a vertical view, where the three-dimensional view is used to display three-dimensional slice images at the same time,
  • the cross-cut perspective is used to display horizontal slices in the X-axis dimension
  • the longitudinal perspective is used to display vertical slices in the Y-axis dimension
  • the vertical perspective is used to display vertical slices in the Z-axis dimension.
  • the method further includes: in response to receiving a view switching instruction for the three-dimensional slice model, controlling the three-dimensional slice model to transform into view switching.
  • the target perspective mode indicated by the command In this way, users can easily view slice images in different viewing angle modes.
  • the target viewing angle mode can be understood as a viewing angle mode indicated by the viewing angle switching instruction that is different from the currently displayed viewing angle mode. It should be understood that those skilled in the art can design and develop the triggering method of the perspective switching instruction according to actual needs.
  • a perspective switching button can be provided in the display interface to facilitate the user to issue a perspective switching instruction through the perspective switching button.
  • the disclosed embodiments are not limiting.
  • Figure 6 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • it can be a three-dimensional slice model from a vertical perspective.
  • the vertical perspective can display vertical slices in the Z-axis dimension. slice diagram.
  • the three-dimensional slice model shown in Figure 6 can also be a cross-cut perspective or a longitudinal perspective, which can be determined based on the directions of the three coordinate axes in the three-dimensional coordinate system corresponding to the three-dimensional slice model.
  • the embodiment of the present disclosure No restrictions.
  • each view model can be preset to have a default pose corresponding to it.
  • the current pose of the three-dimensional slice model is adjusted to the default pose corresponding to the target view mode, thereby achieving Controls the transformation of the three-dimensional slice model into the target perspective mode indicated by the perspective switching command.
  • the method further includes: in response to receiving the three-dimensional The pose adjustment instruction of the slice model transforms the three-dimensional slice model into the target pose indicated by the pose adjustment instruction. In this way, the user can easily adjust the three-dimensional slice model to a customized target pose, and facilitate the user to view the three-dimensional slice model in different poses.
  • the method further includes: in response to receiving a request for a three-dimensional slice
  • the light and dark adjustment instruction of the slice map in the model adjusts the light and dark contrast effects of different sliced tissues in the slice map according to at least one of the brightness and contrast indicated by the light and dark adjustment instruction. In this way, users can easily adjust the light and dark contrast effects of different sliced tissues in the slice diagram.
  • adjusting the light and dark contrast effect of different sliced tissues in the slice diagram according to at least one of the brightness and contrast indicated by the light and dark adjustment instruction can be understood as, according to at least one of the brightness and contrast indicated by the light and dark adjustment instruction, Re-render each slice in the three-dimensional slice model so that the light and dark contrast effects of different sliced tissues in each re-rendered slice match the brightness and/or contrast indicated by the light and dark adjustment instructions.
  • the light and dark adjustment controls can be provided in the display interface with reference to the above position adjustment control method to facilitate the user to issue the light and dark adjustment instructions through the light and dark adjustment controls.
  • the embodiment of the present disclosure does not limit the brightness adjustment instruction.
  • Figure 7 shows a schematic diagram of a three-dimensional slice model according to an embodiment of the present disclosure.
  • the three-dimensional slice model in Figure 7 can be a three-dimensional slice model from a cross-cutting perspective.
  • the slice diagram in Figure 7 is the same as that in the above-mentioned Figures 4-6
  • the contrast between light and dark in the slice diagram is different.
  • the brightness and contrast of the sliced tissue in the slice diagram shown in Figure 7 are higher.
  • Figure 8 shows a schematic diagram of a control panel according to an embodiment of the present disclosure.
  • the control panel shown in Figure 8 provides the above-mentioned related controls for implementing various instructions, so that the user can use the control panel to issue the above-mentioned various instructions to the three-dimensional slice model.
  • a kind of instruction in which the user can click the buttons corresponding to different perspective modes at the "View Mode” to switch the perspective model.
  • the selected perspective mode can be indicated by highlighting, bolding, changing color, etc.; the user can click on the "Tile Mode” at the You can display all 3D tiles by setting the "Show All” button, and you can also set the "Hide All” button to hide all 3D tiles.
  • 3D tiles can also set whether the 3D tiles are in "3D mode” or “slice mode” or “3D mode”. It can be understood as displaying a complete three-dimensional tile of an organ. "Slice mode” can be understood as displaying a partial 3D tile at the target slice position. Some 3D tiles can have a preset thickness; it can be selected in the "X-axis dimension” and "Y-axis dimension”.
  • the user can enter the color value "FF0000” and transparency "1.0" of the target color in the input box and click " The "Update” button then adjusts at least one of the color and transparency of the three-dimensional tile 2. It should be understood that when the "+” expand button is clicked to expand the input box, the "+” expand button can become a "-" collapse button, the user can collapse the above input box control after clicking the "-" collapse button.
  • control panel shown in FIG. 8 is an implementation method provided by the embodiment of the present disclosure. Those skilled in the art can customize the design of the control panel and the functional controls included in the control panel according to actual needs. For example, A control for modifying the names of three-dimensional tiles can be designed, and the embodiments of the present disclosure do not limit this.
  • Embodiments of the present disclosure provide an implementation method for viewing a three-dimensional slice model through a front-end browser. That is, the three-dimensional scan data can be loaded from the back-end server and the three-dimensional slice model can be rendered through the front-end browser. In this way, the three-dimensional slice model can be viewed online through the browser. , there is no need to install 3D software locally, which improves the convenience of viewing 3D slice models.
  • the three-dimensional data display method is applied to a front-end browser.
  • step S11 three-dimensional scan data of human body parts are obtained, including:
  • the original data format can be, for example, Protobuf (a data description language capable of serializing structured data) format; wherein, users can use Protobuf technology to customize the constructed data format, and use Protobuf technology to construct
  • the data format can be called Protobuf format to facilitate data interaction between the front-end browser and the back-end database.
  • the Protobuf definition file proto file is usually generated.
  • the proto file contains the interactive data agreed upon when the front-end and back-end interact with each other, as well as the analysis method of the interactive data.
  • the front-end browses The browser can obtain the Protobuf definition file proto file in advance.
  • the front-end browser After the front-end browser receives the .proto file, for example, it can use the local open source library grpc-tools and @grpc/grpc-js to convert the .proto file into specific data access Class file (such as .js file), add the data access class file into the local program, so that the method in the data access class file can be used to parse the interactive data in Protobuf format (such as the above-mentioned original three-dimensional scanning data with original data format), for example, Use the deserialization binary method in the data access class file to deserialize and parse the original 3D scan data into 3D scan data with a preset data format, and then use the object data acquisition method in the data access class file to obtain the 3D scan data from the above 3D scan data. Extract at least one of the above information from the data, etc.
  • Protobuf format such as the above-mentioned original three-dimensional scanning data with original data format
  • the preset data format can be a data format that the browser can recognize when rendering slices.
  • the preset data format can be, for example, Vis3D format. This embodiment of the present disclosure is not limited to this, that is, from three-dimensional scanned data
  • the slice data extracted from has the above-mentioned Vis3D format, which facilitates rendering of slice images based on the slice data.
  • the three-dimensional scan data can be data obtained by scanning human body parts with CT equipment.
  • the CT equipment can upload the scanned three-dimensional scan data to the back-end server, so that It is easy to obtain 3D scanning data online from the back-end server through the front-end browser, and display the 3D slice model based on the 3D scanning data.
  • online visualization of 3D scan data is realized, and Vis3D format files can be viewed directly in the browser; 3D scan data can be uploaded to the back-end server, and the 3D slice model can be viewed directly online through the browser after uploading. , which improves the convenience for users to view 3D slice models.
  • online viewing of three-dimensional scan data can be realized.
  • the environmental configuration cost required for viewing three-dimensional scan data is reduced, and At least two 3D slice models can be rendered simultaneously on one display interface for users to compare and view.
  • the present disclosure can also be applied to a network model training system, and the training effect of the network model can be viewed during network model training.
  • the network model can be used to generate a three-dimensional slice model, which facilitates improving the development efficiency of the network model.
  • the present disclosure also provides a three-dimensional data display device, electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any three-dimensional data display method provided by the present disclosure.
  • a three-dimensional data display device electronic equipment, computer-readable storage media, and programs, all of which can be used to implement any three-dimensional data display method provided by the present disclosure.
  • Figure 9 shows a block diagram of a three-dimensional data display device according to an embodiment of the present disclosure. As shown in Figure 9, the device includes:
  • the acquisition module 101 is used to acquire three-dimensional scan data of human body parts.
  • the three-dimensional scan data includes slice data of the human body part in three dimensions and the slice data of the three dimensions corresponds to the slice position of the human body part. information;
  • Determining module 102 configured to determine slice data at the target slice position according to the target slice positions specified in the three dimensions and the slice position information
  • the display module 103 is configured to display a three-dimensional slice model of the human body part according to the slice data at the target slice position.
  • the three-dimensional slice model includes: the human body part rendered according to the slice data.
  • the determination module 102 includes: a slice data determination submodule, configured to respond to receiving a slice position adjustment instruction for a target dimension, determine the slice position adjustment instruction indicated by the slice position adjustment instruction. Slice data at the target slice position in the target dimension; wherein, the display module 103 includes: a slice map rendering submodule, configured to adjust the slice data at the target slice position in the target dimension according to the slice position adjustment instruction. The slice data is used to render the slice image of the human body part at the target slice position in the target dimension.
  • the three-dimensional scan data also includes organ outline information and organ position information of at least one organ in the human body part
  • the device further includes: a tile rendering module, configured to Organ outline information and organ position information of the at least one organ, and rendering a three-dimensional block corresponding to the at least one organ in the three-dimensional slice model; wherein each three-dimensional block has an outline similar to that of each organ, and each of the three-dimensional blocks has an outline similar to that of each organ.
  • the display position of the three-dimensional tile in the three-dimensional slice model corresponds to the actual position of each organ in the human body part.
  • the device further includes: a tile hiding module, configured to, in response to receiving a hiding instruction for a displayed three-dimensional tile, store the hidden instruction indicated in the three-dimensional slice model. Hide the three-dimensional tiles; and/or, a tile display module, configured to render the three-dimensional image indicated by the display instruction in the three-dimensional slice model in response to receiving a display instruction for the hidden three-dimensional tile. piece.
  • a tile hiding module configured to, in response to receiving a hiding instruction for a displayed three-dimensional tile, store the hidden instruction indicated in the three-dimensional slice model. Hide the three-dimensional tiles
  • a tile display module configured to render the three-dimensional image indicated by the display instruction in the three-dimensional slice model in response to receiving a display instruction for the hidden three-dimensional tile. piece.
  • the three-dimensional tiles corresponding to different organs in the human body part have different display effects.
  • the display effects include at least one of color and transparency.
  • the device further includes: tile color A transformation module configured to, in response to receiving a color adjustment instruction for a three-dimensional tile, transform the color of the three-dimensional tile indicated by the color adjustment instruction into a target color indicated by the color adjustment instruction; and/or, FIG.
  • a block transparency conversion module configured to, in response to receiving a transparency adjustment instruction for a three-dimensional block, convert the transparency of the three-dimensional block indicated by the transparency adjustment instruction into a target transparency indicated by the transparency adjustment instruction.
  • the three-dimensional slice model has at least one of a three-dimensional perspective, a transverse perspective, a longitudinal perspective, and a vertical perspective, wherein the three-dimensional perspective is used to simultaneously display three dimensions.
  • the cross-section view is used to display the cross-section view in the A vertical slice diagram; wherein the three-dimensional slice model is currently displayed in any viewing angle mode, and the device further includes: a viewing angle switching module, configured to control all viewing angles in response to receiving a viewing angle switching instruction for the three-dimensional slice model.
  • the three-dimensional slice model is transformed into the target perspective mode indicated by the perspective switching instruction; and/or a pose transformation module is configured to convert the three-dimensional slice model into a target perspective mode in response to receiving a pose adjustment instruction for the three-dimensional slice model.
  • the model is transformed into the target pose indicated by the pose adjustment instruction.
  • the device further includes: a light and dark adjustment module, configured to, in response to receiving a light and dark adjustment instruction for a slice map in the three-dimensional slice model, adjust the brightness indicated by the light and dark adjustment instruction. and at least one of contrast, adjusting the light and dark contrast effects of different sliced tissues in the slice diagram.
  • a light and dark adjustment module configured to, in response to receiving a light and dark adjustment instruction for a slice map in the three-dimensional slice model, adjust the brightness indicated by the light and dark adjustment instruction. and at least one of contrast, adjusting the light and dark contrast effects of different sliced tissues in the slice diagram.
  • the acquisition module 101 includes: an original data acquisition sub-module, used to acquire the original three-dimensional scan data in the original data format sent by the back-end server; a data conversion module, used to convert the The original three-dimensional scan data is converted into three-dimensional scan data with a preset data format; an information extraction module is used to extract at least one of the following information from the three-dimensional scan data with a preset data format: the human body parts in three dimensions The slice data, the slice position information of the three-dimensional slice data, the organ outline information and organ position information of at least one organ in the human body part.
  • the slice data at the target slice position is determined through the target slice position and slice position information specified in three dimensions respectively, and the three-dimensional slice model of the human body part is displayed according to the slice data at the target slice position, which can In the three-dimensional slice model, the slice images at the three target slice positions specified by the user in three dimensions are simultaneously displayed, so that the user can more conveniently and intuitively view the slice images at different target slice positions in different dimensions, improving the accuracy of the slice image. Check efficiency.
  • the functions or modules provided by the device provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
  • the functions or modules provided by the device provided by the embodiments of the present disclosure can be used to execute the methods described in the above method embodiments.
  • Embodiments of the present disclosure also provide a computer-readable storage medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above method is implemented.
  • Computer-readable storage media may be volatile or non-volatile computer-readable storage media.
  • An embodiment of the present disclosure also provides an electronic device, including: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to call instructions stored in the memory to execute the above method.
  • Embodiments of the present disclosure also provide a computer program product, including computer readable code, or a non-volatile computer readable storage medium carrying the computer readable code.
  • computer readable code When the computer readable code is stored in a processor of an electronic device, When running, the processor in the electronic device executes the above method.
  • the electronic device may be provided as a terminal or other form of device.
  • FIG. 10 shows a block diagram of an electronic device 800 according to an embodiment of the present disclosure.
  • the electronic device 800 may be a user equipment (User Equipment, UE), mobile device, user terminal, terminal, cellular phone, cordless phone, personal digital assistant (Personal Digital Assistant, PDA), handheld device, computing device, vehicle-mounted device, Terminal devices such as wearable devices.
  • UE User Equipment
  • PDA Personal Digital Assistant
  • electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communications component 816.
  • Processing component 802 generally controls the overall operations of electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method.
  • processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components.
  • processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
  • Memory 804 is configured to store various types of data to support operations at electronic device 800 . Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 804 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 806 provides power to various components of electronic device 800 .
  • Power supply components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800 .
  • Multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 808 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 810 is configured to output and/or input audio signals.
  • audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or sent via communication component 816 .
  • audio component 810 also includes a speaker for outputting audio signals.
  • the I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 814 includes one or more sensors for providing various aspects of status assessment for electronic device 800 .
  • the sensor component 814 can detect the open/closed state of the electronic device 800, the relative positioning of the components, such as the display and keypad of the electronic device 800, the sensor component 814 can also detect the electronic device 800 or an electronic device 800.
  • the position of components changes, the presence or absence of user contact with the electronic device 800 , the orientation or acceleration/deceleration of the electronic device 800 and the temperature of the electronic device 800 change.
  • Sensor component 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 814 may also include a light sensor, such as a complementary metal oxide semiconductor (CMOS) or charge coupled device (CCD) image sensor, for use in imaging applications.
  • CMOS complementary metal oxide semiconductor
  • CCD charge coupled device
  • the sensor component 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices.
  • the electronic device 800 can access a wireless network based on communication standards, such as wireless network (Wi-Fi), second generation mobile communication technology (2G), third generation mobile communication technology (3G), fourth generation mobile communication technology (4G ), long-term evolution (LTE) of universal mobile communication technology, fifth-generation mobile communication technology (5G) or their combination.
  • the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 816 also includes a near field communications (NFC) module to facilitate short-range communications.
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 800 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmable gate array
  • controller microcontroller, microprocessor or other electronic component implementation is used to perform the above method.
  • a non-volatile computer-readable storage medium is also provided, such as a memory 804 including computer program instructions, which can be executed by the processor 820 of the electronic device 800 to complete the above method.
  • the present disclosure may be a system, method, and/or computer program product.
  • a computer program product may include a computer-readable storage medium having thereon computer-readable program instructions for causing a processor to implement aspects of the present disclosure.
  • Computer-readable storage media may be tangible devices that can retain and store instructions for use by an instruction execution device.
  • the computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or Flash memory), Static Random Access Memory (SRAM), Compact Disk Read Only Memory (CD-ROM), Digital Versatile Disk (DVD), Memory Stick, Floppy Disk, Mechanical Coding Device, such as a printer with instructions stored on it.
  • RAM random access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • Flash memory Static Random Access Memory
  • CD-ROM Compact Disk Read Only Memory
  • DVD Digital Versatile Disk
  • Memory Stick
  • Computer-readable storage media are not to be construed as transient signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or through electrical wires. transmitted electrical signals.
  • Computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to various computing/processing devices, or to an external computer or external storage device over a network, such as the Internet, a local area network, a wide area network, and/or a wireless network.
  • the network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and/or edge servers.
  • a network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage on a computer-readable storage medium in the respective computing/processing device .
  • Computer program instructions for performing operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or instructions in one or more programming languages.
  • the computer-readable program instructions 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 implement.
  • the remote computer can 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 it can be connected to an external computer (such as an Internet service provider through the Internet). connect).
  • LAN local area network
  • WAN wide area network
  • an external computer such as an Internet service provider through the Internet. connect
  • an electronic circuit such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA)
  • the electronic circuit can Computer readable program instructions are executed to implement various aspects of the disclosure.
  • These computer-readable program instructions may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, thereby producing a machine that, when executed by the processor of the computer or other programmable data processing apparatus, , resulting in an apparatus that implements the functions/actions specified in one or more blocks in the flowchart and/or block diagram.
  • These computer-readable program instructions can also be stored in a computer-readable storage medium. These instructions cause the computer, programmable data processing device and/or other equipment to work in a specific manner. Therefore, the computer-readable medium storing the instructions includes An article of manufacture that includes instructions that implement aspects of the functions/acts specified in one or more blocks of the flowcharts and/or block diagrams.
  • Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other equipment, causing a series of operating steps to be performed on the computer, other programmable data processing apparatus, or other equipment to produce a computer-implemented process , thereby causing instructions executed on a computer, other programmable data processing apparatus, or other equipment to implement the functions/actions specified in one or more blocks in the flowcharts and/or block diagrams.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions that embody one or more elements for implementing the specified logical function(s).
  • Executable instructions may occur out of the order noted in the figures. For example, two consecutive blocks may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
  • each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or acts. , or can be implemented using a combination of specialized hardware and computer instructions.
  • the computer program product can be implemented specifically through hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium.
  • the computer program product is embodied as a software product, such as a Software Development Kit (SDK), etc. wait.
  • SDK Software Development Kit
  • the writing order of each step does not mean a strict execution order and does not constitute any limitation on the implementation process.
  • the specific execution order of each step should be based on its function and possible The internal logic is determined.
  • the products applying the technical solution of this application will clearly inform the personal information processing rules and obtain the individual's independent consent before processing personal information.
  • the product applying the technical solution in this application must obtain the individual's separate consent before processing sensitive personal information, and meet the requirement of "express consent" at the same time. For example, setting up clear and conspicuous signs on personal information collection devices such as cameras to inform them that they have entered the scope of personal information collection, and that personal information will be collected.
  • personal information processing rules may include personal information processing rules.
  • Information such as information processors, purposes of processing personal information, methods of processing, and types of personal information processed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Architecture (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Apparatus For Radiation Diagnosis (AREA)
  • Image Generation (AREA)

Abstract

本公开涉及一种三维数据显示方法及装置、电子设备和存储介质,所述方法包括:获取人体部位的三维扫描数据,三维扫描数据中包括人体部位在三个维度的切片数据以及三个维度的切片数据对应于人体部位的切片位置信息;根据在三个维度上分别指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据;根据目标切片位置处的切片数据,显示人体部位的三维切片模型,三维切片模型中包括:根据切片数据渲染得到的人体部位在所述目标切片位置处的切片图。

Description

三维数据显示方法及装置、电子设备和存储介质
本公开要求在2022年03月23日提交中国专利局、申请号为202210294997.0、申请名称为“三维数据显示方法及装置、电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及计算机技术领域,尤其涉及一种三维数据显示方法及装置、电子设备和存储介质。
背景技术
目前的医疗场景中,通过CT(计算机断层扫描,Computed Tomography)技术,可以扫描得到的人体部位的多个切片图,通常是扫描人员选取一些切片图并以平面铺开的展示方式提供给医生查看病变,例如图1示出相关技术中的一种切片图的示意图。
发明内容
本公开提出了一种三维数据显示技术方案。
根据本公开的一方面,提供了一种三维数据显示方法,包括:获取人体部位的三维扫描数据,所述三维扫描数据中包括所述人体部位在三个维度的切片数据以及所述三个维度的切片数据对应于所述人体部位的切片位置信息;根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据;根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,所述三维切片模型中包括:根据所述切片数据渲染得到的所述人体部位在所述目标切片位置处的切片图。
在一种可能的实现方式中,所述根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据,包括:响应于接收到针对目标维度的切片位置调节指令,确定所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据;其中,所述根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,包括:根据所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据,渲染所述人体部位在所述目标维度下的目标切片位置处的切片图。
在一种可能的实现方式中,所述三维扫描数据中还包括所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息,所述方法还包括:根据所述至少一个器官的器官轮廓信息与器官位置信息,在所述三维切片模型中渲染所述至少一个器官对应的三维图块;其中,各个三维图块具有与各个器官相似的外形轮廓,所述各个三维图块在所述三维切片模型中的显示位置对应于所述各个器官在所述人体部位内的实际位置。
在一种可能的实现方式中,所述方法还包括:响应于接收到针对已显示的三维图块的隐藏指令,将所述三维切片模型中所述隐藏指令所指示的三维图块进行隐藏;和/或, 响应于接收到针对已隐藏的三维图块的显示指令,在所述三维切片模型中渲染所述显示指令所指示的三维图块。
在一种可能的实现方式中,所述人体部位内不同器官对应的三维图块具有不同的显示效果,所述显示效果包括颜色、透明度中的至少一种,所述方法还包括:响应于接收到针对三维图块的颜色调节指令,将所述颜色调节指令指示的三维图块的颜色,变换为所述颜色调节指令所指示的目标颜色;和/或,响应于接收到针对三维图块的透明度调节指令,将所述透明度调节指令指示的三维图块的透明度,变换为所述透明度调节指令所指示的目标透明度。
在一种可能的实现方式中,所述三维切片模型具有三维视角、横切视角、纵切视角以及竖切视角中的至少一种视角模式,其中,所述三维视角用于同时展示三个维度的切片图,所述横切视角用于展示X轴维度上的横切片图,所述纵切视角用于展示Y轴维度上的纵切片图,所述竖切视角用于展示Z轴维度上的竖切片图;其中,所述三维切片模型当前显示为任一种视角模式,所述方法还包括:响应于接收到针对所述三维切片模型的视角切换指令,控制所述三维切片模型变换为所述视角切换指令所指示的目标视角模式;和/或,响应于接收到针对所述三维切片模型的位姿调节指令,将所述三维切片模型变换为所述位姿调节指令指示的目标位姿。
在一种可能的实现方式中,所述方法还包括:响应于接收到针对所述三维切片模型中的切片图的明暗调节指令,根据所述明暗调节指令所指示的亮度与对比度中的至少一种,调节所述切片图中不同切片组织的明暗对比效果。
在一种可能的实现方式中,所述获取人体部位的三维扫描数据,包括:获取后端服务器发送的具有原始数据格式的原始三维扫描数据;将所述原始三维扫描数据转换为具有预设数据格式的三维扫描数据;从所述具有预设数据格式的三维扫描数据中提取以下至少一种信息:所述人体部位在三个维度的切片数据、所述三个维度的切片数据的切片位置信息、所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息。
根据本公开的一方面,提供了一种三维数据显示装置,包括:获取模块,用于获取人体部位的三维扫描数据,所述三维扫描数据中包括所述人体部位在三个维度的切片数据以及所述三个维度的切片数据对应于所述人体部位的切片位置信息;确定模块,用于根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据;显示模块,用于根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,所述三维切片模型中包括:根据所述切片数据渲染得到的所述人体部位在所述目标切片位置处的切片图。
在一种可能的实现方式中,所述确定模块,包括:切片数据确定子模块,用于响应于接收到针对目标维度的切片位置调节指令,确定所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据;其中,所述显示模块,包括:切片图渲染子模块,用于根据所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切 片数据,渲染所述人体部位在所述目标维度下的目标切片位置处的切片图。
在一种可能的实现方式中,所述三维扫描数据中还包括所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息,所述装置还包括:图块渲染模块,用于根据所述至少一个器官的器官轮廓信息与器官位置信息,在所述三维切片模型中渲染所述至少一个器官对应的三维图块;其中,各个三维图块具有与各个器官相似的外形轮廓,所述各个三维图块在所述三维切片模型中的显示位置对应于所述各个器官在所述人体部位内的实际位置。
在一种可能的实现方式中,所述装置还包括:图块隐藏模块,用于响应于接收到针对已显示的三维图块的隐藏指令,将所述三维切片模型中所述隐藏指令所指示的三维图块进行隐藏;和/或,图块显示模块,用于响应于接收到针对已隐藏的三维图块的显示指令,在所述三维切片模型中渲染所述显示指令所指示的三维图块。
在一种可能的实现方式中,所述人体部位内不同器官对应的三维图块具有不同的显示效果,所述显示效果包括颜色、透明度中的至少一种,所述装置还包括:图块颜色变换模块,用于响应于接收到针对三维图块的颜色调节指令,将所述颜色调节指令指示的三维图块的颜色,变换为所述颜色调节指令所指示的目标颜色;和/或,图块透明度变换模块,用于响应于接收到针对三维图块的透明度调节指令,将所述透明度调节指令指示的三维图块的透明度,变换为所述透明度调节指令所指示的目标透明度。
在一种可能的实现方式中,所述三维切片模型具有三维视角、横切视角、纵切视角以及竖切视角中的至少一种视角模式,其中,所述三维视角用于同时展示三个维度的切片图,所述横切视角用于展示X轴维度上的横切片图,所述纵切视角用于展示Y轴维度上的纵切片图,所述竖切视角用于展示Z轴维度上的竖切片图;其中,所述三维切片模型当前显示为任一种视角模式,所述装置还包括:视角切换模块,用于响应于接收到针对所述三维切片模型的视角切换指令,控制所述三维切片模型变换为所述视角切换指令所指示的目标视角模式;和/或,位姿变换模块,用于响应于接收到针对所述三维切片模型的位姿调节指令,将所述三维切片模型变换为所述位姿调节指令指示的目标位姿。
在一种可能的实现方式中,所述装置还包括:明暗调节模块,用于响应于接收到针对所述三维切片模型中的切片图的明暗调节指令,根据所述明暗调节指令所指示的亮度与对比度中的至少一种,调节所述切片图中不同切片组织的明暗对比效果。
在一种可能的实现方式中,所述获取模块,包括:原始数据获取子模块,用于获取后端服务器发送的具有原始数据格式的原始三维扫描数据;数据转换模块,用于将所述原始三维扫描数据转换为具有预设数据格式的三维扫描数据;信息提取模块,用于从所述具有预设数据格式的三维扫描数据中提取以下至少一种信息:所述人体部位在三个维度的切片数据、所述三个维度的切片数据的切片位置信息、所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息。
根据本公开的一方面,提供了一种电子设备,包括:处理器;用于存储处理器可执 行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。
根据本公开的一方面,提供了一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。
根据本公开的一方面,提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。
在本公开实施例中,通过在三个维度上分别指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据,根据目标切片位置处的切片数据显示人体部位的三维切片模型,能够在三维切片模型中同时显示用户在三个维度上分别指定的三个目标切片位置处的切片图,这样用户可以更加便捷直观地查看不同维度下不同目标切片位置处的切片图,提高切片图的查看效率。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,而非限制本公开。根据下面参考附图对示例性实施例的详细说明,本公开的其它特征及方面将变得清楚。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。
图1示出相关技术中的一种切片图的示意图。
图2示出根据本公开实施例的三维数据显示方法的流程图。
图3示出根据本公开实施例的一种位置调节控件的示意图。
图4示出根据本公开实施例的一种三维切片模型的示意图。
图5示出根据本公开实施例的一种三维切片模型的示意图。
图6示出根据本公开实施例的一种三维切片模型的示意图。
图7示出根据本公开实施例的一种三维切片模型的示意图。
图8示出根据本公开实施例的一种控制面板的示意图。
图9示出根据本公开实施例的三维数据显示装置的框图。
图10示出根据本公开实施例的一种电子设备800的框图。
具体实施方式
以下将参考附图详细说明本公开的各种示例性实施例、特征和方面。附图中相同的附图标记表示功能相同或相似的元件。尽管在附图中示出了实施例的各种方面,但是除非特别指出,不必按比例绘制附图。
在这里专用的词“示例性”意为“用作例子、实施例或说明性”。这里作为“示例性”所说 明的任何实施例不必解释为优于或好于其它实施例。
本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中术语“至少一种”表示多种中的任意一种或多种中的至少两种的任意组合,例如,包括A、B、C中的至少一种,可以表示包括从A、B和C构成的集合中选择的任意一个或多个元素。
另外,为了更好地说明本公开,在下文的具体实施方式中给出了众多的具体细节。本领域技术人员应当理解,没有某些具体细节,本公开同样可以实施。在一些实例中,对于本领域技术人员熟知的方法、手段、元件和电路未作详细描述,以便于凸显本公开的主旨。
图2示出根据本公开实施例的三维数据显示方法的流程图,所述三维数据显示方法可以由终端设备执行,终端设备可以为用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字助理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等电子设备,所述方法可以通过电子设备的处理器调用存储器中存储的计算机可读指令的方式来实现。如图2所示,所述三维数据显示方法包括:
在步骤S11中,获取人体部位的三维扫描数据。
在一种可能的实现方式中,三维扫描数据可以是通过CT设备扫描人体部位所得到的三维数据,CT设备可以将扫描得到的三维扫描数据直接传输给上述电子设备,或还可以传输给后端服务器,由后端服务器发送给需要查看人体部位的切片图的电子设备等,对此本公开实施例不作限制。
其中,三维扫描数据中包括人体部位在三个维度的切片数据以及三个维度的切片数据对应于人体部位的切片位置信息。人体部位例如可以包括腹部、胸部、头部等部位,对此本公开实施例不作限制;切片数据可以理解为渲染人体部位的切片图所需的三维数据,切片数据可以是预设数据格式(例如vis3D格式)的三维数据,以便于电子设备渲染出切片图,切片位置信息包括人体部位内全部切片数据的切片位置。
其中,以三维坐标系来定义三个维度可以包括:X轴维度、Y轴维度以及Z轴维度,应理解的是,各个维度的切片数据的所属维度、切片位置等可以以CT设备自身定义的三维坐标系为基准,当然也可以根据实际需求投影到其它三维坐标系(例如显示三维切片模型时所构建的三维坐标系)中,以便于在电子设备的显示界面中渲染切片图,对此本公开实施例不作限制。
在步骤S12中,根据在三个维度上分别指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据。
其中,目标切片位置可以理解为用户期望显示的切片图在人体部位的切片位置。在一种可能的实现方式中,用户可以在三维切片模型的三维坐标系中预先指定目标切片位 置,例如用户可以在三维坐标系的三个坐标轴上分别设置坐标位置,将设置的坐标位置作为目标切片位置。
在一种可能的实现方式中,为了使用户更便捷地查看不同目标切片位置处的切片图,可以在显示界面中提供用于调节目标切片位置的位置调节控件,用户可以利用位置调节控件,分别指定不同维度上的不同目标切片位置,从而便于用户查看不同维度下不同目标切片位置处的切片图。图3示出根据本公开实施例的一种位置调节控件的示意图,如图3所示,用户可以通过调节各个维度的“空心圆”在线段上的位置,实现分别指定三个维度上的目标切片位置。
如上所述,切片位置信息包括人体部位内全部切片数据的切片位置,那么根据三个维度上分别指定的目标切片位置以及切片位置信息,可以得到三个维度上分别指定的目标切片位置处的切片数据,便于之后利用三个维度上分别指定的目标切片位置,显示人体部位的三维切片模型。
在步骤S13中,根据目标切片位置处的切片数据,显示人体部位的三维切片模型,三维切片模型中包括:根据切片数据渲染得到的人体部位在目标切片位置处的切片图。
如上所述,切片数据可以理解为渲染切片图所需的三维数据,其中,根据目标切片位置处的切片数据,显示人体部位的三维切片模型,可以理解为,根据三个维度上的三个目标切片位置处的切片数据,在电子设备的显示界面中渲染出人体部位在目标切片位置处的切片图。应理解的是,本领域技术人员可以采用本领域已知的渲染技术,例如开源的three.js技术,实现根据切片数据渲染出切片图,对此本公开实施例不作限制。图4示出根据本公开实施例的一种三维切片模型的示意图,如图4所示,三维切片模型中包括三个维度的三个切片图。
应理解的是,通过上述步骤S11可以获取人体部位的至少一个三维扫描数据,例如同一个人的同一人体部位在不同时期的三维扫描数据,或不同人的同一人体部位的三维扫描数据,这样按照步骤S12-S13可以在显示界面中显示至少一个三维切片模型,可以便于用户同时对照人体部位的不同三维切片模型。
在本公开实施例中,通过在三个维度上指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据,根据目标切片位置处的切片数据显示人体部位的三维切片模型,能够在三维切片模型中同时显示用户在三个维度上分别指定的三个目标切片位置处的切片图,这样用户可以更加便捷直观地查看不同目标切片位置处的切片图。
如上所述,用户可以利用位置调节控件分别指定不同维度上的不同目标切片位置,从而便于用户查看不同维度下不同目标切片位置处的切片图,在一种可能的实现方式中,根据在三个维度上分别指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据,包括:响应于接收到针对目标维度的切片位置调节指令,确定切片位置调节指令所指示的目标维度下的目标切片位置处的切片数据。
其中,目标维度可以理解为用户所调节的目标切片位置所在的维度,目标维度可以 是三个维度中的任一维度,例如,用户利用上述位置调节控件,调节了X轴维度的目标切片位置,则X轴维度可以是目标维度,移动上述位置调节控件中X轴维度对应的“空心圆”的操作,可以理解为发出针对X轴维度上的切片位置调节指令,“空心圆”在线段上的位置对应于切片位置调节指令在X轴维度下所指示的目标切片位置。
其中,切片位置调节指令可以指示目标维度下的目标切片位置,也即得到目标维度下指定的目标切片位置,根据切片位置调节指令所指示的目标维度下的目标切片位置以及上述切片位置信息,可以确定出切片位置调节指令所指示的目标维度下的目标切片位置处的切片数据。
应理解的是,上述利用位置调节控件发出切片位置调节指令的方式是本公开实施例提供的一种实现方式,实际上,本领域技术人员可以设计并实现各种切片位置调节指令的实现方式,例如,还可以通过直接设置坐标位置等方式,对此本公开实施例不作限制。
在确定出切片位置调节指令所指示的目标维度下的目标切片位置处的切片数据后,在一种可能的实现方式中,根据目标切片位置处的切片数据,显示人体部位的三维切片模型,包括:根据切片位置调节指令所指示的目标维度下的目标切片位置处的切片数据,渲染人体部位在目标维度下的目标切片位置处的切片图。通过该方式,能够便捷地显示不同维度下不同目标切片位置处的切片图。
如上所述,本领域技术人员可以采用本领域已知的渲染技术,实现根据切片数据渲染出切片图;目标维度可以是三个维度中的任一维度,应理解的是,当首次在显示界面中显示三维切片模型时,可以根据三个维度上预设的默认切片位置渲染出三个维度的切片图,当用户调节目标维度上的目标切片位置时,可以在三维切片模型中重新渲染该目标维度上的切片图,其它维度上的切片图无需重新渲染。
图5示出根据本公开实施例的一种三维切片模型的示意图,如图5和图4中分别显示三个维度上不同目标切片位置处的切片图,应理解的是,可以是由图5调节至图4,也可以是由图4调节至图5,对此本公开实施例不作限制。
在本公开实施例中,用户可以通过调节目标切片位置,在三维切片模型中显示三个维度上不同目标切片位置处的切片图,使用户更便捷地同时查看不同维度的切片图。
考虑到,通过三维切片模型的方式显示三个维度的切片图,仍可能不够直观地体现出各个维度的切片图相对于人体部位的相对位置。在一种可能的实现方式中,三维扫描数据中还包括人体部位内的至少一个器官的器官轮廓信息与器官位置信息,所述方法还包括:
根据至少一个器官的器官轮廓信息与器官位置信息,在三维切片模型中渲染至少一个器官对应的三维图块;其中,各个三维图块具有与各个器官相似的外形轮廓,各个三维图块在三维切片模型中的显示位置对应于各个器官在人体部位内的实际位置。通过该方式,可以便于用户直观地查看到不同目标切片位置处的切片图相对于人体部位的相对位置,也便于用户理解不同目标切片位置处的切片图所展示的切片内容。
其中,器官轮廓信息可以表征人体部位内器官的外形轮廓,器官位置信息可以表征器官在人体部位内实际位置。应理解的是,用户可以预先设置要在三维切片模型中显示三维图块的器官类型(例如人体腹部内的肝脏、胰腺等),器官轮廓信息与器官位置信息可以分别是根据用户设置的器官类型从三维扫描数据中提取的信息,对此本公开实施例不作限制。
应理解的是,在已知至少一个器官的器官轮廓信息与器官位置信息后,可以采用本领域已知的渲染技术,在三维切片模型中渲染至少一个器官对应的三维图块,三维图块在三维切片模型中相对于切片图来说是固定的,三维切片模型中可以显示不同目标切片位置的切片图,这样可以便于用户直观地查看到不同目标切片位置处的切片图相对于人体部位内器官的相对位置。
考虑到,用户还可能存在隐藏某些已显示的三维图块,和/或,显示某些已隐藏的三维图块的需求,在一种可能的实现方式中,所述方法还包括:响应于接收到针对已显示的三维图块的隐藏指令,将三维切片模型中隐藏指令所指示的三维图块进行隐藏;和/或,响应于接收到针对已隐藏的三维图块的显示指令,在三维切片模型中渲染显示指令所指示的三维图块。通过该方式,可以便于用户随机显示或隐藏器官的三维图块。
其中,隐藏指令可以指示所要隐藏的三维图块,当接收到该隐藏指令后可以对该隐藏指令所指示的三维图块进行隐藏,显示指令可以指示所要显示的三维图块,当接收到该显示指令后可以对该显示指令所指示的三维图块进行重新显示。
应理解的是,本领域技术人员可以根据实际需求设计并开发隐藏指令与显示指令的触发方式,例如,可以通过在显示界面中提供隐藏按钮和/或显示按钮,来便于用户利用隐藏按钮和/或显示按钮发出隐藏指令和/或显示指令,对此本公开实施例不作限制。
在一种可能的实现方式中,为了便于用于区分不同器官的三维图块,不同器官的三维图块可以采用不同颜色和/或不同透明度,也即,人体部位内不同器官对应的三维图块具有不同的显示效果,显示效果包括颜色、透明度中的至少一种,所述方法还包括:
响应于接收到针对三维图块的颜色调节指令,将颜色调节指令指示的三维图块的颜色,变换为颜色调节指令所指示的目标颜色;和/或,响应于接收到针对三维图块的透明度调节指令,将透明度调节指令指示的三维图块的透明度,变换为透明度调节指令所指示的目标透明度。通过该方式,可以便于用户自定义调节三维图块的显示效果。
应理解的是,本领域技术人员可以根据实际需求设计并开发颜色调节指令与透明度调节指令的触发方式,其中,例如可以在用户选中任一三维图块后提供输入框控件,以接收用户通过输入框控件所输入目标颜色的色值、目标透明度的数值等方式,对此本公开实施例不作限制。
考虑到,三维切片模型可以同时显示三个维度上的切片图,但用户可能存在只想看某个维度上的切片图的需求。在一种可能的实现方式中,三维切片模型具有三维视角、横切视角、纵切视角以及竖切视角中的至少一种视角模式,其中,三维视角用于同时展 示三个维度的切片图,横切视角用于展示X轴维度上的横切片图,纵切视角用于展示Y轴维度上的纵切片图,竖切视角用于展示Z轴维度上的竖切片图。
其中,三维切片模型当前显示为任一种视角模式,在一种可能的实现方式中,所述方法还包括:响应于接收到针对三维切片模型的视角切换指令,控制三维切片模型变换为视角切换指令所指示的目标视角模式。通过该方式,可以便于用户查看不同视角模式下的切片图。
其中,目标视角模式可以理解为视角切换指令所指示的、与当前显示的视角模式不同的视角模式。应理解的是,本领域技术人员可以根据实际需求设计并开发视角切换指令的触发方式,例如,可以通过在显示界面中提供视角切换按钮,来便于用户通过视角切换按钮发出视角切换指令,对此本公开实施例不作限制。
图6示出根据本公开实施例的一种三维切片模型的示意图,如图6所示的可以是一种竖切视角下的三维切片模型,该竖切视角下可以显示Z轴维度上的竖切片图。应理解的是,图6示出的三维切片模型还可以是横切视角或纵切视角,具体可以依据三维切片模型对应的三维坐标系中三个坐标轴的指向确定,对此本公开实施例不作限制。
其中,可以预设各个视角模型对应有默认位姿,当三维切片模型由当前视角模式切换至目标视角模式时,将三维切片模型的当前位姿调整为目标视角模式对应的默认位姿,从而实现控制三维切片模型变换为视角切换指令所指示的目标视角模式。
考虑到,除了上述四种视角模式的默认位姿,用户还可能存在查看自定义位姿下三维切片模型的需求,在一种可能的实现方式中,所述方法还包括:响应于接收到三维切片模型的位姿调节指令,将三维切片模型变换为位姿调节指令指示的目标位姿。通过该方式,可以便于用户将三维切片模型调节为自定义的目标位姿,便于用户查看不同位姿下的三维切片模型。
考虑到用户还可能存在调节切片图中不同切片组织的明暗对比效果,以突出显示某些切片组织的需求,在一种可能的实现方式中,所述方法还包括:响应于接收到针对三维切片模型中的切片图的明暗调节指令,根据明暗调节指令所指示的亮度与对比度中的至少一种,调节切片图中不同切片组织的明暗对比效果。通过该方式,可以便于用户自定义调节切片图中不同切片组织的明暗对比效果。
其中,根据明暗调节指令所指示的亮度与对比度中的至少一种,调节切片图中不同切片组织的明暗对比效果,可以理解为,根据明暗调节指令所指示的亮度与对比度中的至少一种,重新渲染三维切片模型内的各个切片图,使重新渲染的各个切片图中不同切片组织的明暗对比效果与明暗调节指令所指示的亮度和/或对比度相匹配。
应理解的是,本领域技术人员可以根据实际需求设计并开发明暗调节指令的触发方式,例如,可以参照上述位置调节控件的方式在显示界面中提供明暗调节控件,来便于用户通过明暗调节控件发出明暗调节指令,对此本公开实施例不作限制。
图7示出根据本公开实施例的一种三维切片模型的示意图,图7中的三维切片模型可 以是一种横切视角下的三维切片模型,图7中切片图与上述图4-6中切片图的明暗对比效果不同,图7示出的切片图中切片组织的亮度与对比度更高。
图8示出根据本公开实施例的一种控制面板的示意图,如图8所示的控制面板中提供了上述实现各种指令的相关控件,以便于用户利用控制面板对三维切片模型发出上述各种指令,其中,用户可以在“视角模式”处点击不同视角模式对应的按钮来切换视角模型,可以采用高亮、加粗、变色等方式指示选中的视角模式;可以在“图块模式”处通过设置“显示全部”按钮来显示全部三维图块,还可以设置“隐藏全部”按钮来隐藏全部三维图块,还可以设置三维图块是“三维模式”还是“切片模式”,“三维模式”可以理解为显示器官的完整三维图块,“切片模式”可以理解为显示目标切片位置处部分三维图块,部分三维图块可以具有预设厚度;可以在“X轴维度”、“Y轴维度”及“Z轴维度”处通过移动处“空心圆”在线段上的位置来调节目标切片位置;可以在“明暗对比”处通过调节线段两端的“空心圆”来调节亮度与对比度,其中两端的两个“空心圆”可以分别代表亮度与对比度;可以在“图块列表”处查看不同器官对应的三维图块的名称、颜色,还可以通过“隐藏”按钮来隐藏某个三维图块,还可以通过点击任一三维图块前的“+”展开按钮,展开设置颜色与透明度的输入框控件,用户可以在输入框中输入目标颜色的色值“FF0000”以及透明度“1.0”并点击“更新”按钮后来调节三维图块2的颜色与透明度中的至少一种,应理解的是,当点击“+”展开按钮展开输入框后,该“+”展开按钮可以变为“-”收起按钮,用户点击“-”收起按钮后可以收起上述输入框控件。
应理解的是,上述图8示出的控制面板本公开实施例提供的一种实现方式,本领域技术人员可以根据实际需求自定义设计控制面板以及控制面板中包含的功能控件等,例如,还可以设计修改三维图块名称的控件,对此本公开实施例不作限制。
考虑到,相关技术中的三维数据可视化方式,通常是把三维数据下载到本地,利用本地安装的三维软件加载三维数据,这种方式不便于查看三维切片模型,在打开三维切片模型时流程较为复杂,资源占用也较大。本公开实施例提供一种通过前端浏览器查看三维切片模型的实现方式,也即可以从后端服务器加载三维扫描数据,通过前端浏览器渲染三维切片模型,这样可以通过浏览器在线查看三维切片模型,无需本地安装三维软件,提高了查看三维切片模型的便捷性。
在一种可能的实现方式中,所述三维数据显示方法应用于前端浏览器,在步骤S11中,获取人体部位的三维扫描数据,包括:
获取后端服务器发送的具有原始数据格式的原始三维扫描数据;将原始三维扫描数据转换为具有预设数据格式的三维扫描数据;从具有预设数据格式的三维扫描数据中提取以下至少一种信息:人体部位在三个维度的切片数据、三个维度的切片数据的切片位置信息、人体部位内的至少一个器官的器官轮廓信息与器官位置信息。
在一种可能的实现方式中,原始数据格式例如可以采用Protobuf(一种数据描述语言,能够将结构化数据序列化)格式;其中,用户可以利用Protobuf技术自定义构造数据格式, 利用Protobuf技术构造的数据格式可以称为Protobuf格式,以便于实现前端浏览器与后端数据库之间的数据交互。
可知晓的是,利用Protobuf自定义构造数据格式时,通常生成Protobuf的定义文件proto文件,该proto文件中包含前后端进行数据交互时所约定的交互数据以及交互数据的解析方式等,一般前端浏览器可以预先获取到Protobuf的定义文件proto文件,其中,前端浏览器接收到.proto文件后,例如可以利用本地开源库grpc-tools和@grpc/grpc-js将.proto文件转换为特定的数据访问类文件(例如.js文件),将数据访问类文件添加进去本地程序中,这样利用数据访问类文件中方法解析Protobuf格式的交互数据(如上述具有原始数据格式的原始三维扫描数据),例如,利用数据访问类文件中的反序列化二进制方法,将原始三维扫描数据反序列解析为具有预设数据格式的三维扫描数据,再利用数据访问类文件中的对象数据获取方法,从具有上述三维扫描数据中提取以上至少一种信息等。
如上所述,该预设数据格式可以是浏览器在渲染切片图时所能识别的数据格式,预设数据格式例如可以是Vis3D格式,对此本公开实施例不作限制,也即从三维扫描数据中提取的切片数据具有上述Vis3D格式,便于根据切片数据渲染出切片图。
如上所述,三维扫描数据可以是CT设备扫描人体部位所得到的数据,为了便于通过浏览器在线查看人体部位的三维切片模型,CT设备可以将扫描得到的三维扫描数据上传至后端服务器,这样可以便于通过前端浏览器从后端服务器中在线获取三维扫描数据,并基于三维扫描数据显示三维切片模型。
在本公开实施例中,实现了三维扫描数据的在线可视化,可以在浏览器中直接查看Vis3D格式文件;支持向后端服务器上传三维扫描数据,上传后可通过浏览器中直接在线查看三维切片模型,提高了用户查看三维切片模型的便捷性。
根据本公开的实施例,能够实现三维扫描数据的在线查看,相对于相关技术中将三维扫描数据下载至本地并使用三维软件查看来说,降低了查看三维扫描数据所需的环境配置成本,且可在一个显示界面上同时渲染至少两个三维切片模型供用户对比查看。
根据本公开的实施例,还可以应用于网络模型训练系统,能够在网络模型训练期间查看网络模型的训练效果,网络模型可以用于生成三维切片模型,便于提升网络模型的开发效率。
可以理解,本公开提及的上述各个方法实施例,在不违背原理逻辑的情况下,均可以彼此相互结合形成结合后的实施例,限于篇幅,本公开不再赘述。本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。
此外,本公开还提供了三维数据显示装置、电子设备、计算机可读存储介质、程序,上述均可用来实现本公开提供的任一种三维数据显示方法,相应技术方案和描述和参见方法部分的相应记载,不再赘述。
图9示出根据本公开实施例的三维数据显示装置的框图,如图9所示,所述装置包括:
获取模块101,用于获取人体部位的三维扫描数据,所述三维扫描数据中包括所述人体部位在三个维度的切片数据以及所述三个维度的切片数据对应于所述人体部位的切片位置信息;
确定模块102,用于根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据;
显示模块103,用于根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,所述三维切片模型中包括:根据所述切片数据渲染得到的所述人体部位在所述目标切片位置处的切片图。
在一种可能的实现方式中,所述确定模块102,包括:切片数据确定子模块,用于响应于接收到针对目标维度的切片位置调节指令,确定所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据;其中,所述显示模块103,包括:切片图渲染子模块,用于根据所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据,渲染所述人体部位在所述目标维度下的目标切片位置处的切片图。
在一种可能的实现方式中,所述三维扫描数据中还包括所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息,所述装置还包括:图块渲染模块,用于根据所述至少一个器官的器官轮廓信息与器官位置信息,在所述三维切片模型中渲染所述至少一个器官对应的三维图块;其中,各个三维图块具有与各个器官相似的外形轮廓,所述各个三维图块在所述三维切片模型中的显示位置对应于所述各个器官在所述人体部位内的实际位置。
在一种可能的实现方式中,所述装置还包括:图块隐藏模块,用于响应于接收到针对已显示的三维图块的隐藏指令,将所述三维切片模型中所述隐藏指令所指示的三维图块进行隐藏;和/或,图块显示模块,用于响应于接收到针对已隐藏的三维图块的显示指令,在所述三维切片模型中渲染所述显示指令所指示的三维图块。
在一种可能的实现方式中,所述人体部位内不同器官对应的三维图块具有不同的显示效果,所述显示效果包括颜色、透明度中的至少一种,所述装置还包括:图块颜色变换模块,用于响应于接收到针对三维图块的颜色调节指令,将所述颜色调节指令指示的三维图块的颜色,变换为所述颜色调节指令所指示的目标颜色;和/或,图块透明度变换模块,用于响应于接收到针对三维图块的透明度调节指令,将所述透明度调节指令指示的三维图块的透明度,变换为所述透明度调节指令所指示的目标透明度。
在一种可能的实现方式中,所述三维切片模型具有三维视角、横切视角、纵切视角以及竖切视角中的至少一种视角模式,其中,所述三维视角用于同时展示三个维度的切片图,所述横切视角用于展示X轴维度上的横切片图,所述纵切视角用于展示Y轴维度上的纵切片图,所述竖切视角用于展示Z轴维度上的竖切片图;其中,所述三维切片模型当前显示为任一种视角模式,所述装置还包括:视角切换模块,用于响应于接收到针对所述三维切片模型的视角切换指令,控制所述三维切片模型变换为所述视角切换指令所指 示的目标视角模式;和/或,位姿变换模块,用于响应于接收到针对所述三维切片模型的位姿调节指令,将所述三维切片模型变换为所述位姿调节指令指示的目标位姿。
在一种可能的实现方式中,所述装置还包括:明暗调节模块,用于响应于接收到针对所述三维切片模型中的切片图的明暗调节指令,根据所述明暗调节指令所指示的亮度与对比度中的至少一种,调节所述切片图中不同切片组织的明暗对比效果。
在一种可能的实现方式中,所述获取模块101,包括:原始数据获取子模块,用于获取后端服务器发送的具有原始数据格式的原始三维扫描数据;数据转换模块,用于将所述原始三维扫描数据转换为具有预设数据格式的三维扫描数据;信息提取模块,用于从所述具有预设数据格式的三维扫描数据中提取以下至少一种信息:所述人体部位在三个维度的切片数据、所述三个维度的切片数据的切片位置信息、所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息。
在本公开实施例中,通过在三个维度上分别指定的目标切片位置以及切片位置信息,确定目标切片位置处的切片数据,根据目标切片位置处的切片数据显示人体部位的三维切片模型,能够在三维切片模型中同时显示用户在三个维度上分别指定的三个目标切片位置处的切片图,这样用户可以更加便捷直观地查看不同维度下不同目标切片位置处的切片图,提高切片图的查看效率。
在一些实施例中,本公开实施例提供的装置具有的功能或包含的模块可以用于执行上文方法实施例描述的方法,其具体实现可以参照上文方法实施例的描述,为了简洁,这里不再赘述。
本公开实施例还提出一种计算机可读存储介质,其上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现上述方法。计算机可读存储介质可以是易失性或非易失性计算机可读存储介质。
本公开实施例还提出一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为调用所述存储器存储的指令,以执行上述方法。
本公开实施例还提供了一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述方法。
电子设备可以被提供为终端或其它形态的设备。
图10示出根据本公开实施例的一种电子设备800的框图。例如,电子设备800可以是用户设备(User Equipment,UE)、移动设备、用户终端、终端、蜂窝电话、无绳电话、个人数字处理(Personal Digital Assistant,PDA)、手持设备、计算设备、车载设备、可穿戴设备等终端设备。
参照图10,电子设备800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出(I/O)接口812,传感器组件814,以及通信组件816。
处理组件802通常控制电子设备800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。
存储器804被配置为存储各种类型的数据以支持在电子设备800的操作。这些数据的示例包括用于在电子设备800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件806为电子设备800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为电子设备800生成、管理和分配电力相关联的组件。
多媒体组件808包括在所述电子设备800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当电子设备800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当电子设备800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。
I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件814包括一个或多个传感器,用于为电子设备800提供各个方面的状态评估。例如,传感器组件814可以检测到电子设备800的打开/关闭状态,组件的相对定位,例如所述组件为电子设备800的显示器和小键盘,传感器组件814还可以检测电子设备800或电子设备800一个组件的位置改变,用户与电子设备800接触的存在或不存在,电子设备800方位或加速/减速和电子设备800的温度变化。传感器组件814可以包括接近传感器, 被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(CMOS)或电荷耦合装置(CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于电子设备800和其他设备之间有线或无线方式的通信。电子设备800可以接入基于通信标准的无线网络,如无线网络(Wi-Fi)、第二代移动通信技术(2G)、第三代移动通信技术(3G)、第四代移动通信技术(4G)、通用移动通信技术的长期演进(LTE)、第五代移动通信技术(5G)或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。
在示例性实施例中,电子设备800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种非易失性计算机可读存储介质,例如包括计算机程序指令的存储器804,上述计算机程序指令可由电子设备800的处理器820执行以完成上述方法。
本公开可以是系统、方法和/或计算机程序产品。计算机程序产品可以包括计算机可读存储介质,其上载有用于使处理器实现本公开的各个方面的计算机可读程序指令。
计算机可读存储介质可以是可以保持和存储由指令执行设备使用的指令的有形设备。计算机可读存储介质例如可以是(但不限于)电存储设备、磁存储设备、光存储设备、电磁存储设备、半导体存储设备或者上述的任意合适的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、静态随机存取存储器(SRAM)、便携式压缩盘只读存储器(CD-ROM)、数字多功能盘(DVD)、记忆棒、软盘、机械编码设备、例如其上存储有指令的打孔卡或凹槽内凸起结构、以及上述的任意合适的组合。这里所使用的计算机可读存储介质不被解释为瞬时信号本身,诸如无线电波或者其他自由传播的电磁波、通过波导或其他传输媒介传播的电磁波(例如,通过光纤电缆的光脉冲)、或者通过电线传输的电信号。
这里所描述的计算机可读程序指令可以从计算机可读存储介质下载到各个计算/处理设备,或者通过网络、例如因特网、局域网、广域网和/或无线网下载到外部计算机或外部存储设备。网络可以包括铜传输电缆、光纤传输、无线传输、路由器、防火墙、交换机、网关计算机和/或边缘服务器。每个计算/处理设备中的网络适配卡或者网络接口从 网络接收计算机可读程序指令,并转发该计算机可读程序指令,以供存储在各个计算/处理设备中的计算机可读存储介质中。
用于执行本公开操作的计算机程序指令可以是汇编指令、指令集架构(ISA)指令、机器指令、机器相关指令、微代码、固件指令、状态设置数据、或者以一种或多种编程语言的任意组合编写的源代码或目标代码,所述编程语言包括面向对象的编程语言—诸如Smalltalk、C++等,以及常规的过程式编程语言—诸如“C”语言或类似的编程语言。计算机可读程序指令可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络—包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。在一些实施例中,通过利用计算机可读程序指令的状态信息来个性化定制电子电路,例如可编程逻辑电路、现场可编程门阵列(FPGA)或可编程逻辑阵列(PLA),该电子电路可以执行计算机可读程序指令,从而实现本公开的各个方面。
这里参照根据本公开实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本公开的各个方面。应当理解,流程图和/或框图的每个方框以及流程图和/或框图中各方框的组合,都可以由计算机可读程序指令实现。
这些计算机可读程序指令可以提供给通用计算机、专用计算机或其它可编程数据处理装置的处理器,从而生产出一种机器,使得这些指令在通过计算机或其它可编程数据处理装置的处理器执行时,产生了实现流程图和/或框图中的一个或多个方框中规定的功能/动作的装置。也可以把这些计算机可读程序指令存储在计算机可读存储介质中,这些指令使得计算机、可编程数据处理装置和/或其他设备以特定方式工作,从而,存储有指令的计算机可读介质则包括一个制造品,其包括实现流程图和/或框图中的一个或多个方框中规定的功能/动作的各个方面的指令。
也可以把计算机可读程序指令加载到计算机、其它可编程数据处理装置、或其它设备上,使得在计算机、其它可编程数据处理装置或其它设备上执行一系列操作步骤,以产生计算机实现的过程,从而使得在计算机、其它可编程数据处理装置、或其它设备上执行的指令实现流程图和/或框图中的一个或多个方框中规定的功能/动作。
附图中的流程图和框图显示了根据本公开的多个实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或指令的一部分,所述模块、程序段或指令的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执 行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。
上文对各个实施例的描述倾向于强调各个实施例之间的不同之处,其相同或相似之处可以互相参考,为了简洁,本文不再赘述。
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。
若本申请技术方案涉及个人信息,应用本申请技术方案的产品在处理个人信息前,已明确告知个人信息处理规则,并取得个人自主同意。若本申请技术方案涉及敏感个人信息,应用本申请技术方案的产品在处理敏感个人信息前,已取得个人单独同意,并且同时满足“明示同意”的要求。例如,在摄像头等个人信息采集装置处,设置明确显著的标识告知已进入个人信息采集范围,将会对个人信息进行采集,若个人自愿进入采集范围即视为同意对其个人信息进行采集;或者在个人信息处理的装置上,利用明显的标识/信息告知个人信息处理规则的情况下,通过弹窗信息或请个人自行上传其个人信息等方式获得个人授权;其中,个人信息处理规则可包括个人信息处理者、个人信息处理目的、处理方式以及处理的个人信息种类等信息。
以上已经描述了本公开的各实施例,上述说明是示例性的,并非穷尽性的,并且也不限于所披露的各实施例。在不偏离所说明的各实施例的范围和精神的情况下,对于本技术领域的普通技术人员来说许多修改和变更都是显而易见的。本文中所用术语的选择,旨在最好地解释各实施例的原理、实际应用或对市场中的技术的改进,或者使本技术领域的其它普通技术人员能理解本文披露的各实施例。

Claims (12)

  1. 一种三维数据显示方法,其特征在于,包括:
    获取人体部位的三维扫描数据,所述三维扫描数据中包括所述人体部位在三个维度的切片数据以及所述三个维度的切片数据对应于所述人体部位的切片位置信息;
    根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据;
    根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,所述三维切片模型中包括:根据所述切片数据渲染得到的所述人体部位在所述目标切片位置处的切片图。
  2. 根据权利要求1所述的方法,其特征在于,所述根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据,包括:
    响应于接收到针对目标维度的切片位置调节指令,确定所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据;
    其中,所述根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,包括:
    根据所述切片位置调节指令所指示的所述目标维度下的目标切片位置处的切片数据,渲染所述人体部位在所述目标维度下的目标切片位置处的切片图。
  3. 根据权利要求1或2所述的方法,其特征在于,所述三维扫描数据中还包括所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息,所述方法还包括:
    根据所述至少一个器官的器官轮廓信息与器官位置信息,在所述三维切片模型中渲染所述至少一个器官对应的三维图块;
    其中,各个三维图块具有与各个器官相似的外形轮廓,所述各个三维图块在所述三维切片模型中的显示位置对应于所述各个器官在所述人体部位内的实际位置。
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:
    响应于接收到针对已显示的三维图块的隐藏指令,将所述三维切片模型中所述隐藏指令所指示的三维图块进行隐藏;和/或,
    响应于接收到针对已隐藏的三维图块的显示指令,在所述三维切片模型中渲染所述显示指令所指示的三维图块。
  5. 根据权利要求3或4所述的方法,其特征在于,所述人体部位内不同器官对应的三维图块具有不同的显示效果,所述显示效果包括颜色、透明度中的至少一种,所述方法还包括:
    响应于接收到针对三维图块的颜色调节指令,将所述颜色调节指令指示的三维图块 的颜色,变换为所述颜色调节指令所指示的目标颜色;和/或,
    响应于接收到针对三维图块的透明度调节指令,将所述透明度调节指令指示的三维图块的透明度,变换为所述透明度调节指令所指示的目标透明度。
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述三维切片模型具有三维视角、横切视角、纵切视角以及竖切视角中的至少一种视角模式,其中,所述三维视角用于同时展示三个维度的切片图,所述横切视角用于展示X轴维度上的横切片图,所述纵切视角用于展示Y轴维度上的纵切片图,所述竖切视角用于展示Z轴维度上的竖切片图;
    其中,所述三维切片模型当前显示为任一种视角模式,所述方法还包括:
    响应于接收到针对所述三维切片模型的视角切换指令,控制所述三维切片模型变换为所述视角切换指令所指示的目标视角模式;和/或,
    响应于接收到针对所述三维切片模型的位姿调节指令,将所述三维切片模型变换为所述位姿调节指令指示的目标位姿。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    响应于接收到针对所述三维切片模型中的切片图的明暗调节指令,根据所述明暗调节指令所指示的亮度与对比度中的至少一种,调节所述切片图中不同切片组织的明暗对比效果。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述获取人体部位的三维扫描数据,包括:
    获取后端服务器发送的具有原始数据格式的原始三维扫描数据;
    将所述原始三维扫描数据转换为具有预设数据格式的三维扫描数据;
    从所述具有预设数据格式的三维扫描数据中提取以下至少一种信息:所述人体部位在三个维度的切片数据、所述三个维度的切片数据的切片位置信息、所述人体部位内的至少一个器官的器官轮廓信息与器官位置信息。
  9. 一种三维数据显示装置,其特征在于,包括:
    获取模块,用于获取人体部位的三维扫描数据,所述三维扫描数据中包括所述人体部位在三个维度的切片数据以及所述三个维度的切片数据对应于所述人体部位的切片位置信息;
    确定模块,用于根据在所述三个维度上分别指定的目标切片位置以及所述切片位置信息,确定所述目标切片位置处的切片数据;
    显示模块,用于根据所述目标切片位置处的切片数据,显示所述人体部位的三维切片模型,所述三维切片模型中包括:根据所述切片数据渲染得到的所述人体部位在所述 目标切片位置处的切片图。
  10. 一种电子设备,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为调用所述存储器存储的指令,以执行权利要求1至8中任意一项所述的方法。
  11. 一种计算机可读存储介质,其上存储有计算机程序指令,其特征在于,所述计算机程序指令被处理器执行时实现权利要求1至8中任意一项所述的方法。
  12. 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行用于实现权利要求1至8中的任意一项所述的方法。
PCT/CN2022/101255 2022-03-23 2022-06-24 三维数据显示方法及装置、电子设备和存储介质 WO2023178863A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210294997.0 2022-03-23
CN202210294997.0A CN114612639A (zh) 2022-03-23 2022-03-23 三维数据显示方法及装置、电子设备和存储介质

Publications (1)

Publication Number Publication Date
WO2023178863A1 true WO2023178863A1 (zh) 2023-09-28

Family

ID=81865687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/101255 WO2023178863A1 (zh) 2022-03-23 2022-06-24 三维数据显示方法及装置、电子设备和存储介质

Country Status (2)

Country Link
CN (1) CN114612639A (zh)
WO (1) WO2023178863A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114612639A (zh) * 2022-03-23 2022-06-10 上海商汤科技开发有限公司 三维数据显示方法及装置、电子设备和存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677277A (zh) * 2016-01-06 2016-06-15 重庆真测科技股份有限公司 一种三维可视化切片显示方法
US20180168730A1 (en) * 2015-03-25 2018-06-21 Zaxis Labs System and method for medical procedure planning
CN109389669A (zh) * 2017-08-04 2019-02-26 阿里健康信息技术有限公司 虚拟环境中人体三维模型构建方法及系统
CN111598896A (zh) * 2020-04-28 2020-08-28 腾讯科技(深圳)有限公司 图像检测方法、装置、设备及存储介质
CN114612639A (zh) * 2022-03-23 2022-06-10 上海商汤科技开发有限公司 三维数据显示方法及装置、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180168730A1 (en) * 2015-03-25 2018-06-21 Zaxis Labs System and method for medical procedure planning
CN105677277A (zh) * 2016-01-06 2016-06-15 重庆真测科技股份有限公司 一种三维可视化切片显示方法
CN109389669A (zh) * 2017-08-04 2019-02-26 阿里健康信息技术有限公司 虚拟环境中人体三维模型构建方法及系统
CN111598896A (zh) * 2020-04-28 2020-08-28 腾讯科技(深圳)有限公司 图像检测方法、装置、设备及存储介质
CN114612639A (zh) * 2022-03-23 2022-06-10 上海商汤科技开发有限公司 三维数据显示方法及装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN114612639A (zh) 2022-06-10

Similar Documents

Publication Publication Date Title
US11114130B2 (en) Method and device for processing video
US20210383154A1 (en) Image processing method and apparatus, electronic device and storage medium
KR102022444B1 (ko) 복수의 카메라를 구비한 휴대 단말에서 유효한 영상들을 합성하기 위한 방법 및 이를 위한 휴대 단말
US10516830B2 (en) Guided image composition on mobile devices
US9324305B2 (en) Method of synthesizing images photographed by portable terminal, machine-readable storage medium, and portable terminal
WO2022037111A1 (zh) 图像处理方法及装置、互动式展示装置和电子设备
WO2022179025A1 (zh) 图像处理方法及装置、电子设备和存储介质
US9898090B2 (en) Apparatus, method and recording medium for controlling user interface using input image
WO2021103554A1 (zh) 图像定位的交互显示方法、装置、电子设备和存储介质
TWI718631B (zh) 人臉圖像的處理方法及裝置、電子設備和儲存介質
US10290120B2 (en) Color analysis and control using an electronic mobile device transparent display screen
WO2020134558A1 (zh) 图像处理方法、装置、电子设备及存储介质
CN111966314A (zh) 图像投屏方法、图像投屏装置、移动终端以及投屏设备
WO2022156150A1 (zh) 图像处理方法及装置、电子设备、存储介质及计算机程序
CN112532887B (zh) 一种拍摄方法、装置、终端及存储介质
WO2023051356A1 (zh) 一种虚拟对象的显示方法及装置、电子设备和存储介质
WO2023178863A1 (zh) 三维数据显示方法及装置、电子设备和存储介质
CN113822798B (zh) 生成对抗网络训练方法及装置、电子设备和存储介质
WO2022146849A1 (en) Trimming video for multi-video clip capture
WO2022134390A1 (zh) 标注方法及装置、电子设备和存储介质
WO2022146796A1 (en) Adding time-based captions to captured video
CN112613447A (zh) 关键点检测方法及装置、电子设备和存储介质
CN112669233A (zh) 图像处理方法、装置、电子设备、存储介质及程序产品
EP3136258A1 (en) Translation string and context saving in translation memory database
CN114266305A (zh) 对象识别方法及装置、电子设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22932915

Country of ref document: EP

Kind code of ref document: A1