What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-11-18 21:46:13
fsl cluster
#!/bin/sh # The following examples are used for evaluating binary manual lesion masks # to identify freckles that should be removed. # Define the connectivity number in terms of # the way the voxels touch each other (faces, edges, corners): # 6 is ha... Add solution -
Shell/Bash 2021-08-30 20:10:02
fslmaths erode
# FSL: fsl dilate or fsl erode: # Kernel operations (set BEFORE filtering operation if desired): # -kernel 3D : 3x3x3 box centered on target voxel (set as default kernel) # -kernel 2D : 3x3x1 box centered on target voxel # Spatial Filtering operations:... Add solution -
Shell/Bash 2021-08-30 13:28:02
fsl scale
#!/bin/sh if [ $# -lt 1 ] ; then echo "Usage: $0 <filename>" ; exit 1 ; fi img=$(remove_ext ${1}) min=$(fslstats ${img} -R | awk '{ print $1 }') max=$(fslstats ${img} -R | awk '{ print $2 }') scaling=$(echo "scale=5; 255.0 / (... Add solution -
Shell/Bash 2021-08-28 02:08:01
fslmaths erosion
# FSL: fsl dilate or fsl erode: # Kernel operations (set BEFORE filtering operation if desired): # -kernel 3D : 3x3x3 box centered on target voxel (set as default kernel) # -kernel 2D : 3x3x1 box centered on target voxel # Spatial Filtering operations:... Add solution -
Shell/Bash 2021-08-27 02:51:01
fslmaths dilation
# FSL: fsl dilate or fsl erode: # Kernel operations (set BEFORE filtering operation if desired): # -kernel 3D : 3x3x3 box centered on target voxel (set as default kernel) # -kernel 2D : 3x3x1 box centered on target voxel # Spatial Filtering operations:... Add solution -
Shell/Bash 2021-08-26 10:45:02
fsl stats
#!/bin/sh if [ $# -lt 1 ] ; then echo "Usage: $0 <filename>" ; exit 1 ; fi img=$(remove_ext ${1}) min=$(fslstats ${img} -R | awk '{ print $1 }') max=$(fslstats ${img} -R | awk '{ print $2 }') scaling=$(echo "scale=5; 255.0 / (... Add solution
Best helpers
+10
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5
+5