<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&lt;itk::Image&lt;unsigned char, 3u&gt; &gt;::SetOutputSpacing(float [3])’<br>/home/shoosh/InsightToolkit-3.10.2/Code/BasicFilters/itkChangeInformationImageFilter.h:114: note: candidates are: void itk::ChangeInformationImageFilter&lt;TInputImage&gt;::SetOutputSpacing(typename TInputImage::SpacingType) [with TInputImage = itk::Image&lt;unsigned char, 3u&gt;]<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>&gt; Date: Wed, 26 Aug 2009 18:32:44 -0400<br>&gt; Subject: Re: [Insight-users] FW: spacing<br>&gt; From: bill.lorensen@gmail.com<br>&gt; To: babygirl_25@hotmail.com<br>&gt; CC: insight-users@itk.org<br>&gt; <br>&gt; To change the spacing for an image use itkChangeInformationImageFilter<br>&gt; in your pipeline between the read and writer.<br>&gt; <br>&gt; <br>&gt; 2009/8/26 shoosh moosh &lt;babygirl_25@hotmail.com&gt;:<br>&gt; &gt;<br>&gt; &gt; Hi I'm trying to write an 3D image but I want to change the spacing before I<br>&gt; &gt; do so. I'm getting this error:<br>&gt; &gt;<br>&gt; &gt; /home/shoosh/Desktop/PROG/ImageSeriesReadWrite.cxx:84: error: invalid use of<br>&gt; &gt; void expression<br>&gt; &gt;<br>&gt; &gt; How can I set the spacing before the writing process without getting this<br>&gt; &gt; error?<br>&gt; &gt; The file is attached. Thanks<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt; ________________________________<br>&gt; &gt; See all the ways you can stay connected to friends and family<br>&gt; &gt; _____________________________________<br>&gt; &gt; Powered by www.kitware.com<br>&gt; &gt;<br>&gt; &gt; Visit other Kitware open-source projects at<br>&gt; &gt; http://www.kitware.com/opensource/opensource.html<br>&gt; &gt;<br>&gt; &gt; Please keep messages on-topic and check the ITK FAQ at:<br>&gt; &gt; http://www.itk.org/Wiki/ITK_FAQ<br>&gt; &gt;<br>&gt; &gt; Follow this link to subscribe/unsubscribe:<br>&gt; &gt; http://www.itk.org/mailman/listinfo/insight-users<br>&gt; &gt;<br>&gt; &gt;<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>