Ask Your Question
0

Core max function

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

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 -0600

You need to use standard Java method Math.max.

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 367 times

Last updated: Apr 14 '13