Class HistogramCSVReader
Object
org.anchoranalysis.image.io.histogram.input.HistogramCSVReader
public class HistogramCSVReader extends Object
Reads a CSV file from the file-system that describes a histogram of voxel values.
- Author:
- owen Feehan
-
Method Summary
Modifier and Type Method Description static org.anchoranalysis.math.histogram.HistogramreadHistogramFromFile(Path filePath)Reads a CSV file from the file-system that describes a histogram of voxel values.
-
Method Details
-
readHistogramFromFile
public static org.anchoranalysis.math.histogram.Histogram readHistogramFromFile(Path filePath) throws CSVReaderExceptionReads a CSV file from the file-system that describes a histogram of voxel values.- Parameters:
filePath- the path to the CSV file.- Returns:
- a newly created
Histogramrepresenting the values in the file. - Throws:
CSVReaderException- if any file I/O errors, or otherwise the histogram cannot be successfully created.
-