CN112184848B - Method, device, electronic device and storage medium for visualizing pseudo 3D material - Google Patents

Method, device, electronic device and storage medium for visualizing pseudo 3D material Download PDF

Info

Publication number
CN112184848B
CN112184848B CN202011012958.4A CN202011012958A CN112184848B CN 112184848 B CN112184848 B CN 112184848B CN 202011012958 A CN202011012958 A CN 202011012958A CN 112184848 B CN112184848 B CN 112184848B
Authority
CN
China
Prior art keywords
pseudo
axis
type
unit vector
face
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011012958.4A
Other languages
Chinese (zh)
Other versions
CN112184848A (en
Inventor
胡施宇
范渊
黄进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
DBAPPSecurity Co Ltd
Original Assignee
DBAPPSecurity Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by DBAPPSecurity Co Ltd filed Critical DBAPPSecurity Co Ltd
Priority to CN202011012958.4A priority Critical patent/CN112184848B/en
Publication of CN112184848A publication Critical patent/CN112184848A/en
Application granted granted Critical
Publication of CN112184848B publication Critical patent/CN112184848B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/001Texturing; Colouring; Generation of texture or colour
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The application relates to a method, a device, an electronic device and a storage medium for visualizing pseudo 3D materials, wherein the method for visualizing the pseudo 3D materials comprises the following steps: acquiring two-dimensional materials, surface type information of the two-dimensional materials and position information of the two-dimensional materials in the pseudo 3D image; determining a face transformation relation for performing pseudo 3D transformation on the two-dimensional material according to the face type information; carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material; and drawing the pseudo 3D material to a two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image. According to the method and the device for the visual adjustment of the pseudo 3D material, the problem that the visual adjustment process of the pseudo 3D material is complex is solved, the visual adjustment process of the pseudo 3D material is simplified, and the visual development efficiency of the pseudo 3D material is improved.

Description

Method, device, electronic device and storage medium for visualizing pseudo 3D material
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for visualizing pseudo 3D materials.
Background
In data visualization operations, a view type called 2.5D or pseudo 3D is sometimes encountered. Compared with a plane, the type has more space sense, has better plane display effect compared with three dimensions, and has unique advantages in a visual project needing to display building sense or space sense as a special presentation style. However, in the development work of the visualization of the web pseudo 3D material at present, a developer does not have a reasonable tool to face the scene, and huge trouble is brought to the designer.
At the web end, a complete set of technical schemes are not disclosed temporarily, a 2D canvas technology is generally used for developing pseudo 3D materials, perspective effects are made on all surfaces of the pseudo 3D materials by means of a deformation (transformation) method, and then the specific positions which are supposed to be located in a two-dimensional plane after deformation are calculated by means of basic knowledge of linear algebra, and the pseudo 3D content development is realized by adjusting the positions and the layer sequence.
However, the 2d technique is to debug a content having three dimensions in a two-dimensional coordinate system, wherein the two-dimensional coordinate system has no reference value, and repeated comparison adjustment is required when adjusting the position, so that the overall adjustment process is complex.
At present, aiming at the problem of complex visual adjustment process of pseudo 3D materials in the related technology, no effective solution is proposed.
Disclosure of Invention
The embodiment of the application provides a method, a device, an electronic device and a storage medium for visualizing pseudo 3D materials, which are used for at least solving the problem of complex process of adjusting the visualization of the pseudo 3D materials in the related technology.
In a first aspect, an embodiment of the present application provides a method for visualizing pseudo 3D material, including: acquiring two-dimensional materials, surface type information of the two-dimensional materials and position information of the two-dimensional materials in the pseudo 3D image;
determining a face transformation relation for performing pseudo 3D transformation on the two-dimensional material according to the face type information;
carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material;
and drawing the pseudo 3D material to a two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image.
In some of these embodiments, the face types of the two-dimensional material include: a front type and a non-front type; the face transformation relationship includes: a face transform correspondence corresponding to each face type; wherein determining a face transformation relation for pseudo 3D transforming the two-dimensional material according to the face type information comprises:
under the condition that the two-dimensional material is judged to be of a front type according to the face type information, determining that pseudo 3D conversion is not carried out on the two-dimensional material;
and under the condition that the two-dimensional material is judged to be of a non-front type according to the face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a face type conversion relation corresponding to the face type of the two-dimensional material.
In some of these embodiments, the non-frontal types include: left side type; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material comprises the following steps:
obtaining a left side type by linear transformation of a two-dimensional material, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, multiplying a surface conversion matrix of the left side type by the two-dimensional material to obtain a surface of the left side type, and the surface conversion matrix of the left side type is |v x -v y |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis.
In some of these embodiments, the non-frontal types include: right side type; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material comprises the following steps:
obtaining a right side type through linear transformation of a two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, multiplying a face conversion matrix of the right side type by the two-dimensional material to obtain a face of the right side type, and the face conversion matrix of the right side type is I-v z -v y |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis.
In some of these embodiments, the non-frontal types include: top surface type towards left; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material comprises the following steps:
obtaining a top surface type facing to the left side by linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is positioned comprises an x axis and a y axis, and multiplying a surface conversion matrix of the top surface type facing to the left side of the two-dimensional material to obtain a surface of the top surface type facing to the left side, wherein the surface conversion matrix of the top surface type facing to the left side is |v x v z |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v z Is a unit vector of a z axis, and an included angle between the unit vector of the z axis and the unit vector of the y axis is b.
In some of these embodiments, the non-frontal types include: top surface type towards right; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material comprises the following steps:
obtaining a top surface type facing to the right side by linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is positioned comprises an x axis and a y axis, and obtaining the top surface facing to the right side by multiplying a surface conversion matrix of the top surface type facing to the right side of the two-dimensional materialType faces, face-to-right face type face conversion matrix is | -v z v x |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v x Is a unit vector of an x axis, and an included angle between the unit vector of the x axis and the unit vector of the y axis is a.
In some of these embodiments, included angle a and included angle b comprise: the included angle a and the included angle b are any angles between 0 and 360 degrees, the x-axis unit vector changes along with the change of the included angle a, and the z-axis unit vector changes along with the change of the included angle b.
In a second aspect, an embodiment of the present application provides an apparatus for visualizing pseudo 3D material, where the apparatus includes:
the acquisition module is used for acquiring the two-dimensional material, the surface type information of the two-dimensional material and the position information of the two-dimensional material in the pseudo 3D image;
the surface transformation relation determining module is used for determining a surface transformation relation for carrying out pseudo 3D transformation on the two-dimensional materials according to the surface type information;
the pseudo 3D material determining module is used for carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material;
and the pseudo 3D image drawing module is used for drawing the pseudo 3D material to the two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image.
In a third aspect, embodiments of the present application provide an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a method of visualizing pseudo 3D material as in the first aspect described above when the computer program is executed by the processor.
In a fourth aspect, embodiments of the present application provide a storage medium having stored thereon a computer program which, when executed by a processor, implements a method of visualizing pseudo 3D material as in the first aspect described above.
Compared with the related art, the method, the device, the electronic device and the storage medium for visualizing the pseudo 3D material provided by the embodiment of the application deform the two-dimensional material through the surface transformation relationship to obtain the pseudo 3D material, and draw the pseudo 3D material to the two-dimensional canvas position corresponding to the position information to obtain the pseudo 3D image, so that the problem of complex process of visualizing the pseudo 3D material is solved, the process of visualizing the pseudo 3D material is simplified, and the efficiency of visualizing and developing the pseudo 3D material is improved.
The details of one or more embodiments of the application are set forth in the accompanying drawings and the description below to provide a more thorough understanding of the other features, objects, and advantages of the application.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a hardware block diagram of a terminal of a method for visualizing pseudo 3D material according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of pseudo 3D material visualization according to an embodiment of the present application;
FIG. 3 is a flow chart of a method of visualizing pseudo 3D material in accordance with a preferred embodiment of the present application;
FIG. 4 is a block diagram of an apparatus for visualizing pseudo 3D material in accordance with an embodiment of the present application;
FIG. 5 is a global pseudo 3D coordinate schematic according to a preferred embodiment of the present application;
FIG. 6 is a schematic view of a container Box structure according to a preferred embodiment of the present application;
fig. 7 is a schematic view of the Face type of the Face according to the preferred embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described and illustrated below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden on the person of ordinary skill in the art based on the embodiments provided herein, are intended to be within the scope of the present application. Moreover, it should be appreciated that while such a development effort might be complex and lengthy, it would nevertheless be a routine undertaking of design, fabrication, or manufacture for those of ordinary skill having the benefit of this disclosure, and thus should not be construed as having the benefit of this disclosure.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is to be expressly and implicitly understood by those of ordinary skill in the art that the embodiments described herein can be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms used herein should be given the ordinary meaning as understood by one of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar terms herein do not denote a limitation of quantity, but rather denote the singular or plural. The terms "comprising," "including," "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to only those steps or elements but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. The terms "connected," "coupled," and the like in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as used herein means greater than or equal to two. "and/or" describes an association relationship of an association object, meaning that there may be three relationships, e.g., "a and/or B" may mean: a exists alone, A and B exist together, and B exists alone. The terms "first," "second," "third," and the like, as used herein, are merely distinguishing between similar objects and not representing a particular ordering of objects.
The method embodiment provided in this embodiment may be executed in a terminal, a computer or a similar computing device. Taking the example of running on a terminal, fig. 1 is a block diagram of a hardware structure of the terminal of the method for visualizing pseudo 3D material according to the embodiment of the present application. As shown in fig. 1, comprises a processor 11 and a memory 12 in which computer program instructions are stored.
In particular, the processor 11 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
Memory 12 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 12 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, solid state Drive (Solid State Drive, SSD), flash memory, optical Disk, magneto-optical Disk, tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory 12 may include removable or non-removable (or fixed) media, where appropriate. The memory 12 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 12 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, memory 12 includes Read-Only Memory (ROM) and random access Memory (Random Access Memory, RAM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (Programmable Read-Only Memory, abbreviated PROM), an erasable PROM (Erasable Programmable Read-Only Memory, abbreviated EPROM), an electrically erasable PROM (Electrically Erasable Programmable Read-Only Memory, abbreviated EEPROM), an electrically rewritable ROM (Electrically Alterable Read-Only Memory, abbreviated EAROM), or a FLASH Memory (FLASH), or a combination of two or more of these. The RAM may be Static Random-Access Memory (SRAM) or dynamic Random-Access Memory (Dynamic Random Access Memory DRAM), where the DRAM may be a fast page mode dynamic Random-Access Memory (Fast Page Mode Dynamic Random Access Memory FPMDRAM), extended data output dynamic Random-Access Memory (Extended Date Out Dynamic Random Access Memory EDODRAM), synchronous dynamic Random-Access Memory (Synchronous Dynamic Random-Access Memory SDRAM), or the like, as appropriate.
Memory 12 may be used to store or cache various data files that need to be processed and/or communicated, as well as possible computer program instructions for execution by processor 11.
The processor 11 implements the method of visualizing pseudo 3D material of any of the above embodiments by reading and executing computer program instructions stored in the memory 12.
In some of these embodiments, the terminal may also include a communication interface 13 and a bus 10. As shown in fig. 1, the processor 11, the memory 12, and the communication interface 13 are connected via the bus 10 and perform communication with each other.
The communication interface 13 is used to implement communications between various modules, devices, units and/or units in the embodiments of the present application. The communication interface 13 may also enable communication with other components such as: and the external equipment, the image/data acquisition equipment, the database, the external storage, the image/data processing workstation and the like are used for data communication.
Bus 10 includes hardware, software, or both, coupling the components of the terminals to one another. Bus 10 includes, but is not limited to, at least one of: data Bus (Data Bus), address Bus (Address Bus), control Bus (Control Bus), expansion Bus (Expansion Bus), local Bus (Local Bus). By way of example, and not limitation, bus 10 may include a graphics acceleration interface (Accelerated Graphics Port), abbreviated AGP, or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, a wireless bandwidth (InfiniBand) interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (Micro Channel Architecture, abbreviated MCa) Bus, a peripheral component interconnect (Peripheral Component Interconnect, abbreviated PCI) Bus, a PCI-Express (PCI-X) Bus, a serial advanced technology attachment (Serial Advanced Technology Attachment, abbreviated SATA) Bus, a video electronics standards association local (Video Electronics Standards Association Local Bus, abbreviated VLB) Bus, or other suitable Bus, or a combination of two or more of the foregoing. Bus 10 may include one or more buses, where appropriate. Although embodiments of the present application describe and illustrate a particular bus, the present application contemplates any suitable bus or interconnect.
Term interpretation:
and (3) material visualization: and a process of organizing and presenting the material in a specific form into a form that is easily understood, such as a chart.
Pseudo 3D: also known as 2.5D, 2D content is rendered in a perspective manner and is rendered with a shadow or illumination design, thereby rendering a stereoscopic impression, which is a hierarchical 2D content having three dimensions but being significantly different from the common three-dimensional composition pattern.
The embodiment provides a method for visualizing pseudo 3D material, and fig. 2 is a flowchart of a method for visualizing pseudo 3D material according to an embodiment of the present application, as shown in fig. 2, where the flowchart includes the following steps:
step S201, acquiring a two-dimensional material, surface type information of the two-dimensional material, and position information of the two-dimensional material in the pseudo 3D image.
In one embodiment, the face types of the two-dimensional material include: the front type and the non-front type, the non-front type includes a left side type, a right side type, a top surface type toward the left side, and a top surface type toward the right side. By the method, the surface types of the two-dimensional materials are classified, and preparation is made for carrying out pseudo 3D conversion on the two-dimensional materials according to the surface conversion relation corresponding to the surface type information.
In one embodiment, the position information of the two-dimensional material in the pseudo 3D image is obtained by establishing a pseudo 3D coordinate system with the center of the container as an origin, wherein the pseudo 3D coordinate system comprises an x axis, a y axis and a z axis, the y axis is vertical upwards, the x axis is towards the right, the z axis is towards the left, an included angle a between the x axis and the y axis, and an included angle b between the y axis and the z axis. By the method, the position information of the two-dimensional material in the pseudo 3D image can be obtained.
Step S202, determining a face transformation relation for performing pseudo 3D transformation on the two-dimensional material according to the face type information.
In one embodiment, the face transform relationship includes: a face transform correspondence corresponding to each face type; wherein determining a face transformation relation for pseudo 3D transforming the two-dimensional material according to the face type information comprises:
under the condition that the two-dimensional material is judged to be of a front type according to the face type information, determining that pseudo 3D conversion is not carried out on the two-dimensional material;
and under the condition that the two-dimensional material is judged to be of a non-front type according to the face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a face type conversion relation corresponding to the face type of the two-dimensional material. By the method, whether pseudo 3D conversion is needed or not can be judged through the surface type information.
And step S203, carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material.
In one embodiment, performing deformation processing on the two-dimensional material according to the face transformation relationship to obtain the pseudo 3D material includes: obtaining a pseudo 3D material of a left side type through linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, multiplying a face conversion matrix of the left side type by the two-dimensional material to obtain the pseudo 3D material of the left side type, and the face conversion matrix of the left side type is |v x -v y |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis. By the above method, the left side surface can be obtainedTypes of pseudo 3D material.
In one embodiment, performing deformation processing on the two-dimensional material according to the face transformation relationship to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a right side type through linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, multiplying a face conversion matrix of the right side type by the two-dimensional material to obtain the pseudo 3D material of the right side type, and the face conversion matrix of the right side type is I-v z -v y |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis. By the method, the pseudo 3D material of the right side type can be obtained.
In one embodiment, performing deformation processing on the two-dimensional material according to the face transformation relationship to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a top surface type facing to the left through linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, the surface transformation matrix of the top surface type facing to the left is obtained by multiplying the surface transformation matrix of the top surface type facing to the left of the two-dimensional material, and the surface transformation matrix of the top surface type facing to the left is |v x v z |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v z Is a unit vector of a z axis, and an included angle between the unit vector of the z axis and the unit vector of the y axis is b. By the above method, the pseudo 3D material of the top surface type facing to the left side can be obtained.
In one embodiment, performing deformation processing on the two-dimensional material according to the face transformation relationship to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a top surface type facing to the right side by linear transformation of the two-dimensional material, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, multiplying a surface conversion matrix of the top surface type facing to the right side by the two-dimensional material to obtain the pseudo 3D material of the top surface type facing to the right side, and the surface conversion matrix of the top surface type facing to the right side is | -v z v x |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v x Is a unit vector of an x axis, and an included angle between the unit vector of the x axis and the unit vector of the y axis is a. In this way, the pseudo 3D material of the top face type directed to the right side can be obtained.
In one embodiment, included angle a and included angle b comprise: the included angle a and the included angle b are any angle between 0 and 360 degrees, the x-axis unit vector changes along with the change of the included angle a, the z-axis unit vector changes along with the change of the included angle b, the x-axis unit vector is (cos (a-90), sin (a-90)), and the z-axis unit vector is (-cos (b-90), sin (b-90)). Through the mode, the x-axis unit vector and the z-axis unit vector can be obtained through the included angle a and the included angle b.
And S204, drawing the pseudo 3D material to the two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image.
In one embodiment, position coordinates of the two-dimensional material in a pseudo 3D coordinate system are obtained, the position coordinates are multiplied by unit vectors on corresponding axes respectively and then added with coordinates of a center point of a container to determine the position in the container, then a global pseudo 3D coordinate system is established by taking the center point of a two-dimensional plane as an origin, coordinates of the container in the global pseudo 3D coordinate system are obtained, and the coordinates of the container in the global pseudo 3D coordinate system are multiplied by unit vectors on corresponding axes respectively and then added with coordinates of the center point of the two-dimensional plane to determine the position in the two-dimensional canvas. By the method, the position of the two-dimensional material in the two-dimensional canvas can be determined.
Through the steps, the problem that the visual adjustment process of the pseudo 3D material is complex is solved, the visual adjustment process of the pseudo 3D material is simplified, and the visual development efficiency of the pseudo 3D material is improved.
The embodiments of the present application are described and illustrated below by means of preferred embodiments. In this embodiment, the Face is now taken as a two-dimensional material, the container Box is taken as a container, the Face forms each Face of the container Box, the container Box is shown in fig. 6, and the container Box is drawn on a two-dimensional plane as an example.
Fig. 3 is a flowchart of a method of visualizing pseudo 3D material according to a preferred embodiment of the present application, as shown in fig. 3, the flowchart comprising the steps of:
in step S301, a Face, face type information of the Face, pseudo 3D coordinates of the Face in the container Box, and coordinates of the container Box in the pseudo 3D image are acquired.
In one embodiment, the Face type of the Face is as shown in fig. 7, and includes: the front type and the non-front type, the non-front type includes a left side type, a right side type, a top surface type toward the left side, and a top surface type toward the right side. By the method, the Face types of the Face are classified, and preparation is made for subsequent perspective processing of the Face according to the Face conversion matrix corresponding to the Face type information.
In one embodiment, a pseudo 3D coordinate system is established by taking the center of the container Box as an origin to obtain a pseudo 3D coordinate of the Face in the container Box, wherein the pseudo 3D coordinate system comprises an x axis, a y axis and a z axis, the y axis is vertically upward, the x axis is directed to the right, the z axis is directed to the left, and an included angle a between the x axis and the y axis and an included angle b between the y axis and the z axis are formed. By the method, the pseudo 3D coordinates of the Face in the container Box can be obtained, and preparation is made for subsequent determination of the position of the Face in the container Box.
In one embodiment, the coordinates of the container Box in the pseudo 3D image are obtained by establishing a global pseudo 3D coordinate system on the two-dimensional plane with the center of the canvas as the origin, wherein the global pseudo 3D coordinate system is shown in FIG. 5, and comprises an x axis, a y axis and a z axis, the y axis is vertically upward, the x axis is toward the right, the z axis is toward the left, and the included angle a between the x axis and the y axis 1 Included angle b between y-axis and z-axis 1 Wherein, the two-dimensional plane takes the upper left corner as the origin, the positive x direction is vertical to the right, and the positive y direction is vertical to the downward. By the method, the coordinates of the container Box in the pseudo 3D image can be obtained, and preparation is made for the follow-up determination of the coordinates of the container Box in the two-dimensional canvas.
Step S302, determining the coordinates of the container Box in the two-dimensional canvas and the position of the Face surface in the container Box according to the calibration vector.
In one embodiment, unit vectors of an x axis, a y axis and a z axis of the pseudo 3D coordinate system are obtained according to the pseudo 3D coordinate system, and the pseudo 3D coordinates of the Face surface in the container Box are multiplied by the unit vectors on the corresponding axes respectively and then added with the Box center point coordinates to determine the position of the Face surface in the container Box. By the method, the position of the Face surface in the container Box can be determined, and preparation is made for subsequent drawing of the Face surface into the container Box.
In one embodiment, unit vectors of x-axis, y-axis and z-axis of the global pseudo-3D coordinate system are obtained from the global pseudo-3D coordinate system, wherein the x-axis unit vector is (cos (a) 1 –90),sin(a 1 -90)) z-axis unit vector is (-cos (b) 1 –90),sin(b 1 -90)), the y-axis unit vector is (0, 1), and the coordinates of the container Box in the pseudo 3D image are multiplied by the unit vector on the corresponding axis respectively and then added with the coordinates of the center point of the two-dimensional canvas to determine the coordinates of the Box in the two-dimensional canvas. By the method, the coordinates of the Box in the two-dimensional canvas can be determined, and preparation is made for the Box in the two-dimensional canvas subsequently.
Step S303, obtaining the perspective processed Face according to the Face conversion matrix.
Judging whether the Face is of a non-front type according to the Face type information, and determining that pseudo 3D conversion is not carried out on the Face when the Face is of a front type;
and under the condition that the Face is judged to be of a non-front type according to the Face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a Face conversion matrix corresponding to the Face type of the Face. By the method, whether pseudo 3D conversion is needed or not can be judged through the surface type information.
In one embodiment, the deforming the Face according to the Face transformation matrix to obtain the pseudo 3D material includes: obtaining a pseudo 3D material of a left side type through linear transformation by a Face surface, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, multiplying a Face conversion matrix of the Face surface by the left side type to obtain the pseudo 3D material of the left side type, and the Face conversion matrix of the left side type is |v x -v y |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis. By the method, the pseudo 3D material of the left side type can be obtained.
In one embodiment, the deforming the Face according to the Face transformation matrix to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a right side type through linear transformation by a Face surface, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, multiplying a Face conversion matrix of the Face surface by the right side type to obtain the pseudo 3D material of the right side type, and the Face conversion matrix of the right side type is I-v z -v y |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v y Is a unit vector of the y-axis, and the y-axis unit vector direction is parallel to the y-axis. By the method, the pseudo 3D material of the right side type can be obtained.
In one embodiment, the deforming the Face according to the Face transformation matrix to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a top surface type facing to the left side through linear transformation, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, multiplying a Face conversion matrix of the top surface type facing to the left side by the Face plane to obtain the pseudo 3D material of the top surface type facing to the left side, and the Face conversion matrix of the top surface type facing to the left side is |v x v z |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v z Is a unit vector of a z axis, and an included angle between the unit vector of the z axis and the unit vector of the y axis is b. By the above method, the pseudo 3D material of the top surface type facing to the left side can be obtained.
In one embodiment, the deforming the Face according to the Face transformation matrix to obtain the pseudo 3D material includes:
obtaining a pseudo 3D material of a top surface type facing to the right side through linear transformation by a Face surface, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, multiplying a Face conversion matrix of the top surface type facing to the right side by the Face surface to obtain the pseudo 3D material of the top surface type facing to the right side, and the Face conversion matrix of the top surface type facing to the right side is I-v z v x |,v z Is a z-axis unit vector, the included angle between the z-axis unit vector and the y-axis unit vector is b,v x is a unit vector of an x axis, and an included angle between the unit vector of the x axis and the unit vector of the y axis is a. In this way, the pseudo 3D material of the top face type directed to the right side can be obtained.
In one embodiment, included angle a and included angle b comprise: the included angle a and the included angle b are any angle between 0 and 360 degrees, the x-axis unit vector changes along with the change of the included angle a, the z-axis unit vector changes along with the change of the included angle b, the x-axis unit vector is (cos (a-90), sin (a-90)), and the z-axis unit vector is (-cos (b-90), sin (b-90)). Through the mode, the x-axis unit vector and the z-axis unit vector can be obtained through the included angle a and the included angle b.
And step S304, adding the Face surface subjected to perspective processing into the container Box according to the position of the Face surface in the container Box, and adding the canvas according to the coordinates of the container Box in the two-dimensional canvas.
The embodiment also provides a method and a device for visualizing the pseudo 3D material, which are used for implementing the foregoing embodiments and preferred embodiments, and are not described in detail. As used below, the terms "module," "unit," "sub-unit," and the like may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a method apparatus for visualizing pseudo 3D material according to an embodiment of the present application, as shown in fig. 4, where the apparatus includes:
an acquisition module 41, configured to acquire a two-dimensional material, surface type information of the two-dimensional material, and position information of the two-dimensional material in the pseudo 3D image;
a face transformation relation determining module 42, connected to the obtaining module, for determining a face transformation relation for performing pseudo 3D transformation on the two-dimensional material according to the face type information;
the pseudo 3D material determining module 43 is connected to the face transformation relation determining module, and is configured to perform deformation processing on the two-dimensional material according to the face transformation relation to obtain a pseudo 3D material;
the pseudo 3D image drawing module 44 is connected to the pseudo 3D material determining module, and is configured to draw the pseudo 3D material onto a two-dimensional canvas position corresponding to the position information, so as to obtain a pseudo 3D image.
In some of these embodiments, the face transform relationship determination module 42 includes: the face types of the two-dimensional material comprise a front face type and a non-front face type; the surface transformation relation comprises a surface transformation corresponding relation corresponding to each surface type; wherein determining a face transform relationship for pseudo 3D transforming the two-dimensional material based on the face type information includes,
under the condition that the two-dimensional material is judged to be of a front type according to the face type information, determining that pseudo 3D conversion is not carried out on the two-dimensional material;
and under the condition that the two-dimensional material is judged to be of a non-front type according to the face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a face type conversion relation corresponding to the face type of the two-dimensional material.
In some of these embodiments, the pseudo 3D material determination module 43 includes:
a left side type unit, wherein the two-dimensional material obtains a left side type through linear transformation, and the corresponding matrix of the two-dimensional material is multiplied by a surface conversion matrix of the left side type to obtain a corresponding matrix of the left side type, and the surface conversion matrix of the left side type is |v x -v y |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v y The unit vector is a unit vector of a y axis, the direction of the unit vector of the y axis is parallel to the y axis, the included angle a and the included angle b are any angles between 0 and 360 degrees, the unit vector of the x axis changes along with the change of the included angle a, and the unit vector of the z axis changes along with the change of the included angle b.
The right side type unit is used for obtaining a right side type through linear transformation of the two-dimensional material, wherein the corresponding matrix of the two-dimensional material is multiplied by the face conversion matrix of the right side type to obtain the corresponding matrix of the right side type, and the face conversion matrix of the right side type is I-v z -v y |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v y Is a unit vector of a y-axis, the direction of the unit vector of the y-axis is parallel to the y-axis, and the included angle a and the included angle b are between 0 and 360 DEGThe x-axis unit vector changes with the change of the included angle a, and the z-axis unit vector changes with the change of the included angle b.
A top surface type unit facing the left side, wherein the two-dimensional material obtains a top surface type facing the left side through linear transformation, and the corresponding matrix of the two-dimensional material is multiplied by a surface conversion matrix of the top surface type facing the left side to obtain a corresponding matrix of the top surface type facing the left side, and the surface conversion matrix of the top surface type facing the left side is |v x v z |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector is a, v z The angle between the z-axis unit vector and the y-axis unit vector is b, the angle a and the angle b are any angles between 0 and 360 degrees, the x-axis unit vector changes along with the change of the angle a, and the z-axis unit vector changes along with the change of the angle b.
A top surface type unit facing to the right, wherein the two-dimensional material obtains a top surface type facing to the right through linear transformation, and the corresponding matrix of the two-dimensional material is multiplied by a surface conversion matrix of the top surface type facing to the right to obtain a corresponding matrix of the top surface type facing to the right, and the surface conversion matrix of the top surface type facing to the right is | -v z v x |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector is b, v x The X-axis unit vector is an x-axis unit vector, the included angle between the X-axis unit vector and the y-axis unit vector is a, the included angle a and the included angle b are any angles between 0 and 360 degrees, the X-axis unit vector changes along with the change of the included angle a, and the z-axis unit vector changes along with the change of the included angle b.
The above-described respective modules may be functional modules or program modules, and may be implemented by software or hardware. For modules implemented in hardware, the various modules described above may be located in the same processor; or the above modules may be located in different processors in any combination.
The present embodiment also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, where the transmission device is connected to the processor, and the input/output device is connected to the processor.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, acquiring two-dimensional materials, surface type information of the two-dimensional materials and position information of the two-dimensional materials in a pseudo 3D image;
s2, determining a face transformation relation for carrying out pseudo 3D transformation on the two-dimensional material according to the face type information;
s3, carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material;
and S4, drawing the pseudo 3D material to a two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image.
It should be noted that, specific examples in this embodiment may refer to examples described in the foregoing embodiments and alternative implementations, and this embodiment is not repeated herein.
In addition, in combination with the method for visualizing the pseudo 3D material in the above embodiment, the embodiment of the application may be implemented by providing a storage medium. The storage medium has a computer program stored thereon; the computer program, when executed by a processor, implements a method of visualizing pseudo 3D material in any of the above embodiments.
It should be understood by those skilled in the art that the technical features of the above embodiments may be combined in any manner, and for brevity, all of the possible combinations of the technical features of the above embodiments are not described, however, they should be considered as being within the scope of the description provided herein, as long as there is no contradiction between the combinations of the technical features.
The foregoing examples represent only a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the invention. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application is to be determined by the claims appended hereto.

