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

Home » Public Forums » archive » IDL Morph structuring element
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
IDL Morph structuring element [message #93268] Wed, 25 May 2016 07:18
David B is currently offline  David B
Messages: 18
Registered: January 2015
Junior Member
So I am working with lines of pixels, which is about as exciting as one may expect.

An interesting and somewhat bothersome problem is that IDL morph_'whatever' does not seem* to support 'don't care' situations within the masks.

For example, morph_hitormiss would require:

Result = MORPH_HITORMISS (Image, HitStructure, MissStructure)

where the Hit/Miss structures are something like:

HitStructure = replicate(1, 3, 3)

producing:

1 1 1
1 1 1
1 1 1

Or you could have something radical like:

1 0 1
1 1 1
1 1 1

But what you cannot have is:

0 - -
0 1 0
0 0 0

where the dashes now represent null values or NANs. For the purposes of these morphological operations, this is useless as this then leads to no flexibility in the application of these algorithms where one does not care about the structure that is produced by these dashed areas under spatial transforms.

Perhaps someone at Harris could address this issue. Not that after the implementation in 5.3 any updates to these routines seem to have appeared.

*seem as though me staring at it for hours confirms this.

Doh!

David
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: RESIZE_DOIT
Next Topic: Completely omit NaNs from line plot

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

Current Time: Wed Oct 08 09:14:56 PDT 2025

Total time taken to generate the page: 0.00420 seconds