Class AnnotationAggregateCSVGenerator

Object
org.anchoranalysis.io.generator.SingleFileTypeGenerator<T,​T>
org.anchoranalysis.io.generator.OneStageGenerator<T>
org.anchoranalysis.io.generator.tabular.CSVGenerator<T>
org.anchoranalysis.feature.io.csv.table.FeatureTableCSVGenerator<List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>>
org.anchoranalysis.plugin.annotation.bean.aggregate.AnnotationAggregateCSVGenerator
All Implemented Interfaces:
org.anchoranalysis.io.generator.Generator<List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>>, org.anchoranalysis.io.generator.TransformingGenerator<List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>,​List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>>, org.anchoranalysis.io.output.writer.ElementWriter<List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>>

public class AnnotationAggregateCSVGenerator
extends org.anchoranalysis.feature.io.csv.table.FeatureTableCSVGenerator<List<org.anchoranalysis.plugin.annotation.bean.aggregate.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
    AnnotationAggregateCSVGenerator()
    Constructs an AnnotationAggregateCSVGenerator with predefined column headers.
  • Method Summary

    Modifier and Type Method Description
    protected void writeFeaturesToCSV​(org.anchoranalysis.io.generator.tabular.CSVWriter writer, List<org.anchoranalysis.plugin.annotation.bean.aggregate.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​(org.anchoranalysis.io.generator.tabular.CSVWriter writer, List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation> allFeatureResults, List<String> headerNames) throws org.anchoranalysis.io.output.error.OutputWriteFailedException
      Specified by:
      writeFeaturesToCSV in class org.anchoranalysis.feature.io.csv.table.FeatureTableCSVGenerator<List<org.anchoranalysis.plugin.annotation.bean.aggregate.ImageAnnotation>>
      Throws:
      org.anchoranalysis.io.output.error.OutputWriteFailedException