public interface MarvinImagePlugin extends MarvinPlugin
Modifier and Type | Method and Description |
---|---|
MarvinAttributesPanel |
getAttributesPanel()
Shows a graphical interface
|
MarvinImagePanel |
getImagePanel() |
void |
process(java.util.List<MarvinImage> imagesIn,
MarvinImage imageOut)
Interface for algorithms that use multiple images as input.
|
void |
process(MarvinImage imgIn,
MarvinImage imgOut)
Executes the algorithm.
|
void |
process(MarvinImage imgIn,
MarvinImage imgOut,
MarvinAttributes attrOut) |
void |
process(MarvinImage imgIn,
MarvinImage imgOut,
MarvinAttributes attrOut,
MarvinImageMask mask,
boolean previewMode)
Executes the algorithm.
|
void |
process(MarvinImage imgIn,
MarvinImage imgOut,
MarvinImageMask mask)
Executes the algorithm.
|
void |
setImagePanel(MarvinImagePanel imgPanel)
Associates the plug-in with an MarvinImagePanel
|
getAttribute, getAttributes, invalidate, isValid, load, setAttribute, setAttributes, validate
MarvinAttributesPanel getAttributesPanel()
void process(MarvinImage imgIn, MarvinImage imgOut, MarvinAttributes attrOut, MarvinImageMask mask, boolean previewMode)
imgIn
- input image.imgOut
- output image.attrOut
- output attributes.mask
- mask containing what pixels should be considered.previewMode
- it is or isnīt on preview mode.void process(MarvinImage imgIn, MarvinImage imgOut, MarvinImageMask mask)
imgIn
- input image.imgOut
- output image.attrOut
- output attributes.void process(MarvinImage imgIn, MarvinImage imgOut, MarvinAttributes attrOut)
void process(MarvinImage imgIn, MarvinImage imgOut)
imgIn
- input image.imgOut
- output image.void process(java.util.List<MarvinImage> imagesIn, MarvinImage imageOut)
void setImagePanel(MarvinImagePanel imgPanel)
imgPanel
- reference to a MarvinImagePanel objectMarvinImagePanel getImagePanel()