Class ActionSaveImageAs
- java.lang.Object
- 
- gov.nih.mipav.model.scripting.actions.ActionBase
- 
- gov.nih.mipav.model.scripting.actions.ActionImageProcessorBase
- 
- gov.nih.mipav.model.scripting.actions.ActionSaveBase
- 
- gov.nih.mipav.model.scripting.actions.ActionSaveImageAs
 
 
 
 
- 
- All Implemented Interfaces:
- ScriptableActionInterface
 
 public class ActionSaveImageAs extends ActionSaveBase A script action which writes out an image to disk.
- 
- 
Field Summary- 
Fields inherited from class gov.nih.mipav.model.scripting.actions.ActionSaveBaseAVI_COMPRESSION, END_SLICE, END_TIME, NIFTI_EXTENSION, recordingOptions, SAVE_FILE_NAME, SAVE_FILE_TYPE, SAVE_PREFIX, SAVE_SUFFIX, START_SLICE, START_TIME, TIFF_DIGIT_NUMBER, TIFF_SET_WRITE_PACK_BIT, TIFF_START_NUMBER, TIME_SLICE
 - 
Fields inherited from class gov.nih.mipav.model.scripting.actions.ActionImageProcessorBaseINPUT_IMAGE_LABEL, recordingInputImage, recordingResultImage
 - 
Fields inherited from class gov.nih.mipav.model.scripting.actions.ActionBaseisScript
 
- 
 - 
Constructor SummaryConstructors Constructor Description ActionSaveImageAs()Constructor for the dynamic instantiation and execution of the SaveImage script action.ActionSaveImageAs(ModelImage input, FileWriteOptions options)Constructor used to record the script action line.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinsertScriptLine()If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.voidscriptRun(ParameterTable parameters)Sets up the action dialog state and then executes it.- 
Methods inherited from class gov.nih.mipav.model.scripting.actions.ActionSaveBaseaddSaveOptionsToParameters, getSaveImageOptions, setSaveOptions
 - 
Methods inherited from class gov.nih.mipav.model.scripting.actions.ActionImageProcessorBasecreateInputImageParameter, isImageStoredInRecorder, setInputImage, setResultImage, storeImageInRecorder, storeImageInRunner
 - 
Methods inherited from class gov.nih.mipav.model.scripting.actions.ActionBasegetActionName, getActionName, isScript, setIsScript
 
- 
 
- 
- 
- 
Constructor Detail- 
ActionSaveImageAspublic ActionSaveImageAs() Constructor for the dynamic instantiation and execution of the SaveImage script action.
 - 
ActionSaveImageAspublic ActionSaveImageAs(ModelImage input, FileWriteOptions options) Constructor used to record the script action line.- Parameters:
- input- The image which was saved.
- options- The options used during the image save.
 
 
- 
 - 
Method Detail- 
insertScriptLinepublic void insertScriptLine() If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.- Specified by:
- insertScriptLinein interface- ScriptableActionInterface
- Specified by:
- insertScriptLinein class- ActionImageProcessorBase
 
 - 
scriptRunpublic void scriptRun(ParameterTable parameters) Sets up the action dialog state and then executes it.- Specified by:
- scriptRunin interface- ScriptableActionInterface
- Specified by:
- scriptRunin class- ActionImageProcessorBase
- Parameters:
- parameters- Table of parameters for the script to use.
 
 
- 
 
-