Interface ProcessorContext
public interface ProcessorContext
A ProcessorContext is an object that allows Processors to communicate with
the ProcessorPipeline.
-
Method Summary
Modifier and TypeMethodDescriptionAccess the SummaryMetadata of the Datastore that images will ultimately be inserted into.voidoutputImage(Image image) Hand a newly-generated Image to the ProcessorContext.
-
Method Details
-
outputImage
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.
-