public class HistogramCSVReader extends Object
Modifier and Type | Method and Description |
---|---|
static Histogram |
readHistogramFromFile(Path filePath)
Reads a CSV file from the file-system that describes a histogram of voxel values.
|
public static Histogram readHistogramFromFile(Path filePath) throws CSVReaderException
filePath
- the path to the CSV file.Histogram
representing the values in the file.CSVReaderException
- if any file I/O errors, or otherwise the histogram cannot be
successfully created.Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.