Package gov.nih.mipav.model.scripting
Interface ScriptableActionInterface
-
- All Known Implementing Classes:
ActionBase
,ActionChangeEndianess
,ActionChangeModality
,ActionChangeName
,ActionChangeOrientations
,ActionChangeOrigin
,ActionChangeResolutions
,ActionChangeTalairachInfo
,ActionChangeTransformInfo
,ActionChangeUnits
,ActionClone
,ActionCloseFrame
,ActionCollectGarbage
,ActionCreateBlankImage
,ActionExit
,ActionExtractImageB
,ActionImageProcessorBase
,ActionMaskToPaint
,ActionMaskToVOI
,ActionOpenAllVOIs
,ActionOpenImage
,ActionOpenVOI
,ActionPaintToMask
,ActionPaintToVOI
,ActionSaveAllVOIs
,ActionSaveBase
,ActionSaveImage
,ActionSaveImageAs
,ActionSaveTab
,ActionSaveVOIIntensities
,ActionSelectAllVOIs
,ActionStartMipav
,ActionStopMipav
,ActionVOIToMask
,JDialog3DMosaicTo4DSlices
,JDialog4DImageCalculator
,JDialogActiveContoursWithoutEdges
,JDialogAdaptiveKuwaharaFilter
,JDialogAddMargins
,JDialogAGCIE
,JDialogAHE
,JDialogAHElocal
,JDialogAINDANE
,JDialogAnisotropicDiffusion
,JDialogAnonymizeImage
,JDialogAntigradient2
,JDialogAutoCorrelation
,JDialogAutoCovariance
,JDialogAutoSeedWatershed
,JDialogBarrelDistortion
,JDialogBGAndFGDistanceMap
,JDialogBGDistanceMap
,JDialogBilateralFilter
,JDialogBiorthogonalWavelets
,JDialogBM3D
,JDialogBorderClearing
,JDialogBottomHat
,JDialogBoundaryAttenuation
,JDialogBoxCount
,JDialogBrainSurfaceExtractor
,JDialogBRISK
,JDialogBulkImageCalculator
,JDialogCannyEdgeDetection
,JDialogCenterOfMass
,JDialogCenterOfMassRGB
,JDialogClose
,JDialogCoherenceEnhancingDiffusion
,JDialogColocalizationEM
,JDialogColocalizationRegression
,JDialogColorEdge
,JDialogColorSaturation
,JDialogConcat
,JDialogConcatMult2Dto3D
,JDialogConcatMult3Dto3D
,JDialogConcatMult3Dto4D
,JDialogConstrainedOAR3D
,JDialogContrastEnhancementUsingExposureFusion
,JDialogConvergenceField
,JDialogConvert3Dto4D
,JDialogConvert4Dto3D
,JDialogConvert4DtoMultiple3D
,JDialogConvert4DtoRGB
,JDialogConvertType
,JDialogCorrectSpacing
,JDialogCrop
,JDialogCropBoundaryParam
,JDialogCropPointParam
,JDialogCropTiltedCuboid
,JDialogCropTiltedRectangle
,JDialogCyclicPermutation
,JDialogDBSCANClusteringSegment
,JDialogDeconvolution
,JDialogDeleteObjects
,JDialogDemonsLite
,JDialogDEMRI3
,JDialogDicomTagMultiEditor
,JDialogDicomTagSelector
,JDialogDilate
,JDialogDirectResample
,JDialogDiscreteCosineTransform
,JDialogDiscreteSineTransform
,JDialogDistanceMap
,JDialogDSC_MRI_toolbox
,JDialogEdgeDetection3D
,JDialogEdgeLaplacian
,JDialogEdgeNMSuppression
,JDialogEdgePreservingSmoothing
,JDialogEditCircleDiameter
,JDialogEditSquareLength
,JDialogEfficientWatershed
,JDialogEmbeddedConfidenceEdgeDetection
,JDialogEntropicEdgeDetection
,JDialogEntropyMinimization
,JDialogErode
,JDialogEvaluateMaskSegmentation
,JDialogEvaluateSegmentation
,JDialogExtractBrain
,JDialogExtractSlices
,JDialogExtractSlicesVolumes
,JDialogExtractSurfaceCubes
,JDialogFaceAnonymize
,JDialogFaceAnonymizerBET
,JDialogFacetModel
,JDialogFastMarching
,JDialogFFT
,JDialogFileInfoDICOM
,JDialogFillObjects
,JDialogFindEdges
,JDialogFIREEdgeExtraction
,JDialogFlip
,JDialogFrequencyFilter
,JDialogFRETBleedThrough
,JDialogFRETEfficiency
,JDialogFuzzMinDeAndChatterji
,JDialogFuzzyCMeans
,JDialogFuzzyConnectednessSegmentation
,JDialogFuzzyMinimization
,JDialogGaborFilter
,JDialogGaussianBlur
,JDialogGenerateGrid
,JDialogGenerateIsolines
,JDialogGradientInverseWeightedSmoothing
,JDialogGradientMagnitude
,JDialogGraphBasedSegmentation
,JDialogGuidedFilter
,JDialogHaarTransform
,JDialogHaralickTexture
,JDialogHarrisCornerDetector
,JDialogHarrisLaplace
,JDialogHartleyTransform
,JDialogHillClimbingWatershed
,JDialogHistogram2Dim
,JDialogHistogramMatch
,JDialogHistogramSliceMatch
,JDialogHistogramSummary
,JDialogHMRF_EM
,JDialogHomomorphicFilter
,JDialogHurstIndex
,JDialogIAGCWD
,JDialogIDObjects
,JDialogIHN3Correction
,JDialogImageCalculator
,JDialogImageMath
,JDialogImRegPOC
,JDialogIndependentComponents
,JDialogInsertMissingSlices
,JDialogInsertSlice
,JDialogInsertVolume
,JDialogInvert
,JDialogIsophoteCurvature
,JDialogKernelRegression
,JDialogKMeans
,JDialogLaplacian
,JDialogLawsTexture
,JDialogLightboxGen
,JDialogLLE
,JDialogLoadImage
,JDialogLocalNormalization
,JDialogLocalVariance
,JDialogLogSlopeMapping
,JDialogLowerCompletion
,JDialogLuminanceAdaptation
,JDialogMarkovSegment
,JDialogMarkovSmooth
,JDialogMask
,JDialogMatchImages
,JDialogMaximumIntensityProjection
,JDialogMaximumLikelihoodIteratedBlindDeconvolution
,JDialogMean
,JDialogMeanShiftClustering
,JDialogMeanShiftSegmentation
,JDialogMedian
,JDialogMidsagittal
,JDialogMode
,JDialogMorphologicalFilter
,JDialogMorphologicalGradient
,JDialogMorphologicalLaplacian
,JDialogMorphologicalReconstruction
,JDialogMosaicToSlices
,JDialogMotionDetection
,JDialogMRIShadingCorrection
,JDialogMSER
,JDialogMSFuzzyCMeans
,JDialogMultiResolutionBilateralFilter
,JDialogMultiResolutionGuidedFilter
,JDialogMultiScaleHornSchunk
,JDialogN4MRIBiasFieldCorrection
,JDialogNLMeans_filt2D
,JDialogNLNoiseReduction
,JDialogNMSuppression
,JDialogNoise
,JDialogNoiseLevel
,JDialogNonlocalMeansFilter
,JDialogOpen
,JDialogPadImages
,JDialogParticleAnalysisNew
,JDialogPbBoundaryDetection
,JDialogPhasePreservingDenoising
,JDialogPointArea
,JDialogPowerWatershed
,JDialogPrincipalComponents
,JDialogProstateBoundaryFeatureTrain
,JDialogProstateFeaturesClassification
,JDialogProstateFeaturesTrain
,JDialogProstateSaveFeatures
,JDialogPyWavelets
,JDialogQuantify
,JDialogQuantifyMask
,JDialogRandomizeSliceOrder
,JDialogRegionMergingViaBoundaryMelting
,JDialogRegionsFromPartialBorders
,JDialogRegistrationBSpline
,JDialogRegistrationLeastSquares
,JDialogRegistrationOAR25D
,JDialogRegistrationOAR2D
,JDialogRegistrationOAR35D
,JDialogRegistrationOAR3D
,JDialogRegistrationSIFT3D
,JDialogRegistrationTPSpline
,JDialogRegistrationValidation
,JDialogRegPatientPos
,JDialogRegularizedIsotropicDiffusion
,JDialogRemoveSlices
,JDialogRemoveTSlices
,JDialogReorient
,JDialogReplaceBlankSlicesWithAverages
,JDialogReplaceValue
,JDialogReslice
,JDialogRGBConcat
,JDialogRGBtoGray
,JDialogRGBtoGrays
,JDialogRGBtoHSB
,JDialogRotate
,JDialogRuleBasedContrastEnhancement
,JDialogScaleSaliency
,JDialogSCDSegmentation
,JDialogScriptableBase
,JDialogScriptableTransform
,JDialogSequentialScanningWatershed
,JDialogShortestPathWatershed
,JDialogShowCosts
,JDialogSIFT
,JDialogSIFTImageSimilarity
,JDialogSimulatedExposureFusion
,JDialogSingleScaleHornSchunk
,JDialogSkeletonize
,JDialogSlantTransform
,JDialogSliceAveraging
,JDialogSM2
,JDialogSobel
,JDialogSpatialBroxOpticalFlow
,JDialogSpectralClustering
,JDialogSplitAndMergeWatershed
,JDialogStandaloneScriptablePlugin
,JDialogStandardDeviationThreshold
,JDialogSubsample
,JDialogSubset
,JDialogSubtractVOI
,JDialogSwap34
,JDialogSwapDims
,JDialogSwapSlicesVolumes
,JDialogSWI
,JDialogSymmetricNearestNeighbor
,JDialogTamuraTexture
,JDialogTemporalBroxOpticalFlow
,JDialogTextureAnalysis
,JDialogTextureSegmentation
,JDialogThinning2D
,JDialogThreshold
,JDialogThresholdRGB
,JDialogTiltCorrection
,JDialogTimeFitting
,JDialogTopHat
,JDialogTransformBSpline
,JDialogTreMethod
,JDialogTreT1
,JDialogTreT2
,JDialogTrilateralFilter
,JDialogTVL1FLOW
,JDialogUltErode
,JDialogUnionFindComponentLabelling
,JDialogUnionFindWatershed
,JDialogUnsharpMask
,JDialogVesselEnhancement
,JDialogVOIHausdorffDistance
,JDialogVOILogicalOperations
,JDialogVOIStatistics
,JDialogVOIStats
,JDialogWalshHadamardTransform
,JDialogWatershed
,JDialogWaveletFuse
,JDialogWaveletMultiscaleProducts
,JDialogWaveletThreshold
public interface ScriptableActionInterface
An interface for classes which want to allow themselves to be scripted. It should be implemented by any class which wants to be able to be called from the script parser inParser
.
To make an operation scriptable:- have a class implement this interface (see JDialogGaussianBlur for an example implementation)
- make sure the class is named JDialog* and its script command (generated in
insertScriptLine()
) - include a default constructor (which doesn't have to do anything, but must exist)
- Version:
- 1.0 June 23, 2004
- Author:
- Evan McCreedy
- See Also:
JDialogGaussianBlur
,AlgorithmParameters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
insertScriptLine()
If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.void
scriptRun(ParameterTable parameters)
Sets up the action dialog state and then executes it.
-
-
-
Method Detail
-
insertScriptLine
void insertScriptLine()
If a script is being recorded and the action (read: algorithm) is done, add an entry for this action.
-
scriptRun
void scriptRun(ParameterTable parameters) throws java.lang.IllegalArgumentException
Sets up the action dialog state and then executes it.- Parameters:
parameters
- Table of parameters for the script to use.- Throws:
java.lang.IllegalArgumentException
- If there is a problem with the action arguments.
-
-