[Insight-users] Bug in the NaryFunctorImageFilter ?

Gaetan Lehmann gaetan.lehmann at jouy.inra.fr
Thu Oct 19 05:26:04 EDT 2006


Can you give the error message ?

On Thu, 19 Oct 2006 00:59:20 +0200, Prename Surname  
<bsd.diverse at gmail.com> wrote:

> I am using the NaryFunctorImageFilter, but i seem to have encountered a  
> bug
> of some sort.
> I have run the file itkNaryAddImageFilterTest to check if i maybe had an
> error in my code, but apparently the problem is also when i run that code
> which is distributed with insight.
> The problem occurs when the update function is called. Then a excepetion
> occurs and the program crashes.
> Maybe someone else has also had experience with this before?
> Maybe is there something i dont know.
>
> My code looks like this :
>
> .
> .
> .
>  typedef itk::NaryAddImageFilter<ImageType,ImageType> NaryAddFilterType;
>  NaryAddFilterType::Pointer NaryAddFilter=NaryAddFilterType::New();
>
>  NaryAddFilter->SetInput(0,csf_lblFilt->GetOutput());
>  NaryAddFilter->SetInput(1,gm_lblFilt->GetOutput());
>  NaryAddFilter->SetInput(2,wm_lblFilt->GetOutput());
>  NaryAddFilter->Update();  // <------HERE OCCURS BUG
>
> I hope to hear from you soon. Many regards



-- 
Gaëtan Lehmann
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66    fax: 01 34 65 29 09
http://voxel.jouy.inra.fr


More information about the Insight-users mailing list