public final class OperatorRegistryHelper extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger |
| Constructor and Description |
|---|
OperatorRegistryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
registerImageOperators()
This method initializes every IQM image processing operator of the
standard operator bundle.
|
static void |
registerPlotOperators()
This method initializes every IQM image processing operator of the
standard operator bundle.
|
static void |
updateRegistry() |
private static void |
updateWelcomeText(String text)
Updates the dynamic welcome text in the startup screen using a given
text.
|
public static void registerImageOperators()
throws Exception
In order to register an image operator, one has to call
register() on the operator's IOperatorDescriptor
like
IOperatorDescriptor myDescriptor = IqmOpThresholdDescriptor.register();
In order to use the operator with the JAI system using
JAI.create(String, Object) from anywhere in the operators, one
has to call registerWithJAI(), too, like
IqmOpThresholdDescriptor.registerWithJAI();
A convenient method for displaying the registration process on the start
screen is provided by calling updateWelcomeText(String), like
updateWelcomeText(thresDesc.getName());
Exception - if an operator's descriptor encounters any errorspublic static void registerPlotOperators()
throws Exception
In order to register an image operator, one has to call
register() on the operator's IOperatorDescriptor
like
IOperatorDescriptor myDescriptor = IqmOpThresholdDescriptor.register();
A convenient method for displaying the registration process on the start
screen is provided by calling updateWelcomeText(String), like
updateWelcomeText(thresDesc.getName());
Exception - if an operator's descriptor encounters any errorsprivate static void updateWelcomeText(String text)
text - Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.