|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.image.AbstractImageTransformer<ImagePlusContainer>
adams.data.imagej.transformer.AbstractImageJTransformer
adams.data.imagej.transformer.Command
public class Command
A transformer that allows the execution of ImageJ commands.
Note(s):
- the options for the command can be obtained when recording macros
in ImageJ
-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-command <java.lang.String> (property: command) The ImageJ command to execute. default: Add Specified Noise...
-command-options <java.lang.String> (property: commandOptions) The options for the command (not all commands take options). default: standard=25
| Field Summary | |
|---|---|
protected String |
m_Command
the command to run. |
protected String |
m_CommandOptions
the options for the command. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
Command()
|
|
| Method Summary | |
|---|---|
void |
cleanUp()
Cleans up data structures, frees up memory. |
String |
commandOptionsTipText()
Returns the tip text for this property. |
String |
commandTipText()
Returns the tip text for this property. |
void |
defineOptions()
Adds options to the internal list of options. |
protected ImagePlusContainer[] |
doTransform(ImagePlusContainer img)
Performs no transformation at all, just returns the input. |
String |
getCommand()
Returns the command to execute. |
String |
getCommandOptions()
Returns the options for the command. |
String |
globalInfo()
Returns a string describing the object. |
void |
setCommand(String value)
Sets the command to execute. |
void |
setCommandOptions(String value)
Sets the options for the command. |
| Methods inherited from class adams.data.imagej.transformer.AbstractImageJTransformer |
|---|
checkImage, forCommandLine, forName, getTransformations |
| Methods inherited from class adams.data.image.AbstractImageTransformer |
|---|
compareTo, destroy, equals, shallowCopy, shallowCopy, transform |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected String m_Command
protected String m_CommandOptions
| Constructor Detail |
|---|
public Command()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setCommand(String value)
value - the commandpublic String getCommand()
public String commandTipText()
public void setCommandOptions(String value)
value - the optionspublic String getCommandOptions()
public String commandOptionsTipText()
protected ImagePlusContainer[] doTransform(ImagePlusContainer img)
doTransform in class AbstractImageTransformer<ImagePlusContainer>img - the image to process (can be modified, since it is a copy)
public void cleanUp()
cleanUp in interface CleanUpHandlercleanUp in class AbstractImageTransformer<ImagePlusContainer>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||