@Override
    public int getIntValue(final int x, final int y, final int i) {
        return data[checkCoordinatesAndComputeIndex(x, y, i)];
    }
Gets the value stored at the specified raster coordinates.

@param x integer coordinate in the columnar direction
@param y integer coordinate in the row direction
@param i integer sample index (for data sets giving multiple samples per raster cell).
@return the value stored at the specified location
src/main/java/org/apache/commons/imaging/formats/tiff/TiffRasterDataInt.java