Creates a new grayscale image by applying the specified filter kernel on the input image.
A grayscale image filtered by the specified filter kernel.
| Exception | Condition |
|---|---|
| ArgumentNullException | If input is null. |
| ArgumentException | If the input image is not
a grayscale image and cannot
be converted to Format24bppRgb pixel format (i.e. if
it is no color image in a 32 bit format). |
| ArgumentException | If filterKernel is not
a 3x3 or 5x5 filter kernel. |
