public void setPixelValue ( WritableRaster raster , int x , int y , short pixelValue ) { short data [ ] = new short [ ] { pixelValue } ; raster . setDataElements ( x , y , data ) ; }
Set the unsigned short pixel value into the image raster