public abstract class AbstractPlugin extends Object implements IPluginInternal, IPlugin
Constructor and Description |
---|
AbstractPlugin() |
Modifier and Type | Method and Description |
---|---|
ImageWrapper |
get()
Gets the default input image from previous in chain.
|
ImageWrapper |
get(String inName)
Gets a named input image from previous in chain.
|
void |
put(ImageWrapper image)
Puts the default output image to next in chain (if any).
|
void |
put(String outName,
ImageWrapper image)
Puts named output image to next in chain (if any).
|
void |
start(Map<String,ImageWrapper> inputImages,
Map<String,String> outputNames)
Starts up processing.
|
public void start(Map<String,ImageWrapper> inputImages, Map<String,String> outputNames)
start
in interface IPluginInternal
inputImages
- maps each input name to an imageoutputNames
- maps each output name to a unique input name for the
next chained plugin.public ImageWrapper get()
public ImageWrapper get(String inName)
public void put(ImageWrapper image)
public void put(String outName, ImageWrapper image)
Copyright © 2015–2022 SciJava. All rights reserved.