-------------------------------------------
function: norm_allslices <dir:0=PA,1=IS,2=LR>
-------------------------------------------
keyboard equivalent: <none>

The APPLY button does a piecewise linear
normalization on all slices in the
editable/saveable buffer (im) using either:

  (1) current values lim's, ffrac's (dir=0
  is Post/Ant, dir=1 is Inf/Sup, dir=2 is
  Left/Right (radiological) (optional add'l
  image brightness-based contrast ramp by
  R-click on "PieceWiseLinNorm").


or, if "sph" is checked:

  (2) current value of "lim0" (radius) and
  "ffrac0" (correction factor of spherical
  ramp centered at most recent left-click
  location

To undo, alt/cmd-z in image window (or tools
window).  To test effect of either style of
correction without affecting the editable image,
use the TEST button instead
(norm_allslices_toim2, see its help).
