[med-svn] [mia] 02/05: Add spell checking patch
Gert Wollny
gert-guest at moszumanska.debian.org
Thu Nov 26 10:51:54 UTC 2015
This is an automated email from the git hooks/post-receive script.
gert-guest pushed a commit to branch master
in repository mia.
commit 28f2656ffd6b40a1bc0560db11335688582f46d3
Author: Gert Wollny <gw.fossdev at gmail.com>
Date: Tue Nov 24 20:20:55 2015 +0100
Add spell checking patch
---
debian/patches/01_spellcheck_corrections.patch | 71 ++++++++++++++++++++++++++
debian/patches/series | 1 +
mia/2d/filter/thresh.cc | 4 +-
mia/template/watershed.hh | 2 +-
src/2dgroundtruthreg.cc | 2 +-
src/2dmyoicapgt.cc | 2 +-
src/2dmyopgt-nonrigid.cc | 2 +-
7 files changed, 78 insertions(+), 6 deletions(-)
diff --git a/debian/patches/01_spellcheck_corrections.patch b/debian/patches/01_spellcheck_corrections.patch
new file mode 100644
index 0000000..cb7a47a
--- /dev/null
+++ b/debian/patches/01_spellcheck_corrections.patch
@@ -0,0 +1,71 @@
+Description: Correct some spellings
+Author: Gert Wollny <gw.fossdev at gmail.com>
+
+Origin: upstream
+Forwarded: not-needed
+Last-Update: 2015-11-24
+
+--- mia-2.2.7.orig/mia/2d/filter/thresh.cc
++++ mia-2.2.7/mia/2d/filter/thresh.cc
+@@ -70,7 +70,7 @@ C2DThreshNImageFilterFactory::C2DThreshN
+ m_thresh(5.0)
+ {
+ add_parameter("shape", make_param(m_shape, "4n", false, "neighborhood shape to take into account"));
+- add_parameter("thresh", make_param(m_thresh, false, "The threshhold value"));
++ add_parameter("thresh", make_param(m_thresh, false, "The threshold value"));
+ }
+
+ C2DFilter *C2DThreshNImageFilterFactory::do_create()const
+@@ -81,7 +81,7 @@ C2DFilter *C2DThreshNImageFilterFactory:
+ const std::string C2DThreshNImageFilterFactory::do_get_descr() const
+ {
+ return "This filter sets all pixels of an image to zero that fall below a certain threshhold and "
+- "whose neighbours in a given neighborhood shape also fall below a this threshhold";
++ "whose neighbours in a given neighborhood shape also fall below a this threshold";
+ }
+
+ extern "C" EXPORT CPluginBase *get_plugin_interface()
+--- mia-2.2.7.orig/mia/template/watershed.hh
++++ mia-2.2.7/mia/template/watershed.hh
+@@ -323,7 +323,7 @@ TWatershedFilterPlugin<dim>::TWatershedF
+ this->add_parameter("n", make_param(m_neighborhood, "sphere:r=1", false, "Neighborhood for watershead region growing"));
+ this->add_parameter("mark", new mia::CBoolParameter(m_with_borders, false, "Mark the segmented watersheds with a special gray scale value"));
+ this->add_parameter("thresh", make_coi_param(m_thresh, 0, 1.0, false, "Relative gradient norm threshold. The actual value "
+- "threshhold value is thresh * (max_grad - min_grad) + min_grad. Bassins "
++ "threshold value is thresh * (max_grad - min_grad) + min_grad. Bassins "
+ "separated by gradients with a lower norm will be joined"));
+ this->add_parameter("evalgrad", new mia::CBoolParameter(m_eval_grad, false, "Set to 1 if the input image does "
+ "not represent a gradient norm image"));
+--- mia-2.2.7.orig/src/2dgroundtruthreg.cc
++++ mia-2.2.7/src/2dgroundtruthreg.cc
+@@ -166,7 +166,7 @@ int do_main( int argc, char *argv[] )
+ options.add(make_opt( pgt_params.beta, "beta", 'B', "temporal second derivative penalty weight",
+ CCmdOptionFlags::required));
+ options.add(make_opt( pgt_params.rho_thresh, "rho_thresh", 'R',
+- "crorrelation threshhold for neighborhood analysis", CCmdOptionFlags::required));
++ "correlation threshold for neighborhood analysis", CCmdOptionFlags::required));
+
+
+
+--- mia-2.2.7.orig/src/2dmyoicapgt.cc
++++ mia-2.2.7/src/2dmyoicapgt.cc
+@@ -480,7 +480,7 @@ int do_main( int argc, char *argv[] )
+ options.add(make_opt( pgt_alpha, "alpha", 'A', "spacial neighborhood penalty weight"));
+ options.add(make_opt( pgt_beta, "beta", 'B', "temporal second derivative penalty weight"));
+ options.add(make_opt( pgt_rho_thresh, "rho-thresh", 'T',
+- "crorrelation threshhold for neighborhood analysis"));
++ "correlation threshold for neighborhood analysis"));
+
+
+
+--- mia-2.2.7.orig/src/2dmyopgt-nonrigid.cc
++++ mia-2.2.7/src/2dmyopgt-nonrigid.cc
+@@ -147,7 +147,7 @@ int do_main( int argc, char *argv[] )
+ options.add(make_opt( alpha, "alpha", 'A', "spacial neighborhood penalty weight"));
+ options.add(make_opt( beta, "beta", 'B', "temporal second derivative penalty weight"));
+ options.add(make_opt( rho_thresh, "rho-thresh", 'R',
+- "crorrelation threshhold for neighborhood analysis"));
++ "correlation threshold for neighborhood analysis"));
+ options.add(make_opt( skip_images, "skip", 'k', "skip images at the beginning of the series "
+ "e.g. because as they are of other modalities"));
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..751bedc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_spellcheck_corrections.patch
diff --git a/mia/2d/filter/thresh.cc b/mia/2d/filter/thresh.cc
index 1425b70..fc6e68e 100644
--- a/mia/2d/filter/thresh.cc
+++ b/mia/2d/filter/thresh.cc
@@ -70,7 +70,7 @@ C2DThreshNImageFilterFactory::C2DThreshNImageFilterFactory():
m_thresh(5.0)
{
add_parameter("shape", make_param(m_shape, "4n", false, "neighborhood shape to take into account"));
- add_parameter("thresh", make_param(m_thresh, false, "The threshhold value"));
+ add_parameter("thresh", make_param(m_thresh, false, "The threshold value"));
}
C2DFilter *C2DThreshNImageFilterFactory::do_create()const
@@ -81,7 +81,7 @@ C2DFilter *C2DThreshNImageFilterFactory::do_create()const
const std::string C2DThreshNImageFilterFactory::do_get_descr() const
{
return "This filter sets all pixels of an image to zero that fall below a certain threshhold and "
- "whose neighbours in a given neighborhood shape also fall below a this threshhold";
+ "whose neighbours in a given neighborhood shape also fall below a this threshold";
}
extern "C" EXPORT CPluginBase *get_plugin_interface()
diff --git a/mia/template/watershed.hh b/mia/template/watershed.hh
index 6fbdbce..0d2f9f2 100644
--- a/mia/template/watershed.hh
+++ b/mia/template/watershed.hh
@@ -323,7 +323,7 @@ TWatershedFilterPlugin<dim>::TWatershedFilterPlugin():
this->add_parameter("n", make_param(m_neighborhood, "sphere:r=1", false, "Neighborhood for watershead region growing"));
this->add_parameter("mark", new mia::CBoolParameter(m_with_borders, false, "Mark the segmented watersheds with a special gray scale value"));
this->add_parameter("thresh", make_coi_param(m_thresh, 0, 1.0, false, "Relative gradient norm threshold. The actual value "
- "threshhold value is thresh * (max_grad - min_grad) + min_grad. Bassins "
+ "threshold value is thresh * (max_grad - min_grad) + min_grad. Bassins "
"separated by gradients with a lower norm will be joined"));
this->add_parameter("evalgrad", new mia::CBoolParameter(m_eval_grad, false, "Set to 1 if the input image does "
"not represent a gradient norm image"));
diff --git a/src/2dgroundtruthreg.cc b/src/2dgroundtruthreg.cc
index 55462eb..f8b844f 100644
--- a/src/2dgroundtruthreg.cc
+++ b/src/2dgroundtruthreg.cc
@@ -166,7 +166,7 @@ int do_main( int argc, char *argv[] )
options.add(make_opt( pgt_params.beta, "beta", 'B', "temporal second derivative penalty weight",
CCmdOptionFlags::required));
options.add(make_opt( pgt_params.rho_thresh, "rho_thresh", 'R',
- "crorrelation threshhold for neighborhood analysis", CCmdOptionFlags::required));
+ "correlation threshold for neighborhood analysis", CCmdOptionFlags::required));
diff --git a/src/2dmyoicapgt.cc b/src/2dmyoicapgt.cc
index 56aadec..a52aa2e 100644
--- a/src/2dmyoicapgt.cc
+++ b/src/2dmyoicapgt.cc
@@ -480,7 +480,7 @@ int do_main( int argc, char *argv[] )
options.add(make_opt( pgt_alpha, "alpha", 'A', "spacial neighborhood penalty weight"));
options.add(make_opt( pgt_beta, "beta", 'B', "temporal second derivative penalty weight"));
options.add(make_opt( pgt_rho_thresh, "rho-thresh", 'T',
- "crorrelation threshhold for neighborhood analysis"));
+ "correlation threshold for neighborhood analysis"));
diff --git a/src/2dmyopgt-nonrigid.cc b/src/2dmyopgt-nonrigid.cc
index ab47cc2..8784d59 100644
--- a/src/2dmyopgt-nonrigid.cc
+++ b/src/2dmyopgt-nonrigid.cc
@@ -147,7 +147,7 @@ int do_main( int argc, char *argv[] )
options.add(make_opt( alpha, "alpha", 'A', "spacial neighborhood penalty weight"));
options.add(make_opt( beta, "beta", 'B', "temporal second derivative penalty weight"));
options.add(make_opt( rho_thresh, "rho-thresh", 'R',
- "crorrelation threshhold for neighborhood analysis"));
+ "correlation threshold for neighborhood analysis"));
options.add(make_opt( skip_images, "skip", 'k', "skip images at the beginning of the series "
"e.g. because as they are of other modalities"));
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/mia.git
More information about the debian-med-commit
mailing list