Interface ProcessorContext


public interface ProcessorContext
A ProcessorContext is an object that allows Processors to communicate with the ProcessorPipeline.
  • Method Summary

    Modifier and Type
    Method
    Description
    Access the SummaryMetadata of the Datastore that images will ultimately be inserted into.
    void
    Hand a newly-generated Image to the ProcessorContext.
  • Method Details

    • outputImage

      void outputImage(Image image)
      Hand a newly-generated Image to the ProcessorContext. This method is the only valid way for a Processor to "produce" an Image, and should only be called from within the Processor's processImage() function.
      Parameters:
      image - Image to be handed to the ProcessorContext
    • getSummaryMetadata

      SummaryMetadata getSummaryMetadata()
      Access the SummaryMetadata of the Datastore that images will ultimately be inserted into.
      Returns:
      the SummaryMetadata of the Datastore of processed images.