Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

OpenCV RNG and seeding

$
0
0
Hi everyone I am trying to convert these lines of Matlab code to Java using OpenCV 3.1: > for i=1:1:height // height = 196 rng(signatureShift(i)); // 196x1 Mat containing int values from 0 to 10 keySequence(i,:)=rand(1,width); // generates double values between 0 and 1 keySequence(i,:)=round(keySequence(i,:)); // rounds the generated double values Can someone give me some pointers on how to accomplish this using the OpenCV library?

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>