[Insight-users] ChangeInformationImage filter and ImageFileWriter input problem

John dbgtjp at hotmail.com
Wed Oct 1 06:21:29 EDT 2008


Benhacene Boudan Mustafa <m.benhacene.boudan at ...> writes:

> 
> 
> Hi all, 
> i have to transform a dose map with a computed deformation field. The dose map
exported from the clinical
> software (eclipse) only gives the x and y spacing (don't ask me why for the
love of god) so i have to force the z
> spacing in my algorithm. For that i am using the ChangeInformationImage
filter. But when i try to use the
> outputfilter as the input of my ImageFileWriter filter : 
> 
> 	   writer->SetInput( filter->GetOutput() );
> 
> i have an error during the compilation: 
> 
> 	erreur: «filter» was not declared in this scope
> 
> Any idea why ?
> 
> Thank you very much.
> 
> karim

Hi karim,

did you include the header file of ChangeInformationImageFilter? Sounds like you
didn't do.

John




More information about the Insight-users mailing list