Implements various base image processing algorithms, ranging from image enhancement and filtering to feature extraction; specially suitable for small projects.
public static void main(String[] args) {
String desktop = System.getenv("SystemDrive") + System.getenv("HOMEPATH") + "\\Desktop\\";
String inputImageFilePath = desktop + "in.png";
String outputImageFilePath = desktop + "out.png";
// Reading input image.
// Matrix is the class that contains the whole image object.
// Here we are sending the image file path and image type for
// loading the image.
System.out.println("Reading...");
Matrix matrix = new Matrix(inputImageFilePath, Matrix.BLACK_WHITE);
// Here we are running a filter on the input image. The filter
// will detect edge of the input image.
System.out.println("Filtering...");
matrix = ConvolutionRunner.applyMask(matrix, ConvolutionRunner.getEdgeFilter(), true);
// Writing output image on the disk.
System.out.println("Writing...");
matrix.write(outputImageFilePath);
}
You will find some simple implementations in the test section. You will also get a nice insight of the project from- AlphabetRecognizer and DeepGenderRecognizer, which are built with Egami.
There are many things, can be done by Egami-
Color-Space Conversions-
Segmentation-
- Version 0.1 - Release Date: 10 Oct 2016
Egami is licensed under MIT License.