
The sliders in the center of the menu let you quickly select a range of images. You can select (or unselect) any combination of images. The menu for PET multi-plane, multi-frame image set will look like:Įvery image in the data set is represented by a check-box. Depending on the type of image, a menu may pop up to let you select which images you want to load. For instance, the GE/Advance PET menu looks like:Ĭlicking on "Continue, Load Image(s)" pops up a browser that lets you select an image file. You may select an alternate file type from the dropdown menu in the upper left. Most of these steps are transparent or at least ignorable to the user. The general read process can be seen in a diagram.

There are a number of image-read programs, all of which funnel the image data into "img_arr". (For non-IDL'ers, this is a type of global environment variable.) All of the Spamalize programs can access "img_arr" through a common variable structure. When you write an image file, it is the contents of "img_arr" that get written.When you flip your data left/write. Whenever you read in a new image file, it gets stored there. The image data are stored in an array called (drum roll, please) "img_arr".
#Mainmenu pro manual
Some of the programs in the older part of Spamalize are becoming obsolete, but a few of them still have some dedicated users, so this page is a sort of reference manual for them. This may be routine now, but back when Spamalize was first developed (early 1990's) the ability to combine multiple image sets in the same environment was pretty cool. Things like display, drawing, scaling, flipping, writing, etc. The basic idea behind Spamalize is that you can read image data into a single array, store it in memory, and do things to it. You will need to add a new label to the menu, and also make sure to add a new call for your program in the event-handler.
#Mainmenu pro how to
(For more information on the menu features and how to use them, see the Spamalize MainMenu page.) If you add a new program, edit SPW_MAINMENU.PRO to add the program to the menu. The first five buttons are pull-down menus. All of the programs are accessed through the main menu, which looks like this: This section concentrates on the latter, since there are already web-pages devoted to most of the more mature self-standing programs. There are two main types of programs in Spamalize:ġ) Mature programs that perform an image analysis or display task, like BrainMaker or BrainSpinner Ģ) All the others, that let you take a more modular approach to image processing. If you make a nifty addition, please tell me about it ( troakes - at - ) so I can include it for others to use.

#Mainmenu pro code
Alternately, you could also plug your code into Spamalize's framework (it's easy!) and save a lot of work. The bulk of this page is devoted to the nuts and bolts of Spamalize, so you can figure out how to steal pieces of Spamalize code to include in your own IDL application. The GUI helps to set up parameters, but most of the programs can be called without the GUI, e.g. Most of the Spamalize routines involve (1) a Graphical User Interface (GUI) that displays parameters, options, and images, and (2) some programs that actually do the work.

There are also several tutorials available for IDL programming in general. This page contains an introduction to programming in IDL, in the style that is embodied by Spamalize. IDL programming tips Spamalize/IDL Programming Tips
