Java Computer Vision Commons Library 1.3
A number of useful functions, implemented in Java, that I've used whilst generating machine vision software with
Genetic Programming. Although it is by no means a comprehensive toolkit, you may find it useful if you're interested
in any of the functions listed below. If you're running some
of my other code, you may need to add the commons imaging JAR file to your classpath.
Update: April 4th 2008. Library has various speed improvements that make it
significantly faster in places, especially with the PixelLoader, and many other functions.
Various other features, Hough transform, subpixel sampling and window GUI now added.
Contents:
- PixelLoader.java - provides easy access to image files and pixel data
- Java Image Grabber - Allows you to create training data quickly
- Utilities for performing web image searches (ImageDownloader.java)
- MIT+CMU Face Database Ground Truth File Reader
- An Image Resizer (Resizer.java)
- Other Pixel-based features: (Circle, Perimeter, Line, Rectangle)
- ConvolutionMatrix - Perform convolutions on data in the PixelLoader
- StatisticsSolver.java - Calculates commonly used statistics easily
- FastStatistics.java - Calculates certain statistics much faster
- A Haar Features Implementation (HaarRegions.java)
- Implementation of an 'Integral Image' - which allows you to very quickly get rectangular sums.
- Swing Components for displaying images easily (ImagePanel, ScalingImagePanel, ScalingGridPanel)
- An Image Viewer (DisplayImage.java) with built in magnifier
- ColourConvertor.java - Converts between RGB and HSL
- Camera Utilities to allow you to use input from webcams
- Utilities to read and write CSV files
- GUI for creating windows in image (testing)
- Implementation of Hough Transform, for finding lines
- SubPixel.java - Extract an arbitrary rectangle of any dimensions and rotation using Bilinear filtering
- Various other utilities
Compilation
To compile, Resizer.java requires the Java Advanced Imaging (JAI) library. You'll need to include
jai_core.jar and jai_codec.jar in your classpath. For more information, click here.
Both of these files are included in the lib/ subdirectory of the download.
There is an ant build script included for compilation, although you don't have to use it.
Please feel free to extend it and me your updates!
Contact Me
ooechs {at} essex {dot} ac {dot} uk