<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PhD on John Stowers</title><link>https://johnstowers.co.nz/tags/phd/</link><description>Recent content in PhD on John Stowers</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Wed, 19 Oct 2011 16:15:32 +0000</lastBuildDate><atom:link href="https://johnstowers.co.nz/tags/phd/index.xml" rel="self" type="application/rss+xml"/><item><title>A Change</title><link>https://johnstowers.co.nz/2011/10/19/a-change/</link><pubDate>Wed, 19 Oct 2011 16:15:32 +0000</pubDate><guid>https://johnstowers.co.nz/2011/10/19/a-change/</guid><description>&lt;p&gt;2011 has been an interesting year. Between the &lt;a href="http://en.wikipedia.org/wiki/Christchurch_earthquake" rel="noopener"&gt;stupid earthquakes&lt;/a&gt;
 and the pressure of finishing my PhD, I have been silent because I have had nothing interesting to talk about (cf. twitter&amp;hellip;).&lt;/p&gt;
&lt;p&gt;But there is a light at the end, I&amp;rsquo;m on track to complete my thesis, &lt;em&gt;&amp;lsquo;Biologically Inspired Visual Control of Flying Robots&amp;rsquo;,&lt;/em&gt; in December/January.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://johnstowers.co.nz/images/imported/chch1.jpg"&gt;&lt;figure class="img"&gt;
 &lt;img src="https://johnstowers.co.nz/images/imported/chch1-sml.jpg" alt="Christchurch, demolished, the old&amp;hellip;" loading="lazy" decoding="async"&gt;&lt;/figure&gt;
&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m excited to say that I have accepted a job at the &lt;a href="http://www.imp.ac.at" rel="noopener"&gt;Institute of Molecular pathology&lt;/a&gt;
, in a &lt;a href="http://strawlab.org/" rel="noopener"&gt;research group&lt;/a&gt;
 studying the mechanisms of visual flight control in insects. Technology wise, it is a perfect fit; the experimental apparatus involves a multi-camera real-time flight tracking system and estimator for multiple targets in an augmented reality flight arena. It is open-source (ish), and python/numpy. Research wise, it allows me to investigate some of the assumptions and unknowns in the biomimetic control systems I implemented during my PhD. And it is in Vienna, 1st Feb, 2012!&lt;/p&gt;</description></item><item><title>Interfacing Python + C + OpenCV via ctypes</title><link>https://johnstowers.co.nz/2011/07/15/interfacing-python-c-opencv-via-ctypes/</link><pubDate>Fri, 15 Jul 2011 12:01:48 +0000</pubDate><guid>https://johnstowers.co.nz/2011/07/15/interfacing-python-c-opencv-via-ctypes/</guid><description>&lt;p&gt;I was recently asked to help a colleague access his image processing C-library from python; quite a common task. As those of you who are familiar with Python might realise, there are a whole bag of ways that this can be accomplished;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://www.swig.org/" rel="noopener"&gt;SWIG&lt;/a&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="http://cython.org/" rel="noopener"&gt;Cython&lt;/a&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ctypes&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href="https://launchpad.net/pybindgen" rel="noopener"&gt;PybindGen&lt;/a&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In this case the colleague only needed to access a single function from the library returning image data, and then hand this result onto OpenCV. One happy side effect of the new (&amp;gt; v2.1) python-opencv bindings is that they do &lt;a href="http://opencv.willowgarage.com/documentation/python/cookbook.html#pil-image-to-opencv" rel="noopener"&gt;no validation on CvImage.SetData&lt;/a&gt;
