Over a year ago I wrote a small application to be able to view data we collect from a specialized camera and display it as a discrete image. Last week I attempted to reuse some of the code in a new demonstratin application to collect image data from the camera and display the images sequentially as collected; kind of like a very, very, slow video at a rate of about 1 Hz (and to integrate camera controls in the GUI).
The original code works using Eclipse Juno as the IDE and Oracle Jav 7 SE. I copied a method to another computer which has Eclipse Kepler and Oracle Java 7 EE. Eclipse reports an error and I've not been able to figure out how to fix it using Google etc.
Eclipse gives the error as:
"The method createWritableRaster(SampleModel, DataBuffer, Point) in the type Raster is not applicable for the arguments (ComponentSampleModel, DataBufferUShort, Point)"
The data in shortData are a single band of raw 16 bit monochrome image data (just as received from the camera).