Commit ece2fdc2 authored by Ugo Jardonnet's avatar Ugo Jardonnet
Browse files

Add important comment to bilinear.hh.

	* mln/fun/x2v/bilinear.hh: Add comment.


git-svn-id: https://svn.lrde.epita.fr/svn/oln/trunk@3186 4aad255d-cdde-0310-9447-f3009e2ae8c0
parent d05d2f3b
2009-01-21 Ugo Jardonnet <ugo.jardonnet@lrde.epita.fr>
Add important comment to bilinear.hh.
* mln/fun/x2v/bilinear.hh: Add comment.
2009-01-20 Guillaume Lazzara <z@lrde.epita.fr>
 
Handle rgb and hsl conversions in from_to and remove to_rgb.
......@@ -97,7 +97,7 @@ namespace mln
double y1 = std::floor(v[1]);
double y2 = std::floor(v[1]) + 1;
//if (not ima.has(point2d(x1, y1))) return mln_value(I)();
//Following access are supposed valid.
vsum q11 = ima(point2d(static_cast<unsigned>(x1), static_cast<unsigned>(y1)));
vsum q12 = ima(point2d(static_cast<unsigned>(x1), static_cast<unsigned>(y2)));
vsum q21 = ima(point2d(static_cast<unsigned>(x2), static_cast<unsigned>(y1)));
......
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