CN111127322B - Terrain illumination map joint processing method and device - Google Patents

Terrain illumination map joint processing method and device Download PDF

Info

Publication number
CN111127322B
CN111127322B CN201911351512.1A CN201911351512A CN111127322B CN 111127322 B CN111127322 B CN 111127322B CN 201911351512 A CN201911351512 A CN 201911351512A CN 111127322 B CN111127322 B CN 111127322B
Authority
CN
China
Prior art keywords
topographic
illumination map
square small
scene
map
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
CN201911351512.1A
Other languages
Chinese (zh)
Other versions
CN111127322A (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.)
Beijing Pixel Software Technology Co Ltd
Original Assignee
Beijing Pixel Software Technology 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 Beijing Pixel Software Technology Co Ltd filed Critical Beijing Pixel Software Technology Co Ltd
Priority to CN201911351512.1A priority Critical patent/CN111127322B/en
Publication of CN111127322A publication Critical patent/CN111127322A/en
Application granted granted Critical
Publication of CN111127322B publication Critical patent/CN111127322B/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
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4023Scaling of whole images or parts thereof, e.g. expanding or contracting based on decimating pixels or lines of pixels; based on inserting pixels or lines of pixels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • G06T15/005General purpose rendering architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Graphics (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention provides a terrain illumination map joint processing method and device, and relates to the technical field of joint processing. The method comprises the following steps: uniformly and regularly processing the square large-scene topographic illumination map to obtain a plurality of square small-scene topographic illumination maps with the same size; the following steps are performed for each square small scene terrain illumination map: sequentially carrying out pixel scaling and edge pixel filling on the square small scene topographic illumination map; interpolation is carried out on the square small-scene topographic illumination map filled by the edge pixels so as to carry out joint treatment on the square large-scene topographic illumination map. According to the topographic illumination map joint processing method and device, edge pixels are filled in the topographic illumination map, so that enough pixel edge information is contained in the topographic illumination map, and enough pixel edge information is contained in the edge pixels during subsequent rendering to interpolate, so that the technical effect of improving the topographic joint problem is achieved.

Description

Terrain illumination map joint processing method and device
Technical Field
The invention relates to the technical field of joint treatment, in particular to a method and a device for treating a joint of a topographic illumination map.
Background
Currently, in the process of baking and rendering a large-scene topographic illumination map of a three-dimensional game, a worker can divide the large-scene topographic illumination map into a plurality of small-scene topographic illumination maps to reduce the baking and rendering time, but in the process of baking and rendering in blocks, edge pixels cannot acquire enough pixels to perform secondary linear interpolation, so that a seam problem occurs on the terrain.
Disclosure of Invention
Accordingly, the present invention is directed to a method and apparatus for treating a seam in a topographic illumination map to improve the seam problem on the topography.
In a first aspect, an embodiment of the present invention provides a method for processing a joint of a topographic illumination map, the method including the steps of:
uniformly and regularly processing the square large-scene topographic illumination map to obtain a plurality of square small-scene topographic illumination maps with the same size;
the following steps are performed for each square small scene terrain illumination map:
sequentially carrying out pixel scaling and edge pixel filling on the square small scene topographic illumination map;
interpolation is carried out on the square small-scene topographic illumination map filled by the edge pixels so as to carry out joint treatment on the square large-scene topographic illumination map.
With reference to the first aspect, the embodiment of the present invention provides a first possible implementation manner of the first aspect, where the steps of sequentially performing pixel scaling and edge pixel filling on the square small scene topographic map include:
performing pixel scaling on the square small scene topographic illumination map;
and filling edge pixels of each adjacent square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map.
With reference to the first possible implementation manner of the first aspect, the embodiment of the present invention provides a second possible implementation manner of the first aspect, wherein the step of filling the edge pixels of each neighboring square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map includes:
filling edge pixels of each edge of the square small scene topographic illumination map adjacent to each edge of the square small scene topographic illumination map into the square small scene topographic illumination map;
and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
With reference to the first aspect, the embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of interpolating an edge pixel-filled square small scene topographic map includes:
and interpolating the square small scene topographic illumination map by using a quadratic linear interpolation algorithm.
In a second aspect, an embodiment of the present invention further provides a topographic illumination map seam processing apparatus, including:
the processing module is used for carrying out uniform and regular processing on the square large-scene topographic illumination map and obtaining a plurality of square small-scene topographic illumination maps with the same size;
the apparatus further comprises:
the scaling and filling module is used for sequentially scaling pixels and filling edge pixels of the square small scene topographic illumination map;
and the interpolation module is used for interpolating the square small-scene topographic illumination map filled by the edge pixels so as to perform joint processing on the square large-scene topographic illumination map.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the scaling and filling module is configured to:
performing pixel scaling on the square small scene topographic illumination map;
and filling edge pixels of each adjacent square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map.
With reference to the first possible implementation manner of the second aspect, the embodiment of the present invention provides a second possible implementation manner of the second aspect, where the scaling and filling module is further configured to:
filling edge pixels of each edge of the square small scene topographic illumination map adjacent to each edge of the square small scene topographic illumination map into the square small scene topographic illumination map;
and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
With reference to the first possible implementation manner of the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the interpolation module is configured to:
and interpolating the square small scene topographic illumination map by using a quadratic linear interpolation algorithm.
In a third aspect, an embodiment of the present invention further provides a server, where the server includes: a processor and a memory storing computer executable instructions executable by the processor to implement the method described above.
In a fourth aspect, embodiments of the present invention also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The embodiment of the invention has the following beneficial effects: according to the terrain illumination map joint processing method and device, firstly, square large-scene terrain illumination maps are uniformly divided into a plurality of square small-scene terrain illumination maps, then, pixel scaling and edge pixel filling are sequentially carried out on the square small-scene terrain illumination maps, and finally, interpolation is carried out on the square small-scene terrain illumination maps so as to finish joint processing on the square large-scene terrain illumination maps. According to the topographic illumination map joint processing method and device, edge pixels are filled in the topographic illumination map, so that enough pixel edge information is contained in the topographic illumination map, and enough pixel edge information is contained in the edge pixels during subsequent rendering to interpolate, so that the technical effect of improving the topographic joint problem is achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the above objects, features and advantages of the present invention more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the following description will briefly explain the drawings needed in the embodiments or the prior art description, and it is obvious that the drawings in the following description are some embodiments of the invention and that other drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flowchart of a method for processing a joint of a topographic illumination map according to an embodiment of the present invention;
FIG. 2 is a flowchart of another method for processing a topographic illumination map joint, according to an embodiment of the present invention;
FIG. 3 is a block diagram of a joint treatment device for a topographic illumination map according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a server according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Currently, in the process of baking and rendering a large-scene topographic illumination map of a three-dimensional game, a worker can divide the large-scene topographic illumination map into a plurality of small-scene topographic illumination maps to reduce the baking and rendering time, but in the process of baking and rendering in blocks, edge pixels cannot acquire enough pixels to perform secondary linear interpolation, so that a seam problem occurs on the terrain. Based on the above, the embodiment of the invention provides a topographic illumination map joint processing method and device, so as to alleviate the above problems.
For the sake of understanding the present embodiment, a detailed description will be given of a method for processing a seam of a topographic illumination map according to an embodiment of the present invention.
In one possible embodiment, the invention provides a terrain illumination map joint processing method. Fig. 1 is a flowchart of a method for processing a joint of a topographic illumination map according to an embodiment of the present invention, the method includes the following steps:
step S102: and uniformly and regularly processing the square large-scene topographic illumination map to obtain a plurality of square small-scene topographic illumination maps with the same size.
The following steps are performed for each square small scene terrain illumination map:
step S104: and sequentially carrying out pixel scaling and edge pixel filling on the square small scene topographic illumination map.
The number of the scaling pixels is greater than or equal to 2, and the pixels with different numbers are scaled according to specific situations, and the number of the scaling pixels is preferably 2 in the embodiment of the invention.
Step S106: interpolation is carried out on the square small-scene topographic illumination map filled by the edge pixels so as to carry out joint treatment on the square large-scene topographic illumination map.
The embodiment of the invention has the following beneficial effects: according to the embodiment of the invention, through a terrain illumination map joint processing method, a square large-scene terrain illumination map is firstly uniformly divided into a plurality of square small-scene terrain illumination maps, then pixel scaling and edge pixel filling are sequentially carried out on the square small-scene terrain illumination maps, and finally interpolation is carried out on the square small-scene terrain illumination maps so as to finish joint processing on the square large-scene terrain illumination maps. According to the topographic illumination map joint processing method and device, edge pixels are filled in the topographic illumination map, so that enough pixel edge information is contained in the topographic illumination map, and enough pixel edge information is contained in the edge pixels during subsequent rendering to interpolate, so that the technical effect of improving the topographic joint problem is achieved.
In practical use, in order to describe the pixel scaling and edge pixel filling processes of the square small scene topographic illumination map in sequence in more detail, fig. 2 shows a flowchart of another topographic illumination map joint processing method according to the embodiment of the present invention, where the method includes the following steps:
step S202: and uniformly and regularly processing the square large-scene topographic illumination map to obtain a plurality of square small-scene topographic illumination maps with the same size.
Step S204: and (5) performing pixel scaling on the square small scene topographic illumination map.
Step S206: and filling edge pixels of each edge of the square small scene topographic illumination map adjacent to the edge of the square small scene topographic illumination map into the square small scene topographic illumination map.
The edge pixels in the edge adjacent square small scene topographic illumination map filled into the square small scene topographic illumination map can be: (1) a rightmost edge pixel of the square small scene terrain illumination map adjacent to the left side of the square small scene terrain, and/or (2) a leftmost edge pixel of the square small scene terrain illumination map adjacent to the right side of the square small scene terrain, and/or (3) a bottommost edge pixel of the square small scene terrain illumination map adjacent to the top side of the square small scene terrain, and/or (4) a topmost edge pixel of the square small scene terrain illumination map adjacent to the bottom side of the square small scene terrain.
Step S208: and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
Wherein, the corner edge pixels of the corner adjacent square small scene topographic illumination map filled into the square small scene topographic illumination map may be: (1) a lower right corner edge pixel of the square small scene terrain illumination map adjacent an upper left corner of the square small scene terrain adjacent, and/or (2) a lower left corner edge pixel of the square small scene terrain illumination map adjacent an upper right corner of the square small scene terrain adjacent, and/or (3) an upper right corner edge pixel of the square small scene terrain illumination map adjacent an lower left corner of the square small scene terrain adjacent, and/or (4) an upper left corner edge pixel of the square small scene terrain illumination map adjacent an lower right corner of the square small scene terrain adjacent.
Further, the adjacent square small scene terrain illuminations of the square small scene terrain illuminations are at most 8, and when the adjacent square small scene terrain illuminations are 8, it includes 4 side adjacent square small scene terrain illuminations and 4 corner adjacent square small scene terrain illuminations.
Step S210: interpolation is carried out on the square small-scene topographic illumination map filled by the edge pixels so as to carry out joint treatment on the square large-scene topographic illumination map.
In the process of interpolating the square small scene topographic illumination map filled with the edge pixels, a quadratic linear interpolation algorithm is utilized.
Specifically, a quadratic linear interpolation algorithm is utilized to interpolate the square small scene terrain illumination map.
The secondary linear interpolation algorithm is also called bilinear interpolation and bilinear interpolation, and mathematically, the secondary linear interpolation algorithm is a linear interpolation extension of an interpolation function with two variables, and the core idea is to perform linear interpolation in two directions respectively.
It should be further noted that other suitable interpolation methods may be selected to complete the interpolation operation in the embodiment of the present invention, which is not limited in this embodiment of the present invention.
In summary, according to the method and the device for processing the joint of the topographic illumination map, firstly, the topographic illumination map of the square large scene is uniformly divided into a plurality of topographic illumination maps of the square small scene, then, pixel scaling and edge pixel filling are sequentially carried out on the topographic illumination maps of the square small scene, and finally, interpolation is carried out on the topographic illumination maps of the square small scene, so that the joint processing of the topographic illumination map of the square large scene is completed. According to the topographic illumination map joint processing method and device, edge pixels are filled in the topographic illumination map, so that enough pixel edge information is contained in the topographic illumination map, and enough pixel edge information is contained in the edge pixels during subsequent rendering to interpolate, so that the technical effect of improving the topographic joint problem is achieved.
In another possible implementation manner, corresponding to the topographic illumination map joint processing method provided in the foregoing implementation manner, the embodiment of the present invention further provides a topographic illumination map joint processing device, and fig. 3 is a block diagram of a topographic illumination map joint processing device provided in the embodiment of the present invention. As shown in fig. 3, the apparatus includes:
the processing module 301 is configured to perform uniform rule processing on the square large-scene topographic illumination map, and obtain a plurality of square small-scene topographic illumination maps with the same size;
the apparatus further comprises:
the scaling and filling module 302 is configured to sequentially perform pixel scaling and edge pixel filling on the square small scene topographic illumination map;
the interpolation module 303 is configured to interpolate the square small-scene topographic illumination map filled with edge pixels to perform joint processing on the square large-scene topographic illumination map.
In actual use, the scaling and filling module 302 is configured to:
performing pixel scaling on the square small scene topographic illumination map;
and filling edge pixels of each adjacent square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map.
In actual use, the scaling and padding module 302 is further configured to:
filling edge pixels of each edge of the square small scene topographic illumination map adjacent to each edge of the square small scene topographic illumination map into the square small scene topographic illumination map;
and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
In still another possible implementation manner, the embodiment of the present invention further provides a server, and fig. 4 shows a schematic structural diagram of a server provided by the embodiment of the present invention, and referring to fig. 4, the server includes: a processor 400, a memory 401, a data bus 402 and a communication interface 403, the processor 400, the memory 401, the communication interface 403 and being connected by the data bus 402; the processor 400 is arranged to execute executable modules, such as computer programs, stored in the memory 401.
Wherein the memory 401 stores computer executable instructions capable of being executed by the processor 400, the processor 400 executing the computer executable instructions to implement the method described above.
Further, the memory 401 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the system network element and at least one other network element is implemented via at least one communication interface 403 (which may be wired or wireless), which may use the internet, a wide area network, a local network, a metropolitan area network, etc.
Data bus 402 may be an ISA data bus, a PCI data bus, or an EISA data bus, among others. The data bus may be classified into an address data bus, a data bus, a control data bus, and the like. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but not only one data bus or one type of data bus.
The memory 401 is used for storing a program, and the processor 400 executes the program after receiving a program execution instruction, and the topographic map seam processing method disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 400 or implemented by the processor 400.
Further, the processor 400 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 400 or by instructions in the form of software. The processor 400 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but may also be a digital signal processor (Digital Signal Processing, DSP for short), application specific integrated circuit (Application Specific Integrated Circuit, ASIC for short), off-the-shelf programmable gate array (Field-Programmable Gate Array, FPGA for short), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in the memory 401, and the processor 400 reads the information in the memory 401, and in combination with its hardware, performs the steps of the above method.
In yet another possible implementation, the present embodiments also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method described above.
The terrain illumination map joint processing device provided by the embodiment of the invention has the same technical characteristics as the terrain illumination map joint processing method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The computer program product of the topographic illumination map joint processing method and apparatus provided in the embodiments of the present invention includes a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the apparatus described above, which is not described herein again.
In addition, in the description of embodiments of the present invention, unless explicitly stated and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood by those skilled in the art in specific cases.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a ReaD-Only Memory (ROM), a RanDom Access Memory (RAM), a magnetic disk or an optical disk, or other various media capable of storing program codes.
In the description of the present invention, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above examples are only specific embodiments of the present invention for illustrating the technical solution of the present invention, but not for limiting the scope of the present invention, and although the present invention has been described in detail with reference to the foregoing examples, it will be understood by those skilled in the art that the present invention is not limited thereto: any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or perform equivalent substitution of some of the technical features, while remaining within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention, and are intended to be included in the scope of the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (6)

1. A method for treating a terrain illumination map joint, the method comprising the steps of:
uniformly and regularly processing the square large-scene topographic illumination map to obtain a plurality of square small-scene topographic illumination maps with the same size;
the following steps are performed for each square small scene terrain illumination map:
sequentially carrying out pixel scaling and edge pixel filling on the square small scene topographic illumination map;
interpolation is carried out on the square small-scene topographic illumination map filled by the edge pixels so as to carry out joint treatment on the square large-scene topographic illumination map;
the steps of sequentially performing pixel scaling and edge pixel filling on the square small scene topographic illumination map comprise the following steps:
performing pixel scaling on the square small scene topographic illumination map;
filling edge pixels of each adjacent square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map;
the step of filling edge pixels of each adjacent square small scene terrain illumination map of the square small scene terrain illumination map into the square small scene terrain illumination map comprises:
filling edge pixels of each edge of the square small scene topographic illumination map adjacent to each edge of the square small scene topographic illumination map into the square small scene topographic illumination map;
and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
2. The method of claim 1, wherein the step of interpolating an edge pixel filled square small scene terrain illumination map comprises:
and interpolating the square small scene topographic illumination map by using a quadratic linear interpolation algorithm.
3. A terrain illumination map joint processing apparatus, the apparatus comprising:
the processing module is used for carrying out uniform and regular processing on the square large-scene topographic illumination map and obtaining a plurality of square small-scene topographic illumination maps with the same size;
the apparatus further comprises:
the scaling and filling module is used for sequentially scaling pixels and filling edge pixels of the square small scene topographic illumination map;
the interpolation module is used for interpolating the square small-scene topographic illumination map filled by the edge pixels so as to perform joint treatment on the square large-scene topographic illumination map;
the scaling and filling module is used for:
performing pixel scaling on the square small scene topographic illumination map;
filling edge pixels of each adjacent square small scene topographic illumination map of the square small scene topographic illumination map into the square small scene topographic illumination map;
the scaling and filling module is further configured to:
filling edge pixels of each edge of the square small scene topographic illumination map adjacent to each edge of the square small scene topographic illumination map into the square small scene topographic illumination map;
and filling corner edge pixels of each corner adjacent square small scene topographic map into the square small scene topographic map.
4. The apparatus of claim 3, wherein the interpolation module is to:
and interpolating the square small scene topographic illumination map by using a quadratic linear interpolation algorithm.
5. A server comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 2.
6. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 2.
CN201911351512.1A 2019-12-24 2019-12-24 Terrain illumination map joint processing method and device Active CN111127322B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911351512.1A CN111127322B (en) 2019-12-24 2019-12-24 Terrain illumination map joint processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911351512.1A CN111127322B (en) 2019-12-24 2019-12-24 Terrain illumination map joint processing method and device

Publications (2)

Publication Number Publication Date
CN111127322A CN111127322A (en) 2020-05-08
CN111127322B true CN111127322B (en) 2024-02-27

Family

ID=70502161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911351512.1A Active CN111127322B (en) 2019-12-24 2019-12-24 Terrain illumination map joint processing method and device

Country Status (1)

Country Link
CN (1) CN111127322B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011087289A2 (en) * 2010-01-13 2011-07-21 Samsung Electronics Co., Ltd. Method and system for rendering three dimensional views of a scene
CN109903385A (en) * 2019-04-29 2019-06-18 网易(杭州)网络有限公司 Rendering method, device, processor and the terminal of threedimensional model
CN110457512A (en) * 2018-05-08 2019-11-15 腾讯科技(深圳)有限公司 A kind of map-indication method, device, server, terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7778491B2 (en) * 2006-04-10 2010-08-17 Microsoft Corporation Oblique image stitching

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011087289A2 (en) * 2010-01-13 2011-07-21 Samsung Electronics Co., Ltd. Method and system for rendering three dimensional views of a scene
CN110457512A (en) * 2018-05-08 2019-11-15 腾讯科技(深圳)有限公司 A kind of map-indication method, device, server, terminal and storage medium
CN109903385A (en) * 2019-04-29 2019-06-18 网易(杭州)网络有限公司 Rendering method, device, processor and the terminal of threedimensional model

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
袁建锋 ; 崔铁军 ; 姚慧敏 ; .一种基于GPU的大规模地形实时生成算法.海洋测绘.2009,(01),全文. *
郭安泰 ; 郭立 ; 杨毅 ; 吴思 ; .一种图形光栅的硬件实现算法.中国图象图形学报.2009,(01),全文. *

Also Published As

Publication number Publication date
CN111127322A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN110933497B (en) Video image data frame insertion processing method and related equipment
CN110990516A (en) Map data processing method and device and server
CN110782505B (en) Room wall drawing method and device
CN111080762B (en) Virtual model rendering method and device
CN107392838B (en) WebP compression parallel acceleration method and device based on OpenCL
CN113592720B (en) Image scaling processing method, device, equipment and storage medium
CN111127322B (en) Terrain illumination map joint processing method and device
CN111462277B (en) Method and device for generating target line of wall sticker to be processed
CN110796722B (en) Three-dimensional rendering presentation method and device
CN112116102A (en) Method and system for expanding domain adaptive training set
CN109523634B (en) Method and device for optimizing grid
CN107977923B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
CN112580638B (en) Text detection method and device, storage medium and electronic equipment
EP1591955A2 (en) Resolution converting method
CN110975285B (en) Smooth cutter light acquisition method and device
CN113971738A (en) Image detection method, image detection device, electronic equipment and storage medium
CN111338740A (en) Page element display method and device and electronic equipment
CN110941399A (en) Data processing method and device and electronic equipment
CN114066765A (en) Image denoising method, image denoising device, electronic device, medium, and program product
CN114463477A (en) Model mapping method and device and electronic equipment
CN105574868A (en) Data processing method and device in image transmission process
CN111177448B (en) Discrete graph combination method and device and electronic equipment
CN111260559A (en) Image zooming display method and device and terminal equipment
CN115858519B (en) DEM leveling method and device
CN113781309B (en) Image processing method and device and electronic equipment

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