public abstract class AbstractPlugin extends Object implements IPluginInternal, IPlugin
Constructor and Description |
---|
AbstractPlugin() |
Modifier and Type | Method and Description |
---|---|
ItemWrapper |
get()
Gets the default input image from previous in chain.
|
ItemWrapper |
get(String inName)
Gets a named input image from previous in chain.
|
void |
put(ItemWrapper image)
Puts the default output image to next in chain (if any).
|
void |
put(String outName,
ItemWrapper image)
Puts named output image to next in chain (if any).
|
void |
start(Map<String,ItemWrapper> inputImages,
Map<String,String> outputNames)
Starts up processing.
|
public void start(Map<String,ItemWrapper> 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 ItemWrapper get()
public ItemWrapper get(String inName)
public void put(ItemWrapper image)
public void put(String outName, ItemWrapper image)
Copyright © 2015–2022 SciJava. All rights reserved.