Commit 8df6e21e authored by Guillaume Lazzara's avatar Guillaume Lazzara
Browse files

Update calls to geom::rotate.

	* src/preprocess.cc,
	* src/preprocessing/unskew.cc: update call to geom::rotate.

git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@4221 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent 9a767005
2009-06-23 Guillaume Lazzara <lazzara@lrde.epita.fr>
2009-06-39 Guillaume Lazzara <lazzara@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@lrde.epita.fr>
* preprocessing/unskew.hh: rename transformation:: to geom::.
......
......@@ -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]);
......
......@@ -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");
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment