code: public short[] getPixelValues(WritableRaster raster) {
  		DataBufferUShort buffer = (DataBufferUShort) raster.getDataBuffer();
  		short[] pixelValues = buffer.getData();
  		return pixelValues;
  	}
docs: Get the pixel values of the raster as "unsigned shorts"
  
  @param raster
  image raster
  @return "unsigned short" pixel values