File: spelling-errors.patch

package info (click to toggle)
mia 2.4.7-17
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,420 kB
  • sloc: cpp: 162,689; python: 1,322; sh: 321; xml: 127; makefile: 42; csh: 24; ansic: 9
file content (387 lines) | stat: -rw-r--r-- 21,227 bytes parent folder | download
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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
Description: Fix some spelling errors.
Author: Yavor Doganov <yavor@gnu.org>
Forwarded: no
Last-Update: 2025-10-20
---

--- mia.orig/mia/2d/filter/sortlabel.cc
+++ mia/mia/2d/filter/sortlabel.cc
@@ -119,7 +119,7 @@
 const std::string CSortLabelFilterPlugin::do_get_descr()const
 {
        return "This plug-in sorts the labels of a gray-scale image so that the lowest label "
-              "value corresponts to the lable with themost pixels. The background (0) is not touched";
+              "value corresponts to the label with themost pixels. The background (0) is not touched";
 }
 
 extern "C" EXPORT CPluginBase *get_plugin_interface()
--- mia.orig/mia/template/seededwatershed.hh
+++ mia/mia/template/seededwatershed.hh
@@ -310,7 +310,7 @@
        m_input_is_gradient(false)
 {
        this->add_parameter("seed", new CStringParameter(m_seed_image_file, CCmdOptionFlags::required_input,
-                           "seed input image containing the lables for the initial regions"));
+                           "seed input image containing the labels for the initial regions"));
        this->add_parameter("n", make_param(m_neighborhood, "sphere:r=1", false, "Neighborhood for watershead region growing"));
        this->add_parameter("mark", new CBoolParameter(m_with_borders, false, "Mark the segmented watersheds with a special gray scale value"));
        this->add_parameter("grad", new CBoolParameter(m_input_is_gradient, false, "Interpret the input image as gradient. "));
--- mia.orig/src/2dfluid-syn-registration.cc
+++ mia/src/2dfluid-syn-registration.cc
@@ -99,9 +99,9 @@
        options.set_group("Registration");
        options.add(make_opt( mg_levels, "mg-levels", 'l', "Number of multi-resolution levels to run the "
                              "registration on. Not that some registration parameters can be given as a "
-                             "coma seperated list to indicate per level values. In these cases  if the "
+                             "coma separated list to indicate per level values. In these cases  if the "
                              "number of given values is smaller than the number of multi-resolution "
-                             "levels (this parameter), the the last given value is used for all subsequest "
+                             "levels (this parameter), the the last given value is used for all subsequent "
                              "multi-resolution levels."));
        options.add(make_opt(current_step,  EParameterBounds::bf_min_open | EParameterBounds::bf_max_closed,
        {0.0f, 0.5f},  "step", 'S', "Initial step size for all levels"));
--- mia.orig/src/2dfuzzysegment.cc
+++ mia/src/2dfuzzysegment.cc
@@ -64,7 +64,7 @@
        CCmdOptionList options(g_description);
        options.set_group("File-IO");
        options.add(make_opt( in_filename, "in-file", 'i',
-                             "input image(s) to be segmenetd", CCmdOptionFlags::required_input, &imageio));
+                             "input image(s) to be segmented", CCmdOptionFlags::required_input, &imageio));
        options.add(make_opt( cls_filename, "cls-file", 'c',
                              "output class probability images (floating point values and multi-image)",
                              CCmdOptionFlags::output, &imageio));
--- mia.orig/src/2dmyocard-ica.cc
+++ mia/src/2dmyocard-ica.cc
@@ -53,7 +53,7 @@
 
        {
               pdi_example_descr, "Evaluate the synthetic references from images imageXXXX.exr and save them to "
-              "refXXXX.exr by using five independend components, mean stripping, normalizing, "
+              "refXXXX.exr by using five independent components, mean stripping, normalizing, "
               "and skipping 2 images."
        },
 