Claims (9)

1. A method of visualizing pseudo-3D material, comprising:
acquiring a two-dimensional material, surface type information of the two-dimensional material and position information of the two-dimensional material in a pseudo 3D image;
determining a face transformation relation for carrying out pseudo 3D transformation on the two-dimensional material according to the face type information;
performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material;
drawing the pseudo 3D material to a two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image;
the surface types of the two-dimensional material comprise: a front type and a non-front type; the face transformation relationship includes: a face transform correspondence corresponding to each face type;
the determining the face transformation relation for performing pseudo 3D transformation on the two-dimensional material according to the face type information comprises the following steps:
under the condition that the two-dimensional material is judged to be of the front type according to the face type information, determining that pseudo 3D conversion is not carried out on the two-dimensional material;
and under the condition that the two-dimensional material is judged to be of the non-front type according to the face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a face type conversion relation corresponding to the face type of the two-dimensional material.
2. The method of claim 1, wherein the non-frontal type comprises: left side type; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material, wherein the step of obtaining the pseudo 3D material comprises the following steps:
the two-dimensional material passes through the lineObtaining the pseudo 3D material of the left side type through sexual transformation, wherein a plane rectangular coordinate system where a two-dimensional canvas is located comprises an x axis and a y axis, the two-dimensional material is multiplied by a face conversion matrix of the left side type to obtain the pseudo 3D material of the left side type, and the face conversion matrix of the left side type is |v x -v y |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector isa,v y Is a unit vector of a y-axis, and the y-axis unit vector direction is parallel to the y-axis.
3. The method of claim 1, wherein the non-frontal type comprises: right side type; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material, wherein the step of obtaining the pseudo 3D material comprises the following steps:
the two-dimensional material is subjected to linear transformation to obtain a pseudo 3D material of a right side type, wherein a plane rectangular coordinate system in which a two-dimensional canvas is located comprises an x axis and a y axis, the two-dimensional material is multiplied by a face conversion matrix of the right side type to obtain the pseudo 3D material of the right side type, and the face conversion matrix of the right side type is I-v z -v y |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector isb,v y Is a unit vector of a y-axis, and the y-axis unit vector direction is parallel to the y-axis.
4. The method of claim 1, wherein the non-frontal type comprises: top surface type towards left; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material, wherein the step of obtaining the pseudo 3D material comprises the following steps:
the two-dimensional material is subjected to linear transformation to obtain the pseudo 3D material of the top surface type facing the left side, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, the two-dimensional material is multiplied by a surface conversion matrix of the top surface type facing the left side to obtain the pseudo 3D material of the top surface type facing the left side, and the surface conversion matrix of the top surface type facing the left side is |v x v z |,v x Is an x-axis unit vector, and the included angle between the x-axis unit vector and the y-axis unit vector isa,v z Is a unit vector of a z axis, and the included angle between the unit vector of the z axis and the unit vector of a y axis isb
5. The method of claim 1, wherein the non-frontal type comprises: top surface type towards right; performing deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material, wherein the step of obtaining the pseudo 3D material comprises the following steps:
the two-dimensional material is subjected to linear transformation to obtain the pseudo 3D material of the top surface type facing the right side, wherein a plane rectangular coordinate system where the two-dimensional canvas is located comprises an x axis and a y axis, the two-dimensional material is multiplied by a surface conversion matrix of the top surface type facing the right side to obtain the pseudo 3D material of the top surface type facing the right side, and the surface conversion matrix of the top surface type facing the right side is | -v z v x |,v z Is a z-axis unit vector, and the included angle between the z-axis unit vector and the y-axis unit vector isb,v x Is a unit vector of an x axis, and the included angle between the unit vector of the x axis and the unit vector of the y axis isa
6. The method of claim 4, wherein the included angle isaAnd said included anglebComprising the following steps:
the included angleaAnd said included anglebIs 0 to 360 o Any angle between the two, the x-axis unit vector follows the included angleaThe z-axis unit vector changes along with the included anglebAnd changes from variation to variation.
7. An apparatus for visualizing pseudo-3D material, the apparatus comprising:
the acquisition module is used for acquiring the two-dimensional material, the surface type information of the two-dimensional material and the position information of the two-dimensional material in the pseudo 3D image;
the surface transformation relation determining module is used for determining a surface transformation relation for carrying out pseudo 3D transformation on the two-dimensional material according to the surface type information;
the pseudo 3D material determining module is used for carrying out deformation processing on the two-dimensional material according to the surface transformation relation to obtain a pseudo 3D material;
the pseudo 3D image drawing module is used for drawing the pseudo 3D material to a two-dimensional canvas position corresponding to the position information to obtain a pseudo 3D image;
the surface transformation relation determining module is further used for determining the surface type of the two-dimensional material, and comprises the following steps: a front type and a non-front type; the face transformation relationship includes: a face transform correspondence corresponding to each face type;
under the condition that the two-dimensional material is judged to be of the front type according to the face type information, determining that pseudo 3D conversion is not carried out on the two-dimensional material;
and under the condition that the two-dimensional material is judged to be of the non-front type according to the face type information, determining to perform pseudo 3D conversion on the two-dimensional material according to a face type conversion relation corresponding to the face type of the two-dimensional material.
8. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of visualizing pseudo 3D material as claimed in any one of claims 1 to 6.
9. A storage medium having stored therein a computer program, wherein the computer program is arranged to perform the method of pseudo 3D material visualization of any of claims 1 to 6 at run-time.
CN202011012958.4A 2020-09-24 2020-09-24 Method, device, electronic device and storage medium for visualizing pseudo 3D material Active CN112184848B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011012958.4A CN112184848B (en) 2020-09-24 2020-09-24 Method, device, electronic device and storage medium for visualizing pseudo 3D material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011012958.4A CN112184848B (en) 2020-09-24 2020-09-24 Method, device, electronic device and storage medium for visualizing pseudo 3D material

