# ImageFilterKernel()

These are passed to the function ImageFilters (see [ImageFilter()](imagefilter.md) documentation).

The ImageFilterKernel function defines a matrix that describes how a specified pixel and its surrounding pixels affect the value computed for the pixel's position in the output image of a filtering operation.

The X origin and Y origin indicate the kernel matrix element that corresponds to the pixel position for which an output value is being computed.

**Requires Extension:** [Image Extension for Jakarta EE (Lucee 7+)](https://download.lucee.org/#B737ABC4-D43F-4D91-8E8E973E37C40D1B)

```
ImageFilterKernel( width=number, height=number, data=any );
```

**Returns:** any

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| width | number | Yes | width of the kernel |  |
| height | number | Yes | height of the kernel |  |
| data | any | Yes | kernel data in row major order |  |

# Examples

*There are currently no examples for this function.*







# Categories

[Image manipulation](../../categories/image.md)

# See Also

[ImageFilter()](imagefilter.md)