Commit a65dcf8c authored by Roland Levillain's avatar Roland Levillain
Browse files

Milena: Add a ``one-liner'' test to interpolated-tr_image.

	* tests/core/image/imorph/interpolated-tr_image.cc: Here.
parent 7991e3f7
2013-10-09 Roland Levillain <roland@lrde.epita.fr>
Milena: Add a ``one-liner'' test to interpolated-tr_image.
* tests/core/image/imorph/interpolated-tr_image.cc: Here.
2013-10-09 Roland Levillain <roland@lrde.epita.fr>
 
Milena: Add helpers to instantiate mln::interpolated and mln::tr_image.
......@@ -78,4 +78,10 @@ int main()
R rotated(inter.domain(), inter, rotate);
PRINTLN(rotated);
}
// Equivalent ``one-liner''.
{
PRINTLN(apply_tr(interpolate<fun::x2v::bilinear>(safe(ima, 0.f).rw()),
fun::x2x::rotation<2, float>(math::pi / 4)));
}
}
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