private AbstractTiffRasterData readRasterFromTIFF(final File target, final TiffImagingParameters params) throws ImagingException, IOException {
        final ByteSource byteSource = ByteSource.file(target);
        final TiffReader tiffReader = new TiffReader(true);
        final TiffContents contents = tiffReader.readDirectories(byteSource, true, // indicates that application should read image data, if present
                FormatCompliance.getDefault());
        final TiffDirectory directory = contents.directories.get(0);
        return directory.getRasterData(params);
    }
Reads the floating-point content from a TIFF file.

@param target the specified TIFF file
@param params an optional map of parameters for reading.
@return if successful, a valid raster data instance
@throws ImagingException in the event of an unsupported or malformed file data element.
@throws IOException      in the event of an I/O error
src/test/java/org/apache/commons/imaging/formats/tiff/TiffFloatingPointReadTest.java