You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<tr><td>-new</td> <td>create a new volume with dimx,dimy,dimz,pixx,pixy,pixz,offx,offy,offz</td></tr>
21
22
<tr><td>-zigzag</td> <td>print volume values in zigzag order</td></tr>
22
23
<tr><td>-decompose str</td> <td>decompose(basename) a volume with many values into volumes with one single value</td></tr>
23
-
<tr><td>-strokeMesh str</td> <td>set the vertices of the mesh (text format) at input path to value=max+1</td></tr>
24
+
<tr><td>-strokeMesh str</td> <td>set the surface of the mesh (text format) at input path to value=max+1; mesh needs to be in voxel coordinates</td></tr>
24
25
<tr><td>-surfaceNets level path</td> <td>extract isosurface from the volume at the indicated level using the surface nets algorithm, save at the indicated path</td></tr>
25
26
<tr><td> -sampleMesh str1 str2</td> <td>sampleMesh(mesh_path, result_path) save the volume values at the vertices of the mesh pointed by the file path to the result path</td></tr>
if (getValue2(mask_i,mask_hdr, mask_img)!=0 ){ //masking
2580
2581
fprintf(f, "%f ",getValue(i, j, k));
@@ -2883,10 +2884,11 @@ void xor(char *path)
2883
2884
-info information: dimensions, data type, pixel size
2884
2885
-threshold float,int threshold(level,direction)
2885
2886
-volume calculate volume
2887
+
-new create a new volume with dimx,dimy,dimz,pixx,pixy,pixz,offx,offy,offz
2886
2888
-zigzag print volume values in zigzag order
2887
2889
-decompose str decompose(basename) a volume with many values into volumes with one single value
2888
2890
-resize int,int,int resize the volume to the new dimensions x, y, z. The original volume is kept at the center
2889
-
-strokeMesh str set the vertices of the mesh (text format) at input path to value=max+1
2891
+
-strokeMesh str set the surface of the mesh (text format) at input path to value=max+1; the mesh needs to be in voxel coordinates; (you need to either provide an empty volume or stroke the mesh over the MRI that the segmentation used for mesh extraction had been created on)
2890
2892
-surfaceNets level,path extract isosurface from the volume at the indicated level using the surface nets algorithm, save at the indicated path
2891
2893
-sampleMesh str1 str2 sampleMesh(mesh_path, result_path) save the volume values at the vertices of the mesh pointed by the file path to the result path
2892
2894
*/
@@ -3151,7 +3153,8 @@ int main (int argc, const char * argv[])
0 commit comments