<?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.us</title>
	<atom:link href="http://paulnovo.us/comments/feed" rel="self" type="application/rss+xml" />
	<link>http://paulnovo.us</link>
	<description>paul novotny&#039;s internet home</description>
	<lastBuildDate>Thu, 15 Dec 2011 12:49:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by loli</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-372</link>
		<dc:creator>loli</dc:creator>
		<pubDate>Thu, 15 Dec 2011 12:49:31 +0000</pubDate>
		<guid isPermaLink="false">#comment-372</guid>
		<description>@paul: That sadly poses a problem for me, as ITK won&#039;t compile with the python bindings enabled on my machine.

I found two workarounds, which both have their problems:
I. Use itk.RelabelComponentImageFilter, as it supports UL input
The problem is here that when more than ushort (~65.000) labels are created, the ones out of range are concatenated
II. Cast to VTK and save as MetaIO image
This solves the problem of I, but one is restricted to the MetaIO format and the execution takes signif. longer

Any hint how I could recompile your pre-compiled package with UL support enabled?</description>
		<content:encoded><![CDATA[<p>@paul: That sadly poses a problem for me, as ITK won&#8217;t compile with the python bindings enabled on my machine.</p>
<p>I found two workarounds, which both have their problems:<br />
I. Use itk.RelabelComponentImageFilter, as it supports UL input<br />
The problem is here that when more than ushort (~65.000) labels are created, the ones out of range are concatenated<br />
II. Cast to VTK and save as MetaIO image<br />
This solves the problem of I, but one is restricted to the MetaIO format and the execution takes signif. longer</p>
<p>Any hint how I could recompile your pre-compiled package with UL support enabled?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by paul</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-371</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Wed, 30 Nov 2011 21:15:28 +0000</pubDate>
		<guid isPermaLink="false">#comment-371</guid>
		<description>@loli I am not compiling unsigned longs(UL) in these packages. It looks like the WatershedImageFilter has a hard-coded output of UL, so that is why it returns UL. Unfortunately, you would have to recompile the packages with UL turned on, so that all the other filters will also be able to use this data type.</description>
		<content:encoded><![CDATA[<p>@loli I am not compiling unsigned longs(UL) in these packages. It looks like the WatershedImageFilter has a hard-coded output of UL, so that is why it returns UL. Unfortunately, you would have to recompile the packages with UL turned on, so that all the other filters will also be able to use this data type.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by loli</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-370</link>
		<dc:creator>loli</dc:creator>
		<pubDate>Fri, 25 Nov 2011 15:26:59 +0000</pubDate>
		<guid isPermaLink="false">#comment-370</guid>
		<description>I stumbled the problem that itk.Image.UL2/3 exist and is returned by filters such as itk.WatershedImageFilter. But practically no filter templates exist for this type. Especially frustrating is that neither itk.ImageFileWriter nor itk.RescaleIntensityImageFilter nor the most simple itk.CastImageFilter can handle the UL type.

Any suggestion how I could retrieve my data without having to write my own conversion filter?

Greetings.</description>
		<content:encoded><![CDATA[<p>I stumbled the problem that itk.Image.UL2/3 exist and is returned by filters such as itk.WatershedImageFilter. But practically no filter templates exist for this type. Especially frustrating is that neither itk.ImageFileWriter nor itk.RescaleIntensityImageFilter nor the most simple itk.CastImageFilter can handle the UL type.</p>
<p>Any suggestion how I could retrieve my data without having to write my own conversion filter?</p>
<p>Greetings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by paul</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-368</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 30 Sep 2011 12:57:39 +0000</pubDate>
		<guid isPermaLink="false">#comment-368</guid>
		<description>@shan I don&#039;t have floats wrapped for that type, but it looks like doubles are. If you use ipython you can figure out what types are wrapped and which aren&#039;t. See my comment &lt;a href=&quot;http://www.paulnovo.org/repository#comment-365&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>@shan I don&#8217;t have floats wrapped for that type, but it looks like doubles are. If you use ipython you can figure out what types are wrapped and which aren&#8217;t. See my comment <a href="http://www.paulnovo.org/repository#comment-365" rel="nofollow">here</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by shan</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-367</link>
		<dc:creator>shan</dc:creator>
		<pubDate>Wed, 28 Sep 2011 01:38:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-367</guid>
		<description>Hi, I am wondering if itk.Mesh has a wrapper. I tried doing as follows
     itk.Mesh[itk.F,3]

it say that there is no such template. Or I am not doing it correctly???

Thanks</description>
		<content:encoded><![CDATA[<p>Hi, I am wondering if itk.Mesh has a wrapper. I tried doing as follows<br />
     itk.Mesh[itk.F,3]</p>
<p>it say that there is no such template. Or I am not doing it correctly???</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Andre</title>
		<link>http://paulnovo.us/repository/comment-page-1#comment-366</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Fri, 29 Jul 2011 18:20:08 +0000</pubDate>
		<guid isPermaLink="false">#comment-366</guid>
		<description>Great! Using Ipython I still get to know practical tricks. Thanks a lot !</description>
		<content:encoded><![CDATA[<p>Great! Using Ipython I still get to know practical tricks. Thanks a lot !</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by paul</title>
		<link>http://paulnovo.us/repository/comment-page-1#comment-365</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Fri, 29 Jul 2011 14:31:04 +0000</pubDate>
		<guid isPermaLink="false">#comment-365</guid>
		<description>Are you using ipython? I use ipython&#039;s autocomplete to tell if a filter supports different types.

For example, if you type:
a = itk.GradientImageFilter.
and then hit Tab, you will get a list of its member functions along with this:

itk.GradientImageFilter.IF2FF
itk.GradientImageFilter.IF3FF
itk.GradientImageFilter.ISS2FF
itk.GradientImageFilter.ISS3FF
itk.GradientImageFilter.IUC2FF
itk.GradientImageFilter.IUC3FF
itk.GradientImageFilter.IUS2FF
itk.GradientImageFilter.IUS3FF

It takes a bit to get used to this info, these describe the available templates. IF3FF corresponds to:
itk::GradientImageFilter&lt;itk::Image&lt;float, 3&gt;, float, float&gt;</description>
		<content:encoded><![CDATA[<p>Are you using ipython? I use ipython&#8217;s autocomplete to tell if a filter supports different types.</p>
<p>For example, if you type:<br />
a = itk.GradientImageFilter.<br />
and then hit Tab, you will get a list of its member functions along with this:</p>
<p>itk.GradientImageFilter.IF2FF<br />
itk.GradientImageFilter.IF3FF<br />
itk.GradientImageFilter.ISS2FF<br />
itk.GradientImageFilter.ISS3FF<br />
itk.GradientImageFilter.IUC2FF<br />
itk.GradientImageFilter.IUC3FF<br />
itk.GradientImageFilter.IUS2FF<br />
itk.GradientImageFilter.IUS3FF</p>
<p>It takes a bit to get used to this info, these describe the available templates. IF3FF corresponds to:<br />
itk::GradientImageFilter&lt;itk::Image&lt;float, 3&gt;, float, float&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by Andre</title>
		<link>http://paulnovo.us/repository/comment-page-1#comment-364</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Fri, 29 Jul 2011 14:17:02 +0000</pubDate>
		<guid isPermaLink="false">#comment-364</guid>
		<description>Can you tell what templating is possible, i.e. does GradientImageFilter support image type [itk.F,3]?</description>
		<content:encoded><![CDATA[<p>Can you tell what templating is possible, i.e. does GradientImageFilter support image type [itk.F,3]?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Getting Started with Python-InsightToolkit by Helen</title>
		<link>http://paulnovo.us/wrapitktutorial/comment-page-1#comment-363</link>
		<dc:creator>Helen</dc:creator>
		<pubDate>Wed, 08 Jun 2011 18:31:47 +0000</pubDate>
		<guid isPermaLink="false">#comment-363</guid>
		<description>Thanks, this was really useful. 
Has anyone tried using image registration with python? I&#039;m trying to convert Imageregistration7 example and getting the error:
RuntimeError: /tmp/buildd/insighttoolkit-3.18.0/Code/Numerics/itkRegularStepGradientDescentBaseOptimizer.cxx:197:
itk::ERROR: RegularStepGradientDescentOptimizer(0xad25f0e8): The size of Scales is 6, but the NumberOfParameters for the CostFunction is 4.

Does anyone know how to increase the number of parameters in python?</description>
		<content:encoded><![CDATA[<p>Thanks, this was really useful.<br />
Has anyone tried using image registration with python? I&#8217;m trying to convert Imageregistration7 example and getting the error:<br />
RuntimeError: /tmp/buildd/insighttoolkit-3.18.0/Code/Numerics/itkRegularStepGradientDescentBaseOptimizer.cxx:197:<br />
itk::ERROR: RegularStepGradientDescentOptimizer(0xad25f0e8): The size of Scales is 6, but the NumberOfParameters for the CostFunction is 4.</p>
<p>Does anyone know how to increase the number of parameters in python?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Insight Toolkit Ubuntu Repository by paul</title>
		<link>http://paulnovo.us/repository/comment-page-1#comment-310</link>
		<dc:creator>paul</dc:creator>
		<pubDate>Tue, 12 Apr 2011 11:12:25 +0000</pubDate>
		<guid isPermaLink="false">#comment-310</guid>
		<description>&lt;a href=&quot;#comment-309&quot; rel=&quot;nofollow&quot;&gt;@Andrey:&lt;/a&gt; When you set the input of one filter with the output of another, you need to use the GetOutput function. So your last line should be


subtractImageFilter = itk.SubtractImageFilter[image, image, image].New(
Input1 = image, Input2=laplacianImageFilter.GetOutput())
</description>
		<content:encoded><![CDATA[<p><a href="#comment-309" rel="nofollow">@Andrey:</a> When you set the input of one filter with the output of another, you need to use the GetOutput function. So your last line should be</p>
<p>subtractImageFilter = itk.SubtractImageFilter[image, image, image].New(<br />
Input1 = image, Input2=laplacianImageFilter.GetOutput())</p>
]]></content:encoded>
	</item>
</channel>
</rss>

