|
||||||||||
| 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.Macro
public class Macro
Executes the macro commands to transform the image.
Due to ImageJ's architecture, only a single ImageJ instance is available in a process at any given time. Interacting with ImageJ while running a macro will lead to unpredictable side-effects.
-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
-commands <adams.core.base.BaseText> (property: commands) The macro commands to transform the image width. default:
| Field Summary | |
|---|---|
protected BaseText |
m_Commands
the macro commands. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
Macro()
|
|
| Method Summary | |
|---|---|
String |
commandsTipText()
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. |
BaseText |
getCommands()
Returns the width to resize to. |
String |
globalInfo()
Returns a string describing the object. |
void |
setCommands(BaseText value)
Sets the width to resize to. |
| Methods inherited from class adams.data.imagej.transformer.AbstractImageJTransformer |
|---|
checkImage, forCommandLine, forName, getTransformations |
| Methods inherited from class adams.data.image.AbstractImageTransformer |
|---|
cleanUp, 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 BaseText m_Commands
| Constructor Detail |
|---|
public Macro()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setCommands(BaseText value)
value - the width, -1 uses original widthpublic BaseText getCommands()
public String commandsTipText()
protected ImagePlusContainer[] doTransform(ImagePlusContainer img)
doTransform in class AbstractImageTransformer<ImagePlusContainer>img - the image to process (can be modified, since it is a copy)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||