6.2.2 Fill Piecewise Linear
The fill piecewise linear mapping function allows the user to
build a mapping with a piecewise linear fit from a set of
mapping pairs (or break points). This mapping is used in the
fill operation.
The mapping pairs are
a list of from values and a list of corresponding to values
(see below). The from values are a list of image values
specifying the input values at the break points, while
to values indicate the output values at the break points.
Values are calculated between each mapping pair entered.
The values are determined by the nearest integer to the line
drawn between each mapping pair.
- From:
- A slider (or scale widget) that allows the user to select the input
mapping values.
- To:
- A slider (or scale widget) that allows the user to select the output
mapping values.
- Set:
- Accept the currently selected from and to values as indicated by the
sliders. The new values are entered in the from and to
scrolled lists
at the appropriate position to maintain ascending order in the from
scrolled list.
- From List:
- A scrolled list of the currently selected input mapping values (from
values). Moving the scrollbar on this list automatically moves the
scrollbar on the To List to the corresponding position.
- To List:
- A scrolled list of the currently selected output mapping values (to
values). Moving the scrollbar on this list automatically moves the
scrollbar on the From List to the corresponding position.
- Clear:
- Remove all from and to values from the scrolled lists.
- Delete:
- Remove the currently selected from and to value pair from the corresponding
scrolled lists.
- OK:
- Close the piecewise linear mapping panel. The actual mapping is not
calculated until the user selectes Apply from the main fill
window.