<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I still got this error and the new file is attached<br><br>/home/shoosh/Desktop/BlockFaceVolume/ImageSeriesReadWrite.cxx: In function ‘int main(int, char**)’:<br>/home/shoosh/Desktop/BlockFaceVolume/ImageSeriesReadWrite.cxx:88: error: no matching function for call to ‘itk::ChangeInformationImageFilter<itk::Image<unsigned char, 3u> >::SetOutputSpacing(float [3])’<br>/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>]<br>make[2]: *** [CMakeFiles/ImageSeriesReadWrite.dir/ImageSeriesReadWrite.o] Error 1<br>make[1]: *** [CMakeFiles/ImageSeriesReadWrite.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Thanks<br><br><br><br><br><br><br>> Date: Wed, 26 Aug 2009 18:32:44 -0400<br>> Subject: Re: [Insight-users] FW: spacing<br>> From: bill.lorensen@gmail.com<br>> To: babygirl_25@hotmail.com<br>> CC: insight-users@itk.org<br>> <br>> To change the spacing for an image use itkChangeInformationImageFilter<br>> in your pipeline between the read and writer.<br>> <br>> <br>> 2009/8/26 shoosh moosh <babygirl_25@hotmail.com>:<br>> ><br>> > Hi I'm trying to write an 3D image but I want to change the spacing before I<br>> > do so. I'm getting this error:<br>> ><br>> > /home/shoosh/Desktop/PROG/ImageSeriesReadWrite.cxx:84: error: invalid use of<br>> > void expression<br>> ><br>> > How can I set the spacing before the writing process without getting this<br>> > error?<br>> > The file is attached. Thanks<br>> ><br>> ><br>> > ________________________________<br>> > See all the ways you can stay connected to friends and family<br>> > _____________________________________<br>> > Powered by www.kitware.com<br>> ><br>> > Visit other Kitware open-source projects at<br>> > http://www.kitware.com/opensource/opensource.html<br>> ><br>> > Please keep messages on-topic and check the ITK FAQ at:<br>> > http://www.itk.org/Wiki/ITK_FAQ<br>> ><br>> > Follow this link to subscribe/unsubscribe:<br>> > http://www.itk.org/mailman/listinfo/insight-users<br>> ><br>> ><br><br /><hr />See all the ways you can stay connected <a href='http://www.microsoft.com/windows/windowslive/default.aspx' target='_new'>to friends and family</a></body>
</html>