The ImagickKernel class

- « ImagickPixelIterator::syncIterator

- ImagickKernel::addKernel »

- PHP Manual
- ImageMagick
- The ImagickKernel class

# The ImagickKernel class

(PECL imagick >= 3.3.0)

## Introduction

## Class synopsis

class ImagickKernel {
/* Methods */
public addKernel(ImagickKernel `$ImagickKernel`): void
public addUnityKernel(float `$scale`): void
public static fromBuiltin(int `$kernelType`, string `$kernelString`): ImagickKernel
public static fromMatrix(array `$matrix`, array `$origin` = ?): ImagickKernel
public getMatrix(): array
public scale(float `$scale`, int `$normalizeFlag` = ?): void
public separate(): array
}

## Table of Contents

- ImagickKernel::addKernel — Attach another kernel to a kernel list
- ImagickKernel::addUnityKernel — Adds a Unity Kernel to the kernel list
- ImagickKernel::fromBuiltIn — Create a kernel from a builtin in kernel
- ImagickKernel::fromMatrix — Create a kernel from a 2d matrix of values
- ImagickKernel::getMatrix — Get the 2d matrix of values used in this kernel
- ImagickKernel::scale — Scales a kernel list by the given amount
- ImagickKernel::separate — Separates a linked set of kernels and returns an array of ImagickKernels