Re: IDL's built-in function DILATE and ERODE doesn't work as described in help [message #50680 is a reply to message #50676] |
Fri, 13 October 2006 08:05   |
Karsten Rodenacker
Messages: 98 Registered: July 1997
|
Member |
|
|
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
--
Erstellt mit Operas revolutionᅵrem E-Mail-Modul: http://www.opera.com/m2/
|
|
|