Neighborhood
class Neighborhood implements FilterInterface
The Neighborhood filter takes a matrix and calculates the color current pixel based on its neighborhood.
Properties
protected Matrix | $matrix |
Methods
Details
at line 49
__construct(Matrix $matrix)
Initialize the instance.
at line 59
ImageInterface
apply(ImageInterface $image)
Applies scheduled transformation to an ImageInterface instance.