public class ExportImageHistograms extends GroupedStackBase<Histogram,Histogram>
Exports a histogram of voxel intensities as a CSV file for each channel of an image.

Additionally, a histogram with the summation of voxel intensities for all channels in each image is produced.

Optionally, one channel can be used as a mask, to restrict which voxels are included in the histogram.

These steps occur:

  1. All files are aggregated into groups.
  2. For each image file, a histogram is calculated.
  3. The histogram is added to the group histogram.
  4. The histograms are written to the filesystem.

The following outputs are produced:

Output NameDefault?Description
"channels"yesA separate CSV histogram for each channel's voxels intensity.
"sum"yesA histogram for the sum of each voxel's intensity across all channels.
inherited from Task