[Insight-users] Programming own Floodfill Using Iterators

Oliver Trebbe otrebbe at uni-muenster.de
Thu Dec 18 04:35:36 EST 2008


Hi Luis,

first reason was, i needed floodfill fast :)
and an other was: is it possbile to generate a list out of it with the 
'filled' indizes?
or how can i just generate lists with my indizes which passt my 'test?

Regards

Oliver




Luis Ibanez schrieb:
>
> Hi Oliver,
>
> Is there a particular reason why you are not simply using
> the existing ITK FloodFill Iterator ?
>
> http://www.itk.org/Insight/Doxygen/html/classitk_1_1FloodFilledImageFunctionConditionalIterator.html 
>
>
>
> This is the class used by the Region Growing filters.
>
>    itkConfidenceConnectedImageFilter.txx
>    itkConnectedThresholdImageFilter.txx
>    itkIsolatedConnectedImageFilter.txx
>    itkNeighborhoodConnectedImageFilter.txx
>    itkVectorConfidenceConnectedImageFilter.txx
>
>
>
>   Please let us know,
>
>
>      Thanks
>
>
>         Luis
>
>
> --------------------
> Oliver Trebbe wrote:
>> Hello Guys,
>>
>> I have a problem with my Iterators. :)
>> I tried to programm a 3 Dimensional Floodfill, but now the problem 
>> is, when i use
>> NextLine() or NextSlice() the Iterator jumps automatically to the 
>> start, is there a workaround to get the next Pixel in the next Line 
>> or Slice or both instead of iterating just the whole steps to it? :(
>> or do i need to see my 3D construct again as 1D array? without using 
>> the Iterators?
>>
>> Would be nice for some Help
>>
>> Regards
>>
>> Oliver
>>
>


-- 
Oliver Trebbe
Department of Neurology
University of Muenster
48129 Muenster, Germany




More information about the Insight-users mailing list