Innovative method for avoiding appearance of boundary line in picture block rendering synthesis

By performing high-level analysis and chunking of images, and using pixel interpolation and edge smoothing processing technology in the synthesis stage, the problem of boundary lines during chunking rendering and synthesis is solved, and high-quality image rendering and synthesis effects are achieved.

CN119579391APending Publication Date: 2025-03-07SHENZHEN RENDERBUS TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411587566.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-08
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

During the graphic rendering of large-scale scenes, the chunked rendering method often leads to obvious cross-border lines at the junction of adjacent blocks during synthesis, affecting image quality and user visual experience.

Method used

By performing accurate height analysis and chunking of the picture, ensure that the pixel matching of each chunk in the height direction is achieved, and pixel interpolation and edge smoothing processing are used during the synthesis stage to eliminate boundary lines.

Benefits of technology

It effectively avoids the boundary line problem during image chunking rendering and synthesis, improves the matching degree and continuity of pixels, and makes the clarity and details of the image at chunking synthesis almost the same as the effect of the whole block rendering.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119579391A_ABST
    Figure CN119579391A_ABST
Patent Text Reader

Abstract

The invention discloses an innovative method for avoiding appearance of a boundary line in picture block rendering synthesis, which comprises the following steps of: selecting a picture, accurately analyzing the height of the picture, and partitioning the picture after the analysis is completed; rendering is carried out on the picture obtained after partitioning, and during rendering, each block is independently processed; after rendering is completed, splicing the blocks in sequence according to the original height sequence of the picture in a synthesis stage; in the process of partitioning, rendering and synthesizing, an efficient distributed storage system is used for storing data of each block, rapid reading and writing of the data are ensured, in conclusion, the problem of boundary lines occurring during rendering and synthesizing of picture blocks is successfully solved, the problem that pixels of an image are discontinuous at the synthesizing position due to a traditional average partitioning method is solved, and the image quality is improved. According to the method, a high segmentation strategy is adopted, the matching degree and continuity of pixels are improved, the definition and detail display of the image at the block synthesis position are almost the same as the effect of whole block rendering, and color transition is natural and smooth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer graphics rendering, and in particular to an innovative method for avoiding the appearance of boundary lines in image block rendering synthesis. Background Art

[0002] In the process of rendering graphics of large-scale scenes, block rendering is often used to effectively improve rendering efficiency. However, when the results of block rendering are synthesized, cross-border lines often appear at the junction of adjacent blocks. These border lines are very harmful, which not only seriously damages the quality of the rendered image, causing pixels to break at the junction, color deviation, and sharp reduction in clarity, but also causes a bad visual experience for users.

[0003] When processing images, the traditional average blocking method performs average division in both horizontal and vertical directions, which results in pixels at the intersection being easily lost or mismatched during the synthesis stage, thus forming obvious boundary lines. This is because the intrinsic connection between pixels is often cut off during average blocking, making it difficult for adjacent blocks to be accurately connected during synthesis. The current common solutions include feathering the boundaries of adjacent blocks and adding overlapping areas, but such methods have obvious drawbacks. Feathering often cannot eradicate the boundary lines, and the effect is unsatisfactory. Adding overlapping areas will increase the amount of calculation and storage space. Summary of the invention

[0004] The purpose of the present invention is to provide an innovative method for avoiding the appearance of boundary lines in the block rendering synthesis of an image, so as to effectively avoid the problem of white edges in the synthesis process while maintaining high rendering efficiency and resource utilization.

[0005] To achieve the above object, the present invention provides the following technical solutions: An innovative method for avoiding the appearance of boundary lines in image block rendering synthesis includes the following steps: S1: Select an image and accurately analyze its height, and divide the image into blocks after the analysis is completed; S2: Render the divided image. During rendering, each block is processed independently. S3: After rendering is completed, in the synthesis stage, each block is stitched in sequence according to the original height order of the image; S4: During the process of segmentation, rendering, and compositing, an efficient distributed storage system is used to store the data of each segment to ensure fast reading and writing of data.

[0006] Preferably, in S1, if the image height can be evenly divided into an integer number of block heights, the height of each block is the same; if it cannot be evenly divided, the previous blocks are divided according to the average height, and the remaining part is used as the last block. For example, for a picture with a height of 500 pixels and a width of 800 pixels, if it is to be divided into 10 blocks, first calculate the average height of each block to be 500÷10=50 pixels. Then the height of the first 9 blocks is 50 pixels and the width is 800 pixels. The height of the last block is 500-9×50=50 pixels. For example, for a picture with a height of 780 pixels and a width of 800 pixels, it is also divided into 10 blocks. At this time, the average height of each block is about 78 pixels. The height of the first 9 blocks is 78 pixels and the width is 800 pixels. The height of the last block is 780-9×78=78 pixels.

