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

Home » Public Forums » archive » creating a 2D mask for image filtering
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: creating a 2D mask for image filtering [message #77291 is a reply to message #77215] Thu, 18 August 2011 07:37 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dave Higgins writes:

> Ah, yes, that is definitely better. The step-down is still smoothed out, but with better preservation of the central to-be-left-alone section.
>
> I had another idea, which was to plot concentric circles as seen in
> http://www.idlcoyote.com/tips/make_circle.html
> to approximate the filter shape a little better before smoothing, with the result that the smoothing needn't be as aggressive, and the central section is even better preserved.

And, you realize that this:

SHADE_SURF, filter*image

Is NOT how you apply this filter to an image, right?

The Hanning filter is a frequency domain filter and
it should be applied to the frequency image created
with the FFT function.

Since you were talking about "ringing" yesterday, I
thought you understood this, but this is the second
time I've seen a plot with "Filtered Image" as a
title and the *incorrect* filtered image. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Integration
Next Topic: Storing data in an array inside a structure MUCH slower in IDL 8.2.2

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

Current Time: Fri Oct 10 16:28:30 PDT 2025

Total time taken to generate the page: 0.01059 seconds