<meta http-equiv="content-type" content="text/html; charset=utf-8"><div class="gmail_quote">On Thu, Mar 10, 2011 at 12:53 PM, Jong Seo Yoon <span dir="ltr">&lt;<a href="mailto:js0823@gmail.com">js0823@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi.<div>I&#39;m not sure if this is the right email to ask questions about(I just subscribed to insight-users).</div><div>
<br></div><div>I have two images, which are read by using itkImageReader.</div><div>One has pixel size of 960 x 960, while the other one has pixel size of 240 x 240.</div>
<div>How do I make the second image to have pixel size of 960 x 960 so that it is same with the first image?</div></blockquote><div><br></div><div>I believe it would go something like this: </div><meta http-equiv="content-type" content="text/html; charset=utf-8"><a href="http://www.itk.org/Wiki/ITK/Examples/WishList/ImageProcessing/ScaleTransform">http://www.itk.org/Wiki/ITK/Examples/WishList/ImageProcessing/ScaleTransform</a></div>
<div class="gmail_quote"><br></div><div class="gmail_quote"><a href="http://www.itk.org/Wiki/ITK/Examples/WishList/ImageProcessing/ScaleTransform"></a>However, I&#39;m getting a </div><div class="gmail_quote"><div class="gmail_quote">
<br></div><div class="gmail_quote">ScaleTransform.cxx:32: error: no matching function for call to ‘itk::ResampleImageFilter&lt;itk::Image&lt;unsigned char, 2u&gt;, itk::Image&lt;unsigned char, 2u&gt;, double&gt;::SetTransform(itk::SmartPointer&lt;itk::ScaleTransform&lt;float, 2u&gt; &gt;&amp;)’</div>
<div><br></div><div>So if someone can help you out with that you should be in business.</div><br>David<br></div>