Class ComparisonSharedState<T extends org.anchoranalysis.annotation.io.assignment.Assignment<org.anchoranalysis.image.voxel.object.ObjectMask>>

Object
org.anchoranalysis.plugin.annotation.bean.comparison.ComparisonSharedState<T>
Type Parameters:
T - the type of Assignment for ObjectMask.

public class ComparisonSharedState<T extends org.anchoranalysis.annotation.io.assignment.Assignment<org.anchoranalysis.image.voxel.object.ObjectMask>>
extends Object
Shared state for comparison operations, including grouping and statistics.
  • Constructor Details

  • Method Details

    • statisticsForAllGroups

      public List<org.anchoranalysis.annotation.io.comparer.StatisticsToExport> statisticsForAllGroups()
      Retrieves statistics for all groups.
      Returns:
      a list of StatisticsToExport for all groups.
    • groupsForImage

      public ImageCounter<T> groupsForImage​(org.anchoranalysis.plugin.annotation.bean.comparison.SplitString descriptiveSplit)
      Retrieves the groups for a given image based on its descriptive split.
      Parameters:
      descriptiveSplit - the descriptive split for the image, can be null.
      Returns:
      an ImageCounter containing all relevant groups for the image.
    • getAssignmentCSV

      public org.anchoranalysis.plugin.annotation.bean.comparison.CSVAssignment getAssignmentCSV()
      The CSV assignment for the comparison.