Class SetFMModule
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Window
|
+----java.awt.Dialog
|
+----framework.awt.InteractiveModuleDialog
|
+----SetFMModule
- class SetFMModule
- extends InteractiveModuleDialog
- implements Modulable
A module that allows the user to manually set the feature maps.
-
helpViewer
- Help dialog.
-
image
- Picture that is shown in display dialog.
-
inputFM
- The input feature map data.
-
moduleStopped
- Status of the module.
-
observable
- The observable object, or "data" in the model-view paradigm.
-
outputFM
- The output feature map data.
-
SetFMModule()
- Create the InteractiveModuleDialog with title and the specified
buttons.
-
continueButtonPressed()
- When the continue button is pressed the running process of the network
that was suspended will be continues.
-
defaultButtonPressed()
- When the default button is pressed the feature maps will 'reset' to
default feature values.
-
getFM()
- Get the feature map.
-
getImage()
- Get the picture.
-
helpButtonPressed()
- When the help button is pressed a help dialog appears containing
help for this module.
-
main(String[])
-
-
reloadButtonPressed()
- When the reload button is pressed the feature maps of the input data
will be 'reloaded' to the current feature maps.
-
run(DataStore, DataStore, ParameterStore)
- The input feature maps are copied to the output feature maps (input
data may not be changed).
-
setFM(Image, FM, FM)
- The feature maps may be set manually.
-
stopButtonPressed()
- When the stop button is pressed the running process of the network
will be stopped.
moduleStopped
private boolean moduleStopped
- Status of the module. When the user presses the stop button, the module
is not succesfully completed and therefor will return false.
inputFM
private FM inputFM
- The input feature map data.
- See Also:
- FM
outputFM
private FM outputFM
- The output feature map data.
- See Also:
- FM
image
Image image
- Picture that is shown in display dialog.
helpViewer
private HelpViewerDialog helpViewer
- Help dialog.
observable
private FMObservable observable
- The observable object, or "data" in the model-view paradigm. It
represents the object that the application wants to have observed.
SetFMModule
SetFMModule()
- Create the InteractiveModuleDialog with title and the specified
buttons.
- See Also:
- InteractiveModuleDialog
getFM
public FM getFM()
- Get the feature map.
getImage
public Image getImage()
- Get the picture.
run
public boolean run(DataStore input,
DataStore output,
ParameterStore parameters)
- The input feature maps are copied to the output feature maps (input
data may not be changed). In the setFM method the new feature maps
may be (manually) set.
- See Also:
- setFM
setFM
private boolean setFM(Image image,
FM inputFM,
FM outputFM)
- The feature maps may be set manually. A graphical screen containing
the picture is used to set the feature boxes. The boxes can be
dragged to the right positions. When everything's ok the continue
button may be pressed to resume running.
helpButtonPressed
public void helpButtonPressed()
- When the help button is pressed a help dialog appears containing
help for this module.
- Overrides:
- helpButtonPressed in class InteractiveModuleDialog
reloadButtonPressed
public void reloadButtonPressed()
- When the reload button is pressed the feature maps of the input data
will be 'reloaded' to the current feature maps.
- Overrides:
- reloadButtonPressed in class InteractiveModuleDialog
defaultButtonPressed
public void defaultButtonPressed()
- When the default button is pressed the feature maps will 'reset' to
default feature values. These values are independent of the current
picture and serve as (meta) global position of the features.
- Overrides:
- defaultButtonPressed in class InteractiveModuleDialog
stopButtonPressed
public void stopButtonPressed()
- When the stop button is pressed the running process of the network
will be stopped.
- Overrides:
- stopButtonPressed in class InteractiveModuleDialog
continueButtonPressed
public void continueButtonPressed()
- When the continue button is pressed the running process of the network
that was suspended will be continues.
- Overrides:
- continueButtonPressed in class InteractiveModuleDialog
main
public static void main(String s[])