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

Finding Bimodal Peak in Histogram

$
0
0
Hi, I'm trying to get the peak for a bimodal histogram. Here is the code and i just could not filter the last two int number=0; int size=0; for (int i=1; i<256-1;++i) { if(histoheight[i]>histoheight[i-1] && histoheight[i]>histoheight[i+1]) { cout << "Peak Index: " <

Viewing all articles
Browse latest Browse all 19555

Trending Articles



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