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 Details

    • readHistogramFromFile

      public static org.anchoranalysis.math.histogram.Histogram readHistogramFromFile​(Path filePath) throws CSVReaderException
      Reads 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 Histogram representing the values in the file.
      Throws:
      CSVReaderException - if any file I/O errors, or otherwise the histogram cannot be successfully created.