Class Transferer.FloatToShort

Enclosing class:
Transferer

private static final class Transferer.FloatToShort extends Transferer.FloatToInteger
Read float values from the source raster and write signed short values in a temporary buffer. The floating point values will be rounded and clamped to the range of the integer type.
  • Constructor Details

    • FloatToShort

      FloatToShort(Raster source, WritableRaster target, Rectangle aoi)
      Creates a new instance for transferring data between the two specified rasters.
  • Method Details