[0007] Preferably, in S2, since the width remains consistent, the same row of pixels are processed in the same way during the rendering process, reducing the complexity caused by changes in the width direction. At the same time, advanced rendering algorithms, such as rendering technology based on ray tracing or rasterization, are used to ensure that the pixel rendering quality in each block is optimized.

[0008] Preferably, in S3, the blocks are divided and rendered based on height, and the situation of non-divisibility is fully considered during the division, so that the pixels of adjacent blocks in the height direction can be perfectly matched, avoiding pixel loss and misalignment. In addition, in the synthesis process, pixel interpolation and edge smoothing processing technology are introduced to further optimize the transition effect between adjacent blocks, thereby effectively eliminating the boundary line.

[0009] Preferably, in S4, data compression technology is used for transmission of block data in the network.

[0010] Preferably, the rendering server in S2 uses advanced rendering algorithms, such as physically based rendering (PBR) technology.

[0011] Preferably, in said S4, when synthesizing adjacent blocks, a pixel interpolation technique is used.

[0012] In summary, due to the adoption of the above technology, the beneficial effects of the present invention are: 1. This solution successfully eliminates the boundary line problem that occurs when the image is rendered and synthesized in blocks. The traditional average block method often leads to obvious boundary lines, which causes pixel discontinuity, color deviation and reduced clarity in the image at the synthesis point. The high-resolution segmentation strategy of the present invention greatly improves the matching and continuity of pixels. The clarity and detail display of the image at the block synthesis point are almost the same as those of the whole block rendering, and the color transition is natural and smooth.

[0013] 2. The advantage of this solution is that it is not just a simple change in the blocking method, but also an optimization strategy proposed based on a deep understanding of pixel distribution and rendering synthesis principles. By accurately controlling the height of the blocks, the rendering and synthesis process is more in line with the inherent structure and pixel rules of the image, minimizing the image quality loss caused by blocking processing. At the same time, this solution is relatively simple and efficient in implementation, and does not require the introduction of overly complex algorithms and calculation models. It can not only ensure a significant improvement in rendering effects, but also control computing costs and time consumption to a certain extent. It has high practical value and promotion prospects. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings constituting a part of the present invention are used to provide a further understanding of the present invention, so that other features, purposes and advantages of the present invention become more obvious. The accompanying drawings of the exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the accompanying drawings: Figure 1 It is a flow chart of the present invention. DETAILED DESCRIPTION

[0015] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the invention claimed for protection, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work belong to the scope of protection of the present invention.

[0016] In the description of the present invention, it is necessary to understand that the terms indicating orientation or positional relationship are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0017] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances of the specification.

[0018] The present invention provides Figure 1 An innovative method for avoiding the appearance of boundary lines in image block rendering synthesis is shown, comprising the following steps: S1: Select an image and accurately analyze its height, and divide the image into blocks after the analysis is completed; S2: Render the divided image. During rendering, each block is processed independently. S3: After rendering is completed, in the synthesis stage, each block is stitched in sequence according to the original height order of the image; S4: During the process of segmentation, rendering, and compositing, an efficient distributed storage system is used to store the data of each segment to ensure fast reading and writing of data.

[0019] Preferably, in S1, if the image height can be evenly divided into an integer number of block heights, the height of each block is the same; if it cannot be evenly divided, the previous blocks are divided according to the average height, and the remaining part is used as the last block. For example, for a picture with a height of 500 pixels and a width of 800 pixels, if it is to be divided into 10 blocks. First calculate the average height of each block as 500÷10=50 pixels. Then the height of the first 9 blocks is 50 pixels and the width is 800 pixels. The height of the last block is 500-9×50=50 pixels. For another example, for a picture with a height of 780 pixels and a width of 800 pixels, it is also divided into 10 blocks. At this time, the average height of each block is about 78 pixels. The height of the first 9 blocks is 78 pixels and the width is 800 pixels. The height of the last block is 780-9×78=78 pixels as the last block.

[0020] Preferably, in S2, since the width remains consistent, pixels in the same row are processed in the same way during the rendering process, and an advanced rendering algorithm is used, such as a rendering technology based on ray tracing or rasterization.

[0021] Preferably, in S3, since the blocks are divided and rendered based on height, and the situation of non-divisibility is taken into consideration during the division, the pixels of adjacent blocks in the height direction can be matched, thus avoiding pixel loss and misalignment. In the synthesis process, pixel interpolation and edge smoothing processing technology are also introduced.

[0022] Preferably, in S4, data compression technology is used for transmission of block data in the network.

[0023] Preferably, the rendering server in S2 uses advanced rendering algorithms, such as physically based rendering (PBR) technology.

