Kernel Operation

What does it do?

Kernel operation can be used to set 3 x 3 kernel to apply to image (null is converted to identity)

Example in Java to set 3*3 kernel to an image

File input = new File("path\to\file");
File output = new File("path\to\output rotated file");

ImageProcessingOperations operations = new ImageProcessingOperations();
operations.kernel(new float[]{0.0f, 0.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 0.0f, 0.0f});

//you can chain other operations here like rotate, scale, etc 


Click here for a full list of Image Processing Operations and more general information on Image processing with JDeli.