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
creating a 2D mask for image filtering [message #77215] Wed, 17 August 2011 03:47 Go to previous message
David Higgins is currently offline  David Higgins
Messages: 13
Registered: August 2009
Junior Member
Hi all

I need to create a 2D mask to filter data in the frequency domain
(apodization). I would like to leave 0.8 of the centre-to-edge of the
data untouched (i.e. a circle of untouched data), and then a Hanning-
type shape to smooth down to zero at the edges. (Think of an upside-
down frying pan, kinda.) I can apply a Hanning filter with

apod_fn = HANNING(kx_res, ky_res, alpha=0.5)

but of course the centre area which I would like to have untouched
doesn't exist, and the filter is too aggressive. I'd go without the
Hanning shape requirement if I could get more-or-less the right shape.
I see also DIGITAL_FILTER, but can't seem to widen the filter with my
changes to it's arguments.

Thanks for any pointers.
[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: Thu Oct 09 23:57:14 PDT 2025

Total time taken to generate the page: 0.36348 seconds