History of STIMULATE (No. 10)


FrontPage

Manual>

Mask making

Making mask by using "Stimulate"

After motion correction,
1. Average volumes[ave_vol]
2. Load averaged data(with some smoothing)
3. Draw ROI on the images
4. "Generate mask"

thresholding,connected voxel counting
Adjust the parameters

Delete or Add mask manually
1. Draw ROI on the images
2. "Genarete mask"

spr(epr) file format

Basic paramters:

numDimThe number of dimensions for the data(=4 for the default).
dimThe number of data points in each dimension.
dataTypeThe data type. There are five data types supported as given with their corresponding sizes in Table (=REAL for the default)


Attribute ValuesSizeBytesData Range
BYTEsizeof(unsigned char)10~255
WORDsizeof(short)2-32768 ~ +32767
UWORD*sizeof(unsigned short)20 ~ 65535
LWORDsizeof(int)4-2147483648 ~ +2147483647
REALsizeof(float)4+10SUP{-37}~ +10SUP{38}
COMPLEX2*sizeof(float)8
ASCII*

'ASCII' and 'UWORD' are supported by view2d/3d.

Optional parameters:

originPosition of the center of the first voxel. One value for each dimension. If the origin is not specified, but the fov is, then the image is assumed to be centered: origin = - fov / 2.0 + interval / 2.0
fovField of view: The distance between the outside edges of the first and last voxel along each dimension; one value for each dimension. If the fov is not specified it is calculated according to: fov = interval * dim
intervalThe center to center distance between adjacent voxels along each dimension; one value for each dimension. If the interval is not specified it is calculated according to: interval = fov / dim
sdtOrientOrientation of data(ax,cor,sag,NULL,xyz,xzy,yxz,yzx,zxy,zyx)
displayRangeTwo values giving the low_value and high_value. Voxel values below the low_value will be displayed as black and voxels with values above the high_value will be displayed as white. Voxels with values within the display range are displayed with a grey value that is scaled linearly between the low_value and high_value.
Real2WordScaleScale factor for REAL(float) to WORD(short) conversion
zPosn???
fidNamefid file name as the data source

RIKEN original parameters

endianEndian type of the sdt data
ncoilNumber of the receiver coils
RAcceleration factor
petablepetable file name
viewview2d parameters(nrow,ncolumn,slice offset,volume offset)

Only for epr

intlvshot interleaving(y or n)
iltsshot combination for group-of-shot interleaving
sssteady state volume scan number(dummy volumes)
RotateThe data needs to be rotated or not(y or n)
tsnsshot order for t-sense

Examples

  • A typical stimulate ``.spr'' example:
    numDim: 		 4
    dim: 128 128 20 150
    origin: -10.000000 -10.000000 0.000000 0.000000
    fov: 20.000000 20.000000 2.000000 15.000000
    interval: 0.156250 0.156250 1.000000 1.000000
    dataType: REAL
    displayRange: 0.000000 347.904358
    fidName: stimFid.sdt
    sdtOrient: sag
  • A minimal ``.spr'' example:
    dim: 64 64 27 110
  • A small ``.spr'' example:
    numDim: 4
    dim: 64 64 27 110
    dataType: REAL
  • A ``.epr'' example:
    numDim: 4
    dim: 64 64 40 628
    origin: -9.4500008 -9.4500008 -12.73260 0.000000
    extent: 9.4500008 9.4500008 -1.032596 627.0000
    fov: 19.20000 19.20000 12.00001 628.0000
    interval: 0.3000000 0.3000000 0.3000002 1.000000
    dataType: REAL
    fidName:run1.fid
    sdtOrient:NULL
    intlv:y
    ilts: 1
    Rotate:y
    endian:ieee-be
    ncoil: 4
    R: 1
    ss: 3
    tsns: 2 1
  • A ``ASCII data'' example:
    >%more asc5.spr
    numDim: 4
    dim: 5 5 5 1
    dataType: ASCII
>% more asc5.sdt
#Sample ASCII sdt file
#---Slice 1---
1 2 3 4 5
6 7 8 9 10
11 12 13 14 15
16 17 18 19 20
21 22 23 24 25

#---Slice 2---
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0
0 0 0 0 0

#---Slice 3---
13 13 13 13 13
13 13 13 13 13
13 13 13 13 13
13 13 13 13 13
13 13 13 13 13

#---Slice 4---
25 25 25 25 25
25 25 25 25 25
25 25 25 25 25
25 25 25 25 25
25 25 25 25 25

#---Slice 5---
25 0 25 0 25
0 25 0 25 0
25 0 25 0 25
0 25 0 25 0
25 0 25 0 25 

#EOF