<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi everyone<br>I'm new in itk....so, sorry for my (maybe stupid) questions.<br><br>I have to resample a 3D US image (it is a 97 frames image and I want to reduce its frame-number to 50).<br>I tried to adapt ResampleImageFilter (Examples/Filtering/ResampleImageFilter.cxx.) for 3D image. I wanted to run it to see how that filter works but I've this error:<br><br>-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br>terminate called after throwing an instance of 'itk::ExceptionObject'<br> what(): /usr/local/include/InsightToolkit/IO/itkImageFileWriter.txx:271:<br>itk::ERROR: ImageFileWriter(0x9bac220): Largest possible region does not fully contain requested paste IO regionPaste IO region: ImageIORegion (0xbfbda908)<br> Dimension: 3<br> Index: 0 0 0 <br> Size: 3216878376 138384173 50 <br>Largest possible region: ImageRegion (0xbfbda964)<br> Dimension: 3<br> Index: [0, 0, 0]<br> Size: [3216878376, 138384173, 50]<br><br>Aborted<br>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<br><br>I think that my code is wrong but I don't find my (propably stupid) error....<br><br>I add my wrong<img src="http://gfx2.hotmail.com/mail/w4/pr01/ltr/emoticons/smile_sad.gif" alt="" height="19" width="19"> code to this mail...<br><br>Thanks all<br>Daniela<br>                                            <br /><hr />Avatar per Messenger e sfondo per il PC <a href='http://www.experience.windows.com/landing2.aspx?culture=it-it' target='_new'>Creali gratis!</a></body>
</html>