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

Home » Public Forums » archive » filtering problem
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: filtering problem [message #22619 is a reply to message #22539] Tue, 21 November 2000 00:00 Go to previous messageGo to previous message
Dave Brennan is currently offline  Dave Brennan
Messages: 28
Registered: December 1998
Junior Member
Thanks jaco. You just hit the nail on the head. I forgot to remove the [wh]
after the smooth operation (changed a[wh] to a and couldn't work out why it
wasn't working!!!), therefore I was getting array size errors. There were a
few further lines I had to add to do exactly what I wanted but that seems
to have solved my problem. Thanks folks. Now on to the next part of the
code.......

Cheers

Dave Brennan

>
> If I understand you correctly, you want to correct the below-threshold
> pixels by the factor calculated from the valid pixels surrounding it.
> Couln't you just leave out some of the specific subscripting [wh] in the
> final assignment?
> a = a * mean(a[wh]) * (smooth(float(m),n,/EDGE) / $
> (smooth(a*m,n,/EDGE)+1.e-30))
> Correct me if I'm wrong here...
>
> Jaco
>
> ----------------
> Jaco van Gorkom e-mail: gorkom@rijnh.nl
> FOM-Instituut voor Plasmafysica "Rijnhuizen", The Netherlands
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Spline Fitting and FWHM
Next Topic: Getting BIG structures into IDL via CALL_EXTERNAL

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

Current Time: Wed Oct 08 19:34:01 PDT 2025

Total time taken to generate the page: 0.00455 seconds