[Master Index]
[Index for Courses]
alphacontrol
(ee2200/alphacontrol.m)
Help text
Alpha Control Panel / EE2200ts Demonstration / EE2200
Craig Ulmer / gt7667a at prism.gatech.edu / ulmer at eedsp.gatech.edu
NOTE:
The following variables are manipulated by this script. The user
should create these images before the script is run.
xx = Original source Picture
xxa = Picture that has been run through filter A
xxb = Picture that has been run through filter B
This script will allow the user to select what percentage of filters
A and B should be used to generate an output. The following equation
determines the percentages for the output.
100 x (1 - Alpha) = Percent due to filter A
100 x Alpha = Percent due to filter B
Initially, a window is opened with the following options.
Alpha - A slider bar to determine the variable Alpha
Make New Plots - Generates new plots based on the slected alpha
Print - Draw the current alpha, and send to printer
Allow Multiple Displays - When unchecked, will only generate
one output window(The script will revise the window
each time a Make New Plots is selected. When Checked,
this script will generate a new window each time Make
New Plots is pressed, allowing for multiple alpha
plots to be displayed at once
Quit - Quits the script, clearing out all variables called by
this script. Note that figure windows are NOT killed,
allowing the user to keep what he or she has plotted.
The Alpha Control Panel generates a window with the results of the stages
of the system. Input, Filter A, Filter B, and Output are all plotted.
Note that the Input and Output are SCALED in color, such as in the
"Show_img" function. The pictures for Filter A and Filter B are NOT
scaled, resulting in true image representations. (If the Filter A and
Filter B images WERE scaled, then they would remain constant for all
alpha. The purpose is to see what the pictures look like at different
percentages of intensity).
BUGS:
Currently, if the user closes the ouput window with the window
close button, the alpha control pannel will try plotting to
a window that is not open. The result is a script failure. The
script needs to check to make sure the window is still there
before plotting(using some error detection). To avoid this, simply
instruct the user not to close the Plots Window until finished with
this script.
Cross-Reference Information
This calls
- axes /tools/hpmatlab/toolbox/matlab/graphics/axes.m
- axis /tools/hpmatlab/toolbox/matlab/graphics/axis.m
- clear /tools/hpmatlab/toolbox/matlab/general/clear.m
- delete /tools/hpmatlab/toolbox/matlab/general/delete.m
- else /tools/hpmatlab/toolbox/matlab/lang/else.m
- end /tools/hpmatlab/toolbox/matlab/lang/end.m
- figure /tools/hpmatlab/toolbox/matlab/graphics/figure.m
- for /tools/hpmatlab/toolbox/matlab/lang/for.m
- get /tools/hpmatlab/toolbox/matlab/graphics/get.m
- if /tools/hpmatlab/toolbox/matlab/lang/if.m
- image /tools/hpmatlab/toolbox/matlab/graphics/image.m
- max /tools/hpmatlab/toolbox/matlab/datafun/max.m
- min /tools/hpmatlab/toolbox/matlab/datafun/min.m
- print /tools/hpmatlab/toolbox/matlab/graphics/print.m
- round /tools/hpmatlab/toolbox/matlab/elfun/round.m
- set /tools/hpmatlab/toolbox/matlab/graphics/set.m
- text /tools/hpmatlab/toolbox/matlab/plotxy/text.m
- uicontrol /tools/hpmatlab/toolbox/matlab/graphics/uicontrol.m
Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON