<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for PaulNovo.org</title>
	<atom:link href="http://www.paulnovo.org/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://www.paulnovo.org</link>
	<description>paul novotny&#039;s internet home</description>
	<lastBuildDate>Fri, 25 Jun 2010 15:41:51 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Fabrizio</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-269</link>
		<dc:creator>Fabrizio</dc:creator>
		<pubDate>Fri, 25 Jun 2010 15:41:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-269</guid>
		<description>very good job, thank you very much!!</description>
		<content:encoded><![CDATA[<p>very good job, thank you very much!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by paul</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-93</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Mon, 03 May 2010 19:18:55 +0000</pubDate>
		<guid isPermaLink="false">#comment-93</guid>
		<description>I am not sure what datatype met_short is? Are you referring to the datatype names used in Meta Images? I am pretty sure that a met_short corresponds to a normal signed short for meta images. So you would just need to use the following:

image_type = itk.Image[itk.SS, 3]</description>
		<content:encoded><![CDATA[<p>I am not sure what datatype met_short is? Are you referring to the datatype names used in Meta Images? I am pretty sure that a met_short corresponds to a normal signed short for meta images. So you would just need to use the following:</p>
<p>image_type = itk.Image[itk.SS, 3]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by Paolo</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-92</link>
		<dc:creator>Paolo</dc:creator>
		<pubDate>Sat, 01 May 2010 16:56:40 +0000</pubDate>
		<guid isPermaLink="false">#comment-92</guid>
		<description>I&#039;d like to use images of type met_short but if I write
image_type = itk.Image[itk.MS, 3]
it dosen&#039;t work.
What&#039;s the right command?
Thank you very much.</description>
		<content:encoded><![CDATA[<p>I&#8217;d like to use images of type met_short but if I write<br />
image_type = itk.Image[itk.MS, 3]<br />
it dosen&#8217;t work.<br />
What&#8217;s the right command?<br />
Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by paul</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-85</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 26 Feb 2010 13:09:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-85</guid>
		<description>spacing isn&#039;t a python array. To get the values, use GetElement:
  spacing = reader.GetOutput().GetSpacing()  
  spacing_x = spacing.GetElement(0)
  spacing_y = spacing.GetElement(1)
  spacing_z = spacing.GetElement(2)</description>
		<content:encoded><![CDATA[<p>spacing isn&#8217;t a python array. To get the values, use GetElement:<br />
  spacing = reader.GetOutput().GetSpacing()<br />
  spacing_x = spacing.GetElement(0)<br />
  spacing_y = spacing.GetElement(1)<br />
  spacing_z = spacing.GetElement(2)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by francois</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-84</link>
		<dc:creator>francois</dc:creator>
		<pubDate>Fri, 26 Feb 2010 08:58:15 +0000</pubDate>
		<guid isPermaLink="false">#comment-84</guid>
		<description>To set the spacing of the output image using the input image, you can do such thing :
spacing = reader.GetOutput().GetSpacing()
output_image.SetSpacing(spacing)

However, I have some trouble to have access to the spacing values !

spacing[0] does not work for instance :
TypeError: &#039;itkVectorD3Ptr&#039; object does not support indexing

Do you know how to do this ?</description>
		<content:encoded><![CDATA[<p>To set the spacing of the output image using the input image, you can do such thing :<br />
spacing = reader.GetOutput().GetSpacing()<br />
output_image.SetSpacing(spacing)</p>
<p>However, I have some trouble to have access to the spacing values !</p>
<p>spacing[0] does not work for instance :<br />
TypeError: &#8216;itkVectorD3Ptr&#8217; object does not support indexing</p>
<p>Do you know how to do this ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by paul</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-81</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sun, 17 Jan 2010 13:16:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-81</guid>
		<description>&lt;a href=&quot;#comment-55&quot; rel=&quot;nofollow&quot;&gt;@Stefan:&lt;/a&gt; itk_zlib.h should be in the libinsighttoolkit-dev package. If you run

&lt;code&gt;sudo apt-get install libinsighttoolkit-dev&lt;/code&gt;

itk_zlib.h should be in /usr/include/InsightToolkit/Utilities/</description>
		<content:encoded><![CDATA[<p><a href="#comment-55" rel="nofollow">@Stefan:</a> itk_zlib.h should be in the libinsighttoolkit-dev package. If you run</p>
<p><code>sudo apt-get install libinsighttoolkit-dev</code></p>
<p>itk_zlib.h should be in /usr/include/InsightToolkit/Utilities/</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Stefan</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-55</link>
		<dc:creator>Stefan</dc:creator>
		<pubDate>Sun, 10 Jan 2010 15:15:24 +0000</pubDate>
		<guid isPermaLink="false">#comment-55</guid>
		<description>I&#039;m trying to build an application using the itk zlib. Unfortunately I&#039;can&#039;t find the corresponding header file itk_zlib.h with your build version of itk 3.16. Am I missing something?</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to build an application using the itk zlib. Unfortunately I&#8217;can&#8217;t find the corresponding header file itk_zlib.h with your build version of itk 3.16. Am I missing something?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by paul</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-33</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Sat, 28 Nov 2009 23:45:57 +0000</pubDate>
		<guid isPermaLink="false">#comment-33</guid>
		<description>&lt;a href=&quot;#comment-30&quot; rel=&quot;nofollow&quot;&gt;@xhwang:&lt;/a&gt; The spacing is set a little different than that. Probably the easiest way to do it in Python is the following (for 1.5, 1.5, 2.0 spacing):
  itk_image.GetSpacing().SetElement(0, 1.5)
  itk_image.GetSpacing().SetElement(1, 1.5)
  itk_image.GetSpacing().SetElement(2, 2.0)</description>
		<content:encoded><![CDATA[<p><a href="#comment-30" rel="nofollow">@xhwang:</a> The spacing is set a little different than that. Probably the easiest way to do it in Python is the following (for 1.5, 1.5, 2.0 spacing):<br />
  itk_image.GetSpacing().SetElement(0, 1.5)<br />
  itk_image.GetSpacing().SetElement(1, 1.5)<br />
  itk_image.GetSpacing().SetElement(2, 2.0)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by xhwang</title>
		<link>http://www.paulnovo.org/wrapitktutorial/comment-page-1#comment-30</link>
		<dc:creator>xhwang</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:49:18 +0000</pubDate>
		<guid isPermaLink="false">#comment-30</guid>
		<description>hi Paul,
Do you know how to Defining Origin and Spacing use ITK-WrapITK? 

I use&quot;itk_image.SetSpacing(1.5,1.5,2.0)&quot; to define the space of a ITK image, but failed.

Can you give a help?

many thanks~
xh</description>
		<content:encoded><![CDATA[<p>hi Paul,<br />
Do you know how to Defining Origin and Spacing use ITK-WrapITK? </p>
<p>I use&#8221;itk_image.SetSpacing(1.5,1.5,2.0)&#8221; to define the space of a ITK image, but failed.</p>
<p>Can you give a help?</p>
<p>many thanks~<br />
xh</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by paul</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-17</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Wed, 31 Dec 1969 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-17</guid>
		<description>To be able to build your own ITK projects, you need the dev package. This should automatically set everything up so CMake can find everything. To install the dev package just type in the following:

&lt;code&gt;sudo apt-get install libinsighttoolkit-dev&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>To be able to build your own ITK projects, you need the dev package. This should automatically set everything up so CMake can find everything. To install the dev package just type in the following:</p>
<p><code>sudo apt-get install libinsighttoolkit-dev</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
