* src/preprocess.cc,
* src/preprocessing/unskew.cc: update call to geom::rotate.
---
scribo/ChangeLog | 9 ++++++++-
scribo/src/preprocess.cc | 2 +-
scribo/src/preprocessing/unskew.cc | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/scribo/ChangeLog b/scribo/ChangeLog
index 1467d33..6f2d735 100644
--- a/scribo/ChangeLog
+++ b/scribo/ChangeLog
@@ -1,4 +1,11 @@
-2009-06-23 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+2009-06-39 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
+
+ Update calls to geom::rotate.
+
+ * src/preprocess.cc,
+ * src/preprocessing/unskew.cc: update call to geom::rotate.
+
+2009-06-30 Guillaume Lazzara <lazzara(a)lrde.epita.fr>
* preprocessing/unskew.hh: rename transformation:: to geom::.
diff --git a/scribo/src/preprocess.cc b/scribo/src/preprocess.cc
index c9f74c7..57a0fb7 100644
--- a/scribo/src/preprocess.cc
+++ b/scribo/src/preprocess.cc
@@ -68,7 +68,7 @@ int main(int argc, char *argv[])
input_bw = scribo::filter::small_objects(input_bw, c8(), value::label_16(), 3);
input_bw = scribo::filter::thin_objects(input_bw, c8(), value::label_16(), 1);
- input_bw = scribo::preprocessing::unskew(input_bw);
+ input_bw = scribo::preprocessing::unskew(input_bw).first();
logical::not_inplace(input_bw);
io::pbm::save(input_bw, argv[2]);
diff --git a/scribo/src/preprocessing/unskew.cc b/scribo/src/preprocessing/unskew.cc
index bdd9035..b8c1979 100644
--- a/scribo/src/preprocessing/unskew.cc
+++ b/scribo/src/preprocessing/unskew.cc
@@ -52,7 +52,7 @@ int main(int argc, char *argv[])
image2d<bool> input;
io::pbm::load(input, argv[1]);
- io::pbm::save(scribo::preprocessing::unskew(input), argv[2]);
+ io::pbm::save(scribo::preprocessing::unskew(input).first(), argv[2]);
mln::trace::exiting("main");
}
--
1.5.6.5
Show replies by date