[Insight-users] flood fill?

Damion Shelton dmshelto@andrew.cmu.edu
Tue, 01 Oct 2002 09:49:17 -0400


Zein Salah wrote:

Hi, take a look at the FloodFilledFunctionConditionalIterator and 
derived classes. The ImageFunction variant of this class allows flood 
fills based on functions of pixel data (an example being a flood based 
on pixel intensity) and the SpatialFunction variant will flood based on 
pixel "inclusion" inside a N-d function defined in physical space (a 
sphere for instance).

Note that in both cases you will need to supply an appropriate function 
to the iterator in order to define the flood. You can either supply a 
seed pixel to the iterator or let it find it's own.

You may be interested in looking at 
/Examples/itkFloodFilledSpatialFunctionExample.cxx to get started.

-Damion-

> Hello all,
> is there some class, function, ... that does floodfilling for a 
> 3d image (volume)??
>  
> Thanks,
>  
> Zein
>  
>  
> ->8<------------->8<------------->8<------------->8<------------->8<------------->8<-
> Zein I. Salah
> Universität Tübingen, WSI-GRIS
> Sand 14
> 72076 Tübingen
> Email: salah@gris.uni-tuebingen.de 
> <mailto:salah@gris.uni-tuebingen.de>  / zeinsalah@hotmail.com 
> <mailto:zeinsalah@hotmail.com>
> Tel.: (07071) 29 75465 (GRIS) , (07071) 96 44 39 (privat)
> Fax: (07071) 29 54 66