Re: Uneven background correction [message #52467] |
Thu, 08 February 2007 08:48 |
edward.s.meinel@aero.
Messages: 52 Registered: February 2005
|
Member |
|
|
On Feb 8, 10:14 am, "rpert...@gmail.com" <rpert...@gmail.com> wrote:
> How do you correct for an uneven background? Say your image is bright
> spots on a bakground that is patchy dark to brighter areas, how do you
> make the background even? (if you can!)
> Thanks
> rp
Use a median window with a size of at least twice the width of the
spots, then use FIND.PRO from Wayne Landsman's library to find the
spots.
|
|
|
Re: Uneven background correction [message #52468 is a reply to message #52467] |
Thu, 08 February 2007 08:43  |
Karsten Rodenacker
Messages: 98 Registered: July 1997
|
Member |
|
|
If the background patches are larger than the bright spots:
st=byte(shift(dist(2*rad+1),rad,rad) le rad) ; rad=max radius of the
spots
xxx=morph_tophat(image,st,/gray,/preserve)
Regards
KR
Am Thu, 08 Feb 2007 16:14:05 +0100 schrieb rpertaub@gmail.com
<rpertaub@gmail.com>:
> How do you correct for an uneven background? Say your image is bright
> spots on a bakground that is patchy dark to brighter areas, how do you
> make the background even? (if you can!)
> Thanks
> rp
>
--
Erstellt mit Operas revolutionᅵrem E-Mail-Modul: http://www.opera.com/m2/
|
|
|