[Insight-users] Question about Conntected Regions

Mathieu Malaterre Mathieu.Malaterre@creatis.insa-lyon.fr
Thu, 20 Mar 2003 16:53:36 +0100


Zein,
	I guess you can try to first:
- Erode the image
- Then Dilate again

See:
itkBinaryErodeImageFilter and itkBinaryDilateImageFilter

HTH
mathieu

salah wrote:
> Hi everybody,
> 
> I have a binary image which is a result of a segmentation process. As usual, it has 
> a large connected object. This object contains two big regions that are connected
> at some relatively narrow tunnel-like region. The attached figure illustrates the 
> idea in 2D. 
> 
> I need to disconnect these two regions as much automatically as possible. Actuallty, 
> I want to remove one one of them without affecting the one that I want to keep. 
> 
> Could anybody please help me doing that. I would be very thankfull for any kind of 
> help, ideas, suggestions, ...
> 
> 
> Zein
> 
> ->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
> Zein I. Salah 
> University of Tübingen, WSI-GRIS, Sand 14, 72076 Tübingen 
> Email: salah@gris.uni-tuebingen.de
> Tel.: (07071) 29 75465 (GRIS),           Fax: (07071) 29 54 66
>  <<imagedisconnect.jpg>> 
> 
> 
> ------------------------------------------------------------------------
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/