Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
r03ert0 authored Mar 14, 2017
1 parent ed57aab commit 444821e
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,26 @@
volume
======

tool to work with volume data
A command-line tool to work with volume data.

<table>
<tr><td>-i str</td> <td>input volume</td></tr>
<tr><td>-o str</td> <td>output volume</td></tr>
<tr><td>-selectVolume int</td> <td>selects the n-th volume in a nifti file with many volumes </td></tr>
<tr><td>-largest6con</td> <td>largest 6 connected component</td></tr>
<tr><td>-dilate int</td> <td>dilate(size)</td></tr>
<tr><td>-erode int</td> <td>erode(size)</td></tr>
<tr><td>-compress float str</td> <td>cosinus transform compress rate coeff_file</td></tr>
<tr><td>-hist int</td> <td>hist(#bins)</td></tr>
<tr><td>-matchHist str</td> <td>matchHistogram(another_mri)</td></tr>
<tr><td>-stats</td> <td>stats, returns mean, std, min, max</td></tr>
<tr><td>-tiff str str str float</td> <td>write slice as tiff file. Args: path, cmap, ori {x, y, z}, slice</td></tr>
<tr><td>-info</td> <td>information: dimensions, data type, pixel size</td></tr>
<tr><td>-threshold float int</td> <td>threshold(level,direction)</td></tr>
<tr><td>-volume</td> <td>calculate volume</td></tr>
<tr><td>-zigzag</td> <td>print volume values in zigzag order</td></tr>
<tr><td>-decompose str</td> <td>decompose(basename) a volume with many values into volumes with one single value</td></tr>
<tr><td>-strokeMesh str</td> <td>set the vertices of the mesh (text format) at input path to value=max+1</td></tr>
<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>
<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>
</table>

0 comments on commit 444821e

Please sign in to comment.