samedi 11 mars 2017

opencv RNG alternative for Java

I use opencv-3.2.0, I found RNG can use with C++, but not exist in Java:

C++

RNG rng( 0xFFFFFFFF );
rng.uniform( -3, 10 );
rng.uniform(0, 200);

Java

There is no RNG

Please tell me how to use RNG uniform in Java.




Aucun commentaire:

Enregistrer un commentaire