[0024] Preferably, in S4, when synthesizing adjacent blocks, pixel interpolation technology is used. Example: Assume that we want to process a high-definition picture with a height of 1800 pixels and a width of 2400 pixels, and need to divide it into 8 blocks for rendering and synthesis, which is divided into the following steps: (1) Blocking step: Select an image and accurately analyze its height. After the analysis is completed, the image is divided into blocks. If the image height can be evenly divided into an integer number of block heights, the height of each block is the same; if it cannot be evenly divided, the previous blocks are divided according to the average height, and the remaining part is used as the last block: 1. Calculate the average height of each block: 1800 ÷ 8 = 225 pixels; 2. Perform block operation: the height of the first 7 blocks is 225 pixels and the width is 2400 pixels. The height of the last block is 1800-7×225=75 pixels and the width is also 2400 pixels.

[0025] (2) Rendering step: Render the divided image. During rendering, each block is processed independently. Since the width remains consistent, the same row of pixels is processed in the same way during the rendering process, reducing the complexity caused by changes in the width direction. At the same time, advanced rendering algorithms, such as rendering technology based on ray tracing or rasterization, are used to ensure that the pixel rendering quality in each block is optimized: 1. Assign independent rendering tasks to each block and send them to a rendering server cluster with powerful computing power; 2. The rendering server uses advanced rendering algorithms, such as physically based rendering (PBR) technology, to accurately calculate and color the pixels within each block. For complex materials, lighting and shadow effects, high sampling rate and high-precision calculation methods are used to ensure the optimal rendering quality within each block.

[0026] When rendering, each block is processed independently. Since the width remains consistent, the same row of pixels is processed in the same way during the rendering process, reducing the complexity caused by changes in the width direction. At the same time, advanced rendering algorithms are used, such as ray tracing (a technology used to generate high-quality images in computer graphics. It simulates the behavior of light in real life and tracks the process of each ray of light from the light source, through reflection and refraction, to the observation point. In this process, the light may attenuate and disperse. Programmers need to define the behavior and impact on the light on these paths) or rasterization (a rendering technology that converts geometric data into pixels and presents them on a display device. Its core process includes converting objects in a 3D scene into 2D images through coordinate transformation and geometric discretization) to ensure the optimal pixel rendering quality in each block.

