rif_image_filter_type
Usage
Defines the filter type to create. See rifContextCreateImageFilter().
Generic Values
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_NORMALIZATION |
0x1 |
Filter that will divide all color components by alpha value. |
RIF_IMAGE_FILTER_GAMMA_CORRECTION |
0x2 |
Performs gamma correction for input image. |
RIF_IMAGE_FILTER_RESAMPLE |
0x3 |
Image resampling. |
RIF_IMAGE_FILTER_RESAMPLE_DYNAMIC |
0x24 |
Resamples the image generating resample coefficients on the fly. |
RIF_IMAGE_FILTER_REMAP_RANGE |
0x28 |
Remaps an image in a given range. |
Anti-Aliasing
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_MLAA |
0xF |
The filter performs Morphological Antialiasing (MLAA) for the input image. |
Blending
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_WEIGHTED_SUM |
0x12 |
Calculates weighted sum of the images. |
RIF_IMAGE_FILTER_MULT |
0x13 |
Calculates product of the images. |
Blurring
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_GAUSSIAN_BLUR |
0x4 |
Gaussian blur (also known as Gaussian smoothing). The result of blurring an image by a Gaussian function. |
RIF_IMAGE_FILTER_MOTION_BLUR |
0x1F |
Motion blurring filter. |
Denoising
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_BILATERAL_DENOISE |
0xC |
Apply bilateral denoiser. A bilateral filter is a non-linear, edge-preserving, and noise-reducing smoothing filter for images. It replaces the intensity of each pixel with a weighted average of intensity values from nearby pixels. |
RIF_IMAGE_FILTER_LWR_DENOISE |
0xD |
Local Weighted Regression filter. The filter builds a linear regression model of the dependence of color on the auxiliary parameters. |
RIF_IMAGE_FILTER_EAW_DENOISE |
0xE |
Edge-avoiding À-Trous wavelet denoiser. Can be used with Temporal Acculumation Filter to do SVGF filter. |
RIF_IMAGE_FILTER_MEDIAN_DENOISE |
0x1E |
Median denoiser replaces the pixel by the median value from the window. |
Edge Detection
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_SOBEL |
0x10 |
Sobel filter for edge detection. |
RIF_IMAGE_FILTER_LAPLACE |
0x11 |
Laplace operator based edge detection. |
RIF_IMAGE_FILTER_EMBOSS |
0x20 |
An emboss filter gives a 3D bumpmap effect to the image. |
Enhance
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_SHARPEN |
0x14 |
Makes the image sharper. |
Machine Learning
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_AI_DENOISE |
0x3E |
AI based denoiser. |
RIF_IMAGE_FILTER_AI_UPSCALE |
0x3F |
AI based upscaler. |
RIF_CUSTOM_AI_MODEL |
0x32 |
Apply user defined AI model to the image. |
RIF_IMAGE_FILTER_OPENIMAGE_DENOISE |
0x4E |
Intel Open Image based denoiser (https://openimagedenoise.github.io/). |
Noise
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_SPREAD |
0x1C |
Move pixels around randomly. |
RIF_IMAGE_FILTER_RGB_NOISE |
0x1D |
Apply simple noise to the image. |
Other
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_MOTION_BUFFER |
0x15 |
Generate motion vectors using the previous matrix and the current matrix for a frame. |
RIF_IMAGE_FILTER_TEMPORAL_ACCUMULATOR |
0x16 |
Temporal accumulation of ray tracer results. Using a view projection matrix, the filter performs reprojection of the previously stored buffer for new camera position and adds this data to the new frame. Note that the filter retains internal state. |
RIF_IMAGE_FILTER_SHADOW_CATCHER |
0x17 |
Shadow catcher filter. |
RIF_IMAGE_FILTER_USER_DEFINED |
0x18 |
User defined filter. |
RIF_IMAGE_FILTER_DILATE_ERODE |
0x1A |
Dilation/erosion filter. |
RIF_IMAGE_FILTER_POSTERIZE |
0x1B |
Posterization filter. |
RIF_IMAGE_FILTER_BLOOM |
0x30 |
Apply a bloom effect. |
RIF_IMAGE_FILTER_DEPTH_OF_FIELD |
0x33 |
Depth of field filter. |
RIF_IMAGE_FILTER_NDC_DEPTH |
0x34 |
NDC depth filter. |
RIF_IMAGE_FILTER_CONVERT |
0x35 |
Image conversion filter. |
RIF_IMAGE_FILTER_BGRA_TO_RGBA |
0x36 |
BGRA TO RGBA conversion filter. |
Rotate
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_FLIP_VERT |
0x21 |
Flip the image vertically. |
RIF_IMAGE_FILTER_FLIP_HOR |
0x22 |
Flip the image horizontally. |
RIF_IMAGE_FILTER_ROTATE |
0x23 |
Rotate the image. |
Tone Mapping
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_COLOR_SPACE |
0x5 |
Change the color space of the image. |
RIF_IMAGE_FILTER_HUE_SATURATION |
0x6 |
Adjust hue, saturation. |
RIF_IMAGE_FILTER_FILMIC_TONEMAP |
0x7 |
Apply Filmic tone mapping. |
RIF_IMAGE_FILTER_REINHARD02_TONEMAP |
0x8 |
Apply Reinhard02 tone mapping. |
RIF_IMAGE_FILTER_EXPONENTIAL_TONEMAP |
0x9 |
Apply exponential tone mapping. |
RIF_IMAGE_FILTER_LINEAR_TONEMAP |
0xA |
Apply linear tone mapping. |
RIF_IMAGE_FILTER_DRAGO_TONEMAP |
0xB |
Apply linear tone mapping. |
RIF_IMAGE_FILTER_AUTOLINEAR_TONEMAP |
0x25 |
Apply autolinear tone mapping. |
RIF_IMAGE_FILTER_MAXWHITE_TONEMAP |
0x26 |
Apply max white tone mapping. |
RIF_IMAGE_FILTER_PHOTO_LINEAR_TONEMAP |
0x27 |
Apply photo linear tone mapping. |
RIF_IMAGE_FILTER_PHOTO_TONEMAP |
0x29 |
Apply photo realistics tone mapping. |
RIF_IMAGE_FILTER_FILMIC_UNCHARTED_TONEMAP |
0x4F |
Apply filmic uncharted tone mapping. |
Binary operations
Name |
Value |
Brief Explanation |
---|---|---|
RIF_IMAGE_FILTER_ADD |
0x50 |
Apply add operation. |
RIF_IMAGE_FILTER_MUL |
0x51 |
Apply multiply operation. |
RIF_IMAGE_FILTER_SUB |
0x52 |
Apply subtract operation. |
RIF_IMAGE_FILTER_DIV |
0x53 |
Apply divide operation. |
RIF_IMAGE_FILTER_MAX |
0x54 |
Apply max operation. |
RIF_IMAGE_FILTER_MIN |
0x55 |
Apply min operation. |