Ask Your Question

Core max function

asked 2013-04-14 01:56:22 -0500

pocahentez gravatar image

hi, what is the equivalent of this function in opencv wrapper java:

  Rect win;
 win.x = std::max(win.x, 0);

thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-04-14 03:03:29 -0500

You need to use standard Java method Math.max.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2013-04-14 01:56:22 -0500

Seen: 169 times

Last updated: Apr 14 '13