[0027] (3) Synthesis step: After rendering is completed, in the synthesis stage, the blocks are stitched together in order according to the original height of the image. Since the blocks are divided and rendered based on height, and the situation of non-divisibility is fully considered during the division, the pixels of adjacent blocks in the height direction can be perfectly matched, avoiding pixel loss and dislocation. In addition, in the synthesis process, pixel interpolation and edge smoothing processing technology are introduced to further optimize the transition effect between adjacent blocks, thereby effectively eliminating the boundary line: 1. Arrange the blocks in order from the top according to the original height of the image; 2. When synthesizing adjacent blocks, pixel interpolation technology is used (the basic principle of the interpolation algorithm is to use the grayscale values ​​of known adjacent pixels (or the three-color values ​​in RGB images) to generate the grayscale values ​​of unknown pixels. Specifically, the interpolation algorithm calculates the color of the missing pixels through mathematical formulas, thereby increasing the number of pixels in the image without generating new pixels. For pixels at the junction of adjacent blocks, the pixel values ​​of the transition area are calculated based on the color and brightness values ​​of its adjacent pixels through weighted average and other algorithms, so that the color and brightness of the junction transition naturally and avoid obvious boundary lines; 3. At the same time, apply the edge smoothing algorithm (the edge smoothing algorithm is mainly used to reduce the jagged effect of the image edge and make the edge smoother. Common edge smoothing algorithms include neighborhood averaging, spatial low-pass filtering, median filtering, etc. These algorithms average or median the pixel values ​​during image processing to reduce noise and edge jaggedness), and slightly blur the pixels at the junction to further reduce the abruptness of the boundary.

[0028] After rendering is completed, in the synthesis stage, the blocks are stitched together in sequence according to the original height order of the image. Since the blocks are divided and rendered based on height, and the situation of non-divisibility is fully considered during division, the pixels of adjacent blocks in the height direction can be perfectly matched, avoiding pixel loss and dislocation. In addition, in the synthesis process, pixel interpolation and edge smoothing processing technology are introduced to further optimize the transition effect between adjacent blocks, thereby effectively eliminating the boundary lines.

[0029] (4) Data storage and transmission: 1. During the process of segmentation, rendering and synthesis, an efficient distributed storage system is used to store the data of each segment to ensure fast reading and writing of data; A distributed storage system is a data storage technology that uses the disk space on each machine in the enterprise through the network, and these scattered storage resources form a virtual storage device, so that data is stored in various corners of the enterprise.

[0030] ‌How Distributed Storage Systems Work‌ Distributed storage systems store data on multiple independent devices. Traditional network storage systems use centralized storage servers to store all data. Storage servers become the bottleneck of system performance and the focus of reliability and security, and cannot meet the needs of large-scale storage applications. Distributed network storage systems use a scalable system structure, use multiple storage servers to share storage loads, and use location servers to locate storage information, which improves system reliability, availability, and access efficiency.

[0031] The key technologies of distributed storage systems include: 1. Metadata management: manage the metadata of data, such as file name, file size, etc.

[0032] 2. System elastic expansion technology: able to increase or decrease storage nodes according to demand.

[0033] 3. Optimization technology within the storage layer: optimize the efficiency and security of data storage.

[0034] 4. Storage optimization technology for applications and loads: Optimize according to different application requirements.

[0035] The advantages of distributed storage systems include: ‌High reliability‌: Ensure data security through multiple copies of data; ‌High availability‌: Even if some nodes fail, the system can still operate normally; ‌High scalability‌: New storage nodes can be easily added to meet growing data storage needs.

[0036] 2. For the transmission of block data in the network, data compression technology is used to reduce the amount of transmitted data, improve transmission efficiency, and ensure the accuracy and integrity of the data; ‌‌Data compression technology‌ refers to a technical method that reorganizes data through a specific encoding mechanism to reduce the amount of data without losing useful information. Its core purpose is to reduce storage space, improve transmission efficiency and processing speed. Data compression can be divided into two types: lossy compression and lossless compression: ‌Lossy Compression‌: Some data is lost during the compression process, but these losses have little effect on the overall quality of the data. For example, in the compression of audio and video data, lossy compression is often used to reduce file size; ‌Lossless compression‌: No data is lost during the compression process, and the original data can be fully restored. This compression method is often used for text files and scenarios where data integrity needs to be maintained.

[0037] Data compression technology is widely used in many fields, including: Storage: reducing storage capacity requirements and improving storage efficiency.

[0038] Through the above detailed steps of segmentation, rendering and synthesis, as well as the targeted technologies used in each link, the boundary line problem in the segmentation, rendering and synthesis of the picture can be effectively avoided, and finally a high-quality, seamlessly spliced ​​complete picture can be obtained.

[0039] The advantage of this technical solution is that it is not just a simple change in the blocking method, but also an optimization strategy based on a deep understanding of pixel distribution and rendering synthesis principles. By precisely controlling the height of the blocks, the rendering and synthesis process is more in line with the inherent structure and pixel rules of the image, minimizing the image quality loss caused by blocking processing.

[0040] This solution is relatively simple and efficient in implementation. It does not require the introduction of overly complex algorithms and calculation models. It can not only ensure a significant improvement in rendering effects, but also control computing costs and time consumption to a certain extent. It has high practical value and promotion prospects. This solution successfully eliminates the boundary line problem that occurs when images are rendered and synthesized in blocks. The high-resolution segmentation strategy of the present invention greatly improves the matching and continuity of pixels. The clarity and detail display of the image at the block synthesis are almost the same as those of the whole block rendering, and the color transition is natural and smooth.

Claims

1. An innovative method to avoid the appearance of boundary lines in image block rendering synthesis, characterized by: The following steps are involved: S1: Select an image and accurately analyze its height, and divide the image into blocks after the analysis is completed; S2: Render the divided image. During rendering, each block is processed independently. S3: After rendering is completed, in the synthesis stage, each block is stitched in sequence according to the original height order of the image; S4: During the process of segmentation, rendering, and compositing, an efficient distributed storage system is used to store the data of each segment to ensure fast reading and writing of data.

2. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: In S1, if the image height can be evenly divided into an integer number of block heights, the height of each block is the same; if it cannot be evenly divided, the previous blocks are divided according to the average height, and the remaining part is used as the last block.

3. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: In the S2, since the width remains consistent, pixels in the same row are processed in the same way during the rendering process, and advanced rendering algorithms are used, such as rendering technology based on ray tracing or rasterization.

4. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: In S3, since the blocks are divided and rendered based on height, and the situation of non-divisibility is taken into consideration during the division, the pixels of adjacent blocks in the height direction can be matched, thus avoiding pixel loss and misalignment. In the synthesis process, pixel interpolation and edge smoothing processing technology are also introduced.

5. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: In S4, data compression technology is used for transmission of block data in the network.

6. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: The S2 rendering server uses advanced rendering algorithms such as Physically Based Rendering (PBR) technology.

7. The innovative method for avoiding the appearance of boundary lines in image block rendering synthesis according to claim 1, characterized in that: In the S4, pixel interpolation technology is used when synthesizing adjacent blocks.