Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

unfortunately opencv's java bindings do not have a RNG class.

you can use randn() , randu(), randShuffle(), etc

(which are all using the global cv::theRNG() under the hood),

but there will be no way of actually seeding it (default seed is 0xffffffff)

unfortunately opencv's java bindings do not have a RNG class.

you can use randn() , randu(), randShuffle(), etc

(which are all using the global cv::theRNG() under the hood),

but there will be no way of actually seeding it (default seed is 0xffffffff)

you'll probably have to use java's own Random class here instead.