forked from BRAINSia/BRAINSStandAlone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlocal_generate_classes.py
134 lines (130 loc) · 3.75 KB
/
local_generate_classes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
## \author Hans J. Johnson
## This file contains the code necessary to build the python module
## nodes for SEM compliant tools
##
## NOTES ON HOW TO RUN THIS.
# build wiht all options turned on (even the non-default options)
# export PATH=~/src/BSA-clang31/bin:${PATH}
# export PYTHONPATH=~/src/BSA-clang31/NIPYPE
# cd ~/src/BRAINSStandAlone/AutoWorkup/SEMTools/; rm -rf ~/src/BRAINSStandAlone/AutoWorkup/SEMTools/* ; python ../local_generate_classes.py
from nipype.interfaces.slicer.generate_classes import generate_all_classes
modules_list = [
#'ResampleDTILogEuclidean',
'dtiprocess',
'dtiestim',
'dtiaverage',
'BRAINSMultiSTAPLE',
'AssignArray',
'AverageBrainGenerator',
'AverageScalarsByResampling',
'BRAINSABC',
'BRAINSAlignMSP',
'BRAINSApplySurfaceLabels',
'BRAINSAssignSurfaceFeatures',
'BRAINSClipInferior',
'BRAINSConstellationDetector',
'BRAINSConstellationModeler',
'BRAINSContinuousClass',
'BRAINSCreateLabelMapFromProbabilityMaps',
'BRAINSCut',
'BRAINSDemonWarp',
'BRAINSEyeDetector',
'BRAINSFit',
'BRAINSFitEZ',
'BRAINSInitializedControlPoints',
'BRAINSLandmarkInitializer',
'BRAINSLinearModelerEPCA',
'BRAINSLmkTransform',
'BRAINSMeasureSurface',
'BRAINSMultiModeSegment',
'BRAINSMush',
'BRAINSPosteriorToContinuousClass',
'BRAINSROIAuto',
'BRAINSResample',
'BRAINSResize',
'BRAINSSnapShotWriter',
'BRAINSSurfaceFlattening',
'BRAINSSurfaceGeneration',
'BRAINSTransformConvert',
'BRAINSTransformFromFiducials',
'BRAINSTrimForegroundInDirection',
'BinaryMaskEditorBasedOnLandmarks',
'CannyEdge',
'CannySegmentationLevelSetImageFilter',
'CleanUpOverlapLabels',
'CombineLabels',
'CompareSurfaces',
'CreateMask',
'DWIConvert',
'DilateImage',
'DilateMask',
'DistanceMaps',
'ESLR',
'ErodeImage',
'FlippedDifference',
'GenerateBrainClippedImage',
'GenerateCsfClippedFromClassifiedImage',
'GenerateLabelMapFromProbabilityMap',
'GenerateSummedGradientImage',
'GenerateTestImage',
'GradientAnisotropicDiffusionImageFilter',
'HammerAttributeCreator',
'HistogramMatchingFilter',
'IcosahedronResampler',
'ImageRegionPlotter',
'JointHistogram',
'LabelMaps',
'MultiResolutionRegistration',
'NeighborhoodMean',
'NeighborhoodMedian',
'NoiseGenerator',
'ProbabilityLabels',
'QuadEdgeMeshClampScalars',
'QuadEdgeMeshHistogramMatching',
'QuadEdgeMeshPiecewiseRescale',
'QuadEdgeMeshSimilarity',
'RearrangeSurfaceLabels',
'RemoveTinyLabels',
'ResampleQuadEdgeMesh',
'STAPLEAnalysis',
'ShuffleVectorsModule',
'SimilarityIndex',
'SurfaceColor',
'SurfaceLabelCleanUp',
'TextureFromNoiseImageFilter',
'TextureMeasureFilter',
'VBRAINSDemonWarp',
'WarpQuadEdgeMesh',
'compareTractInclusion',
'extractNrrdVectorIndex',
'fcsv_to_hdf5',
'gtractAnisotropyMap',
'gtractAverageBvalues',
'gtractClipAnisotropy',
'gtractCoRegAnatomy',
'gtractConcatDwi',
'gtractCopyImageOrientation',
'gtractCoregBvalues',
'gtractCostFastMarching',
'gtractCreateGuideFiber',
'gtractFastMarchingTracking',
'gtractFiberTracking',
'gtractImageConformity',
'gtractInvertBSplineTransform',
'gtractInvertDisplacementField',
'gtractInvertRigidTransform',
'gtractResampleAnisotropy',
'gtractResampleB0',
'gtractResampleCodeImage',
'gtractResampleDWIInPlace',
'gtractResampleFibers',
'gtractTensor',
'gtractTransformToDisplacementField',
'iccdefRegistration_New',
'insertMidACPCpoint',
'landmarksConstellationAligner',
'landmarksConstellationWeights',
'SmoothingMeshScalars'
]
launcher = ['']
generate_all_classes(modules_list=modules_list, launcher=[])