-
Notifications
You must be signed in to change notification settings - Fork 1
MASK FILE DESCRIPTION
Petr Neduchal edited this page Mar 6, 2014
·
5 revisions
Masks can be saved in JSON based files.
Example :
{ "mask" : {
"type" : "2D" or "3D",
"size" : [x, y] or [x,y,z],
"pointsNum" : number of points around center in mask,
"points" : [vector of pixels/voxels numbers],
"coefs" : [vector of mask coeficients],
"center" : [number of center pixel or voxel]
}
-
We assume that the first pixel/voxel of data has number 0. Than every other pixel/voxel we can obtain by :
number = floor(j) + floor(k)*width + floor(l)*width*height
where width and height is the size of processing data and j,k,l are points on sphere or circle of the mask. For more info please look to
octave_utils/maskGenerator
-
There are more points to one pixel/voxel size area in mask. The sum of coeficients of this area have to equals one.
-
There are 8 points in area for 3D MASK and 4 points for 2D MASK
-
2D MASK can't be used in MAIN module at this time, but we are working on it.