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

Home » Public Forums » archive » Feature request for DILATE function
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
Feature request for DILATE function [message #86449] Sun, 10 November 2013 14:14
tom.grydeland is currently offline  tom.grydeland
Messages: 51
Registered: September 2012
Member
The DILATE function does not behave properly on the boundary of the image. This is described in the documentation:

"If edge values are important, you must pad the image with as many zeros as there are elements in the structuring element that extend off the array, in all dimensions."

What is the purpose of this? If edge values aren't important, I can discard them. When I ask IDL to compute a value for me, it is because I care about that value.

Yes, I have completed a version of DILATE which does the padding for me, but -- please -- that shouldn't be necessary!

I'd like to request a future version of IDL to compute valid values all the way to the edge. For those who want to preserve the current behaviour, you can add a keyword /BOGUS_EDGES which restores today's behaviour. Or, if you for some unfathomable reason should decide to default to the current behaviour, you could add a keyword /CORRECT_EDGES.

Thank you in advance, and best regards,

--T (Tom Grydeland)
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: modulo operator
Next Topic: Difficulty in succesfully creating a runtime app

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

Current Time: Wed Oct 08 13:36:53 PDT 2025

Total time taken to generate the page: 0.01044 seconds