mipav.git
12 years ago- Merged changes from trunk revisions 1068 to 1169. svn/scripting
NIH\mccreedy [Mon, 2 Oct 2006 20:46:16 +0000 (20:46 +0000)]
- Merged changes from trunk revisions 1068 to 1169.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1071 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Merged changes from trunk revisions 1013 to 1168.
NIH\mccreedy [Mon, 2 Oct 2006 20:44:14 +0000 (20:44 +0000)]
- Merged changes from trunk revisions 1013 to 1168.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1070 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoStopped rotate from unregistering the source image (it wasn't re-registering it after...
NIH\mccreedy [Mon, 2 Oct 2006 20:08:29 +0000 (20:08 +0000)]
Stopped rotate from unregistering the source image (it wasn't re-registering it afterwards).

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1068 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed some scripting problems in the registration of result images.
NIH\mccreedy [Thu, 28 Sep 2006 20:51:09 +0000 (20:51 +0000)]
Fixed some scripting problems in the registration of result images.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1064 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Added display of the action each external image var is associated with to the run...
NIH\mccreedy [Thu, 28 Sep 2006 17:20:34 +0000 (17:20 +0000)]
- Added display of the action each external image var is associated with to the run script dialog (done in an inefficent way, but it works..).

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1063 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agocompleted changed to isCompleted()
NIH\linkb [Wed, 27 Sep 2006 14:17:01 +0000 (14:17 +0000)]
completed changed to isCompleted()

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1058 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoboolean completed is no longer a protected variable in AlgorithmBase. must call...
NIH\linkb [Wed, 27 Sep 2006 14:15:25 +0000 (14:15 +0000)]
boolean completed is no longer a protected variable in AlgorithmBase.  must call setCompleted() (to ensure the progress bar is disposed of properly if maxProgressValue is 100

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1057 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoSimplified the display of errors encountered during script parsing.
NIH\mccreedy [Tue, 26 Sep 2006 21:23:08 +0000 (21:23 +0000)]
Simplified the display of errors encountered during script parsing.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1056 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Fixed the scripting of a number of dialogs.
NIH\mccreedy [Tue, 26 Sep 2006 20:45:55 +0000 (20:45 +0000)]
- Fixed the scripting of a number of dialogs.
- Fixed a bug in AlgorithmBoundaryAttenuation execution.
- Changed ParameterTable backing store to be a LinkedHashMap so that it preserves the parameters in the order they are inserted.  This should reduce some potential confusion in the run script dialog and selecting images for command line script execution.
- The run script dialog now displays the image parameter label next to the image parameter placeholder variable in the tree.  Added a method to retrieve the labels for ext_image params from the script.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1055 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar & scripting fixes
NIH\linkb [Tue, 26 Sep 2006 19:59:49 +0000 (19:59 +0000)]
progress bar & scripting fixes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1054 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoreplaced scriptParameters.storeOutputImageParams(getResultImage(), true) calls with...
NIH\mccreedy [Fri, 22 Sep 2006 18:52:20 +0000 (18:52 +0000)]
replaced scriptParameters.storeOutputImageParams(getResultImage(), true) calls with AlgorithmParameters.storeImageInRecorder(getResultImage()).  This removes an unnessary parameter from a number of dialogs.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1050 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- removed some dialogs which were no longer accessible from the menu.
NIH\mccreedy [Fri, 22 Sep 2006 18:28:45 +0000 (18:28 +0000)]
- removed some dialogs which were no longer accessible from the menu.
- fixed DeleteObjects script execution

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1049 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar updates
NIH\linkb [Fri, 22 Sep 2006 17:40:43 +0000 (17:40 +0000)]
progress bar updates

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1048 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress updates now
NIH\linkb [Fri, 22 Sep 2006 17:31:44 +0000 (17:31 +0000)]
progress updates now

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1047 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agonew helper functions for subroutines within algorithms (in algorithmbase) for adjusti...
NIH\linkb [Fri, 22 Sep 2006 17:21:07 +0000 (17:21 +0000)]
new helper functions for subroutines within algorithms (in algorithmbase) for adjusting progress bar
fixed progress bar in morphology algorithms (many subroutines... all ignorant of each other)
fixed progress bar in Local Normalization, midsagittal)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1046 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed a number of problems encountered while running various algos from a script.
NIH\mccreedy [Thu, 21 Sep 2006 18:19:41 +0000 (18:19 +0000)]
Fixed a number of problems encountered while running various algos from a script.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1045 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded if (progressBar != null) for updating... may change in future b\c of static...
NIH\linkb [Thu, 21 Sep 2006 14:44:10 +0000 (14:44 +0000)]
added if (progressBar != null) for updating... may change in future b\c of static functions

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1043 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agofixed BSE progress display
NIH\linkb [Wed, 20 Sep 2006 18:44:08 +0000 (18:44 +0000)]
fixed BSE progress display

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1042 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoProgress bar changes...
NIH\linkb [Wed, 20 Sep 2006 18:10:05 +0000 (18:10 +0000)]
Progress bar changes...

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1041 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoEventListener is always new'd
NIH\linkb [Wed, 20 Sep 2006 17:15:21 +0000 (17:15 +0000)]
EventListener is always new'd

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1040 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- JDialogScriptableBase - print stack trace on insertScriptLine() error.
NIH\mccreedy [Wed, 20 Sep 2006 15:38:04 +0000 (15:38 +0000)]
- JDialogScriptableBase - print stack trace on insertScriptLine() error.
- JDialogMatchImages - fixed handling of result images during scripting.  they were not always being created.
- JDialogExtractSlicesVolumes - moved opening of result image frames into algoPerformed.  fixed handling of result images in scripting.
- JDialogEdgeLaplacian.java - now the edge image is retained, so that the scripting can register it.
- ParameterFactory - added newParameter(string, double[])
- AlgorithmExtractSlicesVolumes - the algo no longer opens up frames for the extracted images itself.  it keeps track of the images and the dialog opens the frames.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1039 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agominor change
NIH\linkb [Tue, 19 Sep 2006 21:16:37 +0000 (21:16 +0000)]
minor change

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1038 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agocreateProgressBar() added to callAlgorithm() method
NIH\linkb [Tue, 19 Sep 2006 21:10:14 +0000 (21:10 +0000)]
createProgressBar() added to callAlgorithm() method

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1037 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadding createProgressBar() call to callAlgorithm()
NIH\linkb [Tue, 19 Sep 2006 20:43:03 +0000 (20:43 +0000)]
adding createProgressBar() call to callAlgorithm()

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1036 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes.
NIH\linkb [Tue, 19 Sep 2006 18:55:09 +0000 (18:55 +0000)]
progress bar changes.

Dialogs being updated to include createProgressBar();

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1035 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes
NIH\linkb [Tue, 19 Sep 2006 17:30:38 +0000 (17:30 +0000)]
progress bar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1034 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoremoved references to progress bar (.updateValue etc), using only fireProgressStateCh...
NIH\linkb [Tue, 19 Sep 2006 17:19:26 +0000 (17:19 +0000)]
removed references to progress bar (.updateValue etc), using only fireProgressStateChanged.
Dialogs still need to be updated to call createProgressBar(imageName, alorithm); in order to create the bar, add the listener etc.... these will be done today/tomorrow

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1033 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed merge error.
NIH\mccreedy [Tue, 12 Sep 2006 20:37:47 +0000 (20:37 +0000)]
Fixed merge error.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1018 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoMerged in changes from the trunk: revisions 774-1013.
NIH\mccreedy [Tue, 12 Sep 2006 20:29:28 +0000 (20:29 +0000)]
Merged in changes from the trunk: revisions 774-1013.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1017 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoMerged in changes from the trunk: revisions 774-1013.
NIH\mccreedy [Tue, 12 Sep 2006 16:20:41 +0000 (16:20 +0000)]
Merged in changes from the trunk: revisions 774-1013.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1016 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- set the axis orientation in the file opts when saving an image (caused problems...
NIH\mccreedy [Mon, 11 Sep 2006 20:31:56 +0000 (20:31 +0000)]
- set the axis orientation in the file opts when saving an image (caused problems with minc saving).
- standardized the naming of parameters in some dialogs.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1013 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoChanged some dialogs' scripting to use some AlgorithmParameter helper methods.
NIH\mccreedy [Fri, 8 Sep 2006 21:28:37 +0000 (21:28 +0000)]
Changed some dialogs' scripting to use some AlgorithmParameter helper methods.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1009 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes (if some algorithms crash... was because I removed "initProgress...
NIH\linkb [Wed, 6 Sep 2006 21:30:18 +0000 (21:30 +0000)]
progress bar changes (if some algorithms crash... was because I removed "initProgressBar()" from algorithm base.
these algorithms will be fixed...
progress bars are no longer created/passed into algorithms

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1004 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoProgress bar changes
NIH\linkb [Wed, 6 Sep 2006 21:27:35 +0000 (21:27 +0000)]
Progress bar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@1003 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar updates
NIH\linkb [Tue, 5 Sep 2006 20:45:19 +0000 (20:45 +0000)]
progress bar updates

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@991 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogressbar changes
NIH\linkb [Thu, 31 Aug 2006 16:55:56 +0000 (16:55 +0000)]
progressbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@984 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded optional method that will create progressbar/add algorithmbase as progresschang...
NIH\linkb [Thu, 31 Aug 2006 16:52:02 +0000 (16:52 +0000)]
added optional method that will create progressbar/add algorithmbase as progresschangelistener
(may remove the other createProgressBar(String))

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@983 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoone error...whoops
NIH\linkb [Thu, 31 Aug 2006 16:28:49 +0000 (16:28 +0000)]
one error...whoops

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@982 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agonew progressbar
NIH\linkb [Thu, 31 Aug 2006 15:52:41 +0000 (15:52 +0000)]
new progressbar

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@981 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes. method to create progressbar/setvisible progress bar in JDialo...
NIH\linkb [Wed, 30 Aug 2006 20:53:32 +0000 (20:53 +0000)]
progress bar changes.  method to create progressbar/setvisible progress bar in JDialogBase (should be called form callAlgorithm()

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@980 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agousing different AlgorithmBase.getProgressFromFloat and .getProgressFromInt to calcula...
NIH\linkb [Tue, 29 Aug 2006 19:32:30 +0000 (19:32 +0000)]
using different AlgorithmBase.getProgressFromFloat and .getProgressFromInt to calculate correct % based on min/max

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@974 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agopbar changes
NIH\linkb [Tue, 29 Aug 2006 15:00:53 +0000 (15:00 +0000)]
pbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@973 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agochecks to see if maxProgressValue is 100 when setCompleted() is called (regardless...
NIH\linkb [Mon, 28 Aug 2006 21:08:17 +0000 (21:08 +0000)]
checks to see if maxProgressValue is 100 when setCompleted() is called (regardless of completion status)...no longer want progressbar

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@972 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoquick pbar fixes
NIH\linkb [Mon, 28 Aug 2006 18:29:14 +0000 (18:29 +0000)]
quick pbar fixes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@971 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes
NIH\linkb [Mon, 28 Aug 2006 18:12:00 +0000 (18:12 +0000)]
progress bar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@970 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed the scripting of more dialogs.
NIH\mccreedy [Mon, 28 Aug 2006 17:08:45 +0000 (17:08 +0000)]
Fixed the scripting of more dialogs.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@968 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoprogress bar changes
NIH\linkb [Mon, 28 Aug 2006 16:42:02 +0000 (16:42 +0000)]
progress bar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@967 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed the scripting of more dialogs.
NIH\mccreedy [Mon, 28 Aug 2006 14:34:23 +0000 (14:34 +0000)]
Fixed the scripting of more dialogs.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@965 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed the scripting of more dialogs.
NIH\mccreedy [Thu, 24 Aug 2006 18:40:24 +0000 (18:40 +0000)]
Fixed the scripting of more dialogs.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@953 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded scripting ability for LoadImageB. blank image loading now handled by JDialogLo...
NIH\linkb [Thu, 24 Aug 2006 17:50:31 +0000 (17:50 +0000)]
added scripting ability for LoadImageB.  blank image loading now handled by JDialogLoadImage.... file loading not implemented as of yet (unnecessary?))

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@948 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agohailong pbar changes
NIH\linkb [Wed, 23 Aug 2006 15:48:26 +0000 (15:48 +0000)]
hailong pbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@942 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Removed ExtractSurface and FaceAnonymizer dialogs since they have been replaced...
NIH\mccreedy [Tue, 22 Aug 2006 21:21:50 +0000 (21:21 +0000)]
- Removed ExtractSurface and FaceAnonymizer dialogs since they have been replaced by new algorithms.
- Fixed more dialogs' use of the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@939 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agotemp check-in for compile reasons
NIH\linkb [Tue, 22 Aug 2006 15:27:50 +0000 (15:27 +0000)]
temp check-in for compile reasons

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@937 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed some more dialogs' use of the new scripting system.
NIH\mccreedy [Mon, 21 Aug 2006 20:54:22 +0000 (20:54 +0000)]
Fixed some more dialogs' use of the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@934 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agohailong pbar changes
NIH\linkb [Mon, 21 Aug 2006 20:35:27 +0000 (20:35 +0000)]
hailong pbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@933 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoHailong pbar changes
NIH\linkb [Mon, 21 Aug 2006 20:33:58 +0000 (20:33 +0000)]
Hailong pbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@932 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agohailong pbar changes
NIH\linkb [Mon, 21 Aug 2006 20:33:28 +0000 (20:33 +0000)]
hailong pbar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@931 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoHailong changes (progressBar)
NIH\linkb [Mon, 21 Aug 2006 18:23:48 +0000 (18:23 +0000)]
Hailong changes (progressBar)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@930 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agohailong changes (pBar stuff)
NIH\linkb [Mon, 21 Aug 2006 16:11:52 +0000 (16:11 +0000)]
hailong changes (pBar stuff)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@929 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoHailong's progress bar changes
NIH\linkb [Fri, 18 Aug 2006 21:18:45 +0000 (21:18 +0000)]
Hailong's progress bar changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@928 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago_Many updates_, some still incomplete.
NIH\mccreedy [Fri, 18 Aug 2006 20:37:40 +0000 (20:37 +0000)]
_Many updates_, some still incomplete.

- Rolling back changes just committed by Hailong.  We need to merge those changes manually to this branch...

- Removed ASC, AIR, AIR Nonlinear, Shear dialogs.
- Fixed a whole lot of miscellaneous warnings (and a couple of associated bugs).
- Added new param set/get methods to AlgorithmParameters.
- Switched a lot of calls to get the VUI to use ViewUserInterface.getReference().
- Removed old scripting classes and old scripting method stubs left in VUI and JDialogScriptRecorder. (is currently causing errors in a few plugins...)
- Converted a number of dialogs to the new scripting system (they were not really scriptable before and just recorded script lines, or something similar). (still in progress)
- Fixed a number of dialogs which were converted to the new scripting system earlier. (still in progress)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@927 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoModified the code to decouple the progress bar from gaussian blur algorithm, brain...
NIH\wangh3 [Fri, 18 Aug 2006 18:29:35 +0000 (18:29 +0000)]
Modified the code to decouple the progress bar from gaussian blur algorithm, brain extraction algorithm and ANALYZE file opening.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@926 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agofixed some scripting issues
NIH\linkb [Fri, 18 Aug 2006 14:42:24 +0000 (14:42 +0000)]
fixed some scripting issues

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@925 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agochanged constructor for JDialogDirectResample (for scripting)
NIH\linkb [Thu, 17 Aug 2006 21:19:22 +0000 (21:19 +0000)]
changed constructor for JDialogDirectResample (for scripting)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@924 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded scripting ability
NIH\linkb [Thu, 17 Aug 2006 21:18:49 +0000 (21:18 +0000)]
added scripting ability

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@923 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscripting changes
NIH\linkb [Tue, 15 Aug 2006 14:32:30 +0000 (14:32 +0000)]
scripting changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@916 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Mon, 14 Aug 2006 21:19:30 +0000 (21:19 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@913 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Mon, 14 Aug 2006 19:46:14 +0000 (19:46 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@910 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Removed unneeded calls to computeElapsedTime(). Also changed getElapsedTime()...
NIH\mccreedy [Mon, 14 Aug 2006 19:45:56 +0000 (19:45 +0000)]
- Removed unneeded calls to computeElapsedTime().  Also changed getElapsedTime() to calc the time if it hasn't been done already.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@909 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Use new JDialogRegistrationBSpline method without VUI passed in.
NIH\mccreedy [Mon, 14 Aug 2006 19:44:51 +0000 (19:44 +0000)]
- Use new JDialogRegistrationBSpline method without VUI passed in.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@908 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoConverted to new scripting system.
NIH\mccreedy [Mon, 14 Aug 2006 14:34:19 +0000 (14:34 +0000)]
Converted to new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@907 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agountested... scripting change
NIH\linkb [Fri, 11 Aug 2006 20:39:21 +0000 (20:39 +0000)]
untested... scripting change

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@903 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Fri, 4 Aug 2006 15:20:35 +0000 (15:20 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@861 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Thu, 3 Aug 2006 19:02:48 +0000 (19:02 +0000)]
- Converted more dialogs over to the new scripting system.
- Removed SRB plugins (they are now regular parts of mipav).
- Commented out scripting code in JDialogDicomOrder and JDialogIteratedBlindDeconvolution.  They are no longer used and should probably be removed.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@854 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system. A couple of other classes...
NIH\mccreedy [Thu, 3 Aug 2006 18:10:02 +0000 (18:10 +0000)]
- Converted more dialogs over to the new scripting system.  A couple of other classes had to be changed to use new dialog constructors after the VUI ones were cleaned up.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@853 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Wed, 2 Aug 2006 19:02:13 +0000 (19:02 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@850 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Wed, 2 Aug 2006 18:58:24 +0000 (18:58 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@849 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Wed, 2 Aug 2006 17:47:52 +0000 (17:47 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@848 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscripting changes
NIH\linkb [Tue, 1 Aug 2006 19:55:33 +0000 (19:55 +0000)]
scripting changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@845 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscripting changes
NIH\linkb [Tue, 1 Aug 2006 19:09:04 +0000 (19:09 +0000)]
scripting changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@844 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs over to the new scripting system.
NIH\mccreedy [Tue, 1 Aug 2006 19:00:01 +0000 (19:00 +0000)]
- Converted more dialogs over to the new scripting system.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@843 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscripting changes
NIH\linkb [Tue, 1 Aug 2006 17:13:20 +0000 (17:13 +0000)]
scripting changes

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@842 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscripting updates
NIH\linkb [Mon, 31 Jul 2006 21:30:14 +0000 (21:30 +0000)]
scripting updates

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@839 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded getAsDoubleArray()
NIH\linkb [Mon, 31 Jul 2006 21:25:03 +0000 (21:25 +0000)]
added getAsDoubleArray()

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@838 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converting more dialogs over to the new scripting system.
NIH\mccreedy [Mon, 31 Jul 2006 19:21:04 +0000 (19:21 +0000)]
- Converting more dialogs over to the new scripting system.

- Changed GaussianBlur's dialog defaults string to make a little more sense.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@837 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoscript stuff
NIH\linkb [Mon, 31 Jul 2006 17:35:36 +0000 (17:35 +0000)]
script stuff

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@836 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoupdate for scripting
NIH\linkb [Mon, 31 Jul 2006 17:21:59 +0000 (17:21 +0000)]
update for scripting

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@834 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agochanges for new scripting
NIH\linkb [Mon, 31 Jul 2006 16:35:20 +0000 (16:35 +0000)]
changes for new scripting

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@833 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoadded one line for scripting (storeOutputImageParameters()...)
NIH\linkb [Mon, 31 Jul 2006 16:18:07 +0000 (16:18 +0000)]
added one line for scripting (storeOutputImageParameters()...)

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@832 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoupdated for new scripting
NIH\linkb [Mon, 31 Jul 2006 15:51:27 +0000 (15:51 +0000)]
updated for new scripting

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@831 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agochange for new scripting
NIH\linkb [Mon, 31 Jul 2006 15:50:54 +0000 (15:50 +0000)]
change for new scripting

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@830 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agosome comment changes.
NIH\mccreedy [Thu, 27 Jul 2006 18:43:27 +0000 (18:43 +0000)]
some comment changes.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@818 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Converted more dialogs to the new scripting system.
NIH\mccreedy [Thu, 27 Jul 2006 18:23:29 +0000 (18:23 +0000)]
- Converted more dialogs to the new scripting system.
- Added a method to JPanelAlgorithmOutputOptions to enable/disable the new/replace image radio buttons.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@817 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoFixed a debugging message that was outputting in the wrong situations.
NIH\mccreedy [Thu, 27 Jul 2006 17:27:53 +0000 (17:27 +0000)]
Fixed a debugging message that was outputting in the wrong situations.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@816 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- OpenVOI actions should now work (when specified from the run script dialog, not...
NIH\mccreedy [Thu, 27 Jul 2006 17:16:58 +0000 (17:16 +0000)]
- OpenVOI actions should now work (when specified from the run script dialog, not tested yet from the command line).
- Added mechanisms to get paths specified for VOIs specified by the user to OpenVOI actions.
- Removed filePath vars that Nathan added to ModelImage, since they duplicate existing vars in FileInfoBase.
- Lots of clean up for the run script dialog.  Opening images from disk and specifying vois now works.  More clean up is probably needed.  Testing needed: vois already open in images, vois opened by default when image is opened, and saving/loading of xml files representing the images/vois selected to use with a particular script.
- FileImageXML now saves the .xml file in its FileInfo.fileName instead of the .raw file.  Keeping the .raw file there caused problems when we try to open the image up again or save it and is confusing.  Note, however, that this probably breaks a bunch of things that I am not aware of and needs lots of testing...

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@815 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Fixed some of the algorithm dialogs that I did earlier.
NIH\mccreedy [Thu, 27 Jul 2006 17:03:54 +0000 (17:03 +0000)]
- Fixed some of the algorithm dialogs that I did earlier.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@814 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Changed more dialogs over to the new scripting system.
NIH\mccreedy [Tue, 25 Jul 2006 14:44:12 +0000 (14:44 +0000)]
- Changed more dialogs over to the new scripting system.
- Added some methods to AlgorithmParameters.
- Switched some dialogs to use some of the common component classes I made earlier.
- Removed some unneeded constructors.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@813 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Added stripExtension() method to FileUtility. Cleaned up the rest of the class...
NIH\mccreedy [Fri, 21 Jul 2006 17:44:02 +0000 (17:44 +0000)]
- Added stripExtension() method to FileUtility.  Cleaned up the rest of the class a little bit too.
- Changing the output file of a SaveImageAs action with -o now works (implementation may still change slightly).
- Fixed a bug introduced when I removed ParameterVariable.
- ParameterTable.containsParameter() now checks both the paramTable and the VariableTable.
- Overriding of parameters extracted from the ParameterTable with values from the VariableTable now works.
- Removed ParameterTable.get(), which wasn't really used.  Added getImageParameter() method, used by the parser to get the list of required image variable placeholders.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@810 ba61647d-9d00-f842-95cd-605cb4296b96

12 years ago- Removed ParameterVariable. Now every (non-image) parameter can be overridden throu...
NIH\mccreedy [Fri, 21 Jul 2006 14:29:37 +0000 (14:29 +0000)]
- Removed ParameterVariable.  Now every (non-image) parameter can be overridden through the parameter table (not fully implemented yet).

- SaveImage and SaveImageAs script actions should now work.
- In the process of changing how support for the -o image saving command line option is handled.

- Support parsing of parameter labels containing $ (not really used anymore, since ParameterVariable has been removed).

- Renamed/changed ParameterFactory methods to try to differentiate between methods used by the script parser to create parameters and those used by ScriptableActionInterface inheritors saving their parameters.

- Made FileIO.getSuffix(int fileType) a static final method.

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@809 ba61647d-9d00-f842-95cd-605cb4296b96

12 years agoUpdated to new scripting design, extending Scriping Dialog and overriding storeParams...
NIH\pollackn [Fri, 21 Jul 2006 14:05:50 +0000 (14:05 +0000)]
Updated to new scripting design, extending Scriping Dialog and overriding storeParamsFromGUI() , setGUIFromParams(), and doPostAlgorithmActions()

git-svn-id: https://citdcbmipav.cit.nih.gov/repos-pub/mipav/branches/scripting@808 ba61647d-9d00-f842-95cd-605cb4296b96