Class AnnotationAggregateCSVGenerator

Object
SingleFileTypeGenerator<List<ImageAnnotation>, List<ImageAnnotation>>
OneStageGenerator<List<ImageAnnotation>>
CSVGenerator<List<ImageAnnotation>>
FeatureTableCSVGenerator<List<ImageAnnotation>>
AnnotationAggregateCSVGenerator
All Implemented Interfaces:
Generator<List<ImageAnnotation>>, TransformingGenerator<List<ImageAnnotation>, List<ImageAnnotation>>, ElementWriter<List<ImageAnnotation>>

public class AnnotationAggregateCSVGenerator extends FeatureTableCSVGenerator<List<ImageAnnotation>>
Generates a CSV file containing aggregated annotation data.

This class extends FeatureTableCSVGenerator to create a CSV file with columns for image ID and label.

  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs an AnnotationAggregateCSVGenerator with predefined column headers.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    writeFeaturesToCSV(CSVWriter writer, List<ImageAnnotation> allFeatureResults, List<String> headerNames)
     

    Methods inherited from class org.anchoranalysis.feature.io.csv.table.FeatureTableCSVGenerator

    writeToFile

    Methods inherited from class org.anchoranalysis.io.generator.tabular.CSVGenerator

    selectFileExtension

    Methods inherited from class org.anchoranalysis.io.generator.OneStageGenerator

    transform

    Methods inherited from class org.anchoranalysis.io.generator.SingleFileTypeGenerator

    write, writeWithIndex

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • writeFeaturesToCSV

      protected void writeFeaturesToCSV(CSVWriter writer, List<ImageAnnotation> allFeatureResults, List<String> headerNames) throws OutputWriteFailedException
      Specified by:
      writeFeaturesToCSV in class FeatureTableCSVGenerator<List<ImageAnnotation>>
      Throws:
      OutputWriteFailedException