<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to MIA and Python</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>Recent changes to MIA and Python</description><atom:link href="https://sourceforge.net/p/mia/wiki/MIA%20and%20Python/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 09 Jan 2015 17:39:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/mia/wiki/MIA%20and%20Python/feed" rel="self" type="application/rss+xml"/><item><title>MIA and Python modified by Gert Wollny</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -3,9 +3,11 @@
 * [Installing the mia-python module] 
 * [Using mia from Python]

+In addition, as of version &amp;gt;= 2.2.3 experimental support for [NiPyPe](http://nipy.sourceforge.net/nipype/) is provided, i.e. for all MIA command line tools the according interfaces are provided.
+
+* [MIA and NiPyPe]

-
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gert Wollny</dc:creator><pubDate>Fri, 09 Jan 2015 17:39:40 -0000</pubDate><guid>https://sourceforge.net9587fc08954f601313f5aa12ac44c0460e997566</guid></item><item><title>MIA and Python modified by Gert Wollny</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -1,7 +1,7 @@
 Support from Python for certain MIA functionallity be achieved by installing the pymia Python wrapper.  Currently, the wrapper provides an interface for image filtering and image registration.

-## [Installing the mia-python module] 
-## [Using mia from Python] 
+* [Installing the mia-python module] 
+* [Using mia from Python] 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gert Wollny</dc:creator><pubDate>Thu, 12 Dec 2013 15:08:47 -0000</pubDate><guid>https://sourceforge.nete8467e69e1b317deea2d15305093d52d8d161b52</guid></item><item><title>MIA and Python modified by Gert Wollny</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -1,48 +1,7 @@
 Support from Python for certain MIA functionallity be achieved by installing the pymia Python wrapper.  Currently, the wrapper provides an interface for image filtering and image registration.

 ## [Installing the mia-python module] 
-
-## Using mia from Python 
-
-The name of the module is simply *mia*, hence the is is loaded as 
-
-    :::python 
-    import mia
-
-The functionality currently exposed to Python  is limited to loading images, running 2D and 3D filters on gray scale image, and running image registration. Within Python the images are represented as numpy arrays, in fact no MIA objects are exposed directly to Python. 
-
-### Loading images
-
-MIA provides two functions for loading images, one for 2D images and one for 3D images. To load a 2D image from *filename*, run 
-
-    :::python 
-    image = mia.load_image2d(filename)
-
-Note, that all meta data is lost, only the raw pixel data is returned. Likewise for 3D data. To preserve metadat you might want to have a look into [nibabel](http://nipy.org/nibabel/).  
-
-
-### Filtering 
-
-The *mia.filter* function transparently distinguishes between 2D and 3D images. Filters are specified as strings like they are given on the [mia-2dimagefilter](http://mia.sourceforge.net/userref/Secmia2dimagefilter.html) and [mia-3dimagefilter](http://mia.sourceforge.net/userref/Secmia3dimagefilter.html) command line.
-
-Filters can be run one at a time, or as a pipeline. To run a single filter, e.g. a *median* filter of *half filter width* 3 on an image *input* run 
-
-    :::python 
-    filtered = mia.filter(input, "median:w=3")
-
-To run a filter chain, e.g. the above median, followed by a *mean-least-variance* filter with a filter width parameter 5, provide the filters as a list: 
-
-    :::python 
-    filtered = mia.filter(input, ["median:w=3", "mlv:w=5"])
-
-Note that the filters function converts the *input* to the internal MIA image format, creates and runs the filters, and then converts the images back to *numpy* arrays. Therefore, for performance reasons, it is best to run the filter chains instead of one filter at a time. 
-
-In order to avoid re-creating filters one can enable the filter cache by calling 
-
-    :::python 
-    mia.set_filter_plugin_cache(True)
-
-Then, filters with the same description are re-used  in subsequent calls to the *mia.filter* function. The filters in MIA normally work like functions, i.e. no state changes when it is called. *However, in some rare cases, when external data is loaded by means of a filter parameter, this may actually not work like expected (cf. [tickets:#134]).*
+## [Using mia from Python] 

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gert Wollny</dc:creator><pubDate>Thu, 12 Dec 2013 12:35:31 -0000</pubDate><guid>https://sourceforge.netb94f5eace894e72b8552608684a1d88cfb209a01</guid></item><item><title>MIA and Python modified by Gert Wollny</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -1,5 +1,52 @@
 Support from Python for certain MIA functionallity be achieved by installing the pymia Python wrapper.  Currently, the wrapper provides an interface for image filtering and image registration.

-[Installing the mia-python module] 
+## [Installing the mia-python module] 
+
+## Using mia from Python 
+
+The name of the module is simply *mia*, hence the is is loaded as 
+
+    :::python 
+    import mia
+
+The functionality currently exposed to Python  is limited to loading images, running 2D and 3D filters on gray scale image, and running image registration. Within Python the images are represented as numpy arrays, in fact no MIA objects are exposed directly to Python. 
+
+### Loading images
+
+MIA provides two functions for loading images, one for 2D images and one for 3D images. To load a 2D image from *filename*, run 
+
+    :::python 
+    image = mia.load_image2d(filename)
+
+Note, that all meta data is lost, only the raw pixel data is returned. Likewise for 3D data. To preserve metadat you might want to have a look into [nibabel](http://nipy.org/nibabel/).  

+### Filtering 
+
+The *mia.filter* function transparently distinguishes between 2D and 3D images. Filters are specified as strings like they are given on the [mia-2dimagefilter](http://mia.sourceforge.net/userref/Secmia2dimagefilter.html) and [mia-3dimagefilter](http://mia.sourceforge.net/userref/Secmia3dimagefilter.html) command line.
+
+Filters can be run one at a time, or as a pipeline. To run a single filter, e.g. a *median* filter of *half filter width* 3 on an image *input* run 
+
+    :::python 
+    filtered = mia.filter(input, "median:w=3")
+
+To run a filter chain, e.g. the above median, followed by a *mean-least-variance* filter with a filter width parameter 5, provide the filters as a list: 
+
+    :::python 
+    filtered = mia.filter(input, ["median:w=3", "mlv:w=5"])
+
+Note that the filters function converts the *input* to the internal MIA image format, creates and runs the filters, and then converts the images back to *numpy* arrays. Therefore, for performance reasons, it is best to run the filter chains instead of one filter at a time. 
+
+In order to avoid re-creating filters one can enable the filter cache by calling 
+
+    :::python 
+    mia.set_filter_plugin_cache(True)
+
+Then, filters with the same description are re-used  in subsequent calls to the *mia.filter* function. The filters in MIA normally work like functions, i.e. no state changes when it is called. *However, in some rare cases, when external data is loaded by means of a filter parameter, this may actually not work like expected (cf. [tickets:#134]).*
+
+
+
+
+
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gert Wollny</dc:creator><pubDate>Wed, 11 Dec 2013 12:50:43 -0000</pubDate><guid>https://sourceforge.net52c9c6c661a31164a417908baf7994dc6d4d6882</guid></item><item><title>MIA and Python modified by Gert Wollny</title><link>https://sourceforge.net/p/mia/wiki/MIA%2520and%2520Python/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Support from Python for certain MIA functionallity be achieved by installing the pymia Python wrapper.  Currently, the wrapper provides an interface for image filtering and image registration. &lt;/p&gt;
&lt;p&gt;&lt;span&gt;[Installing the mia-python module]&lt;/span&gt; &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gert Wollny</dc:creator><pubDate>Wed, 11 Dec 2013 12:13:33 -0000</pubDate><guid>https://sourceforge.netb265223f90ad31f248ed8bc6239a680ea2e3c972</guid></item></channel></rss>