Ask Your Question
0

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
1

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

Stats

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

Seen: 152 times

Last updated: Apr 14 '13