svn co https://svn.janelia.org/penglab/projects/vaa3d_tools/released_plugins/v3d_plugins/gsdt
Usage : v3d -x gsdt -f gsdt -i <inimg_file> -o <outimg_file> -p <bkg_thresh_value> <cnn_type> <channel> <z_thickness>
bkg_thresh_value the background threshold value, default 0 and maximum 255
cnn_type connection type, 1 : 6 neighbors, 2 : 18 neighbors, 3 : 26 neighbors
channel the input channel value. 0 for red channel, 1 for green channel, 2 for blue channel
z_thickness the thickness of z axis (double)
e.g. v3d -x gsdt -f gsdt -i input.raw -o output.raw -p 0 1 0 1.0