Wednesday, June 22, 2011

Java Advanced Imaging

JAI is required to procss TIFF files in Java. This isn't necessary for the classifier because the input for test images is an int array, but might come in handy later. To install JAI on Windows:

  1. Grab this executable
  2. Follow the installer instructions
  3. Official instructions are here
  4. The API docs for JAI are here
Question: To avoid using the JAI just for the sake of importing TIFFs, how to convert TIFFs to a format usable by the ImageIO package (e.g. jpg, png) and preserve exact pixel values?

No comments:

Post a Comment