User Tools

Site Tools


jvs:fscan:manual:chapter2:resize

This is an old revision of the document!


fScan Reference Manual, Chapter 2 (CmdLineOptions): resize

Resize -- Expand or contract the size of a data set

usage:
-resize [flag] x0 y0 nx ny [name]
-resize [flag] x0 y0 z0 nx ny nz [name]
-resize [flag] x0 y0 z0 t0 nx ny nz nt [name]
-resize [flag] x0 y0 z0 t0 a0 nx ny nz nt na [name]
-resize [flag] x0 y0 z0 t0 a0 b0 nx ny nz nt na nb [name]
-resize AXIS offset size scale [AXIS2 offset2 size2 scale2] [name] -resize
-resize name
-resize 0

The RESIZE command creates a new data set of a specified size that contains part or all of the input data set.

If the command starts with an uneven number of numerical arguments, the first argument is treated as a FLAG value. 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.

RESIZE dimensions can also be specified using the “AXIS offset size scale” format, where AXIS is a single character from the list “x,y,z,t,a,b” specifying which axis is being resized. OFFSET and SIZE are integers indicating the voxel offset and number of voxels to resize along that axis. The SCALE parameter is a magnification factor, indicating the size of an individual voxel along that axis, relative to the current size. By default, OFFSET is 0, SIZE is the current size, and SCALE is 1.0.

If the last argument is a text string, the resize name parameter is set to that string.

With no argumants, the current active block ROI is used to set the data set's resize parameters. If there is no active block ROI, this command is ignored.

With a single argument of 0, the data's resize parameters are reset to the full data set.

jvs/fscan/manual/chapter2/resize.1407168181.txt.gz · Last modified: 2017/07/13 20:35 (external edit)