Publications (2)

Publication Number Publication Date
CN112184848A CN112184848A (en) 2021-01-05
CN112184848B true CN112184848B (en) 2024-04-16

Family

ID=73956069

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011012958.4A Active CN112184848B (en) 2020-09-24 2020-09-24 Method, device, electronic device and storage medium for visualizing pseudo 3D material

Country Status (1)

Country Link
CN (1) CN112184848B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103329547A (en) * 2010-12-06 2013-09-25 泰拉奈克斯系统公司 Pseudo-3D forced perspective methods and devices
CN106683037A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Method and equipment for three-dimensional visualized movement of track data
CN107203962A (en) * 2016-03-17 2017-09-26 掌赢信息科技(上海)有限公司 The method and electronic equipment of a kind of pseudo- 3D rendering of utilization 2D picture makings
CN107563958A (en) * 2017-08-23 2018-01-09 广州视源电子科技股份有限公司 Hologram image conversion method and system
CN108664231A (en) * 2018-05-11 2018-10-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of 2.5 dimension virtual environments
CN108961406A (en) * 2018-08-10 2018-12-07 北京知道创宇信息技术有限公司 Geographical information visualization method, apparatus and user terminal
CN109656665A (en) * 2018-12-20 2019-04-19 成都四方伟业软件股份有限公司 A kind of visual presentation method of data, component and readable storage medium storing program for executing

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103329547A (en) * 2010-12-06 2013-09-25 泰拉奈克斯系统公司 Pseudo-3D forced perspective methods and devices
CN106683037A (en) * 2015-11-06 2017-05-17 阿里巴巴集团控股有限公司 Method and equipment for three-dimensional visualized movement of track data
CN107203962A (en) * 2016-03-17 2017-09-26 掌赢信息科技(上海)有限公司 The method and electronic equipment of a kind of pseudo- 3D rendering of utilization 2D picture makings
CN107563958A (en) * 2017-08-23 2018-01-09 广州视源电子科技股份有限公司 Hologram image conversion method and system
CN108664231A (en) * 2018-05-11 2018-10-16 腾讯科技(深圳)有限公司 Display methods, device, equipment and the storage medium of 2.5 dimension virtual environments
CN108961406A (en) * 2018-08-10 2018-12-07 北京知道创宇信息技术有限公司 Geographical information visualization method, apparatus and user terminal
CN109656665A (en) * 2018-12-20 2019-04-19 成都四方伟业软件股份有限公司 A kind of visual presentation method of data, component and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN112184848A (en) 2021-01-05

