Help Finding Sources (Peaks) in an Image [message #65751] |
Fri, 20 March 2009 11:28 |
einszweilieb
Messages: 4 Registered: March 2009
|
Junior Member |
|
|
I have a 2D image that I've read into IDL. I'm trying to write a
procedure to locate all of the "peaks" (i.e.highest intensities) of
the image.
I suppose I'm defining a "peak" as any pixel that has a higher
intensity than any of it's surrounding r pixels, where r is some sort
of "radius" around the pixel (not necessarily a circular region).
Maybe r = 4 or something
After scanning through the image I'd like the procedure to either
print out the pixel locations and/or create circles around them on the
image itself.
Does anyone have any ideas? I mean, I'm not asking you to write up a
whole procedure for me unless you want to be really helpful. But any
hints or tips on what functions, etc. I could use would be extremely
helpful. Or just a quick few lines of code I could build off of would
be great.
Thanks in advance!
|
|
|