Sample Mask for Selective Texture Filtering

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional texture filtering pipelines lack the ability to selectively exclude certain texels during bilinear interpolation, leading to inefficiencies in combining color values, especially when only a subset of nearest color values should be used for filtering operations.

Innovation Solution

The implementation of a sample mask that specifies which texels to include or exclude in the filtering operation, allowing for flexible selection of the number of samples used to produce a filtered value, based on attributes like Z-depth, lighting, or surface material.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If conventional texture filtering pipeline is used, then filtering operation can be performed, but mechanism to exclude certain texels is not provided

Engineering Contradiction:
Improveflexibility in sample selectionVSAvoidfiltering pipeline complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The filtering operation is segmented into distinct components: sample acquisition, mask evaluation, and weighted combination. The sample mask acts as a separate control mechanism that divides the set of potential samples into included and excluded subsets, allowing flexible selection without redesigning the entire filtering pipeline.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The sample mask is evaluated beforehand to determine which samples should be included in the filtering operation. This preliminary action of pre-selecting valid samples based on mask bits allows the filtering pipeline to proceed efficiently with only the necessary computations, avoiding wasted effort on excluded texels.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If all nearest texels are combined in bilinear interpolation, then filtering operation is complete, but unnecessary calculations are performed when subset is sufficient

Engineering Contradiction:
Improvefiltering operation efficiencyVSAvoidcomputational overhead
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

Instead of always performing the full bilinear interpolation with all four nearest texels, the system performs partial action by including only the necessary subset of samples indicated by the mask. This reduces computational overhead by avoiding calculations on excluded samples while still achieving the desired filtering effect with the required samples.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The unnecessary interpolation calculations are extracted and removed from the processing pipeline by using the sample mask to identify and exclude specific texels. Only the essential calculations for included samples are retained, improving efficiency by eliminating redundant computational operations.

Inventive Principle:
Principle #2Taking out (Extraction)

3Measurement precision

If sample mask is introduced for selective combining, then control over contributing samples is improved, but additional processing step is added

Engineering Contradiction:
Improvesample selection precisionVSAvoidfiltering operation steps
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The sample mask evaluation is merged with the existing texture sampling operation. The mask bits are evaluated in conjunction with the texel coordinates, and the inclusion/exclusion decisions are integrated into the weight calculation process. This merging approach allows precise sample selection without adding a completely separate processing step, as the mask logic is combined with the existing filtering pipeline.

Inventive Principle:
Principle #5Merging (Combining)

Data Source

PatentUS11069095B1Techniques for efficiently sampling an image
Publication Date: 2021.07.20 NVIDIA CORP
  • US11069095B1 patent drawing
  • US11069095B1 patent drawing
  • US11069095B1 patent drawing

AI summary

A sample mask is used to control which samples are used in a filtering operation such as bilinear filtering. A conventional filtering operation reads a set of samples based on a single coordinate and combines the samples to produce a filtered sample value. Such filtering operations are performed conventionally using fixed function units designed specifically to perform such filtering operations. However, for some applications, excluding one or more of the samples in producing a filtered sample value is desirable. In other applications, combining the samples using different weighting factors is also desirable. Techniques are disclosed herein for extending the capabilities of existing filtering units, for example, to exclude one or more samples in the filtering operation and for specifying different weighting rules for combining the samples.