Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

Sample and resample value for a loop

$
0
0
I need to sample a 1x1 Mat that is converted to an int. When I make a loop like this while (grayVal <= 100){ Log.i("Mat Value", String.valueOf(grayVal)); } grayVal never changes, I know that I need to resample grayVal and pass it back into the loop. How would I go about doing this. edit: here is my code http://pastebin.com/4HA9H39f

Viewing all articles
Browse latest Browse all 41027

Trending Articles



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