[Insight-users] FW: spacing
shoosh moosh
babygirl_25 at hotmail.com
Thu Aug 27 10:09:26 EDT 2009
I still got this error and the new file is attached
/home/shoosh/Desktop/BlockFaceVolume/ImageSeriesReadWrite.cxx: In function ‘int main(int, char**)’:
/home/shoosh/Desktop/BlockFaceVolume/ImageSeriesReadWrite.cxx:88: error: no matching function for call to ‘itk::ChangeInformationImageFilter<itk::Image<unsigned char, 3u> >::SetOutputSpacing(float [3])’
/home/shoosh/InsightToolkit-3.10.2/Code/BasicFilters/itkChangeInformationImageFilter.h:114: note: candidates are: void itk::ChangeInformationImageFilter<TInputImage>::SetOutputSpacing(typename TInputImage::SpacingType) [with TInputImage = itk::Image<unsigned char, 3u>]
make[2]: *** [CMakeFiles/ImageSeriesReadWrite.dir/ImageSeriesReadWrite.o] Error 1
make[1]: *** [CMakeFiles/ImageSeriesReadWrite.dir/all] Error 2
make: *** [all] Error 2
Thanks
> Date: Wed, 26 Aug 2009 18:32:44 -0400
> Subject: Re: [Insight-users] FW: spacing
> From: bill.lorensen at gmail.com
> To: babygirl_25 at hotmail.com
> CC: insight-users at itk.org
>
> To change the spacing for an image use itkChangeInformationImageFilter
> in your pipeline between the read and writer.
>
>
> 2009/8/26 shoosh moosh <babygirl_25 at hotmail.com>:
> >
> > Hi I'm trying to write an 3D image but I want to change the spacing before I
> > do so. I'm getting this error:
> >
> > /home/shoosh/Desktop/PROG/ImageSeriesReadWrite.cxx:84: error: invalid use of
> > void expression
> >
> > How can I set the spacing before the writing process without getting this
> > error?
> > The file is attached. Thanks
> >
> >
> > ________________________________
> > See all the ways you can stay connected to friends and family
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090827/e677c833/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ImageSeriesReadWrite.cxx
Type: text/x-c++src
Size: 4502 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20090827/e677c833/attachment.cxx>
More information about the Insight-users
mailing list