<BODY><P>Hello everyone,</P>
<P>I would like to upsample a image for example&nbsp;from dimension(61,61,50) data spacing(2,2,2) to dimension(121,121,100) data spacing(1,1,1). I am using C++. </P>
<P>I checked the class vtkImageResample. But I'm not quite clear about this class. It seems that this class can only let me define the magnification factors. But in my project, I need to make sure the dimensions of the new image are&nbsp;exactly what I want. How can I define the dimensions of the&nbsp;new image if I use vtkImageResample?</P>
<P>Thank you!</P>
<P>Xin</P></BODY>