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

Home » Public Forums » archive » Label_region and Erosion
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: Label_region and Erosion [message #13426 is a reply to message #13283] Wed, 04 November 1998 00:00 Go to previous message
Struan Gray is currently offline  Struan Gray
Messages: 178
Registered: December 1995
Senior Member
Lisa Bryan, lbryanNOSPAM@arete-az.com writes:

> Lastly, I wan't to apply a median filter (and possible other filters)
> to some sections of my surfaces but not others (all irregular shapes).
> I imaging I'll have to write my own procedure where I pass over my
> data with a filter and a masking function to exclude certain areas.
> Has anyone already done this? Am I missing an easy way to do this?

I haven't used the morphological functions much so can't comment
on that, but when playing with masked filtering I have found that it
is easiest to filter a copy of the whole dataset and then use the mask
to pick out the parts you actually wanted and insert them into the
original data. For my sorts of data the time penalty incurred by
filtering everything is more than compensated for by the generality of
the procedure (multiple, oddly shaped, reentrant regions are handled
transparently) and it's programming simplicity. You also have a
nicely behaved default behaviour for how boundary values are dealt
with when using filters of various widths.


Struan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL 5.2 reviews?
Next Topic: IDL colors on Linux XFree86

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

Current Time: Sat Oct 11 11:53:53 PDT 2025

Total time taken to generate the page: 0.80152 seconds