comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Uneven background correction
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Uneven background correction [message #52467] Thu, 08 February 2007 08:48
edward.s.meinel@aero. is currently offline  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 Go to previous message
Karsten Rodenacker is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Uneven background correction
Next Topic: What are the errors in the FFT?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 09:18:49 PDT 2025

Total time taken to generate the page: 0.15978 seconds