/** * Short-cut in the FS case where we know that we are dealing with a FS-lite * file, and want to retrieve the actual file as opposed to a pyramid or anything * else. This may be used to access the original metadata. * @throws FormatException * @throws IOException */ public IFormatReader getBfReader(Pixels pixels) throws FormatException, IOException { // from getPixelBuffer final String originalFilePath = getOriginalFilePath(pixels); final int series = getSeries(pixels); final IFormatReader reader = createBfReader(); reader.setId(originalFilePath); // Called by BfPixelsBuffer elsewhere. reader.setSeries(series); return reader; }
int series = getSeries(pixels); BfPixelBuffer bfPixelBuffer = createMinMaxBfPixelBuffer( originalFilePath, series, minMaxStore);
int series = getSeries(pixels); final PixelsPyramidMinMaxStore minMaxStore = new PixelsPyramidMinMaxStore(pixels.getSizeC());