Interactive Dialogs  
Top  Previous  Next


A number image processing functions in ImageWarp are designed for the interactive work with images. These functions utilize interactive dialogs with which you can specify options and parameters for a selected function. A typical example of an interactive dialog is the Threshold dialog accessible through the Processing menu. Interactive dialogs inherit most of their behavior from the Functional dialogs
, but they do not include a miniaturized Preview. Instead, ImageWarp displays a full size preview directly in the Input image frame, as you change the options in a dialog. Some interactive dialogs allow you to modify the parameters of the function by selecting an area or object of interest in the Input image. The interactive dialogs are non-modal, which means that you can continue working with other ImageWarp's interface elements while a dialog is displayed. It will however block the Input frame from being used by any other function. Unlike the functional dialogs which serve as interface wrappers for the corresponding processing functions, the interactive dialogs are an integral part of their functions and they can be opened via the related script commands.

An Interactive dialog can be set to one of the following Modes:

Dialog
 
Use this mode to change the parameters of the function using the dialog controls. If you record the corresponding command to the script, the Mode parameter of the function will be set to M_DIALOG. When such a script command is executed later, it will open the corresponding interactive dialog with all the options set to the values of the parameters from the script command.  
 
Mouse
 
Use this mode to change the main parameters of the function using the mouse movement and keyboard commands. Each interactive dialog contains one or several sliders that control major parameters of the corresponding function. In the Mouse mode those sliders are linked to the horizontal and vertical moves of the mouse. Some functions also use the mouse wheel. Keystrokes can be used to switch between the sliders if there are too many of them. If you record the corresponding command to the script, the Mode parameter of the function will be set to M_MOUSE. When such a script command is executed later, it will activate the Mouse mode without displaying the corresponding dialog. This provides you with a fast and convenient way to interactively adjust the parameters of the function and execute it upon pressing the right mouse button.  
 
Preset
 
If this mode is selected in the dialog, it will expose the same behavior as the Dialog mode. However if you record the corresponding command to the script, the Mode parameter of the function will be set to M_AUTO. When such a script command is executed later, it will immediately apply the corresponding function with the preset parameters to the Input image without entering any interactive mode.  
.  
All the interactive functions have the Input and Output options as their first parameters. The Input field lets you enter the frame number of the image to which you want to apply the operation. This frame is also used to display the full size preview of the function result. When you open the dialog or select a new function, the Input field will be set to the number of the active image frame. The Output filed lets you enter the number of the frame in which the resulting image will be created. The default value of it depends on the Output to the same frame option in the Preferences
If this option is selected, ImageWarp will set it to the active image frame number, offering you to output the result to the same frame the Input image is located in. If the option is unselected, the value of the Output filed will be set to the first frame number not yet opened in the workspace, offering you to create the resulting image in a new frame.

In addition to standard Windows controls, the interactive dialogs can contain non-standard graphic elements, like histogram displays
or intensity rulers which allow for the extended control of the parameters being interactively adjusted.