@Override
    public float[] getData() {
        final float[] result = Allocator.floatArray(nCells);
        for (int i = 0; i < nCells; i++) {
            result[i] = data[i];
        }
        return result;
    }
Returns an array of floating-point equivalents to the integer values stored in this instance. To do so, a float array is allocated and each integer value
in the source data is cast to a float.

@return the floating-point equivalents of the content stored in this instance.
src/main/java/org/apache/commons/imaging/formats/tiff/TiffRasterDataInt.java