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

Home » Public Forums » archive » Re: IDL's built-in function DILATE and ERODE doesn't work as described in help
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: IDL's built-in function DILATE and ERODE doesn't work as described in help [message #50676] Fri, 13 October 2006 09:37 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
Could one simply add a border around its image, process the
"label_region" and delete the border?

Jean

Karsten Rodenacker wrote:
> Jo, I meant with deleting border points 'set to integer 0' which is
> infact the background.
> To define connected components there has background to be defined in
> advance,
> hence the background is NOT in the result a labelled component, even
> not necessarily connected!
> Connected compenents start with index 1! This differs with the results
> of contour path where each connected border gets an entry in the info
> list with mark inside or outside.
>
> However, the deletion of the border in LABEL_REGION is nasty and
> superfluos today!
> Regards
> KR
>
> Am Fri, 13 Oct 2006 10:46:31 +0200 schrieb Jo Klein <jo_kln@yahoo.co.uk>:
>
>>> LABEL_REGION
>>> Although not directly MM related it is one of the jewels of IDL
>>> (like where and histogram). The disturbing thing is (again) the
>>> border point behavior. It is deleting a one bit border.
>>
>> Hi Karsten,
>> At the risk of repeating myself - it's even worse than that. It
>> doesn't delete the border, but puts it into the first component. What
>> if you're actually interested in that one, say, to calculate
>> background features? It will be contaminated with portions of the
>> other components - not nice.
>> Cheers,
>> Jo
>
>
>
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Altered device coordinates after first call
Next Topic: IDL's built-in function DILATE and ERODE doesn't work as described in help

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

Current Time: Wed Oct 08 19:43:40 PDT 2025

Total time taken to generate the page: 0.00498 seconds