Hello,
what does the java.awt.image.Raster.getPixel(Unknown Source) error mean ? If
i use a variable for the call as in :
aPixel = someRaster.getPixel(xCoord,yCoord,aPixel);
the code works fine. If i use an integer expression instead, as in
aPixel = someRaster.gePixel(xCoord+1,yCoord+1,aPixel);
the following is issued: (it is not falling outside of the bounds of the
image)
java.lang.ArrayIndexOutOfBoundsException
at java.awt.image.DataBufferByte.getElem(Unknown Source)
at java.awt.image.ComponentSampleModel.getPixel(Unknown Source)
at java.awt.image.Raster.getPixel(Unknown Source)
at RadarTracker.extractObject(RadarTracker.java:170)
at RadarTracker.<init>(RadarTracker.java:376)
at RadarTracker.main(RadarTracker.java:422)
regards,
sean
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".