WO2018094688A1 - Fluoroscopy method and system for fluoroscopy of internal structure of object - Google Patents

Fluoroscopy method and system for fluoroscopy of internal structure of object Download PDF

Info

Publication number
WO2018094688A1
WO2018094688A1 PCT/CN2016/107253 CN2016107253W WO2018094688A1 WO 2018094688 A1 WO2018094688 A1 WO 2018094688A1 CN 2016107253 W CN2016107253 W CN 2016107253W WO 2018094688 A1 WO2018094688 A1 WO 2018094688A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
model
internal structure
perspective
display area
Prior art date
Application number
PCT/CN2016/107253
Other languages
French (fr)
Chinese (zh)
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 中国科学院深圳先进技术研究院
Priority to PCT/CN2016/107253 priority Critical patent/WO2018094688A1/en
Publication of WO2018094688A1 publication Critical patent/WO2018094688A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • 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

Definitions

  • the invention relates to the technical field of object perspective, in particular to a see-through method and system for seeing the internal structure of an object.
  • the internal structure of the object to be seen is first obtained, and a 3D model is established according to the internal structure, and then the 3D model is imaged on the surface of the object to be seen, thereby producing a see-through effect.
  • the way to establish a 3D model is to model the model by known technical parameters or by scanning equipment such as CT nuclear.
  • the obtained internal structure of the object to be seen generally includes the outer shell of the object to be seen, and the outer shell is reconstructed together when the 3D model is built in the above manner, and the outer shell has no practical meaning for the perspective, but instead blocks the perspective, resulting in
  • the image of the internal structure of the displayed object is not confusing, and it is difficult to see the actual situation of the specific internal structure.
  • the embodiment of the invention provides a perspective method for seeing the internal structure of the object, so as to solve the technical problem that the internal structure of the object is confusing and the internal structure image is disordered when the inner structure of the object is viewed in the prior art.
  • the method includes: acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing the object to be seen Internal configuration; imaging is performed using the 3D model, and the outer structure of the 3D model is transparently processed during the imaging process.
  • the embodiment of the present invention further provides a see-through system for seeing the internal structure of the object, so as to solve the technical problem that the internal structure of the object is confusing and the internal structure image is disordered when the inner structure of the object is viewed in the prior art.
  • the system includes: a 3D model processing device for acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure Representing an internal configuration of the object to be seen; an imaging device for imaging with the 3D model, and transparent processing of the outer structure of the 3D model during imaging.
  • the outer structure and the internal structure of the 3D model are first determined, that is, the outer shell and the inner structure of the object to be seen are distinguished in the 3D model, and then reused.
  • 3D The model is imaged, and the outer structure of the 3D model is transparently processed during the imaging process, that is, the outer layer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the image of the internal structure can be confused and intuitive. Show it out.
  • FIG. 1 is a flow chart of a perspective method for seeing an internal structure of an object according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram 1 of a label display according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram 2 showing a label display according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of rendering different colors in different regions according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a display state change of a label according to an embodiment of the present invention.
  • FIG. 6 is a structural block diagram of a perspective system for seeing an internal structure of an object according to an embodiment of the present invention.
  • FIG. 7 is a structural diagram of an apparatus according to an embodiment of the present invention.
  • FIG. 1 is a flow chart showing a perspective method of seeing an internal structure of an object in an embodiment of the present invention.
  • a perspective method for seeing an internal structure of an object in an embodiment of the present invention may include:
  • Step 101 Acquire a 3D model of an object to be seen, determine an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an interior of the object to be seen structure;
  • Step 102 Perform imaging using the 3D model, and transparently process the outer structure of the 3D model during the imaging process.
  • the outer structure and the internal structure of the 3D model are first determined, that is, the object to be seen is distinguished in the 3D model. Outer casing and inside The structure is then, and then the 3D model is used for imaging.
  • the outer structure of the 3D model is transparent, that is, the outer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the interior The image of the structure can be displayed without confusion or intuition.
  • the acquired 3D model is consistent with the shape of the object to be seen and corresponds to the internal structure, and is used when the internal structure of the object is viewed.
  • the above 3D model can be established by using the prior art, for example, using an existing structural diagram as a basis for establishing a 3D model, or using CT (Computed Tomography) and MRI (Magnetic Resonance Imaging). ) and other devices to image and model the perspective object.
  • CT Computer Tomography
  • MRI Magnetic Resonance Imaging
  • determining the outer structure of the 3D model includes: determining the same coordinate axis in each coordinate axis direction of the three-dimensional coordinates a maximum value and a minimum value of an intersection of a straight line parallel to the direction of the object to be seen, and a structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure The structure between the small value and the intersection adjacent to the minimum value is determined as the outer structure.
  • the outer structure is obtained as follows.
  • the x, -x, y, -y, z, -z directions of the three-dimensional coordinate system that is, the so-called six directions of front, back, left, and right, we will define the direction of the user as x, y, left
  • the side is z), respectively determining the maximum value and the minimum value of the intersection of the ray parallel to the direction of the coordinate axis and the boundary of the object to be seen, and the maximum value is the intersection of the ray entering the object to be seen and the boundary of the object to be seen
  • the minimum value is the intersection of the boundary of the object to be seen through the object to be seen through the object, and the structure between the maximum value and the intersection point adjacent to the maximum value is determined as the outer structure, and the minimum value and The structure between the adjacent intersections of
  • the boundary of the object to be seen refers to the outer shell object of the same material, that is, if the inner structure may closely fit the outer shell, in this case, as long as the inner structure and the outer shell material are different, it is considered not the outer shell but Internal structure.
  • the strength or reflected signals of different materials on CT or MRI are often different, so we can distinguish between the material of the outer shell and the inner structure.
  • the six directions in the three-dimensional coordinate system follow this operation to obtain the outer casing.
  • the object shell in the x direction that is, the imaging device
  • the line of sight direction that is, the imaging device sets the pixel color of the material to 0 (each channel is 0). )
  • the perspective 3D model also moves and rotates together, while the forward (eg, x-direction) shell is always in perspective, ensuring that the perspective is visible at all times.
  • the display object in the internal structure forms a multi-layer superposition structure in the positional relationship, in order to avoid occlusion and nesting when the internal structure is displayed, in the embodiment, in the internal structure of the 3D model
  • all structures occluding the display object to be seen are transparent in the direction of the line of sight of the perspective.
  • the imaging process after the outer layer structure is made transparent, the user directly sees the first layer structure in the inner structure. If you want to further see the inner layer structure, then the inner part is in the imaging process.
  • the structure of the first layer in the structure is transparent, so that the inner structure can be directly displayed.
  • the structure of each layer can be seen layer by layer, and only the structure before the layer structure is to be seen in the imaging process. Make it transparent.
  • the way to transparentize the inner layer structure is the same as the way to transparently treat the outer layer structure. That is to say, when the inner layer structure needs to be seen through, the inner structure is considered to be transparent after the inner structure is considered as an object.
  • the overall structure, and then the division of the outer structure, to regain the new outer casing and internal structure, the new casing is transparent.
  • the new internal structure as a whole is regarded as the overall structure of the object, and the outer structure (ie, the outer structure) is judged for the new internal structure, and then the determined outer casing is transparent.
  • the outer structure determined from the internal structure is transparently layer by layer until it is seen through to the internal structure requiring perspective.
  • the method further includes: dividing the internal structure of the 3D model into multiple An area containing display objects, each rendered with a different color than the other areas.
  • the internal structure of the 3D model may be divided into a plurality of regions including the display object according to the material type or the positional relationship of the display object in the internal structure.
  • the internal structure of the 3D model is divided into a plurality of regions including display objects, and each region is distinguished by using different colors, giving a feeling of different internal unit structures.
  • the materials of the display objects in the internal structure are the same, the color of the internal structure of the model is unified, and the positional relationship between the structures is not easy to see.
  • the technique of block rendering can be adopted, according to the internal structure.
  • the internal structure of the 3D model is divided into a plurality of regions including the display object, and different regions are rendered by different colors, and the regions of the same material display object are rendered in different colors. To achieve the role of distinguishing the position relationship before and after, clear internal structure.
  • the method further includes: setting a label threshold and a display threshold, and using the display area ( For each area, the available display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective, the available display
  • the image size of the occlusion relationship of the size, the distance, and the internal structure of the object to be seen is uncertain.
  • the area larger than the display threshold is a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area.
  • the display area of the label threshold is displayed by means of a guide line.
  • the relationship between the threshold and the display threshold determines the manner in which the label of the display object in each display area is displayed.
  • the display area when the display area is smaller than the display threshold, the object is considered to be completely occluded and cannot be observed, and the area is not displayed, and the color of the area and the label information are deleted; if the available display area If it is greater than the display threshold and greater than the label threshold, the label is displayed within the area.
  • the display mode of the cube if the display area is larger than the display threshold and less than the label threshold, the label is displayed by means of an arrow, for example, the manner in which the sphere is displayed; or the label is extended outside the area and displayed in a space without the display object.
  • the colored areas in the internal structure are calculated from the angle of view. If the color of a certain area is consistent with the colored color, the area is unoccluded, if the color of an area If there is a change, it indicates that the area is occluded. In this case, it is necessary to determine which area is occluded and remove the occluded color from the overlapping area. This way we can get a partition of a different color. As shown in Figure 4, the area consisting of 1-6 renders the color of the cube, the area consisting of 7-12 renders the color of the cylinder, and the area consisting of 13-14 renders the color of the sphere.
  • the label of the cube in the area of 1-6
  • the cylinder label is displayed in the area of 7-12
  • the sphere label is displayed in the area of 13-14.
  • the display mode of the body and the sphere label if the available display area of the display area is greater than the label threshold, the label of the display object contained in the display area is displayed in the display area, for example, the label display mode of the cube.
  • the label of the cube can be displayed in the area of 1-6. If the cylinder's label is displayed at 11-12, it will enter 4-5 or 13. This part is not a cylinder. Therefore, the best choice is that the cylinder's label is displayed in the area of 7-10. If the display area of 13-14 is smaller than the label threshold, the label is displayed in the manner indicated by the arrow, for example, the label display mode of the sphere.
  • the overall specific rules for displaying the label for the first time are as follows: It is judged that the marked area needs to be displayed, that is, the area where the available display area is larger than the display threshold. Then perform a label-by-region label addition display.
  • adding first determine whether the label can be completely placed in the area (ie, whether the display area is larger than the above label threshold), if possible, add the display directly, for example, the display of the cube label; if it cannot be completely placed in the area, it is required Extend beyond the area, then you need to continue to determine whether the extended area has been occupied by other colors (ie, whether there are other display objects), if not occupied, the label is displayed, for example, the label of the cylinder is displayed; if the extended area It has been occupied by other colors, that is, it is not possible to display a label within the range of the area and the extended area adjacent to the color, and the guide line is used for display, for example, the display of the sphere.
  • the font size of the display label information is also variable.
  • the method further includes: displaying an available display area according to each display area.
  • the size determines the font size of the display label, and the size of the available display area is proportional to the font size of the display label.
  • the font size of the display label is adjusted according to the size of the actual displayable area, and the larger the display area, the larger the label can be, thereby providing a clearer display.
  • the present application adopts the above label display manner.
  • the manner of displaying the label is determined for each display area, specifically, according to the change of the angle,
  • the change of the label display state of the area is as follows: as shown in FIG.
  • the label display when the available display area of the area becomes large, the label display is substantially unchanged, and the available display area in the area becomes small, The display of the label will be extended beyond the area or displayed using the guide line depending on the result of the change in the available display area.
  • the label display may not change or be displayed in the area.
  • the available display area of the area decreases, the label display does not change or turns into a guide line. display.
  • the sub-label is displayed as the guide line display, when the available display area of the area becomes large, the label display can be changed to the internal display of the area or the extended display may not change.
  • the label display When the available display area of the area is reduced, the label display may not occur. Change or become undisplayed. When the available display area of the area is increased for the case where the label is not displayed, the label display may be in a state of extended display or guide line display.
  • an embodiment of the present invention also provides a see-through system for seeing the internal structure of an object, as described in the following embodiments. Since the principle of solving the problem of the perspective system of the internal structure of the perspective object is similar to the perspective method of the internal structure of the perspective object, the implementation of the perspective system of the internal structure of the perspective object can be referred to the implementation of the perspective method of the internal structure of the perspective object, and the repetition will not be repeated. .
  • the term "unit” or “module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 6 is a structural block diagram of a perspective system for seeing an internal structure of an object according to an embodiment of the present invention. As shown in FIG. 6, the system includes:
  • a 3D model processing device 601 for acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing the The internal structure of the object to be seen;
  • the imaging device 602 is configured to perform imaging by using the 3D model, and the outer structure of the 3D model is transparently processed during the imaging process.
  • the 3D model processing device is specifically configured to determine, in each coordinate axis direction of the three-dimensional coordinates, a maximum value of an intersection of a line parallel to the coordinate axis direction and a boundary of the object to be seen a minimum value, the structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as Outer structure.
  • the imaging device is further configured to: when the display object in the internal structure of the 3D model forms a multi-layered nested structure in a positional relationship, in the imaging process, in a line of sight direction of the perspective, All structures that are occluded before the display object to be seen are transparent.
  • the 3D model processing device includes: a region dividing module, configured to divide an internal structure of the 3D model into a plurality of included after determining an outer structure and an internal structure of the 3D model The area where the object is displayed; the color rendering module is used to render each area with a different color than the other areas.
  • the area dividing module is specifically configured to divide the internal structure of the 3D model into multiple areas including the display object according to different material types or positional relationships of the display objects in the internal structure. .
  • the 3D model processing device further includes: a threshold setting module, configured to set a label threshold and a display threshold, wherein an available display area is greater than the display threshold, and the available display area is smaller than the display area.
  • the display area of the display threshold is a non-display area, and the display area whose display area is larger than the label threshold displays a label of the display object included in the display area, and the display area whose display area is smaller than the label threshold is a guide line.
  • the method displays the label of the display object contained in the display, or extends the label of the display object contained by itself to the space outside the display area and has no display object; for each area, the available display area refers to each perspective When the line of sight fluoresces the internal structure of the object to be seen, the display area of the label information of the display object included in the area may be displayed in the area; the display mode determining module is configured to display the line of sight in each perspective according to the display The relationship between the area and the label threshold and the display threshold is determined A Tag display object display area.
  • the display mode determining module is further configured to determine a font size of the display label according to a size of an available display area of each display area, where the size of the available display area is proportional to the font size of the display label.
  • the area dividing module, the color rendering module, the threshold setting module, and the display mode determining module may be software, hardware, or a combination of the two.
  • the processing chip and the like may be components that perform corresponding functions of the respective modules.
  • Embodiments of the present invention also provide a computer readable storage medium comprising computer readable instructions, when executed, causing a processor to perform at least: acquiring a 3D model of an object to be seen, determining the 3D An outer layer structure and an inner structure of the model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an inner structure of the object to be seen; imaging using the 3D model, during the imaging process, The outer structure of the 3D model is made transparent.
  • the computer readable instructions cause the processor to determine a maximum value and a minimum of an intersection of a line parallel to the direction of the coordinate axis and a boundary of the object to be seen in each coordinate axis direction of the three-dimensional coordinates.
  • Value The structure between the large value and the intersection adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as the outer layer structure.
  • the display objects in the internal structure of the 3D model form a multi-level nested structure in a positional relationship.
  • all structures that occlude the display object to be seen are transparent in the direction of the line of sight of the perspective.
  • the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including display objects after determining the outer structure and the internal structure of the 3D model, each Areas are rendered in one color that is different from other areas.
  • the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including the display object according to different material types or positional relationships of the display objects in the internal structure.
  • the computer readable instructions cause the processor to set a label threshold and a display threshold after dividing the internal structure of the 3D model into a plurality of regions, wherein an available display area is greater than the display threshold a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area.
  • the display area of the label threshold displays the label of the display object contained in the display by means of a guide line, or extends the label of the display object contained in the display area to the outside of the display area and displays the space without the display object; for each area, available
  • the display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective; in the direction of the line of sight of each perspective, Depending on the available display area and the label threshold and the display threshold System, it is determined to display the labels for each display object in the display area.
  • the computer readable instructions cause the processor to determine the font size of the display label according to the size of the available display area of each display area after dividing the internal structure of the 3D model into a plurality of regions, and the available display The size of the area is proportional to the font size of the display label.
  • the embodiment of the present invention further provides an apparatus.
  • the apparatus includes: a processor 701; and a memory 702 including computer readable instructions that, when executed, cause the processor to perform the following operations: Obtaining a 3D model of the object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an inner structure of the object to be seen; The 3D model performs imaging, and during the imaging process, the outer structure of the 3D model is transparent.
  • the computer readable instructions cause the processor to determine a maximum value and a minimum of an intersection of a line parallel to the direction of the coordinate axis and a boundary of the object to be seen in each coordinate axis direction of the three-dimensional coordinates. a value, the structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as an outer layer structure.
  • the computer readable instructions cause the processor to form a plurality of nested positions in the positional relationship in the internal structure of the 3D model after determining the outer structure and the internal structure of the 3D model.
  • the structure in the imaging process, in the direction of the line of sight of the perspective, all structures occluding the display object to be seen are transparent.
  • the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including display objects after determining the outer structure and the internal structure of the 3D model, each Areas are rendered in one color that is different from other areas.
  • the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including the display object according to different material types or positional relationships of the display objects in the internal structure.
  • the computer readable instructions cause the processor to set a label threshold and a display threshold after dividing the internal structure of the 3D model into a plurality of regions, wherein an available display area is greater than the display threshold a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area.
  • the display area of the label threshold displays the label of the display object contained in the display by means of a guide line, or extends the label of the display object contained in the display area to the outside of the display area and displays the space without the display object; for each area, available
  • the display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective; in the direction of the line of sight of each perspective, Depending on the available display area and the label threshold and the display threshold System, it is determined to display the labels for each display object in the display area.
  • the computer readable instructions cause the processor to determine the font size of the display label according to the size of the available display area of each display area after dividing the internal structure of the 3D model into a plurality of regions, and the available display The size of the area is proportional to the font size of the display label.
  • the processor and the memory including computer readable instructions may be embedded in the smart glasses.
  • the outer structure and the internal structure of the 3D model are first determined, that is, the outer shell and the inner structure of the object to be seen are distinguished in the 3D model, and then reused.
  • 3D The model is imaged, and the outer structure of the 3D model is transparently processed during the imaging process, that is, the outer layer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the image of the internal structure can be confused and intuitive. Show it out.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

Abstract

A fluoroscopy method and system for fluoroscopy of an internal structure of an object, the method comprising: acquiring a 3D model of an object to undergo fluoroscopy, and determining an outer layer structure and an internal structure of the 3D model, the outer layer structure representing a casing of the object to undergo fluoroscopy and the internal structure representing the internal composition of the object to undergo fluoroscopy; and using the 3D model to carry out imaging, and carrying out transparency processing on the outer layer structure of the 3D model during the imaging process. Said solution may carry out transparency processing of the casing of an object to undergo fluoroscopy, so that the casing will not block the object to undergo fluoroscopy and an image of the internal structure may be directly displayed without confusion.

Description

透视物体内部结构的透视方法及系统Perspective method and system for seeing the internal structure of an object 技术领域Technical field
本发明涉及物体透视技术领域,特别涉及一种透视物体内部结构的透视方法及系统。The invention relates to the technical field of object perspective, in particular to a see-through method and system for seeing the internal structure of an object.
背景技术Background technique
在使用智能眼镜等设备透视物体内部结构时,首先要获得被透视物体的内部结构,并根据该内部结构建立3D模型,然后在被透视物体表面对3D模型成像,由此产生透视效果。When a device such as smart glasses is used to see through the internal structure of the object, the internal structure of the object to be seen is first obtained, and a 3D model is established according to the internal structure, and then the 3D model is imaged on the surface of the object to be seen, thereby producing a see-through effect.
目前,建立3D模型的方式是通过已知技术参数建模或者通过CT核磁等设备扫描出来模型。但是,获得的被透视物体的内部结构一般包括被透视物体的外壳,在通过上述方式建立3D模型时会将外壳一起重建出来,而外壳对透视来说并没有实际意义,反而会遮挡透视,导致显示的被透视物体的内部结构图像混乱不直观,很难看清具体的内部结构的真实情况。At present, the way to establish a 3D model is to model the model by known technical parameters or by scanning equipment such as CT nuclear. However, the obtained internal structure of the object to be seen generally includes the outer shell of the object to be seen, and the outer shell is reconstructed together when the 3D model is built in the above manner, and the outer shell has no practical meaning for the perspective, but instead blocks the perspective, resulting in The image of the internal structure of the displayed object is not confusing, and it is difficult to see the actual situation of the specific internal structure.
发明内容Summary of the invention
本发明实施例提供一种透视物体内部结构的透视方法,以解决现有技术中透视物体内部结构时外壳遮挡透视导致内部结构图像混乱不直观的技术问题。该方法包括:获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。The embodiment of the invention provides a perspective method for seeing the internal structure of the object, so as to solve the technical problem that the internal structure of the object is confusing and the internal structure image is disordered when the inner structure of the object is viewed in the prior art. The method includes: acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing the object to be seen Internal configuration; imaging is performed using the 3D model, and the outer structure of the 3D model is transparently processed during the imaging process.
本发明实施例还提供一种透视物体内部结构的透视系统,以解决现有技术中透视物体内部结构时外壳遮挡透视导致内部结构图像混乱不直观的技术问题。该系统包括:3D模型处理设备,用于获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;成像设备,用于利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。The embodiment of the present invention further provides a see-through system for seeing the internal structure of the object, so as to solve the technical problem that the internal structure of the object is confusing and the internal structure image is disordered when the inner structure of the object is viewed in the prior art. The system includes: a 3D model processing device for acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure Representing an internal configuration of the object to be seen; an imaging device for imaging with the 3D model, and transparent processing of the outer structure of the 3D model during imaging.
在本发明实施例中,获取到待透视物体的3D模型后,首先确定出3D模型的外层结构和内部结构,即在3D模型中区分出待透视物体的外壳和内部构造,然后,再利用3D 模型进行成像,在成像过程中,对3D模型的外层结构做透明化处理,即不显示外层结构,这样待透视物体的外壳就不会遮挡透视,使得内部结构的图像可以不混淆、直观的显示出来。In the embodiment of the present invention, after obtaining the 3D model of the object to be seen, the outer structure and the internal structure of the 3D model are first determined, that is, the outer shell and the inner structure of the object to be seen are distinguished in the 3D model, and then reused. 3D The model is imaged, and the outer structure of the 3D model is transparently processed during the imaging process, that is, the outer layer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the image of the internal structure can be confused and intuitive. Show it out.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。在附图中:In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work. In the drawing:
图1是本发明实施例提供的一种透视物体内部结构的透视方法的流程图;1 is a flow chart of a perspective method for seeing an internal structure of an object according to an embodiment of the present invention;
图2是本发明实施例提供的一种标签显示示意图一;2 is a schematic diagram 1 of a label display according to an embodiment of the present invention;
图3是本发明实施例提供的一种标签显示示意图二;FIG. 3 is a schematic diagram 2 showing a label display according to an embodiment of the present invention; FIG.
图4是本发明实施例提供的一种不同区域渲染不同颜色的示意图;4 is a schematic diagram of rendering different colors in different regions according to an embodiment of the present invention;
图5是本发明实施例提供的一种标签显示状态变化示意图;FIG. 5 is a schematic diagram of a display state change of a label according to an embodiment of the present invention; FIG.
图6是本发明实施例提供的一种透视物体内部结构的透视系统的结构框图;6 is a structural block diagram of a perspective system for seeing an internal structure of an object according to an embodiment of the present invention;
图7是本发明实施例提供的一种设备的结构图。FIG. 7 is a structural diagram of an apparatus according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合附图对本发明实施例做进一步详细说明。在此,本发明的示意性实施例及其说明用于解释本发明,但并不作为对本发明的限定。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings. The illustrative embodiments of the present invention and the description thereof are intended to explain the present invention, but are not intended to limit the invention.
图1为本发明实施例中透视物体内部结构的透视方法的流程图。如图1所示,本发明实施例中透视物体内部结构的透视方法可以包括:1 is a flow chart showing a perspective method of seeing an internal structure of an object in an embodiment of the present invention. As shown in FIG. 1 , a perspective method for seeing an internal structure of an object in an embodiment of the present invention may include:
步骤101:获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;Step 101: Acquire a 3D model of an object to be seen, determine an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an interior of the object to be seen structure;
步骤102:利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。Step 102: Perform imaging using the 3D model, and transparently process the outer structure of the 3D model during the imaging process.
由图1所示的流程可知,在本发明实施例中,获取到待透视物体的3D模型后,首先确定出3D模型的外层结构和内部结构,即在3D模型中区分出待透视物体的外壳和内 部构造,然后,再利用3D模型进行成像,在成像过程中,对3D模型的外层结构做透明化处理,即不显示外层结构,这样待透视物体的外壳就不会遮挡透视,使得内部结构的图像可以不混淆、直观的显示出来。It can be seen from the flow shown in FIG. 1 that, in the embodiment of the present invention, after acquiring the 3D model of the object to be seen, the outer structure and the internal structure of the 3D model are first determined, that is, the object to be seen is distinguished in the 3D model. Outer casing and inside The structure is then, and then the 3D model is used for imaging. During the imaging process, the outer structure of the 3D model is transparent, that is, the outer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the interior The image of the structure can be displayed without confusion or intuition.
具体实施时,上述获取的3D模型与待透视物体外形一致、内部构造对应,供透视物体内部结构时使用。具体的,可以通过现有技术建立上述3D模型,例如,使用已有的结构图作为建立3D模型的依据,或者使用CT(Computed Tomography,电子计算机断层扫描)以及MRI(Magnetic Resonance Imaging,核磁共振成像)等设备对待透视物体进行图像扫描及建模。In a specific implementation, the acquired 3D model is consistent with the shape of the object to be seen and corresponds to the internal structure, and is used when the internal structure of the object is viewed. Specifically, the above 3D model can be established by using the prior art, for example, using an existing structural diagram as a basis for establishing a 3D model, or using CT (Computed Tomography) and MRI (Magnetic Resonance Imaging). ) and other devices to image and model the perspective object.
具体实施时,为了可以准确地区分出3D模型的外层结构,在本实施例中,确定所述3D模型的外层结构,包括:在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。In a specific implementation, in order to accurately distinguish the outer structure of the 3D model, in the embodiment, determining the outer structure of the 3D model includes: determining the same coordinate axis in each coordinate axis direction of the three-dimensional coordinates a maximum value and a minimum value of an intersection of a straight line parallel to the direction of the object to be seen, and a structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure The structure between the small value and the intersection adjacent to the minimum value is determined as the outer structure.
具体的,为了保证在透视时可以看到内部结构而不被3D模型的外层结构所遮挡,需要在没有明确外层结构的3D模型中定义外层结构,外层结构的获得方式如下,在三维坐标系的x,-x,y,-y,z,-z方向(也就是通常所说的前后上下左右六个方向,我们将正对使用者的方向定义为x,上为y,左侧为z)上,分别确定同坐标轴方向平行的射线与待透视物体的边界的交点的极大值和极小值,极大值是射线进入待透视物体时与待透视物体的边界的交点,极小值是射线穿出待透视物体时与待透视物体的边界的交点,将极大值和与极大值相邻的交点之间的结构确定为外层结构,将极小值和与极小值相邻的交点之间的结构确定为外层结构。这里待透视物体的边界指的是同种材质的外壳对象,也就是说,如果内部结构可能与外壳紧密贴合,这种情况下只要内部结构和外壳材质不相同,则认为其不是外壳而是内部结构。不同的材质在CT或者MRI上的强度或者反射信号往往是不同的,由此我们可以区分外壳材质与内部结构的材质。三维坐标系中的六个方向都按照此操作获得外壳。Specifically, in order to ensure that the internal structure can be seen in perspective without being obscured by the outer structure of the 3D model, it is necessary to define the outer structure in a 3D model without an explicit outer structure, and the outer structure is obtained as follows. The x, -x, y, -y, z, -z directions of the three-dimensional coordinate system (that is, the so-called six directions of front, back, left, and right, we will define the direction of the user as x, y, left) The side is z), respectively determining the maximum value and the minimum value of the intersection of the ray parallel to the direction of the coordinate axis and the boundary of the object to be seen, and the maximum value is the intersection of the ray entering the object to be seen and the boundary of the object to be seen The minimum value is the intersection of the boundary of the object to be seen through the object to be seen through the object, and the structure between the maximum value and the intersection point adjacent to the maximum value is determined as the outer structure, and the minimum value and The structure between the adjacent intersections of the minimum values is determined as the outer structure. Here, the boundary of the object to be seen refers to the outer shell object of the same material, that is, if the inner structure may closely fit the outer shell, in this case, as long as the inner structure and the outer shell material are different, it is considered not the outer shell but Internal structure. The strength or reflected signals of different materials on CT or MRI are often different, so we can distinguish between the material of the outer shell and the inner structure. The six directions in the three-dimensional coordinate system follow this operation to obtain the outer casing.
具体实施时,通常情况下只需要透视x方向的外壳即可,也就是正对使用者的方向,即可达到透视内部结构的效果,如果需要不包含外壳只显示内部结构的模型时则需要将全部外壳均剔除。为了能得到物体透视的效果,例如,我们将x方向,也就是成像设备对视线方向的物体外壳做透明化处理,也就是成像设备将这部分材质的像素颜色设置为0(各个通道都为0),从而让内部的颜色可以不受前侧外壳的遮挡,实现透视效 果。当目标物体发生移动时,透视的3D模型也随着一起运动和旋转,同时正向(例如x方向)的外壳始终处于透视状态,从而保证任何时刻都可以观察透视的效果。In the specific implementation, it is usually only necessary to see through the x-direction outer casing, that is, the direction of the user, to achieve the effect of seeing the internal structure. If it is necessary to include the model of the internal structure without the outer casing, it is necessary to All casings are removed. In order to get the effect of the object perspective, for example, we will transparently process the object shell in the x direction, that is, the imaging device, in the line of sight direction, that is, the imaging device sets the pixel color of the material to 0 (each channel is 0). ), so that the internal color can be shielded from the front side of the shell, achieving perspective effect fruit. As the target object moves, the perspective 3D model also moves and rotates together, while the forward (eg, x-direction) shell is always in perspective, ensuring that the perspective is visible at all times.
实际应用中,需要根据摄像头观察到的对象(即上述待透视物体)外观确定对象所处的位置和角度,从而按照相应的位置和角度进行3D模型的成像。这样可以保证3D模型与实际的物体的对应关系,从而保证与之对应的内部结构的准确。该功能可以借助现有技术实现,只要确保3D模型与实际物体的对应关系即可,本申请对此不作具体限定。In practical applications, it is necessary to determine the position and angle of the object according to the appearance of the object observed by the camera (ie, the object to be seen above), thereby performing imaging of the 3D model according to the corresponding position and angle. This can ensure the correspondence between the 3D model and the actual object, thus ensuring the accuracy of the internal structure corresponding thereto. This function can be implemented by using the prior art, as long as the correspondence between the 3D model and the actual object is ensured, which is not specifically limited in this application.
具体实施时,在内部结构中的显示对象在位置关系上形成多层叠加结构时,为了避免内部结构显示时出现遮挡、嵌套,在本实施例中,在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。例如,在成像过程中,将外层结构做透明化处理后,使用者直接看到的是内部结构中最前面一层结构,如果想进一步透视内层结构,则在成像过程中,再将内部结构中最前面一层结构做透明化处理,使得直接显示内层结构,如有更多层结构,可以逐层透视每层结构,只需在成像过程中,将待透视层结构之前的所有结构做透明化处理。对内层结构做透明化处理的方式与对外层结构做透明化处理的方式相同,也就是说,当需要透视内层结构时,将外层结构做透明化处理后的内部结构考虑视为物体的整体结构,再对其做外层结构的划分,从而重新得到新的外壳和内部结构,对新的外壳做透明化处理。如果还需要继续透视更内部的结构,则将新内部结构整体视为物体的整体结构,对新内部结构执行外壳(即外层结构)判定,再对确定的外壳做透明化处理。以此类推,逐层透明化从内部结构中判定的外层结构,直至透视到需要透视的内部结构。In a specific implementation, when the display object in the internal structure forms a multi-layer superposition structure in the positional relationship, in order to avoid occlusion and nesting when the internal structure is displayed, in the embodiment, in the internal structure of the 3D model When the display object forms a multi-layered nested structure in the positional relationship, in the imaging process, all structures occluding the display object to be seen are transparent in the direction of the line of sight of the perspective. For example, in the imaging process, after the outer layer structure is made transparent, the user directly sees the first layer structure in the inner structure. If you want to further see the inner layer structure, then the inner part is in the imaging process. The structure of the first layer in the structure is transparent, so that the inner structure can be directly displayed. If there are more layers, the structure of each layer can be seen layer by layer, and only the structure before the layer structure is to be seen in the imaging process. Make it transparent. The way to transparentize the inner layer structure is the same as the way to transparently treat the outer layer structure. That is to say, when the inner layer structure needs to be seen through, the inner structure is considered to be transparent after the inner structure is considered as an object. The overall structure, and then the division of the outer structure, to regain the new outer casing and internal structure, the new casing is transparent. If it is necessary to continue to see through the more internal structure, the new internal structure as a whole is regarded as the overall structure of the object, and the outer structure (ie, the outer structure) is judged for the new internal structure, and then the determined outer casing is transparent. By analogy, the outer structure determined from the internal structure is transparently layer by layer until it is seen through to the internal structure requiring perspective.
具体实施时,为了进一步可以清晰、直观地显示内部结构,在本实施例中,在确定所述3D模型的外层结构和内部结构之后,还包括:将所述3D模型的内部结构划分为多个包含有显示对象的区域,每个区域用一种且与其他区域不同的颜色进行渲染。具体的,可以根据所述内部结构中显示对象的材质种类或位置关系的不同,将所述3D模型的内部结构划分为包含有显示对象的多个区域。In a specific implementation, in order to further clearly and intuitively display the internal structure, in the embodiment, after determining the outer structure and the internal structure of the 3D model, the method further includes: dividing the internal structure of the 3D model into multiple An area containing display objects, each rendered with a different color than the other areas. Specifically, the internal structure of the 3D model may be divided into a plurality of regions including the display object according to the material type or the positional relationship of the display object in the internal structure.
例如,根据内部结构中显示对象的不同材质,将3D模型的内部结构划分为多个包含有显示对象的区域,每个区域使用不同颜色加以区分,给人以不同内部单元结构的感觉。在内部结构中显示对象的材质相同的情况下,模型内部结构的颜色统一,结构之间存在的前后位置关系也不容易看出,此时,则可以采用区块渲染的技术,根据内部结构 中显示对象的位置关系的不同,将3D模型的内部结构划分为包含有显示对象的多个区域,再使用不同颜色渲染不同的区域,将前后的同材质显示对象所在区域渲染为不同颜色,以达到区分前后位置关系、清晰内部结构的作用。For example, according to different materials of the display object in the internal structure, the internal structure of the 3D model is divided into a plurality of regions including display objects, and each region is distinguished by using different colors, giving a feeling of different internal unit structures. In the case where the materials of the display objects in the internal structure are the same, the color of the internal structure of the model is unified, and the positional relationship between the structures is not easy to see. In this case, the technique of block rendering can be adopted, according to the internal structure. In the difference in the positional relationship of the displayed object, the internal structure of the 3D model is divided into a plurality of regions including the display object, and different regions are rendered by different colors, and the regions of the same material display object are rendered in different colors. To achieve the role of distinguishing the position relationship before and after, clear internal structure.
具体实施时,如果显示对象的标签信息随意的自行摆放,则标签之间很容易互相堆叠从而影响显示的内容,如图2所示。为了进一步保证显示内部结构的清晰,标签信息显示完全,在本实施例中,在将所述3D模型的内部结构划分为多个区域之后,还包括:设置标签阈值和显示阈值,可用显示面积(针对每个区域,可用显示面积是指从每个透视的视线方向透视所述待透视物体的内部结构时,该区域内可用于显示该区域所含显示对象的标签信息的显示面积,该可用显示面积受被透视物体的大小、远近及内部结构的遮挡关系的影像大小具有不确定性,需要根据实际使用中的显示结果加以判断才可以知道可用显示面积的大小)大于所述显示阈值的区域为显示区域,可用显示面积小于所述显示阈值的区域为不显示区域,可用显示面积大于所述标签阈值的显示区域在该显示区域范围内显示自身所含显示对象的标签,可用显示面积小于所述标签阈值的显示区域采用引导线的方式显示自身所含显示对象的标签,或将自身所含显示对象的标签延展到该显示区域外且没有显示对象的空间内进行显示;在每个透视的视线方向上,根据可用显示面积与所述标签阈值和所述显示阈值的大小关系,确定每个显示区域中显示对象的标签的显示方式。例如,如图3所示,在显示时,如果可用显示面积小于显示阈值则认为对象完全被遮挡无法观察到,则不对该区域进行显示,同时删除该区域的颜色以及标签信息;如果可用显示面积大于显示阈值且大于标签阈值,则在区域范围内显示标签。例如,立方体的显示方式;如果显示面积大于显示阈值且小于标签阈值则采用箭头指示的方式显示标签,例如,球体的显示方式;或将标签延展到该区域外且没有显示对象的空间内进行显示,例如。圆柱体的显示。In the specific implementation, if the label information of the display object is randomly placed by itself, the labels are easily stacked on each other to affect the displayed content, as shown in FIG. 2 . In order to further ensure the clarity of the internal structure of the display, the label information is displayed completely. In the embodiment, after dividing the internal structure of the 3D model into multiple regions, the method further includes: setting a label threshold and a display threshold, and using the display area ( For each area, the available display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective, the available display The image size of the occlusion relationship of the size, the distance, and the internal structure of the object to be seen is uncertain. It is necessary to judge according to the display result in actual use to know the size of the available display area. The area larger than the display threshold is a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area. The display area of the label threshold is displayed by means of a guide line. A label containing the display object, or a label extending the display object of the display object outside the display area and having no display object; in the direction of the line of sight of each perspective, according to the available display area and the label The relationship between the threshold and the display threshold determines the manner in which the label of the display object in each display area is displayed. For example, as shown in FIG. 3, when the display area is smaller than the display threshold, the object is considered to be completely occluded and cannot be observed, and the area is not displayed, and the color of the area and the label information are deleted; if the available display area If it is greater than the display threshold and greater than the label threshold, the label is displayed within the area. For example, the display mode of the cube; if the display area is larger than the display threshold and less than the label threshold, the label is displayed by means of an arrow, for example, the manner in which the sphere is displayed; or the label is extended outside the area and displayed in a space without the display object. ,E.g. The display of the cylinder.
为了实现标签之间不互相遮挡、清晰地显示,具体的,从视角对内部结构中各个着色区域进行计算,如果某区域的颜色与着色颜色一致,则说明该区域无遮挡,如果某区域的颜色发生变化,则说明该区域发生遮挡,此时需要判断是哪个区域被遮挡,并将被遮挡的颜色从重叠区域去除。这样我们可以得到一个不同颜色的分区。如图4所示,1-6组成的区域渲染立方体的颜色,7-12组成的区域渲染圆柱体的颜色,13-14组成的区域渲染球体的颜色。In order to realize that the labels are not occluded and clearly displayed, specifically, the colored areas in the internal structure are calculated from the angle of view. If the color of a certain area is consistent with the colored color, the area is unoccluded, if the color of an area If there is a change, it indicates that the area is occluded. In this case, it is necessary to determine which area is occluded and remove the occluded color from the overlapping area. This way we can get a partition of a different color. As shown in Figure 4, the area consisting of 1-6 renders the color of the cube, the area consisting of 7-12 renders the color of the cylinder, and the area consisting of 13-14 renders the color of the sphere.
按照图4的结果,我们可以将立方体的标签显示在1-6所在区域,圆柱体标签显示在7-12所在区域,球体标签显示在13-14所在区域。这里面存在2个阈值,一个是标签 阈值,一个是显示阈值。如果显示对象所在区域的可用显示面积小于显示阈值,则该区域为不显示区域,即认为不显示区域中的显示对象完全被遮挡无法观察到,则对不显示区域中的显示对象不进行标签的显示,同时删除该不显示区域中的颜色以及显示对象的标签信息;如果显示对象所在区域的可用显示面积大于显示阈值,则该区域为显示区域,进而对于显示区域,如果显示区域的可用显示面积小于标签阈值,则采用箭头引线指示方式显示自身所包含的显示对象的标签,或将自身所包含的显示对象的标签延展到该显示区域外且没有其他显示对象的空间内进行显示,例如,圆柱体和球体标签的显示方式;如果显示区域的可用显示面积大于标签阈值,则在该显示区域内显示自身所包含的显示对象的标签,例如,立方体的标签显示方式。具体的,如图3、4所示,立方体的标签可以显示在1-6的区域。圆柱体的标签如果显示在11-12的位置则会进入4-5或者13,这部分区域不是圆柱体,因此,最优的选择是圆柱体的标签显示在7-10所在区域。如果13-14的显示面积比该标签阈值小,则使用箭头指示的方式来显示标注,例如,球体的标签显示方式。According to the results in Figure 4, we can display the label of the cube in the area of 1-6, the cylinder label is displayed in the area of 7-12, and the sphere label is displayed in the area of 13-14. There are 2 thresholds, one is the label Threshold, one is the display threshold. If the available display area of the area where the display object is located is smaller than the display threshold, the area is not displayed, that is, the display object in the non-display area is completely occluded and cannot be observed, and the display object in the non-display area is not labeled. Displaying, simultaneously deleting the color in the non-display area and the label information of the display object; if the available display area of the area where the display object is located is greater than the display threshold, the area is the display area, and if the display area is available for the display area, If it is smaller than the label threshold, the label of the display object included in the display object is displayed by using an arrow lead indication manner, or the label of the display object included in the display object is extended to the outside of the display area and displayed in a space without other display objects, for example, a cylinder. The display mode of the body and the sphere label; if the available display area of the display area is greater than the label threshold, the label of the display object contained in the display area is displayed in the display area, for example, the label display mode of the cube. Specifically, as shown in FIGS. 3 and 4, the label of the cube can be displayed in the area of 1-6. If the cylinder's label is displayed at 11-12, it will enter 4-5 or 13. This part is not a cylinder. Therefore, the best choice is that the cylinder's label is displayed in the area of 7-10. If the display area of 13-14 is smaller than the label threshold, the label is displayed in the manner indicated by the arrow, for example, the label display mode of the sphere.
首次显示标签整体具体规则如下:判断需要显示标注的区域,也就是判断可用显示面积大于显示阈值的区域。然后进行逐个区域的标签添加显示。添加时首先判断标签是否可以完全放置在区域内(即可用显示面积是否大于上述标签阈值),如果可以则直接进行添加显示,例如,立方体标签的显示;如果不能在区域内完全放置,也就是需要延展到区域以外,那么需要继续判断延展到的区域是否已经被其他颜色占领(即是否有其他显示对象),如果未被占领则显示标签,例如,圆柱体的标签显示;如果该延展到的区域已经被其他颜色占领,也就是说,无法在该区域和延展到的与该颜色相邻的区域所组成范围内显示标签,则使用引导线进行显示,例如,球体的显示。The overall specific rules for displaying the label for the first time are as follows: It is judged that the marked area needs to be displayed, that is, the area where the available display area is larger than the display threshold. Then perform a label-by-region label addition display. When adding, first determine whether the label can be completely placed in the area (ie, whether the display area is larger than the above label threshold), if possible, add the display directly, for example, the display of the cube label; if it cannot be completely placed in the area, it is required Extend beyond the area, then you need to continue to determine whether the extended area has been occupied by other colors (ie, whether there are other display objects), if not occupied, the label is displayed, for example, the label of the cylinder is displayed; if the extended area It has been occupied by other colors, that is, it is not possible to display a label within the range of the area and the extended area adjacent to the color, and the guide line is used for display, for example, the display of the sphere.
具体实施时,显示标签信息的字体大小其实也是可变的,在本实施例中,在将所述3D模型的内部结构划分为多个区域之后,还包括:根据每个显示区域的可用显示面积的大小确定显示标签的字体大小,可用显示面积的大小与显示标签的字体大小成正比。具体的,显示标签的字体大小会根据实际可显示区域的大小而调整,可显示区域越大那么标签也可以相应的变大,从而更清晰的显示。In a specific implementation, the font size of the display label information is also variable. In the embodiment, after the internal structure of the 3D model is divided into multiple areas, the method further includes: displaying an available display area according to each display area. The size determines the font size of the display label, and the size of the available display area is proportional to the font size of the display label. Specifically, the font size of the display label is adjusted according to the size of the actual displayable area, and the larger the display area, the larger the label can be, thereby providing a clearer display.
具体实施时,由于对象的移动或者观察角度发生变化,那么所透视到的区域以及标签的显示不是一成不变的,而是发生变化的,为了可以实现不同角度的透视,本申请通过上述标签显示方式,在每个透视的视线方向上,根据可用显示面积与标签阈值和显示阈值的大小关系,对每个显示区域确定显示标签的方式,具体的,根据角度的变化,那 么区域的标签显示状态发生的变化如下:如图5所示,针对标签在区域内显示的情况,在区域的可用显示面积变大时标签显示基本不变,在区域的可用显示面积变小时,标签的显示会根据可用显示面积的改变结果成为延展到区域外或者使用引导线进行显示。针对标签在区域外显示的情况,区域的可用显示面积增大时标签显示可能不发生变化或者转为区域内显示,区域的可用显示面积减小时,则标签显示不发生变化或者转为引导线进行显示。对子标签显示为引导线显示的情况,区域的可用显示面积变大时,标签显示可以转变为区域内部显示或者延展显示也可能不发生变化,区域的可用显示面积缩小时,标签显示可能不发生变化或者变为不显示状态。针对标签不显示的情况,区域的可用显示面积增大时,则标签显示可能成为延展显示或者引导线显示的状态。In the specific implementation, since the movement or the observation angle of the object changes, the displayed area and the display of the label are not changed, but are changed. In order to realize the perspective of different angles, the present application adopts the above label display manner. In the direction of the line of sight of each perspective, according to the size relationship between the available display area and the label threshold and the display threshold, the manner of displaying the label is determined for each display area, specifically, according to the change of the angle, The change of the label display state of the area is as follows: as shown in FIG. 5, for the case where the label is displayed in the area, when the available display area of the area becomes large, the label display is substantially unchanged, and the available display area in the area becomes small, The display of the label will be extended beyond the area or displayed using the guide line depending on the result of the change in the available display area. For the case where the label is displayed outside the area, when the available display area of the area increases, the label display may not change or be displayed in the area. When the available display area of the area decreases, the label display does not change or turns into a guide line. display. When the sub-label is displayed as the guide line display, when the available display area of the area becomes large, the label display can be changed to the internal display of the area or the extended display may not change. When the available display area of the area is reduced, the label display may not occur. Change or become undisplayed. When the available display area of the area is increased for the case where the label is not displayed, the label display may be in a state of extended display or guide line display.
基于同一发明构思,本发明实施例中还提供了一种透视物体内部结构的透视系统,如下面的实施例所述。由于透视物体内部结构的透视系统解决问题的原理与透视物体内部结构的透视方法相似,因此透视物体内部结构的透视系统的实施可以参见透视物体内部结构的透视方法的实施,重复之处不再赘述。以下所使用的,术语“单元”或者“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。Based on the same inventive concept, an embodiment of the present invention also provides a see-through system for seeing the internal structure of an object, as described in the following embodiments. Since the principle of solving the problem of the perspective system of the internal structure of the perspective object is similar to the perspective method of the internal structure of the perspective object, the implementation of the perspective system of the internal structure of the perspective object can be referred to the implementation of the perspective method of the internal structure of the perspective object, and the repetition will not be repeated. . As used hereinafter, the term "unit" or "module" may implement a combination of software and/or hardware of a predetermined function. Although the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
图6是本发明实施例的透视物体内部结构的透视系统的一种结构框图,如图6所示,该系统包括:6 is a structural block diagram of a perspective system for seeing an internal structure of an object according to an embodiment of the present invention. As shown in FIG. 6, the system includes:
3D模型处理设备601,用于获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;a 3D model processing device 601 for acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing the The internal structure of the object to be seen;
成像设备602,用于利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。The imaging device 602 is configured to perform imaging by using the 3D model, and the outer structure of the 3D model is transparently processed during the imaging process.
在一个实施例中,所述3D模型处理设备,具体用于在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。In one embodiment, the 3D model processing device is specifically configured to determine, in each coordinate axis direction of the three-dimensional coordinates, a maximum value of an intersection of a line parallel to the coordinate axis direction and a boundary of the object to be seen a minimum value, the structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as Outer structure.
在一个实施例中,所述成像设备,还用于在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。 In one embodiment, the imaging device is further configured to: when the display object in the internal structure of the 3D model forms a multi-layered nested structure in a positional relationship, in the imaging process, in a line of sight direction of the perspective, All structures that are occluded before the display object to be seen are transparent.
在一个实施例中,所述3D模型处理设备,包括:区域划分模块,用于在确定所述3D模型的外层结构和内部结构之后,将所述3D模型的内部结构划分为多个包含有显示对象的区域;颜色渲染模块,用于对每个区域用一种且与其他区域不同的颜色进行渲染。In one embodiment, the 3D model processing device includes: a region dividing module, configured to divide an internal structure of the 3D model into a plurality of included after determining an outer structure and an internal structure of the 3D model The area where the object is displayed; the color rendering module is used to render each area with a different color than the other areas.
在一个实施例中,所述区域划分模块,具体用于根据所述内部结构中显示对象的材质种类或位置关系的不同,将所述3D模型的内部结构划分为包含有显示对象的多个区域。In an embodiment, the area dividing module is specifically configured to divide the internal structure of the 3D model into multiple areas including the display object according to different material types or positional relationships of the display objects in the internal structure. .
在一个实施例中,所述3D模型处理设备,还包括:阈值设置模块,用于设置标签阈值和显示阈值,其中,可用显示面积大于所述显示阈值的区域为显示区域,可用显示面积小于所述显示阈值的区域为不显示区域,显示面积大于所述标签阈值的显示区域在该显示区域范围内显示自身所含显示对象的标签,可用显示面积小于所述标签阈值的显示区域采用引导线的方式显示自身所含显示对象的标签,或将自身所含显示对象的标签延展到该显示区域外且没有显示对象的空间内进行显示;针对每个区域,可用显示面积是指从每个透视的视线方向透视所述待透视物体的内部结构时,该区域内可用于显示该区域所含显示对象的标签信息的显示面积;显示方式确定模块,用于在每个透视的视线方向上,根据显示面积与所述标签阈值和所述显示阈值的大小关系,确定每个显示区域中显示对象的标签的显示方式。In one embodiment, the 3D model processing device further includes: a threshold setting module, configured to set a label threshold and a display threshold, wherein an available display area is greater than the display threshold, and the available display area is smaller than the display area. The display area of the display threshold is a non-display area, and the display area whose display area is larger than the label threshold displays a label of the display object included in the display area, and the display area whose display area is smaller than the label threshold is a guide line. The method displays the label of the display object contained in the display, or extends the label of the display object contained by itself to the space outside the display area and has no display object; for each area, the available display area refers to each perspective When the line of sight fluoresces the internal structure of the object to be seen, the display area of the label information of the display object included in the area may be displayed in the area; the display mode determining module is configured to display the line of sight in each perspective according to the display The relationship between the area and the label threshold and the display threshold is determined A Tag display object display area.
在一个实施例中,所述显示方式确定模块,还用于根据每个显示区域的可用显示面积的大小确定显示标签的字体大小,可用显示面积的大小与显示标签的字体大小成正比。In one embodiment, the display mode determining module is further configured to determine a font size of the display label according to a size of an available display area of each display area, where the size of the available display area is proportional to the font size of the display label.
具体的,区域划分模块、颜色渲染模块、阈值设置模块以及显示方式确定模块,可以是软件、硬件或二者的结合,例如,可以是完成各个模块对应功能的处理芯片等元器件。Specifically, the area dividing module, the color rendering module, the threshold setting module, and the display mode determining module may be software, hardware, or a combination of the two. For example, the processing chip and the like may be components that perform corresponding functions of the respective modules.
本发明实施例还提供了一种包括计算机可读指令的计算机可读存储介质,该计算机可读指令在被执行时使处理器至少执行以下操作:获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。Embodiments of the present invention also provide a computer readable storage medium comprising computer readable instructions, when executed, causing a processor to perform at least: acquiring a 3D model of an object to be seen, determining the 3D An outer layer structure and an inner structure of the model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an inner structure of the object to be seen; imaging using the 3D model, during the imaging process, The outer structure of the 3D model is made transparent.
在一个实施例中,上述计算机可读指令使处理器在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极 大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。In one embodiment, the computer readable instructions cause the processor to determine a maximum value and a minimum of an intersection of a line parallel to the direction of the coordinate axis and a boundary of the object to be seen in each coordinate axis direction of the three-dimensional coordinates. Value The structure between the large value and the intersection adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as the outer layer structure.
在一个实施例中,上述计算机可读指令使处理器确定所述3D模型的外层结构和内部结构之后,在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。In one embodiment, after the computer readable instructions cause the processor to determine the outer and inner structures of the 3D model, the display objects in the internal structure of the 3D model form a multi-level nested structure in a positional relationship. At the time of the imaging process, all structures that occlude the display object to be seen are transparent in the direction of the line of sight of the perspective.
在一个实施例中,上述计算机可读指令使处理器在确定所述3D模型的外层结构和内部结构之后,将所述3D模型的内部结构划分为多个包含有显示对象的区域,每个区域用一种且与其他区域不同的颜色进行渲染。In one embodiment, the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including display objects after determining the outer structure and the internal structure of the 3D model, each Areas are rendered in one color that is different from other areas.
在一个实施例中,上述计算机可读指令使处理器根据所述内部结构中显示对象的材质种类或位置关系的不同,将所述3D模型的内部结构划分为包含有显示对象的多个区域。In one embodiment, the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including the display object according to different material types or positional relationships of the display objects in the internal structure.
在一个实施例中,上述计算机可读指令使处理器在将所述3D模型的内部结构划分为多个区域之后,设置标签阈值和显示阈值,其中,可用显示面积大于所述显示阈值的区域为显示区域,可用显示面积小于所述显示阈值的区域为不显示区域,可用显示面积大于所述标签阈值的显示区域在该显示区域范围内显示自身所含显示对象的标签,可用显示面积小于所述标签阈值的显示区域采用引导线的方式显示自身所含显示对象的标签,或将自身所含显示对象的标签延展到该显示区域外且没有显示对象的空间内进行显示;针对每个区域,可用显示面积是指从每个透视的视线方向透视所述待透视物体的内部结构时,该区域内可用于显示该区域所含显示对象的标签信息的显示面积;在每个透视的视线方向上,根据可用显示面积与所述标签阈值和所述显示阈值的大小关系,确定每个显示区域中显示对象的标签的显示方式。In one embodiment, the computer readable instructions cause the processor to set a label threshold and a display threshold after dividing the internal structure of the 3D model into a plurality of regions, wherein an available display area is greater than the display threshold a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area. The display area of the label threshold displays the label of the display object contained in the display by means of a guide line, or extends the label of the display object contained in the display area to the outside of the display area and displays the space without the display object; for each area, available The display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective; in the direction of the line of sight of each perspective, Depending on the available display area and the label threshold and the display threshold System, it is determined to display the labels for each display object in the display area.
在一个实施例中,上述计算机可读指令使处理器在将所述3D模型的内部结构划分为多个区域之后,根据每个显示区域的可用显示面积的大小确定显示标签的字体大小,可用显示面积的大小与显示标签的字体大小成正比。In one embodiment, the computer readable instructions cause the processor to determine the font size of the display label according to the size of the available display area of each display area after dividing the internal structure of the 3D model into a plurality of regions, and the available display The size of the area is proportional to the font size of the display label.
本发明实施例还提供了一种设备,如图7所示,该设备包括:处理器701;和包括计算机可读指令的存储器702,计算机可读指令在被执行时使处理器执行以下操作:获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。 The embodiment of the present invention further provides an apparatus. As shown in FIG. 7, the apparatus includes: a processor 701; and a memory 702 including computer readable instructions that, when executed, cause the processor to perform the following operations: Obtaining a 3D model of the object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an inner structure of the object to be seen; The 3D model performs imaging, and during the imaging process, the outer structure of the 3D model is transparent.
在一个实施例中,上述计算机可读指令使处理器在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。In one embodiment, the computer readable instructions cause the processor to determine a maximum value and a minimum of an intersection of a line parallel to the direction of the coordinate axis and a boundary of the object to be seen in each coordinate axis direction of the three-dimensional coordinates. a value, the structure between the maximum value and the intersection point adjacent to the maximum value is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as an outer layer structure.
在一个实施例中,上述计算机可读指令使处理器在确定所述3D模型的外层结构和内部结构之后,在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。In one embodiment, the computer readable instructions cause the processor to form a plurality of nested positions in the positional relationship in the internal structure of the 3D model after determining the outer structure and the internal structure of the 3D model. In the structure, in the imaging process, in the direction of the line of sight of the perspective, all structures occluding the display object to be seen are transparent.
在一个实施例中,上述计算机可读指令使处理器在确定所述3D模型的外层结构和内部结构之后,将所述3D模型的内部结构划分为多个包含有显示对象的区域,每个区域用一种且与其他区域不同的颜色进行渲染。In one embodiment, the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including display objects after determining the outer structure and the internal structure of the 3D model, each Areas are rendered in one color that is different from other areas.
在一个实施例中,上述计算机可读指令使处理器根据所述内部结构中显示对象的材质种类或位置关系的不同,将所述3D模型的内部结构划分为包含有显示对象的多个区域。In one embodiment, the computer readable instructions cause the processor to divide the internal structure of the 3D model into a plurality of regions including the display object according to different material types or positional relationships of the display objects in the internal structure.
在一个实施例中,上述计算机可读指令使处理器在将所述3D模型的内部结构划分为多个区域之后,设置标签阈值和显示阈值,其中,可用显示面积大于所述显示阈值的区域为显示区域,可用显示面积小于所述显示阈值的区域为不显示区域,可用显示面积大于所述标签阈值的显示区域在该显示区域范围内显示自身所含显示对象的标签,可用显示面积小于所述标签阈值的显示区域采用引导线的方式显示自身所含显示对象的标签,或将自身所含显示对象的标签延展到该显示区域外且没有显示对象的空间内进行显示;针对每个区域,可用显示面积是指从每个透视的视线方向透视所述待透视物体的内部结构时,该区域内可用于显示该区域所含显示对象的标签信息的显示面积;在每个透视的视线方向上,根据可用显示面积与所述标签阈值和所述显示阈值的大小关系,确定每个显示区域中显示对象的标签的显示方式。In one embodiment, the computer readable instructions cause the processor to set a label threshold and a display threshold after dividing the internal structure of the 3D model into a plurality of regions, wherein an available display area is greater than the display threshold a display area, where an available display area is smaller than the display threshold, and a display area having a display area larger than the label threshold is used to display a label of the display object included in the display area, and the available display area is smaller than the display area. The display area of the label threshold displays the label of the display object contained in the display by means of a guide line, or extends the label of the display object contained in the display area to the outside of the display area and displays the space without the display object; for each area, available The display area refers to the display area of the label information of the display object contained in the area when the internal structure of the object to be seen is seen from the direction of the line of sight of each perspective; in the direction of the line of sight of each perspective, Depending on the available display area and the label threshold and the display threshold System, it is determined to display the labels for each display object in the display area.
在一个实施例中,上述计算机可读指令使处理器在将所述3D模型的内部结构划分为多个区域之后,根据每个显示区域的可用显示面积的大小确定显示标签的字体大小,可用显示面积的大小与显示标签的字体大小成正比。In one embodiment, the computer readable instructions cause the processor to determine the font size of the display label according to the size of the available display area of each display area after dividing the internal structure of the 3D model into a plurality of regions, and the available display The size of the area is proportional to the font size of the display label.
具体实施时,上述处理器和包括计算机可读指令的存储器可以嵌入智能眼镜中。In a specific implementation, the processor and the memory including computer readable instructions may be embedded in the smart glasses.
在本发明实施例中,获取到待透视物体的3D模型后,首先确定出3D模型的外层结构和内部结构,即在3D模型中区分出待透视物体的外壳和内部构造,然后,再利用3D 模型进行成像,在成像过程中,对3D模型的外层结构做透明化处理,即不显示外层结构,这样待透视物体的外壳就不会遮挡透视,使得内部结构的图像可以不混淆、直观的显示出来。In the embodiment of the present invention, after obtaining the 3D model of the object to be seen, the outer structure and the internal structure of the 3D model are first determined, that is, the outer shell and the inner structure of the object to be seen are distinguished in the 3D model, and then reused. 3D The model is imaged, and the outer structure of the 3D model is transparently processed during the imaging process, that is, the outer layer structure is not displayed, so that the outer shell of the object to be seen does not obscure the perspective, so that the image of the internal structure can be confused and intuitive. Show it out.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述的具体实施例,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施例而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above described specific embodiments of the present invention are further described in detail, and are intended to be illustrative of the embodiments of the present invention. All modifications, equivalent substitutions, improvements, etc., made within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (10)

  1. 一种透视物体内部结构的透视方法,其特征在于,包括:A perspective method for seeing an internal structure of an object, comprising:
    获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;Obtaining a 3D model of the object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure representing an inner structure of the object to be seen;
    利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。Imaging is performed using the 3D model, and the outer structure of the 3D model is transparently processed during the imaging process.
  2. 如权利要求1所述的透视物体内部结构的透视方法,其特征在于,确定所述3D模型的外层结构,包括:The perspective method of seeing the internal structure of the object according to claim 1, wherein determining the outer structure of the 3D model comprises:
    在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。Determining a maximum value and a minimum value of an intersection of a line parallel to the direction of the coordinate axis and a boundary of the object to be seen in each coordinate axis direction of the three-dimensional coordinates, and maximizing the value and the maximum value The structure between the intersections of the neighbors is determined as an outer layer structure, and the structure between the minimum value and the intersection point adjacent to the minimum value is determined as the outer layer structure.
  3. 如权利要求1所述的透视物体内部结构的透视方法,其特征在于,确定所述3D模型的外层结构和内部结构之后,还包括:The perspective method of the inner structure of the perspective object according to claim 1, wherein after determining the outer layer structure and the inner structure of the 3D model, the method further comprises:
    在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。When the display object in the internal structure of the 3D model forms a multi-layered nested structure in the positional relationship, in the imaging process, in the direction of the line of sight of the perspective, all structures that are occluded before the display object to be seen are transparent. Processing.
  4. 如权利要求1至3中任一项所述的透视物体内部结构的透视方法,其特征在于,在确定所述3D模型的外层结构和内部结构之后,还包括:The perspective method of the inner structure of the perspective object according to any one of claims 1 to 3, further comprising: after determining the outer layer structure and the inner structure of the 3D model,
    将所述3D模型的内部结构划分为多个包含有显示对象的区域,每个区域用一种且与其他区域不同的颜色进行渲染。The internal structure of the 3D model is divided into a plurality of regions including display objects, and each region is rendered with a color different from other regions.
  5. 如权利要求4所述的透视物体内部结构的透视方法,其特征在于,将所述3D模型的内部结构划分为多个区域,包括:The perspective method of the internal structure of the perspective object according to claim 4, wherein dividing the internal structure of the 3D model into a plurality of regions comprises:
    根据所述内部结构中显示对象的材质种类或位置关系的不同,将所述3D模型的内部结构划分为包含有显示对象的多个区域。The internal structure of the 3D model is divided into a plurality of regions including display objects, depending on the material type or positional relationship of the display object in the internal structure.
  6. 如权利要求4所述的透视物体内部结构的透视方法,其特征在于,在将所述3D模型的内部结构划分为多个区域之后,还包括:The perspective method of the internal structure of the perspective object according to claim 4, further comprising: after dividing the internal structure of the 3D model into a plurality of regions, further comprising:
    设置标签阈值和显示阈值,其中,可用显示面积大于所述显示阈值的区域为显示区域,可用显示面积小于所述显示阈值的区域为不显示区域,可用显示面积大于所述标签阈值的显示区域在该显示区域范围内显示自身所含显示对象的标签,可用显示面积小于所述标签阈值的显示区域采用引导线的方式显示自身所含显示对象的标签,或将自身所 含显示对象的标签延展到该显示区域外且没有显示对象的空间内进行显示;针对每个区域,可用显示面积是指从每个透视的视线方向透视所述待透视物体的内部结构时,该区域内可用于显示该区域所含显示对象的标签信息的显示面积;The label threshold and the display threshold are set, wherein an area in which the display area is larger than the display threshold is a display area, and an area in which the display area is smaller than the display threshold is a non-display area, and the display area in which the display area is larger than the label threshold is used. Displaying a label of a display object included in the display area, and displaying a label of the display object included in the display area by using a guide line with a display area smaller than the label threshold, or The label containing the display object is extended into the space outside the display area and has no display object; for each area, the available display area refers to the internal structure of the object to be seen through from the line of sight direction of each perspective, The display area of the label information that can be used to display the display object contained in the area;
    在每个透视的视线方向上,根据可用显示面积与所述标签阈值和所述显示阈值的大小关系,确定每个显示区域中显示对象的标签的显示方式。In the direction of the line of sight of each perspective, the manner in which the labels of the display objects in each display area are displayed is determined according to the magnitude relationship of the available display area to the label threshold and the display threshold.
  7. 如权利要求6所述的透视物体内部结构的透视方法,其特征在于,在将所述3D模型的内部结构划分为多个区域之后,还包括:The perspective method of the internal structure of the perspective object according to claim 6, further comprising: after dividing the internal structure of the 3D model into a plurality of regions, further comprising:
    根据每个显示区域的可用显示面积的大小确定显示标签的字体大小,可用显示面积的大小与显示标签的字体大小成正比。The font size of the display label is determined according to the size of the available display area of each display area, and the size of the available display area is proportional to the font size of the display label.
  8. 一种透视物体内部结构的透视系统,其特征在于,包括:A see-through system for seeing an internal structure of an object, comprising:
    3D模型处理设备,用于获取待透视物体的3D模型,确定所述3D模型的外层结构和内部结构,所述外层结构表示所述待透视物体的外壳,所述内部结构表示所述待透视物体的内部构造;a 3D model processing device for acquiring a 3D model of an object to be seen, determining an outer layer structure and an inner structure of the 3D model, the outer layer structure representing an outer shell of the object to be seen, the inner structure indicating the waiting The internal structure of the see-through object;
    成像设备,用于利用所述3D模型进行成像,在成像过程中,对所述3D模型的外层结构做透明化处理。An imaging device for imaging with the 3D model, wherein an outer layer structure of the 3D model is transparent during the imaging process.
  9. 如权利要求8所述的透视物体内部结构的透视系统,其特征在于,所述3D模型处理设备,具体用于在三维坐标的每个坐标轴方向上,确定同坐标轴方向平行的直线与所述待透视物体的边界的交点的极大值和极小值,将极大值和与所述极大值相邻的交点之间的结构确定为外层结构,将极小值和与所述极小值相邻的交点之间的结构确定为外层结构。The perspective system of the internal structure of the perspective object according to claim 8, wherein the 3D model processing device is specifically configured to determine a straight line parallel to the direction of the coordinate axis in each coordinate axis direction of the three-dimensional coordinates. Determining the maximum value and the minimum value of the intersection of the boundary of the see-through object, and determining the structure between the maximum value and the intersection point adjacent to the maximum value as the outer layer structure, and the minimum value and the The structure between the adjacent intersections of the minimum values is determined as the outer structure.
  10. 如权利要求8所述的透视物体内部结构的透视系统,其特征在于,所述成像设备,还用于在所述3D模型的内部结构中的显示对象在位置关系上形成多层嵌套结构时,在成像过程中,在透视的视线方向上,对遮挡在待透视的显示对象之前的所有结构做透明化处理。 The perspective system of the internal structure of the perspective object according to claim 8, wherein the image forming apparatus is further configured to: when the display object in the internal structure of the 3D model forms a multi-layer nested structure in a positional relationship During the imaging process, all structures that occlude the display object to be seen are transparent in the direction of the line of sight of the perspective.
PCT/CN2016/107253 2016-11-25 2016-11-25 Fluoroscopy method and system for fluoroscopy of internal structure of object WO2018094688A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/107253 WO2018094688A1 (en) 2016-11-25 2016-11-25 Fluoroscopy method and system for fluoroscopy of internal structure of object

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/107253 WO2018094688A1 (en) 2016-11-25 2016-11-25 Fluoroscopy method and system for fluoroscopy of internal structure of object

Publications (1)

Publication Number Publication Date
WO2018094688A1 true WO2018094688A1 (en) 2018-05-31

Family

ID=62194652

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107253 WO2018094688A1 (en) 2016-11-25 2016-11-25 Fluoroscopy method and system for fluoroscopy of internal structure of object

Country Status (1)

Country Link
WO (1) WO2018094688A1 (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051394A (en) * 2007-04-11 2007-10-10 中国科学院地质与地球物理研究所 Three dimension visual system based on geological body of geophysical field data
CN102254347A (en) * 2011-07-05 2011-11-23 中国人民解放军装备指挥技术学院 Three-dimensional visualization method for electromagnetic environment body data
CN103156638A (en) * 2011-12-08 2013-06-19 通用电气公司 Ultrasound imaging system and method
US20140066766A1 (en) * 2012-09-06 2014-03-06 General Electric Company Systems and methods for an ultrasound workflow
CN103908299A (en) * 2012-12-31 2014-07-09 通用电气公司 Systems and methods for ultrasound image rendering
US20160125640A1 (en) * 2014-10-31 2016-05-05 Samsung Medison Co., Ltd. Medical imaging apparatus and method of displaying medical image
CN106710004A (en) * 2016-11-25 2017-05-24 中国科学院深圳先进技术研究院 Perspective method and system of internal structure of perspective object

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101051394A (en) * 2007-04-11 2007-10-10 中国科学院地质与地球物理研究所 Three dimension visual system based on geological body of geophysical field data
CN102254347A (en) * 2011-07-05 2011-11-23 中国人民解放军装备指挥技术学院 Three-dimensional visualization method for electromagnetic environment body data
CN103156638A (en) * 2011-12-08 2013-06-19 通用电气公司 Ultrasound imaging system and method
US20140066766A1 (en) * 2012-09-06 2014-03-06 General Electric Company Systems and methods for an ultrasound workflow
CN103908299A (en) * 2012-12-31 2014-07-09 通用电气公司 Systems and methods for ultrasound image rendering
US20160125640A1 (en) * 2014-10-31 2016-05-05 Samsung Medison Co., Ltd. Medical imaging apparatus and method of displaying medical image
CN106710004A (en) * 2016-11-25 2017-05-24 中国科学院深圳先进技术研究院 Perspective method and system of internal structure of perspective object

Similar Documents

Publication Publication Date Title
US9053565B2 (en) Interactive selection of a region of interest in an image
CN104794758B (en) A kind of method of cutting out of 3-D view
EP2074499B1 (en) 3d connected shadow mouse pointer
US9665990B2 (en) Image display to display 3D image and sectional images
WO2009147841A1 (en) Projection image creation device, method, and program
US7586501B2 (en) Simultaneous projection of multi-branched vessels and their context on a single image
EP3198565B1 (en) Visualizing volumetric image of an anatomical structure
CN110956695B (en) Information processing apparatus, information processing method, and storage medium
US20170060253A1 (en) Method and apparatus for processing three-dimensional (3d) object based on user interaction
JP2014512607A (en) Image processing system and method
JP5414906B2 (en) Image processing apparatus, image display apparatus, image processing method, and program
US20220343589A1 (en) System and method for image processing
JP6359655B2 (en) Image processing apparatus, image processing method, and image processing system
JP5802767B2 (en) Image processing apparatus, stereoscopic image display apparatus, and image processing method
US11120629B2 (en) Method and device for providing augmented reality, and computer program
US9508188B2 (en) Re-centering a view of a scene of a three-dimensional image of anatomy of interest and an alignment object based on a new location of the alignment object in the three-dimensional image
WO2018094688A1 (en) Fluoroscopy method and system for fluoroscopy of internal structure of object
EP2624117A2 (en) System and method providing a viewable three dimensional display cursor
CN110660470A (en) Method and presentation device for post-processing and displaying a three-dimensional angiographic image dataset
US20140340371A1 (en) Image processing device, image processing method, and computer program product
Wischgoll Visualizing vascular structures in virtual environments
Kim et al. Data visualization and display
JP2022551060A (en) Computer-implemented method and system for navigation and display of 3D image data
Cheng et al. GPU based multi-histogram volume navigation for virtual bronchoscopy
BR112017005715B1 (en) SYSTEM AND METHOD FOR VISUALIZING A VOLUMETRIC IMAGE OF AN ANATOMICAL STRUCTURE, AND IMAGING EQUIPMENT

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: 16922130

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16922130

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02.10.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 16922130

Country of ref document: EP

Kind code of ref document: A1