Building edge automatic fusion transition method and device based on depth detection

A technology for depth detection and buildings, applied in image enhancement, image analysis, instruments, etc., can solve the problems of poor transition between building edges and terrain, large texture sampling overhead, redundant calculations, etc., to achieve enhanced reality and texture The effect of low sampling overhead and small amount of calculation

Pending Publication Date: 2022-06-03
FUJIAN SHUBO INFORMATION TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the traditional simulation, there is a problem of hard cutting edge at the edge of the building model, the transition effect between the edge of the building and the terrain is poor, and the lack of realism
[0003] Moreover, when the virtual simulation scene is too large, two problems will arise. The first problem is that in order to ensure the accuracy of the fusion transition, the resolution of the Mask texture used as the mask will be very high, which will cause a large texture sampling overhead during runtime. ; The second problem is that when the scene is too large, there may be new, modified or deleted buildings in some areas, which will cause the rendering target to be updated frequently, while the buildings in most other areas remain unchanged, which causes great redundancy Calculations

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Building edge automatic fusion transition method and device based on depth detection
  • Building edge automatic fusion transition method and device based on depth detection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] Please refer to figure 1 , an automatic fusion transition method of building edges based on depth detection, including steps:

[0031] S1. Divide the virtual scene into several sub-regions, and generate a mask map sequence and a fusion transition region;

[0032] Step S1 includes:

[0033] S11. Divide the virtual scene into regions to obtain several sub-regions, and each sub-region has a separate rendering target;

[0034] Specifically, after the virtual scene is divided, when the buildings in a certain sub-area are added, modified or deleted, only the rendering target of the area is recalculated, and all proxy models in the scene need not be recalculated. This reduces the computational cost.

[0035] S12: Initialize each sub-area respectively to generate a corresponding mask image, and all the mask images form a mask image sequence.

[0036] Step S12 is specifically:

[0037] When calculating the rendering target, set the proxy model to the rendering state of the ...

Embodiment 2

[0055] Please refer to figure 2 , a building edge automatic fusion transition device 1 based on depth detection, comprising a memory 2, a processor 3 and a computer program stored in the memory 2 and running on the processor 3, the processor 3 realizes when executing the program Each step in Example 1.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a building edge automatic fusion transition method and device based on depth detection, and the method comprises the steps: carrying out the region division of a virtual scene, obtaining a plurality of sub-regions, and generating a mask image sequence and a fusion transition region; performing Gaussian blur processing according to the mask image sequence, and determining a fusion transition region; when a terrain material is rendered, indexing the mask image sequence according to the position of a current pixel point, and determining a corresponding target mask image; and performing automatic fusion transition on the building edge according to the final color value obtained by performing hybrid calculation on the fusion transition region and the target mask image, so that the mask can be automatically generated, and the building edge and the terrain are subjected to material mixing, thereby obtaining a natural edge transition effect, enhancing the sense of reality, and being low in map sampling overhead and small in calculation amount.

Description

technical field [0001] The invention relates to the field of computer image processing, in particular to a method and device for automatic fusion and transition of building edges based on depth detection. Background technique [0002] In the traditional simulation, the edge of the building model has the problem of hard trimming, and the transition effect between the edge of the building and the terrain is poor and lacks realism. [0003] And when the virtual simulation scene is too large, two problems will arise. The first problem is to ensure the accuracy of the fusion transition. The resolution of the Mask texture as a mask will be very high, which will result in a lot of texture sampling overhead at runtime. ;The second problem is that when the scene is too large, there may be new, modified or deleted buildings in some areas, causing the rendering target to be updated frequently, while the buildings in most other areas remain unchanged, which causes great redundancy. amo...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06T5/00G06T7/13
CPCG06T7/13G06T2207/20021G06T5/77
Inventor 林进浔黄明炜郑福王巧华林进津
Owner FUJIAN SHUBO INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products