Class ComparisonSharedState<T extends Assignment<ObjectMask>>

Object
ComparisonSharedState<T>
Type Parameters:
T - the type of Assignment for ObjectMask.

public class ComparisonSharedState<T extends Assignment<ObjectMask>> extends Object
Shared state for comparison operations, including grouping and statistics.
  • Constructor Details

  • Method Details

    • statisticsForAllGroups

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

      public ImageCounter<T> groupsForImage(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 CSVAssignment getAssignmentCSV()
      The CSV assignment for the comparison.