--- mia.orig/src/2dmyocard-icaseries.cc
+++ mia/src/2dmyocard-icaseries.cc
@@ -55,7 +55,7 @@
        },
        {
               pdi_example_descr, "Evaluate the synthetic references from set segment.set and save "
-              "them to refXXXX.??? by using five independend components, and skipping 2 images. "
+              "them to refXXXX.??? by using five independent components, and skipping 2 images. "
               "Per default a bounding box around the LV will be segmented and scaled by 1.4 and "
               "the cropped images will be saved to cropXXXX.??? and a segmentation set cropped.set "
               " is created. The image file type ??? is deducted from the input images in segment.set."
--- mia.orig/src/2dsegment-local-cmeans.cc
+++ mia/src/2dsegment-local-cmeans.cc
@@ -153,7 +153,7 @@
        opts.add(make_opt( cmeans_epsilon, EParameterBounds::bf_min_open,
        {0.0}, "c-means-epsilon", 'e', "c-means breaking condition for update tolerance"));
        opts.add(make_opt( rel_cluster_threshold, EParameterBounds::bf_min_closed | EParameterBounds::bf_max_open,
-       {0.0, 1.0}, "relative-cluster-threshold", 't', "threshhold to ignore classes when initializing"
+       {0.0, 1.0}, "relative-cluster-threshold", 't', "threshold to ignore classes when initializing"
        " the local cmeans from the global one."));
 
        if (opts.parse(argc, argv) != CCmdOptionList::hr_no)
--- mia.orig/src/2dsegseriesstats.cc
+++ mia/src/2dsegseriesstats.cc
@@ -35,7 +35,7 @@
 
        {
               pdi_description, "This program is used evaluate various time-intensity curves over a series of images "
-              "given by a segmentation set. Specifically, the program is taylored to evaluate average "
+              "given by a segmentation set. Specifically, the program is tailored to evaluate average "
               "intensities and variations of sections the left ventricle myocardium. "
               "The segmentation set must contain the segmentations for all slices that will be accessed "
               "during evaluation. "
--- mia.orig/src/2dseries-mincorr.cc
+++ mia/src/2dseries-mincorr.cc
@@ -37,7 +37,7 @@
        {pdi_group, "Tools for Myocardial Perfusion Analysis"},
        {pdi_short, "Evaluate minimal correlation of time-intensity curves."},
        {
-              pdi_description, "Given a set of images of temporal sucession, this program evaluates the "
+              pdi_description, "Given a set of images of temporal succession, this program evaluates the "
               "minimal correlation of the time-intensity curve between neighboring pixels."
        },
        {
--- mia.orig/src/2dseries2sets.cc
+++ mia/src/2dseries2sets.cc
@@ -39,7 +39,7 @@
               pdi_description, "This program takes all image files that are given as free parameters "
               "on the command line and creates segmentation sets based on information found in the images. "
               "Used information is the z-location of the slice and the acquisition number. "
-              "The code is taylored to used the according descriptors defined in the DICOM standard. "
+              "The code is tailored to use the according descriptors defined in the DICOM standard. "
               "All images with the same slice location will be grouped together in one segmentation "
               "set and ordered according to their acquisition number. "
               "Slice locations are rounded to three digits accuracy to make proper comparison "
--- mia.orig/src/2dseriescorr.cc
+++ mia/src/2dseriescorr.cc
@@ -40,7 +40,7 @@
        {pdi_short, "Evaluate the time-intensity correlation in a series of images."},
 
        {
-              pdi_description, "Given a set of images of temporal sucession, evaluates images that represent "
+              pdi_description, "Given a set of images of temporal succession, evaluates images that represent "
               "the time-intensity correlation in horizontal and vertical direction as "
               "well as average correlation of each pixel with its neighbors. "
               "All input images must be of the same pixel type and size."
--- mia.orig/src/2dseriesgradMAD.cc
+++ mia/src/2dseriesgradMAD.cc
@@ -38,7 +38,7 @@
        {pdi_group, "Tools for Myocardial Perfusion Analysis"},
        {pdi_short, "Evaluate the time-intensity gradient MAD in a series of images."},
        {
-              pdi_description, "Given a set of images of temporal sucession, evaluates the "
+              pdi_description, "Given a set of images of temporal succession, evaluates the "
               "pixel-wise temporal gradient and then its median average distance (MAD) "
               "and stores the result in an image. Spacial pre-filtering may be applied "
               "as given additional plugin(s) (filter/2dimage)."
--- mia.orig/src/2dseriesgradvariation.cc
+++ mia/src/2dseriesgradvariation.cc
@@ -40,7 +40,7 @@
        {pdi_short, "Evaluate the time-intensity gradient variation in a series of images."},
 
        {
-              pdi_description, "Given a set of images of temporal sucession, this program evaluates the "
+              pdi_description, "Given a set of images of temporal succession, this program evaluates the "
               "gradient variation of the pixel-wise time-intensity curves of this series. "
               "If the input image set provides a segmentation, then this segmentation can "
               "be used to create a bounding box and restrict evaluation to this box. "
--- mia.orig/src/2dseriessmoothgradMAD.cc
+++ mia/src/2dseriessmoothgradMAD.cc
@@ -40,7 +40,7 @@
        {pdi_short, "Evaluate pixel-wise time-intensity gradient of a 2D image series."},
 
        {
-              pdi_description, "Given a set of images of temporal sucession, evaluate the temporal "
+              pdi_description, "Given a set of images of temporal succession, evaluate the temporal "
               "pixel-wise gaussian and evaluate pixel-wise its MAD."
               "A spacial pre-filtering may be applied by specifying additional plugins "
               "(filter/2dimage)"
--- mia.orig/src/2dtransform.cc
+++ mia/src/2dtransform.cc
@@ -36,7 +36,7 @@
        {pdi_description, "This program is used to deform a 2D image using a given transformation."},
 
        {
-              pdi_example_descr, "Transform an image input.png by the transfromation stored in trans.v "
+              pdi_example_descr, "Transform an image input.png by the transformation stored in trans.v "
               "by using linear interpolation and zero boundary conditions and store the result in output.png"
        },
 
--- mia.orig/src/3dcrispsegment.cc
+++ mia/src/3dcrispsegment.cc
@@ -31,7 +31,7 @@
        {pdi_short, "Label segmentation according to probabilities."},
        {
               pdi_description, "This program creates a label image from a fuzzy segmentation. "
-              "or each pixel the label is set to the class with the higest probability plus a given offset"
+              "or each pixel the label is set to the class with the highest probability plus a given offset"
        },
        {
               pdi_example_descr, "Set the labels based on the input class probability file cls.v "
--- mia.orig/src/3dfluid-syn-registration.cc
+++ mia/src/3dfluid-syn-registration.cc
@@ -98,10 +98,10 @@
 {
        options.set_group("Registration");
        options.add(make_opt( mg_levels, "mg-levels", 'l', "Number of multi-resolution levels to run the registration on. "
-                             "Not that some registration parameters can be given as a coma seperated list to "
+                             "Not that some registration parameters can be given as a coma separated list to "
                              "indicate per level values. In these cases  if the number of given values is smaller "
                              "than the number of multi-resolution levels (this parameter), the the last given value "
-                             "is used for all subsequest multi-resolution levels."));
+                             "is used for all subsequent multi-resolution levels."));
        options.add(make_opt(current_step,  EParameterBounds::bf_min_open | EParameterBounds::bf_max_closed,
        {0.0f, 0.5f},  "step", 'S', "Initial step size for all levels"));
        options.add(make_opt( cost, "ssd", "cost", 'c', "Image similarity function to be minimized"));
--- mia.orig/src/3dfuzzysegment.cc
+++ mia/src/3dfuzzysegment.cc
@@ -65,10 +65,10 @@
        float  residuum = 0.1;
        const auto& imageio = C3DImageIOPluginHandler::instance();
        CCmdOptionList options(g_description);
-       options.add(make_opt( in_filename, "in-file", 'i', "input image(s) to be segmenetd",
+       options.add(make_opt( in_filename, "in-file", 'i', "input image(s) to be segmented",
                              CCmdOptionFlags::required_input, &imageio));
        options.add(make_opt( cls_filename, "cls-file", 'c', "output class probability images. Note, the "
-                             "used file format must support multible images (best is to use vista)",
+                             "used file format must support multiple images (best is to use vista)",
                              CCmdOptionFlags::output, &imageio));
        options.add(make_opt( out_filename, "b0-file", 'o', "image corrected for intensity non-uniformity",
                              CCmdOptionFlags::output, &imageio));
--- mia.orig/src/3dlandmarks-transform.cc
+++ mia/src/3dlandmarks-transform.cc
@@ -47,7 +47,7 @@
 
        {
               pdi_example_descr,
-              "Transform the landmarks given in input.lmx by applyning the transfromation stored in trans.v "
+              "Transform the landmarks given in input.lmx by applying the transformation stored in trans.v "
               "and store the result in output.lmx"
        },
 
--- mia.orig/src/3dmaskseeded.cc
+++ mia/src/3dmaskseeded.cc
@@ -39,7 +39,7 @@
               pdi_description, "3D image segmentation based on region growing from a seed point. "
               "Neighboring points are added, either when their intensity is "
               "equal or higher than that of the seed point, or of the intensity "
-              "is lower or equal then that of the neighoring point. "
+              "is lower or equal then that of the neighboring point. "
               "After region growing is finished, this mask is used to zero out "
               "the region in the original image yielding the resulting image. "
        },
--- mia.orig/src/3dsegment-local-cmeans.cc
+++ mia/src/3dsegment-local-cmeans.cc
@@ -176,7 +176,7 @@
        opts.add(make_opt( cmeans_epsilon, EParameterBounds::bf_min_open,
        {0.0}, "c-means-epsilon", 'e', "c-means breaking condition for update tolerance"));
        opts.add(make_opt( rel_cluster_threshold, EParameterBounds::bf_min_closed | EParameterBounds::bf_max_open,
-       {0.0, 1.0}, "relative-cluster-threshold", 't', "threshhold to ignore classes when initializing"
+       {0.0, 1.0}, "relative-cluster-threshold", 't', "threshold to ignore classes when initializing"
        " the local cmeans from the global one."));
        opts.add(make_opt(ignore_partition_with_background, "ignore-background", 'B',
                          "Don't take background probablities into account when desiding whether classes are to be ignored"));
--- mia.orig/src/3dtransform.cc
+++ mia/src/3dtransform.cc
@@ -45,7 +45,7 @@
 
        {
               pdi_example_descr,
-              "Transform an image input.v by the transfromation stored in trans.v "
+              "Transform an image input.v by the transformation stored in trans.v "
               "by using nearest neighbour interpolation ans store the result in output.v"
        },
 
--- mia.orig/src/raw2volume.cc
+++ mia/src/raw2volume.cc
@@ -44,7 +44,7 @@
 
        {
               pdi_description, "This program is used to convert raw data into 3D images "
-              "with apropriate metadata."
+              "with appropriate metadata."
        },
 
        {pdi_example_descr, "pixel size of <1.2, 2.3, 3.4> to an Analyze file image.hdr"},
--- mia.orig/mia/2d/perfusion.cc
+++ mia/mia/2d/perfusion.cc
@@ -555,7 +555,7 @@
               if (nc < 7)
                      goto retry;
 
-              cvmsg() << "Directional assumtion failed\n";
+              cvmsg() << "Directional assumption failed\n";
               return result;
        }
 
--- mia.orig/mia/2d/segset.cc
+++ mia/mia/2d/segset.cc
@@ -180,7 +180,7 @@
                      if (attr.empty())
                             cvwarn() << "CSegFrame: LVpeak without attribute";
                      else if (!from_string(attr, m_RV_peak)) {
-                            cvwarn() << "Could't convert RV_peak attribute '" << attr
+                            cvwarn() << "Couldn't convert RV_peak attribute '" << attr
                                      << "' to an integer; ignoring\n";
                             m_RV_peak = -1;
                      }
@@ -190,7 +190,7 @@
                      if (attr.empty())
                             cvwarn() << "CSegFrame: LVpeak without attribute";
                      else if (!from_string(attr, m_LV_peak)) {
-                            cvwarn() << "Could't convert LV_peak attribute '" << attr
+                            cvwarn() << "Couldn't convert LV_peak attribute '" << attr
                                      << "' to an integer; ignoring\n";
                             m_LV_peak = -1;
                      }
@@ -200,7 +200,7 @@
                      if (attr.empty())
                             cvwarn() << "CSegFrame: PreferedRef without attribute";
                      else if (!from_string(attr, m_preferred_reference)) {
-                            cvwarn() << "Could't convert PreferedRef attribute '" << attr
+                            cvwarn() << "Couldn't convert PreferedRef attribute '" << attr
                                      << "' to an integer; ignoring\n";
                             m_preferred_reference = -1;
                      }
--- mia.orig/mia/core/fastica/deflationnonlinearity.cc
+++ mia/mia/core/fastica/deflationnonlinearity.cc
@@ -198,7 +198,7 @@
 const std::string CFastICADeflGaussPlugin::do_get_descr()const
 {
        return "Implementation of the Gauss non-linearity for the deflation based "
-              "FastICA algorithm. Use it when the independend components are highly "
+              "FastICA algorithm. Use it when the independent components are highly "
               "super-Gaussian or robustness is very important.";
 }
 
--- mia.orig/mia/core/fastica/fastica.cc
+++ mia/mia/core/fastica/fastica.cc
@@ -150,7 +150,7 @@
 
        // update the number of components
        m_numOfIC = pca_result.eval.size();
-       cvdebug() << "Considering " << m_numOfIC << " independend components\n";
+       cvdebug() << "Considering " << m_numOfIC << " independent components\n";
        cvdebug() << "PCA: eval= " << pca_result.eval << "\n";
        cvdebug() << "PCA: evec= " << pca_result.evec << "\n";
        evaluate_whiten_matrix(pca_result.evec, pca_result.eval);
--- mia.orig/mia/core/handlerbase.cc
+++ mia/mia/core/handlerbase.cc
@@ -66,7 +66,7 @@
        if (handler_map.find(m_descriptor) != handler_map.end())
               return;
 
-       cvdebug() << "Add '"  << m_descriptor << "' to dependend handlers\n";
+       cvdebug() << "Add '"  << m_descriptor << "' to dependent handlers\n";
        handler_map[m_descriptor] = this;
        do_add_dependend_handlers(handler_map);
 }
--- mia.orig/mia/core/ica.cc
+++ mia/mia/core/ica.cc
@@ -65,7 +65,7 @@
 
 template<>  const char *const
 TPluginHandler<TFactory<CIndepCompAnalysisFactory>>::m_help =
-                     "These plug-ins provide implementations for the ICA algoritm.";
+                     "These plug-ins provide implementations for the ICA algorithm.";
 
 EXPLICIT_INSTANCE_HANDLER(CIndepCompAnalysisFactory);
 
--- mia.orig/mia/core/plugin_base.cc
+++ mia/mia/core/plugin_base.cc
@@ -74,7 +74,7 @@
 void CPluginBase::add_dependend_handlers(HandlerHelpMap& handler_map)
 {
        TRACE_FUNCTION;
-       cvdebug() << "Add dependend handler for plugin '" << get_name() << "'\n";
+       cvdebug() << "Add dependent handler for plugin '" << get_name() << "'\n";
        get_parameters().add_dependend_handlers(handler_map);
 }
 
--- mia.orig/src/2dmyocard-segment.cc
+++ mia/src/2dmyocard-segment.cc
@@ -495,7 +495,7 @@
        if (perf_idx < 0)
               throw runtime_error("perfusion could not be identified");
 
-       cvmsg() << "Using " << test_components << " independend components\n";
+       cvmsg() << "Using " << test_components << " independent components\n";
        // after running ICA get the related feature images
        auto RV_feature = ica->get_feature_image(rv_idx);
        auto LV_feature = ica->get_feature_image(lv_idx);
--- mia.orig/src/wavelettrans.cc
+++ mia/src/wavelettrans.cc
@@ -173,7 +173,7 @@
        C1DWavelet wt(wt_type, k);
 
        for (unsigned int i = 0; i < vx.size(); ++i) {
-              cvdebug() << "transfrom column of size " << table[i].size() << "\n";
+              cvdebug() << "transform column of size " << table[i].size() << "\n";
               table[i] = wt.forward(table[i]);
               cverb << " result size = " << table[i].size() << "\n";
        }