User Tools

Site Tools


jvs:fscan:manual:chapter2:resize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
jvs:fscan:manual:chapter2:resize [2013/04/25 14:57]
voyvodic
jvs:fscan:manual:chapter2:resize [2023/02/23 18:43] (current)
Line 15: Line 15:
  
 If the command starts with an uneven number of numerical arguments, the first argument is treated as a FLAG value. If the command starts with an uneven number of numerical arguments, the first argument is treated as a FLAG value.
 +  FLAG: 0 - (default) fill new values with FILLVALUE (default FILLVALUE=0)
 +        1 - When expanding, at end of orig data start again at beginning
 +        2 - Same as 1 but add offset so that values match at transitions
 +        3 - When expanding, at end of data continue filling in reverse data order
 +        4 - compress time series by omitting "inactive" volumes (i.e., volumes for which the "active" flag is 0).
 +
 An even number of numerical arguments (after an optional FLAG argument) is assumed to be offset values, followed by length values for the axes X, Y, Z, T, A, B in that order. Missing ('-') origin (x0, y0, z0, t0, a0, b0) values are set to 0; missing or 0 size values (nx, ny, nz, nt, na, nb) are set to the maximum valid value for that dimension.  An even number of numerical arguments (after an optional FLAG argument) is assumed to be offset values, followed by length values for the axes X, Y, Z, T, A, B in that order. Missing ('-') origin (x0, y0, z0, t0, a0, b0) values are set to 0; missing or 0 size values (nx, ny, nz, nt, na, nb) are set to the maximum valid value for that dimension. 
  
Line 25: Line 31:
  
 With a single argument of 0, the data's resize parameters are reset to the full data set. With a single argument of 0, the data's resize parameters are reset to the full data set.
-===== =====+ 
 +NAME -- if the last argument is text it is used as the new data set name (this may be preceded by an optional "name" label.) If NAME is not specified, the new data set will have the same name as the input, with "_resize" appended. 
 +  
 +If any new dimension (including offset) is bigger than the original, then the data set is flagged as EXPANDING.  New values added will be set to FILLVALUE; by default, FILLVALUE is 0 but this can be changed by specifying the word "value" as a command argument followed by a number argument to be used as FILLVALUE.
  
 **See Also:**\\ **See Also:**\\
jvs/fscan/manual/chapter2/resize.1366901849.txt.gz · Last modified: 2014/08/04 16:03 (external edit)