Ask Your Question
1

HOw to get the value between two peaks from a histo

asked 2015-12-03 23:17:11 -0600

zms gravatar image

Hi, Any method that I can use to get the value between two peaks in the histogram using opencv? image description

thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-12-04 03:03:01 -0600

pklab gravatar image

updated 2015-12-04 04:48:57 -0600

Use tag peaks for suggestions to find peaks (local maximum) . Some solutions give valley too (local minimun).

Once you got the peaks retrieved you can find the lowest value (local minima) between two subsequent peaks, which is exactly what you are looking for.

edit flag offensive delete link more

Comments

@pklab and @StevenPuttemans .. I had read and tested the code . I read about local maximum inside there. Does the LocalMaximum() have to be written like the getLocalMaximum()? thanks

zms gravatar imagezms ( 2015-12-08 02:16:35 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-12-03 23:17:11 -0600

Seen: 215 times

Last updated: Dec 04 '15