|
a |
|
b/src/main.cpp |
|
|
1 |
#include <nanobind/nanobind.h> |
|
|
2 |
|
|
|
3 |
#include "addNoiseToImage.cxx" |
|
|
4 |
#include "antiAlias.cxx" |
|
|
5 |
#include "antsGetItem.cxx" |
|
|
6 |
#include "antsImage.cxx" |
|
|
7 |
#include "antsImageClone.cxx" |
|
|
8 |
#include "antsImageHeaderInfo.cxx" |
|
|
9 |
#include "antsImageMutualInformation.cxx" |
|
|
10 |
#include "antsImageToImageMetric.cxx" |
|
|
11 |
#include "antsImageUtils.cxx" |
|
|
12 |
#include "antsTransform.cxx" |
|
|
13 |
#include "composeDisplacementFields.cxx" |
|
|
14 |
#include "cropImage.cxx" |
|
|
15 |
#include "fitBsplineDisplacementFieldToScatteredData.cxx" |
|
|
16 |
#include "fitBsplineObjectToScatteredData.cxx" |
|
|
17 |
#include "fitThinPlateSplineDisplacementFieldToScatteredData.cxx" |
|
|
18 |
#include "fsl2antstransform.cxx" |
|
|
19 |
#include "getNeighborhoodMatrix.cxx" |
|
|
20 |
#include "hausdorffDistance.cxx" |
|
|
21 |
#include "hessianObjectness.cxx" |
|
|
22 |
#include "histogramMatchImages.cxx" |
|
|
23 |
#include "integrateVelocityField.cxx" |
|
|
24 |
#include "invertDisplacementField.cxx" |
|
|
25 |
#include "labelOverlapMeasures.cxx" |
|
|
26 |
#include "labelStats.cxx" |
|
|
27 |
#include "mergeChannels.cxx" |
|
|
28 |
#include "padImage.cxx" |
|
|
29 |
#include "readImage.cxx" |
|
|
30 |
#include "readTransform.cxx" |
|
|
31 |
#include "reflectionMatrix.cxx" |
|
|
32 |
#include "reorientImage.cxx" |
|
|
33 |
#include "reorientImage2.cxx" |
|
|
34 |
#include "rgbToVector.cxx" |
|
|
35 |
#include "sccaner.cxx" |
|
|
36 |
#include "simulateDisplacementField.cxx" |
|
|
37 |
#include "sliceImage.cxx" |
|
|
38 |
#include "SmoothImage.cxx" |
|
|
39 |
#include "weingartenImageCurvature.cxx" |
|
|
40 |
|
|
|
41 |
#include "WRAP_antsAffineInitializer.cxx" |
|
|
42 |
#include "WRAP_antsApplyTransforms.cxx" |
|
|
43 |
#include "WRAP_antsApplyTransformsToPoints.cxx" |
|
|
44 |
#include "WRAP_antsJointFusion.cxx" |
|
|
45 |
#include "WRAP_antsRegistration.cxx" |
|
|
46 |
#include "WRAP_Atropos.cxx" |
|
|
47 |
#include "WRAP_AverageAffineTransform.cxx" |
|
|
48 |
#include "WRAP_AverageAffineTransformNoRigid.cxx" |
|
|
49 |
#include "WRAP_CreateJacobianDeterminantImage.cxx" |
|
|
50 |
#include "WRAP_DenoiseImage.cxx" |
|
|
51 |
#include "WRAP_iMath.cxx" |
|
|
52 |
#include "WRAP_KellyKapowski.cxx" |
|
|
53 |
#include "WRAP_LabelClustersUniquely.cxx" |
|
|
54 |
#include "WRAP_LabelGeometryMeasures.cxx" |
|
|
55 |
#include "WRAP_N3BiasFieldCorrection.cxx" |
|
|
56 |
#include "WRAP_N4BiasFieldCorrection.cxx" |
|
|
57 |
#include "WRAP_ResampleImage.cxx" |
|
|
58 |
#include "WRAP_ThresholdImage.cxx" |
|
|
59 |
#include "WRAP_TileImages.cxx" |
|
|
60 |
|
|
|
61 |
namespace nb = nanobind; |
|
|
62 |
|
|
|
63 |
void local_addNoiseToImage(nb::module_ &); |
|
|
64 |
void local_antiAlias(nb::module_ &); |
|
|
65 |
void local_antsGetItem(nb::module_ &); |
|
|
66 |
void local_antsImage(nb::module_ &); |
|
|
67 |
void local_antsImageClone(nb::module_ &); |
|
|
68 |
void local_antsImageHeaderInfo(nb::module_ &); |
|
|
69 |
void local_antsImageMutualInformation(nb::module_ &); |
|
|
70 |
void local_antsImageToImageMetric(nb::module_ &); |
|
|
71 |
void local_antsImageUtils(nb::module_ &); |
|
|
72 |
void local_antsTransform(nb::module_ &); |
|
|
73 |
void local_cropImage(nb::module_ &); |
|
|
74 |
void local_composeDisplacementFields(nb::module_ &); |
|
|
75 |
void local_fitBsplineDisplacementFieldToScatteredData(nb::module_ &); |
|
|
76 |
void local_fitBsplineObjectToScatteredData(nb::module_ &); |
|
|
77 |
void local_fitThinPlateSplineDisplacementFieldToScatteredData(nb::module_ &); |
|
|
78 |
void local_fsl2antstransform(nb::module_ &); |
|
|
79 |
void local_getNeighborhoodMatrix(nb::module_ &); |
|
|
80 |
void local_hausdorffDistance(nb::module_ &); |
|
|
81 |
void local_hessianObjectness(nb::module_ &); |
|
|
82 |
void local_histogramMatchImages(nb::module_ &); |
|
|
83 |
void local_integrateVelocityField(nb::module_ &); |
|
|
84 |
void local_invertDisplacementField(nb::module_ &); |
|
|
85 |
void local_labelOverlapMeasures(nb::module_ &); |
|
|
86 |
void local_labelStats(nb::module_ &); |
|
|
87 |
void local_mergeChannels(nb::module_ &); |
|
|
88 |
void local_padImage(nb::module_ &); |
|
|
89 |
void local_readImage(nb::module_ &); |
|
|
90 |
void local_readTransform(nb::module_ &); |
|
|
91 |
void local_reflectionMatrix(nb::module_ &); |
|
|
92 |
void local_reorientImage(nb::module_ &); |
|
|
93 |
void local_reorientImage2(nb::module_ &); |
|
|
94 |
void local_rgbToVector(nb::module_ &); |
|
|
95 |
void local_sccaner(nb::module_ &); |
|
|
96 |
void local_simulateDisplacementField(nb::module_ &); |
|
|
97 |
void local_sliceImage(nb::module_ &); |
|
|
98 |
void local_SmoothImage(nb::module_ &); |
|
|
99 |
void local_weingartenImageCurvature(nb::module_ &); |
|
|
100 |
|
|
|
101 |
void wrap_antsAffineInitializer(nb::module_ &); |
|
|
102 |
void wrap_antsApplyTransforms(nb::module_ &); |
|
|
103 |
void wrap_antsApplyTransformsToPoints(nb::module_ &); |
|
|
104 |
void wrap_antsJointFusion(nb::module_ &); |
|
|
105 |
void wrap_antsRegistration(nb::module_ &); |
|
|
106 |
void wrap_Atropos(nb::module_ &); |
|
|
107 |
void wrap_AverageAffineTransform(nb::module_ &); |
|
|
108 |
void wrap_AverageAffineTransformNoRigid(nb::module_ &); |
|
|
109 |
void wrap_CreateJacobianDeterminantImage(nb::module_ &); |
|
|
110 |
void wrap_DenoiseImage(nb::module_ &); |
|
|
111 |
void wrap_iMath(nb::module_ &); |
|
|
112 |
void wrap_KellyKapowski(nb::module_ &); |
|
|
113 |
void wrap_LabelClustersUniquely(nb::module_ &); |
|
|
114 |
void wrap_LabelGeometryMeasures(nb::module_ &); |
|
|
115 |
void wrap_N3BiasFieldCorrection(nb::module_ &); |
|
|
116 |
void wrap_N4BiasFieldCorrection(nb::module_ &); |
|
|
117 |
void wrap_ResampleImage(nb::module_ &); |
|
|
118 |
void wrap_ThresholdImage(nb::module_ &); |
|
|
119 |
void wrap_TileImages(nb::module_ &); |
|
|
120 |
|
|
|
121 |
NB_MODULE(lib, m) { |
|
|
122 |
local_addNoiseToImage(m); |
|
|
123 |
local_antiAlias(m); |
|
|
124 |
local_antsGetItem(m); |
|
|
125 |
local_antsImage(m); |
|
|
126 |
local_antsImageClone(m); |
|
|
127 |
local_antsImageHeaderInfo(m); |
|
|
128 |
local_antsImageMutualInformation(m); |
|
|
129 |
local_antsImageToImageMetric(m); |
|
|
130 |
local_antsImageUtils(m); |
|
|
131 |
local_antsTransform(m); |
|
|
132 |
local_composeDisplacementFields(m); |
|
|
133 |
local_cropImage(m); |
|
|
134 |
local_fitBsplineDisplacementFieldToScatteredData(m); |
|
|
135 |
local_fitBsplineObjectToScatteredData(m); |
|
|
136 |
local_fitThinPlateSplineDisplacementFieldToScatteredData(m); |
|
|
137 |
local_fsl2antstransform(m); |
|
|
138 |
local_getNeighborhoodMatrix(m); |
|
|
139 |
local_hausdorffDistance(m); |
|
|
140 |
local_hessianObjectness(m); |
|
|
141 |
local_histogramMatchImages(m); |
|
|
142 |
local_integrateVelocityField(m); |
|
|
143 |
local_invertDisplacementField(m); |
|
|
144 |
local_labelOverlapMeasures(m); |
|
|
145 |
local_labelStats(m); |
|
|
146 |
local_mergeChannels(m); |
|
|
147 |
local_padImage(m); |
|
|
148 |
local_readImage(m); |
|
|
149 |
local_readTransform(m); |
|
|
150 |
local_reflectionMatrix(m); |
|
|
151 |
local_reorientImage(m); |
|
|
152 |
local_reorientImage2(m); |
|
|
153 |
local_rgbToVector(m); |
|
|
154 |
local_sccaner(m); |
|
|
155 |
local_simulateDisplacementField(m); |
|
|
156 |
local_sliceImage(m); |
|
|
157 |
local_SmoothImage(m); |
|
|
158 |
local_weingartenImageCurvature(m); |
|
|
159 |
|
|
|
160 |
wrap_antsAffineInitializer(m); |
|
|
161 |
wrap_antsApplyTransforms(m); |
|
|
162 |
wrap_antsApplyTransformsToPoints(m); |
|
|
163 |
wrap_antsJointFusion(m); |
|
|
164 |
wrap_antsRegistration(m); |
|
|
165 |
wrap_Atropos(m); |
|
|
166 |
wrap_AverageAffineTransform(m); |
|
|
167 |
wrap_AverageAffineTransformNoRigid(m); |
|
|
168 |
wrap_CreateJacobianDeterminantImage(m); |
|
|
169 |
wrap_DenoiseImage(m); |
|
|
170 |
wrap_iMath(m); |
|
|
171 |
wrap_KellyKapowski(m); |
|
|
172 |
wrap_LabelClustersUniquely(m); |
|
|
173 |
wrap_LabelGeometryMeasures(m); |
|
|
174 |
wrap_N3BiasFieldCorrection(m); |
|
|
175 |
wrap_N4BiasFieldCorrection(m); |
|
|
176 |
wrap_ResampleImage(m); |
|
|
177 |
wrap_ThresholdImage(m); |
|
|
178 |
wrap_TileImages(m); |
|
|
179 |
} |