User Tools

Site Tools


fScan Reference Manual, Chapter 3 (KeyCmds:ImageKeys): adjust

Adjust -- Generate a series of images by adjusting one display parameter

usage: key,framesize,stepsize,nframes,frame0,flg A

The ADJUST command generates a new image series data set out of an existing data set, by creating multiple views of the original data set while varying one display parameter. The data set being adjusted can be either an image data set or a 3D surface data set. If it is an image data set, it must be in the single frame display mode (see Config) because only one frame can be adjusted at a time.

The arguments to the ADJUST command are:

KEY - which display parameter is to be manipulated

key=0  The most recent interactive adjustment mode -- move_key() 
    1   brightness 
    2   threshold 
    3   slice 
    4   timepoint 
    5   offset 
    6   scale 
    7   rotate 
    8   zoom 
    9   morph 
   10   contrast 
   11   color 
   12   transparency 
 The following values can be added to KEY   
  100   X axis 
  200   Y axis 
  300   Z axis 
 1000   Thumbnail flag -- combined with other modes 

FRAMESIZE - How big to make the width of new data set images (frame height will be adjusted to have the same aspect ratio as the input images)

framesize > 10 - desired framewidth in pixels (). 
         <= 10 - the ZOOMINDEX factor as: 
      Framesize    Scale factor 
          0             1 
          1            1.5 
          2             2 
          3             3 
          4             4 
         -1            2/3 
         -2            1/2 
         -3            1/3 
         -4            1/4 

STEPSIZE - how big is each frame adjustment step
NFRAMES - how many adjustment images to create
FRAME0 - which window frame to use as reference image
FLG - option flag (bit flag, combine options by adding values):

 flg: 1 - center adjustment:  1/2 the frames should be down and half up 
          (relative to frame0 starting value); frame0 will appear in middle  
          of adjustment list 
      2 - animate result 

Note: If an image INSET has been specified using the SET INSET command, then an image from the INSET data set will be inserted as an inset into each frame of the image series created by ADJUST.

See Also:
fScan Home,
fScan Manual,
Manual Help

jvs/fscan/manual/chapter3/imagekeys/adjust.txt · Last modified: 2014/08/04 16:03 (external edit)