How to get all the local "peaks" from the picture?
I would like to get all the small peaks from the picture below. I would also like to avoid getting the big peak (on the right), but I can exclude that based on the area. The image is a result of Sobel operator but this is not important. It will be used as markers for watershed algorithm. The picture: https://ibb.co/vzdcd2B
This is not the only picture I have to process and I cant relay on the values of the peaks only on the fact that they are "local maximums"
They are called local maxima.
What exactly do you mean by "get the local peaks"? Their location, their count,...?
I need locations to create markers for the watershed algorithm.