<?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, 26 Feb 2010 13:09:23 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Anonymous</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-16</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 31 Dec 1969 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-16</guid>
		<description>This is working well for me in Jaunty. I&#039;m using the python ITK+VTK setup to quickly test and experiment. I then write it in C++ for the main program. Thanks for the packages, as the standard distro packages don&#039;t quite cut it!</description>
		<content:encoded><![CDATA[<p>This is working well for me in Jaunty. I&#8217;m using the python ITK+VTK setup to quickly test and experiment. I then write it in C++ for the main program. Thanks for the packages, as the standard distro packages don&#8217;t quite cut it!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Anonymous</title>
		<link>http://www.paulnovo.org/repository/comment-page-1#comment-15</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 31 Dec 1969 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-15</guid>
		<description>Hi. A real beginner here I&#039;m afraid. I installed ITK via your repository.

I&#039;m now trying to run the first program from the ITK documentation.

The documentation says I must specify the directory where ITK is built and when I try and run the Cmake file I get &quot;ITK not found&quot;. 

Can you let me know what directory I should use?

Thanks

Ben</description>
		<content:encoded><![CDATA[<p>Hi. A real beginner here I&#8217;m afraid. I installed ITK via your repository.</p>
<p>I&#8217;m now trying to run the first program from the ITK documentation.</p>
<p>The documentation says I must specify the directory where ITK is built and when I try and run the Cmake file I get &#8220;ITK not found&#8221;. </p>
<p>Can you let me know what directory I should use?</p>
<p>Thanks</p>
<p>Ben</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-14</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Wed, 31 Dec 1969 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">#comment-14</guid>
		<description>I am putting together the Jaunty packages at the moment. The reason itk does not work in jaunty is because of the switch from python 2.5 to 2.6. Python2.5 should still be installed on you system, and if you start python2.5 instead of python, the itk packages are available. 

To get itk working in python 2.6 is a simple fix, but I would recommend just waiting for me to release packages for jaunty. </description>
		<content:encoded><![CDATA[<p>I am putting together the Jaunty packages at the moment. The reason itk does not work in jaunty is because of the switch from python 2.5 to 2.6. Python2.5 should still be installed on you system, and if you start python2.5 instead of python, the itk packages are available. </p>
<p>To get itk working in python 2.6 is a simple fix, but I would recommend just waiting for me to release packages for jaunty.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
