* scribo/demo/viewer/main.cc,
* scribo/demo/xml2doc/main.cc,
* scribo/core/document.hh,
* scribo/debug/logger.hh,
* src/binarization/global_threshold.cc,
* src/binarization/kim.cc,
* src/binarization/niblack.cc,
* src/binarization/otsu.cc,
* src/binarization/sauvola.cc,
* src/binarization/sauvola_ms.cc,
* src/binarization/sauvola_ms_debug.cc,
* src/binarization/sauvola_ms_fg.cc,
* src/binarization/sauvola_ms_split.cc,
* src/binarization/singh.cc,
* src/binarization/wolf.cc,
* src/content_in_doc.cc,
* src/content_in_hdoc.cc,
* src/contest/DAE-2011/content_in_doc_dae.cc,
* src/contest/DAE-2011/content_in_hdoc_dae.cc,
* src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
* src/debug/show_components_boldness.cc,
* src/debug/show_components_color.cc,
* src/non_text_components.cc,
* src/preprocessing/rotate.cc,
* src/preprocessing/rotate_90.cc,
* src/preprocessing/split_bg_fg.cc,
* src/text_in_doc_preprocess.cc,
* src/text_in_picture.cc,
* src/text_in_picture_dual.cc,
* src/text_recognition_in_picture.cc: Here.
---
scribo/ChangeLog | 35 ++++++++++++++++++++
scribo/demo/viewer/main.cc | 2 -
scribo/demo/xml2doc/main.cc | 5 +--
scribo/scribo/core/document.hh | 5 +--
scribo/scribo/debug/logger.hh | 1 -
scribo/src/binarization/global_threshold.cc | 6 +--
scribo/src/binarization/kim.cc | 5 +--
scribo/src/binarization/niblack.cc | 2 -
scribo/src/binarization/otsu.cc | 2 -
scribo/src/binarization/sauvola.cc | 2 -
scribo/src/binarization/sauvola_ms.cc | 2 -
scribo/src/binarization/sauvola_ms_debug.cc | 6 +--
scribo/src/binarization/sauvola_ms_fg.cc | 6 +--
scribo/src/binarization/sauvola_ms_split.cc | 4 +--
scribo/src/binarization/singh.cc | 5 +--
scribo/src/binarization/wolf.cc | 2 -
scribo/src/content_in_doc.cc | 2 -
scribo/src/content_in_hdoc.cc | 2 -
scribo/src/contest/DAE-2011/content_in_doc_dae.cc | 6 +--
scribo/src/contest/DAE-2011/content_in_hdoc_dae.cc | 6 +--
.../contest/hdlac-2011/content_in_hdoc_hdlac.cc | 4 +--
scribo/src/debug/show_components_boldness.cc | 5 +--
scribo/src/debug/show_components_color.cc | 6 +--
scribo/src/non_text_components.cc | 6 +--
scribo/src/preprocessing/rotate.cc | 5 ++-
scribo/src/preprocessing/rotate_90.cc | 5 +--
scribo/src/preprocessing/split_bg_fg.cc | 4 +--
scribo/src/text_in_doc_preprocess.cc | 6 +--
scribo/src/text_in_picture.cc | 4 +--
scribo/src/text_in_picture_dual.cc | 6 +--
scribo/src/text_recognition_in_picture.cc | 4 +--
31 files changed, 73 insertions(+), 88 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 81b1d34..b0455fc 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,3 +1,38 @@
+2013-03-15 Guillaume Lazzara <z(a)lrde.epita.fr>
+
+ Remove references to InitializeMagick().
+
+ * demo/viewer/main.cc,
+ * demo/xml2doc/main.cc,
+ * core/document.hh,
+ * debug/logger.hh,
+ * src/binarization/global_threshold.cc,
+ * src/binarization/kim.cc,
+ * src/binarization/niblack.cc,
+ * src/binarization/otsu.cc,
+ * src/binarization/sauvola.cc,
+ * src/binarization/sauvola_ms.cc,
+ * src/binarization/sauvola_ms_debug.cc,
+ * src/binarization/sauvola_ms_fg.cc,
+ * src/binarization/sauvola_ms_split.cc,
+ * src/binarization/singh.cc,
+ * src/binarization/wolf.cc,
+ * src/content_in_doc.cc,
+ * src/content_in_hdoc.cc,
+ * src/contest/DAE-2011/content_in_doc_dae.cc,
+ * src/contest/DAE-2011/content_in_hdoc_dae.cc,
+ * src/contest/hdlac-2011/content_in_hdoc_hdlac.cc,
+ * src/debug/show_components_boldness.cc,
+ * src/debug/show_components_color.cc,
+ * src/non_text_components.cc,
+ * src/preprocessing/rotate.cc,
+ * src/preprocessing/rotate_90.cc,
+ * src/preprocessing/split_bg_fg.cc,
+ * src/text_in_doc_preprocess.cc,
+ * src/text_in_picture.cc,
+ * src/text_in_picture_dual.cc,
+ * src/text_recognition_in_picture.cc: Here.
+
2013-03-08 Guillaume Lazzara <z(a)lrde.epita.fr>
Fix namespace ambiguities.
diff --git a/scribo/demo/viewer/main.cc b/scribo/demo/viewer/main.cc
index d14e36d..ff79f01 100644
--- a/scribo/demo/viewer/main.cc
+++ b/scribo/demo/viewer/main.cc
@@ -39,8 +39,6 @@ int main(int argc, char** argv)
return 0;
}
- Magick::InitializeMagick(*argv);
-
Viewer* viewer = Viewer::Instance(argc, argv);
if (!viewer)
diff --git a/scribo/demo/xml2doc/main.cc b/scribo/demo/xml2doc/main.cc
index fa2a0f8..368e52d 100644
--- a/scribo/demo/xml2doc/main.cc
+++ b/scribo/demo/xml2doc/main.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -89,8 +90,6 @@ int svg_base64(const QString& xml, const QString& svg)
int main(int argc, char **argv)
{
- Magick::InitializeMagick(argv[0]);
-
QString man = \
"xml_transform\n"
"OPTIONS:\n\n"
diff --git a/scribo/scribo/core/document.hh b/scribo/scribo/core/document.hh
index 5bbd226..0a6ca5a 100644
--- a/scribo/scribo/core/document.hh
+++ b/scribo/scribo/core/document.hh
@@ -1,5 +1,5 @@
-// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2010, 2011, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -237,7 +237,6 @@ namespace scribo
void
document<L>::open()
{
- Magick::InitializeMagick(0);
mln::io::magick::load(data_->image_, data_->filename_);
}
diff --git a/scribo/scribo/debug/logger.hh b/scribo/scribo/debug/logger.hh
index 9c21cdc..5c0fcbe 100644
--- a/scribo/scribo/debug/logger.hh
+++ b/scribo/scribo/debug/logger.hh
@@ -254,7 +254,6 @@ namespace scribo
verbose_prefix_("LOG: "),
stream_(std::cerr)
{
- // Magick::InitializeMagick(0);
}
diff --git a/scribo/src/binarization/global_threshold.cc
b/scribo/src/binarization/global_threshold.cc
index eaf11c7..1879de0 100644
--- a/scribo/src/binarization/global_threshold.cc
+++ b/scribo/src/binarization/global_threshold.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2011, 2012 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2011, 2012, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -81,8 +81,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
unsigned threshold = atoi(options.arg("threshold_value"));
diff --git a/scribo/src/binarization/kim.cc b/scribo/src/binarization/kim.cc
index 0a064d8..c055a95 100644
--- a/scribo/src/binarization/kim.cc
+++ b/scribo/src/binarization/kim.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2012 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2012, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -82,8 +83,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
diff --git a/scribo/src/binarization/niblack.cc b/scribo/src/binarization/niblack.cc
index 049d8ed..0769230 100644
--- a/scribo/src/binarization/niblack.cc
+++ b/scribo/src/binarization/niblack.cc
@@ -83,8 +83,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
unsigned w = atoi(options.opt_value("win-size").c_str());
diff --git a/scribo/src/binarization/otsu.cc b/scribo/src/binarization/otsu.cc
index 30e9afb..2231161 100644
--- a/scribo/src/binarization/otsu.cc
+++ b/scribo/src/binarization/otsu.cc
@@ -83,8 +83,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
bool verbose = options.is_set("verbose");
diff --git a/scribo/src/binarization/sauvola.cc b/scribo/src/binarization/sauvola.cc
index 4e059cf..3ea0f8b 100644
--- a/scribo/src/binarization/sauvola.cc
+++ b/scribo/src/binarization/sauvola.cc
@@ -81,8 +81,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
unsigned w = atoi(options.opt_value("win-size").c_str());
diff --git a/scribo/src/binarization/sauvola_ms.cc
b/scribo/src/binarization/sauvola_ms.cc
index ebb2ba7..9f3e9dd 100644
--- a/scribo/src/binarization/sauvola_ms.cc
+++ b/scribo/src/binarization/sauvola_ms.cc
@@ -99,8 +99,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
diff --git a/scribo/src/binarization/sauvola_ms_debug.cc
b/scribo/src/binarization/sauvola_ms_debug.cc
index 434556a..9a61f96 100644
--- a/scribo/src/binarization/sauvola_ms_debug.cc
+++ b/scribo/src/binarization/sauvola_ms_debug.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development
-// Laboratory (LRDE)
+// Copyright (C) 2009, 2010, 2011, 2012, 2013 EPITA Research and
+// Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -127,8 +127,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
diff --git a/scribo/src/binarization/sauvola_ms_fg.cc
b/scribo/src/binarization/sauvola_ms_fg.cc
index 9f47b7d..2c11636 100644
--- a/scribo/src/binarization/sauvola_ms_fg.cc
+++ b/scribo/src/binarization/sauvola_ms_fg.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2009, 2010, 2011, 2012 EPITA Research and Development
-// Laboratory (LRDE)
+// Copyright (C) 2009, 2010, 2011, 2012, 2013 EPITA Research and
+// Development Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -126,8 +126,6 @@ int main(int argc, char *argv[])
<< " - k4=" << binarization::internal::k4
<< std::endl;
- Magick::InitializeMagick(0);
-
// Load
image2d<value::rgb8> input_1;
io::magick::load(input_1, options.arg("input.*"));
diff --git a/scribo/src/binarization/sauvola_ms_split.cc
b/scribo/src/binarization/sauvola_ms_split.cc
index 0430beb..aede1e0 100644
--- a/scribo/src/binarization/sauvola_ms_split.cc
+++ b/scribo/src/binarization/sauvola_ms_split.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2012 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2012, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -121,8 +121,6 @@ int main(int argc, char *argv[])
<< " - k4=" << binarization::internal::k4
<< std::endl;
- Magick::InitializeMagick(0);
-
image2d<value::rgb8> input_1;
io::magick::load(input_1, options.arg("input.*"));
diff --git a/scribo/src/binarization/singh.cc b/scribo/src/binarization/singh.cc
index 8078bfd..ee00115 100644
--- a/scribo/src/binarization/singh.cc
+++ b/scribo/src/binarization/singh.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2012 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2012, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -81,8 +82,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
unsigned w = atoi(options.opt_value("win-size").c_str());
diff --git a/scribo/src/binarization/wolf.cc b/scribo/src/binarization/wolf.cc
index 94456e8..2c35247 100644
--- a/scribo/src/binarization/wolf.cc
+++ b/scribo/src/binarization/wolf.cc
@@ -81,8 +81,6 @@ int main(int argc, char *argv[])
scribo::debug::logger().set_level(scribo::debug::All);
}
- Magick::InitializeMagick(*argv);
-
trace::entering("main");
unsigned w = atoi(options.opt_value("win-size").c_str());
diff --git a/scribo/src/content_in_doc.cc b/scribo/src/content_in_doc.cc
index 0d2fcac..430b309 100644
--- a/scribo/src/content_in_doc.cc
+++ b/scribo/src/content_in_doc.cc
@@ -120,8 +120,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
typedef image2d<scribo::def::lbl_type> L;
image2d<value::rgb8> input;
mln::io::magick::load(input, options.arg("input.*"));
diff --git a/scribo/src/content_in_hdoc.cc b/scribo/src/content_in_hdoc.cc
index c9760fb..bdede6a 100644
--- a/scribo/src/content_in_hdoc.cc
+++ b/scribo/src/content_in_hdoc.cc
@@ -96,8 +96,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
mln::util::timer t;
t.start();
diff --git a/scribo/src/contest/DAE-2011/content_in_doc_dae.cc
b/scribo/src/contest/DAE-2011/content_in_doc_dae.cc
index 2a0e9d7..3ce4f08 100644
--- a/scribo/src/contest/DAE-2011/content_in_doc_dae.cc
+++ b/scribo/src/contest/DAE-2011/content_in_doc_dae.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2011, 2012 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2011, 2012, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -72,8 +72,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
typedef image2d<scribo::def::lbl_type> L;
image2d<value::rgb8> input;
mln::io::magick::load(input, argv[1]);
diff --git a/scribo/src/contest/DAE-2011/content_in_hdoc_dae.cc
b/scribo/src/contest/DAE-2011/content_in_hdoc_dae.cc
index c6f6e0e..796218f 100644
--- a/scribo/src/contest/DAE-2011/content_in_hdoc_dae.cc
+++ b/scribo/src/contest/DAE-2011/content_in_hdoc_dae.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2011, 2012 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2011, 2012, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -79,8 +79,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
mln::util::timer t;
t.start();
diff --git a/scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc
b/scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc
index 21a7732..019fd5a 100644
--- a/scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc
+++ b/scribo/src/contest/hdlac-2011/content_in_hdoc_hdlac.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2010, 2011, 2012 EPITA Research and Development
+// Copyright (C) 2010, 2011, 2012, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -78,8 +78,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
mln::util::timer t;
t.start();
diff --git a/scribo/src/debug/show_components_boldness.cc
b/scribo/src/debug/show_components_boldness.cc
index f9aca3f..7f58d10 100644
--- a/scribo/src/debug/show_components_boldness.cc
+++ b/scribo/src/debug/show_components_boldness.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2011 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2011, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -39,8 +40,6 @@ int main(int argc, char *argv[])
return 1;
}
- Magick::InitializeMagick(0);
-
typedef mln::value::int_u<30> V;
typedef image2d<V> L;
diff --git a/scribo/src/debug/show_components_color.cc
b/scribo/src/debug/show_components_color.cc
index a13b85b..8f27d43 100644
--- a/scribo/src/debug/show_components_color.cc
+++ b/scribo/src/debug/show_components_color.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2010, 2011, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -40,8 +40,6 @@ int main(int argc, char *argv[])
return 1;
}
- Magick::InitializeMagick(0);
-
typedef mln::value::int_u<30> V;
typedef image2d<V> L;
diff --git a/scribo/src/non_text_components.cc b/scribo/src/non_text_components.cc
index e6db89b..e847b2c 100644
--- a/scribo/src/non_text_components.cc
+++ b/scribo/src/non_text_components.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2011, 2012 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2011, 2012, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -82,8 +82,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
typedef image2d<scribo::def::lbl_type> L;
image2d<value::rgb8> input;
mln::io::magick::load(input, argv[1]);
diff --git a/scribo/src/preprocessing/rotate.cc b/scribo/src/preprocessing/rotate.cc
index c0b599b..de7b20d 100644
--- a/scribo/src/preprocessing/rotate.cc
+++ b/scribo/src/preprocessing/rotate.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -59,7 +60,7 @@ int main(int argc, char *argv[])
typedef image2d<value::rgb8> I;
I ima;
- Magick::InitializeMagick(0);
+
io::magick::load(ima, argv[1]);
image2d<value::rgb8>
diff --git a/scribo/src/preprocessing/rotate_90.cc
b/scribo/src/preprocessing/rotate_90.cc
index 23625a9..1de8b65 100644
--- a/scribo/src/preprocessing/rotate_90.cc
+++ b/scribo/src/preprocessing/rotate_90.cc
@@ -1,4 +1,5 @@
-// Copyright (C) 2010 EPITA Research and Development Laboratory (LRDE)
+// Copyright (C) 2010, 2013 EPITA Research and Development Laboratory
+// (LRDE)
//
// This file is part of Olena.
//
@@ -55,8 +56,6 @@ int main(int argc, char *argv[])
"input.* output.ppm <positive>",
args_desc);
- Magick::InitializeMagick(0);
-
typedef image2d<value::rgb8> I;
I ima;
io::magick::load(ima, argv[1]);
diff --git a/scribo/src/preprocessing/split_bg_fg.cc
b/scribo/src/preprocessing/split_bg_fg.cc
index 2b68b53..e759835 100644
--- a/scribo/src/preprocessing/split_bg_fg.cc
+++ b/scribo/src/preprocessing/split_bg_fg.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -49,8 +49,6 @@ int main(int argc, char *argv[])
mln::trace::entering("main");
using namespace mln;
- Magick::InitializeMagick(0);
-
if (argc != 6)
return scribo::debug::usage(argv,
"Split background and foreground.",
diff --git a/scribo/src/text_in_doc_preprocess.cc b/scribo/src/text_in_doc_preprocess.cc
index 39b48bb..213f19f 100644
--- a/scribo/src/text_in_doc_preprocess.cc
+++ b/scribo/src/text_in_doc_preprocess.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2010, 2011, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -79,8 +79,6 @@ int main(int argc, char* argv[])
if (!options.parse(argc, argv))
return 1;
- Magick::InitializeMagick(*argv);
-
image2d<value::rgb8> input_rgb;
io::magick::load(input_rgb, options.arg("input.*"));
diff --git a/scribo/src/text_in_picture.cc b/scribo/src/text_in_picture.cc
index d38d756..4409be2 100644
--- a/scribo/src/text_in_picture.cc
+++ b/scribo/src/text_in_picture.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -84,8 +84,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
image2d<value::rgb8> input_rgb;
io::magick::load(input_rgb, options.arg("input.*"));
diff --git a/scribo/src/text_in_picture_dual.cc b/scribo/src/text_in_picture_dual.cc
index 3eb9433..dcd9754 100644
--- a/scribo/src/text_in_picture_dual.cc
+++ b/scribo/src/text_in_picture_dual.cc
@@ -1,5 +1,5 @@
-// Copyright (C) 2010, 2011 EPITA Research and Development Laboratory
-// (LRDE)
+// Copyright (C) 2010, 2011, 2013 EPITA Research and Development
+// Laboratory (LRDE)
//
// This file is part of Olena.
//
@@ -87,8 +87,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
image2d<value::rgb8> input_rgb;
io::magick::load(input_rgb, argv[1]);
diff --git a/scribo/src/text_recognition_in_picture.cc
b/scribo/src/text_recognition_in_picture.cc
index b1b01c9..5456263 100644
--- a/scribo/src/text_recognition_in_picture.cc
+++ b/scribo/src/text_recognition_in_picture.cc
@@ -1,4 +1,4 @@
-// Copyright (C) 2009, 2010, 2011 EPITA Research and Development
+// Copyright (C) 2009, 2010, 2011, 2013 EPITA Research and Development
// Laboratory (LRDE)
//
// This file is part of Olena.
@@ -173,8 +173,6 @@ int main(int argc, char* argv[])
trace::entering("main");
- Magick::InitializeMagick(*argv);
-
typedef image2d<value::rgb8> I;
I input_rgb;
mln::io::magick::load(input_rgb, argv[1]);
--
1.7.2.5