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:†
numDim | The number of dimensions for the data(=4 for the default). |
dim | The number of data points in each dimension. |
dataType | The data type. There are five data types supported as given with their corresponding sizes in Table (=REAL for the default) |
Attribute Values | Size | Bytes | Data Range |
BYTE | sizeof(unsigned char) | 1 | 0~255 |
WORD | sizeof(short) | 2 | -32768 ~ +32767 |
UWORD* | sizeof(unsigned short) | 2 | 0 ~ 65535 |
LWORD | sizeof(int) | 4 | -2147483648 ~ +2147483647 |
REAL | sizeof(float) | 4 | +10SUP{-37}~ +10SUP{38} |
COMPLEX | 2*sizeof(float) | 8 | |
ASCII* | | | |
'ASCII' and 'UWORD' are supported by view2d/3d.
Optional parameters:†
origin | Position 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 |
fov | Field 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 |
interval | The 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 |
sdtOrient | Orientation of data(ax,cor,sag,NULL,xyz,xzy,yxz,yzx,zxy,zyx) |
displayRange | Two 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. |
Real2WordScale | Scale factor for REAL(float) to WORD(short) conversion |
zPosn | ??? |
fidName | fid file name as the data source |
RIKEN original parameters†
endian | Endian type of the sdt data |
ncoil | Number of the receiver coils |
R | Acceleration factor |
petable | petable file name |
view | view2d parameters(nrow,ncolumn,slice offset,volume offset) |
Only for epr†
intlv | shot interleaving(y or n) |
ilts | shot combination for group-of-shot interleaving |
ss | steady state volume scan number(dummy volumes) |
Rotate | The data needs to be rotated or not(y or n) |
tsns | shot order for t-sense |
slice_order | slice order indexes which start from zero |
Examples†
- A minimal ``.spr'' example:
dim: 64 64 27 110
- 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