, which means you can pass an arbitrary string/pointer. Because of this I advised him I thought using something like SWIG was overkill, and he could just write a wrapper to his library using ctypes, or a thin python extension directly.&lt;/p&gt;</description></item><item><title>One Month In France</title><link>https://johnstowers.co.nz/2008/10/05/one-month-in-france/</link><pubDate>Sun, 05 Oct 2008 11:29:04 +0000</pubDate><guid>https://johnstowers.co.nz/2008/10/05/one-month-in-france/</guid><description>&lt;p&gt;&lt;strong&gt;ENAC&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Hi Everyone, Its been a long time between blogging but I have an excuse. I have moved from &lt;a href="http://maps.google.com/?ie=UTF8&amp;amp;ll=-43.526724,172.656026&amp;amp;spn=0.006628,0.021973&amp;amp;t=h&amp;amp;z=16" rel="noopener"&gt;Christchurch New Zealand&lt;/a&gt;
, to &lt;a href="http://www.enac.fr/" rel="noopener"&gt;ENAC&lt;/a&gt;
, &lt;a href="http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;q=enac,&amp;#43;toulouse,&amp;#43;france&amp;amp;ie=UTF8&amp;amp;ll=43.565327,1.474915&amp;amp;spn=0.006623,0.021973&amp;amp;t=h&amp;amp;z=16" rel="noopener"&gt;Toulouse, France&lt;/a&gt;
. I have now been here for a month, working with the &lt;a href="http://paparazzi.enac.fr/wiki/index.php/Main_Page" rel="noopener"&gt;UAV team&lt;/a&gt;
 here.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://johnstowers.co.nz/images/imported/cimg3107.jpg"&gt;&lt;figure class="img"&gt;
 &lt;img src="https://johnstowers.co.nz/images/imported/cimg3107.jpg" alt="" loading="lazy" decoding="async"&gt;&lt;/figure&gt;

&lt;/a&gt;
&lt;em&gt;Screen Envy?&lt;/em&gt;&lt;a href="https://johnstowers.co.nz/images/imported/cimg3107.jpg"&gt;&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;The work has been really challenging, and I have settled into my routine, working towards some things I would like to demonstrate before I leave. I have spent a few weeks doing a lot of electronics design,  updating the paparazzi autopilot board, the IMU, and the GPS boards. Nothing revolutionary, just some evolutionary improvements over the previous hardware.&lt;/p&gt;</description></item><item><title>Frantic</title><link>https://johnstowers.co.nz/2008/05/21/frantic/</link><pubDate>Wed, 21 May 2008 20:22:38 +0000</pubDate><guid>https://johnstowers.co.nz/2008/05/21/frantic/</guid><description>&lt;p&gt;Frantic would be how I described my last two weeks. I have had very little free time to work on Conduit. Everything seems to have come at once!&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;I got accepted for summer of code - &lt;a href="http://code.google.com/soc/2008/gnome/appinfo.html?csaid=6D8BB0A85489E843" rel="noopener"&gt;adding SyncML support to Conduit.&lt;/a&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Alexandre Inacio Rosenfeld also got accepted to SOC to work on &lt;a href="http://code.google.com/soc/2008/gnome/appinfo.html?csaid=90F643A2BBAEC3D7" rel="noopener"&gt;Ipod and media support in Conduit.&lt;/a&gt;
&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I got accepted to &lt;a href="http://guadec.expectnation.com/guadec08/public/schedule/detail/25" rel="noopener"&gt;speak at GUADEC&lt;/a&gt;
, which I will be attending, providing all finances work out.&lt;/p&gt;</description></item><item><title>Why Engineering and FOSS is Satisfying</title><link>https://johnstowers.co.nz/2008/03/28/why-engineering-and-foss-is-satisfying/</link><pubDate>Fri, 28 Mar 2008 20:56:34 +0000</pubDate><guid>https://johnstowers.co.nz/2008/03/28/why-engineering-and-foss-is-satisfying/</guid><description>&lt;p&gt;I recently came across the post; &lt;a href="http://drewyates.net/why-student-programmers-rant-about-business-students-with-ideas" rel="noopener"&gt;why student programmers rant about business students with ideas&lt;/a&gt;
. Putting my ideological belief in FOSS aside, I think it eloquently describes why I chose to return and pursue a PhD after a year spent studying engineering management (like an MBA - for those North American folks).&lt;/p&gt;
&lt;p&gt;I also think it is highly applicable to FOSS. Many successful FOSS projects are born from engineers, the &lt;em&gt;&amp;lsquo;decision to execute&amp;rsquo;&lt;/em&gt; has already been made. As the article mentions, _&amp;rsquo;leadership and the ability to make decisions _is &lt;em&gt;valuable, but only in groups with realizable ability to execute&amp;rsquo;&lt;/em&gt;. As a FOSS project evolves, the (normal?) combination of a BFDL and the constant freedom to fork keep the project relatively free of the ownership style disputes described in the post.&lt;/p&gt;</description></item></channel></rss>