Filters the image based on a user-defined filter / mask.
typedef struct _USERFLT
{
L_UINT uStructSize;
L_UINT ufltWidth; /* number of columns in the user-defined array*/
L_UINT ufltHeight; /* number of rows in the user-defined array */
POINT ufltCenter; /* user-defined array reference point*/
L_UINT ufltDivisor; /* Divide the result by this value*/
L_INT nfltOffset; /* offset the result by this value */
L_UINT ufltFlag; /* Flags */
L_INT ufltMatrix[1]; /* array of (ufltWidth * ufltHeight) integers */
} USERFLT, * pUSERFLT;
Must contain the size of USERFLT structure. Should be set to sizeof(USERFLT).
Number of columns in the user-defined array (mask).
Number of rows in the user-defined array (mask).
Any two-dimensional position of the array (ufltMatrix), to be used as the matrix (mask)center.
Value used to divide the final result of the output. This must be a non-zero value. If you want to use floating point values for the matrix elements and the divisor, multiply the matrix elements and the divisor with the same value (for example, 10, 100, 1000).
Value used to offset the final result of the output.
The type of operation. These flags cannot be or-ed together.
Value | Meaning |
---|---|
UD_SUM | [0x0000] Perform sum operation. |
UD_MAX | [0x0001] Perform maximum operation. |
UD_MIN | [0x0002] Perform minimum operation. |
Array of (ufltWidth * ufltHeight) integers containing the user-defined matrix (mask). The elements are stored in row order (first row, second row, etc).
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document