German Garcia
-
2008-08-26
I'm using caliph-emir-cbir.jar to extract image data scalable color.
When I'm trying to execute:
BufferedImage bufferedImage = ImageIO.read(source);
ScalableColorImpl sc = new ScalableColorImpl(bufferedImage);
I got the next exception:
java.lang.ArrayIndexOutOfBoundsException: 3
at java.awt.image.ComponentSampleModel.getPixel(ComponentSampleModel.java:702)
at java.awt.image.Raster.getPixel(Raster.java:1522)
at at.lux.imageanalysis.ScalableColorImpl.createHsvImageBuffer(Unknown Source)
at at.lux.imageanalysis.ScalableColorImpl.extract(Unknown Source)
at at.lux.imageanalysis.ScalableColorImpl.<init>(Unknown Source)
The image that causes the problem is attached.