I've spent a few days searching a for solution to my problem. I'm having a problem in finding peaks in one large matrix (approx. 1400 x 2700). I need to find the main peak and two smaller peaks - in the other words the three largest peaks in the picture. The matrix is the result of two FFTs of one fits image. The main problem is finding the size of the main peak. I managed to find the maximum of the central peak, but I can't find where is its end due to noise. Does anybody have any ideas or code samples I could look at to find a solution?
Update: And just one more related question: How can I effectively determine threshold ( noise ) in my matrix ? If I could successfully do that, finding peaks will be easy job?