Tag Archives: images

Dealing with images Java can’t handle out of the box

Frequently asked question in the mailing list is: Lire cannot handle my images, what can I do? In most cases it turns out that Java can’t read those images and therefore the indexing routine can’t create a pixel array from the file. Java is unfortunately limited in it’s ability to handle images. But there are two basic workarounds.

(1) You can convert all images to a format that Java can handle. Just use ImageMagick or some other great tool to batch process yout images and convert them all to RGB color JPEGs. This is a non Java approach and definitely the faster one.

(2) You can circumvent the ImageIO.read(..) method by using ImageJ. In ImageJ you’ve got the ImagePlus class, which supports loading and decoding of various formats and is much more error resilient than the pure Java SDK method. Speed, however, is not increased by this approach. It’s more the other way round.

Find some code example on how to do this in the wiki.

img(Anaktisi) Image Search Engine

img-search.jpgSince Blobworld was down I was hoping for a new online CBIR system to show in lectures. Last week I received word about the img(Anaktisi) image search engine from Savvas Chatzichristofis. This search engine is based on 2 new content based descriptors that combine color and edge features. The results look promising!

There is also an offline sketch based retrieval system being developed. A screencast can be found on YouTube.

Related Links