Hybrid Anti-aliasing via Sub-pixel Grid Rotation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern real-time 3D rendering hardware is insufficient to simulate the physical world accurately due to computational limitations, leading to ineffective techniques for minimizing aliasing effects like 'jaggies' in rendered images.

Innovation Solution

A system and method that involves expanding and rotating images with sub-pixel samples to create a grid pattern, performing post-processing anti-aliasing, and averaging to reduce dimensions, ensuring regular sub-pixel sampling coordinates and efficient memory usage, thereby enhancing anti-aliasing operations.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Manufacturing precision

If ray tracing-like algorithms are used to simulate the physical world accurately, then image quality and physical accuracy are improved, but computational cost becomes too expensive for real-time rendering

Engineering Contradiction:
Improvephysical accuracyVSAvoidcomputational cost
Core Design Contradiction:
Manufacturing precisionVSPower

Solution Approach 1:

The patent segments the anti-aliasing process into multiple passes: first generating sub-pixel samples at higher resolution, then performing post-processing anti-aliasing on the expanded image, and finally resolving to the original resolution. This segmentation allows each pass to be optimized independently, achieving good anti-aliasing results without requiring full ray tracing computational cost.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent expands the image to a second set of dimensions greater than the first set of dimensions, creating a higher resolution intermediate image. This dimensional expansion allows post-processing anti-aliasing filters to work more effectively by having more pixel data to operate on, then the image is reduced back to original dimensions. This approach achieves better anti-aliasing quality without proportionally increasing final computational cost.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

2Manufacturing precision

If traditional anti-aliasing techniques are applied to minimize jaggies, then aliasing effects are reduced, but the techniques are either ineffective or too computationally expensive

Engineering Contradiction:
Improveanti-aliasing qualityVSAvoidcomputational expense
Core Design Contradiction:
Manufacturing precisionVSPower

Solution Approach 1:

The patent performs preliminary sub-pixel sampling before the final anti-aliasing resolution. By pre-calculating sub-pixel samples and expanding the image dimensions, the system prepares data in advance that makes the subsequent post-processing anti-aliasing step more effective and efficient, rather than attempting to do all anti-aliasing work in a single expensive pass.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediate expanded image as a mediator between the original sub-pixel sampled image and the final anti-aliased output. This intermediate image at a second set of dimensions allows post-processing anti-aliasing algorithms to operate on expanded data, achieving better quality results, then the intermediate image is reduced back to the final resolution.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Measurement precision

If image dimensions are expanded to create more sampling points, then anti-aliasing precision is improved, but memory usage and processing time increase

Engineering Contradiction:
Improvesampling precisionVSAvoidmemory usage
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent temporarily expands the image to a second set of dimensions for the purpose of performing post-processing anti-aliasing, then reduces the dimensions back to the original first set of dimensions to produce the final output. This approach allows the system to benefit from higher resolution processing when needed, then discard the expanded dimensions in the final step, effectively managing memory usage by only maintaining high-resolution data temporarily during the anti-aliasing process.

Inventive Principle:
Principle #34Discarding and recovering

Data Source

PatentEP4040395A1Performing Anti-aliasing operations in a computing system
Publication Date: 2022.08.10 ADVANCED MICRO DEVICES INC
  • EP4040395A1 patent drawingFigure 1
  • EP4040395A1 patent drawingFigure 2
  • EP4040395A1 patent drawingFigure 3

AI summary

Systems, apparatuses, and methods for performing hybrid anti-aliasing operations are disclosed. The hybrid anti-aliasing resolve operation combines multi-sampling anti-aliasing and post-processing anti-aliasing to generate higher-quality images in a computationally efficient manner. In one embodiment, a processor detects a request to perform an anti-aliasing resolve operation on an image stored in the memory. Responsive to detecting the request, the processor expands dimensions of the image and then filters the image with a post-processing anti-aliasing filter. After filtering the image, the processor performs an averaging of the image which becomes the result of the anti-aliasing resolve operation. Expanding dimensions of the image involves converting sub-pixels of the image into regular pixels. The processor can also rotate the image to align the sub-pixels into a vertical and horizontal grid pattern prior to filtering the image. Also contemplated are embodiments of a processor configured to generate, based on a rotated grid, a plurality of sub-pixel sampling coordinates for each pixel of an image being rendered where an amount of rotation is specified for the rotated grid, sample sub-pixel locations indicated by the plurality of sub-pixel sampling coordinates within each pixel of the image being rendered by a plurality of execution units, and store values of the sub-pixel locations in a memory.