PHP Imagick - ImagickKernel
ImagickKernel is the class that represents 'kernel' in the underlying ImageMagick library. Kernels are used in the filter and morphology functions.
The values in the kernel can be either:
- float - the scaling value to be used against a pixel when the kernel is applied. Negative values are allowed.
- false - the pixel at this position should not be considered in either the filter or morphology function.
Exactly how the values in a kernel are used depends on the morphology type being used.