Similar Documents

Publication Publication Date Title
EP3968270A1 (en) Image occlusion processing method, device, apparatus and computer storage medium
CN110533707B (en) Illumination estimation
US10621446B2 (en) Handling perspective magnification in optical flow processing
US7414624B2 (en) Apparatus and method for a frustum culling algorithm suitable for hardware implementation
CN111754579A (en) Method and device for determining external parameters of multi-view camera
CN111897660B (en) Model deployment method, model deployment device and terminal equipment
CN107203962B (en) Method for making pseudo-3D image by using 2D picture and electronic equipment
CN111161398A (en) Image generation method, device, equipment and storage medium
CN112184848B (en) Method, device, electronic device and storage medium for visualizing pseudo 3D material
US20190311524A1 (en) Method and apparatus for real-time virtual viewpoint synthesis
Rodrigues et al. FPGA-based rectification of stereo images
CN111145331B (en) Cloud rendering image fusion method and system for massive urban space three-dimensional data
CN111831337B (en) Data synchronization method and device and related product
EP3232405A1 (en) Image processing apparatus and method for processing images, and recording medium
US11392377B2 (en) System-on-chip, data processing method thereof, and neural network device
CN110853087B (en) Parallax estimation method, device, storage medium and terminal
CN112615993A (en) Depth information acquisition method, binocular camera module, storage medium and electronic equipment
CN108253931B (en) Binocular stereo vision ranging method and ranging device thereof
CN113781661B (en) Immersion scene-oriented multi-projection space layout evaluation method and system
CN114353285B (en) Sound source positioning method and device, computer equipment, air conditioner and storage medium
CN115222799B (en) Method and device for acquiring image gravity direction, electronic equipment and storage medium
CN117456550B (en) MR-based CAD file viewing method, device, medium and equipment
CN115457145A (en) Camera calibration method and device, computer equipment and storage medium
CN117876566A (en) Horizon bending special effect realization method and device, electronic equipment and storage medium
CN115994984A (en) Visual odometer map point generation method, device, medium, AR image processing method and system

Legal Events

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