|
I've only just noticed that the Process > Binary > Options window has a
dropdown with selectable actions if the image it was opened over is
binary, but that the dropdown is hidden if the image is not binary.
(The Action feature and Preview checkbox are not documented.)
This is not good UI. I think having the actions on the window is a good
thing, but at that point it no longer is an "options" window, it's
essentially a filter window, a more complex version of (e.g.) Gaussian Blur.
Furthermore, the "Do" feature is not readily discoverable. Disabling
rather than hiding would be better, but it needs to be clear why the
dropdown is disabled.
I'm assuming the reason to have an Options dialog plus four menu items
for the morph actions is for ease of recording and writing macros. If
this still needs to be supported, then obviously you want to share the
options UI between the interactive mode and the command-driven mode.
Here is my suggestion: under Process > Binary, replace the current five
menu options with this submenu:
Morphology >
Interactive...
--------------
Options...
Erode
Dilate
Open
Close
In this scheme, "Interactive" would open the dialog with the "Do" list
*and* "Preview" checkboxes visible, and the "EDM Output" *invisible*,
and a title like "Interactive Morphology"; while the "Options" would
open the dialog with "Do" and "Preview" not visible, "EDM Output"
visible, and the current title "Binary Options". Since ImageJ doesn't
disable menu items contextually, the "Interactive" item would need to
put up an error if the active image is not binary, just as the current
action menu-items do.
Finally, the Binary Options dialog should use a groupbox, labeled
"Morphology", to place the checkboxes with the Iterations & Count
fields, separate from the EDM Output selector (which doesn't apply to
morphology). Maybe a separate groupbox could contain the EDM Output
control with an appropriate label to make it clear which options it
*does* apply to. These groupboxes would be unnecessary in an
Interactive Morphology window, since the only visible options would
specific to morphology.
--
Mike Cowperthwaite
Lathrop Engineering, San Jose CA
|