<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>colincaprani.com &#187; Programming</title>
	<atom:link href="http://www.colincaprani.com/wordpress/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.colincaprani.com</link>
	<description>Structural Engineering, Bridge Research, Programming, and more...</description>
	<lastBuildDate>Tue, 31 Jan 2012 20:59:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>TLCD Video Analysis using Matlab</title>
		<link>http://www.colincaprani.com/wordpress/2011/02/tlcd-video-analysis-using-matlab/</link>
		<comments>http://www.colincaprani.com/wordpress/2011/02/tlcd-video-analysis-using-matlab/#comments</comments>
		<pubDate>Fri, 18 Feb 2011 23:40:52 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Engineering]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Research]]></category>

		<guid isPermaLink="false">http://www.colincaprani.com/?p=630</guid>
		<description><![CDATA[To measure the liquid heights in a Tuned Liquid Column Damper, either very expensive wave bob metres are needed, or the researcher can go through video image frame by frame estimating the height of the liquid columns from a scale attached to the TLCD. To avoid this laborious task, and to increase the number of [...]]]></description>
			<content:encoded><![CDATA[<p>To measure the liquid heights in a Tuned Liquid Column Damper, either very expensive wave bob metres are needed, or the researcher can go through video image frame by frame estimating the height of the liquid columns from a scale attached to the TLCD. To avoid this laborious task, and to increase the number of experiments we can do, I developed a video analysis toolkit that processes the image automatically for the liquid heights. Here&#8217;s a video of the analysis:</p>
<p><object width="500" height="400"><param name="movie" value="http://www.youtube.com/e/yxtapj8qSzo"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/e/yxtapj8qSzo" type="application/x-shockwave-flash" width="500" height="400" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>The output can be converted to time and length (in mm say) using the  rulers to get a scale (mm per pixel say) and the frame rate of the  video. The &#8216;redness&#8217; of the liquid is the key here: the video is  split into RGB and the red channel isolated and converted to black and  white once a filter is applied. This image is then scrubbed to get rid  of any objects smaller than a threshold size, leaving only the liquid of  the column. The image is then split in two at the centre of the  bounding box to analyze each column separately. Since a black and white  image is represented by a matrix of 1 and 0s, summing the columns of the  matrix (ie the vertical direction) gives the column height in pixels. A  few other adjustments are needed, but that&#8217;s the basic idea.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.colincaprani.com/wordpress/2011/02/tlcd-video-analysis-using-matlab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Programs Updates</title>
		<link>http://www.colincaprani.com/wordpress/2008/05/more-programs-updates/</link>
		<comments>http://www.colincaprani.com/wordpress/2008/05/more-programs-updates/#comments</comments>
		<pubDate>Sat, 24 May 2008 11:47:07 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.colincaprani.com/?p=55</guid>
		<description><![CDATA[The two main programs that I&#8217;ve developed in Visual Basic are now available here: FEBeam: a finite element beam analysis package; TrussMaster: a truss analysis package. These programs are close to fully-fledged but there are still some rough edges. Also made available are: TrussGenerator: an auxilliary program to TrussMaster; Steel Section DB: a steel sections [...]]]></description>
			<content:encoded><![CDATA[<p>The two main programs that I&#8217;ve developed in Visual Basic are now available <a href="/programming/visual-basic/">here</a>:</p>
<ul>
<li>FEBeam: a finite element beam analysis package;</li>
<li>TrussMaster: a truss analysis package.</li>
</ul>
<p>These programs are close to fully-fledged but there are still some rough edges. Also made available are:</p>
<ul>
<li>TrussGenerator: an auxilliary program to TrussMaster;</li>
<li>Steel Section DB: a steel sections database in VB;</li>
<li>Graph Displacements: of a beam element;</li>
<li>Operations: machine-dependent operator timing (+,-,x,/).</li>
</ul>
<p><a href="http://www.colincaprani.com/wordpress/go.php?http://www.colincaprani.com/wordpress/wp-content/uploads/2008/05/febeam.jpg" title="(223 hits)"><img class="alignnone size-medium wp-image-54" title="FEBeam" src="http://www.colincaprani.com/wordpress/wp-content/uploads/2008/05/febeam-300x185.jpg" alt="" width="300" height="185" /></a> <span class="hitcounter">(223 hits)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.colincaprani.com/wordpress/2008/05/more-programs-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programs Updated</title>
		<link>http://www.colincaprani.com/wordpress/2008/05/programs-updated/</link>
		<comments>http://www.colincaprani.com/wordpress/2008/05/programs-updated/#comments</comments>
		<pubDate>Thu, 22 May 2008 16:21:18 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.colincaprani.com/?p=49</guid>
		<description><![CDATA[The C++ section of the website has been updated with many small programs available for download: Nelder-Mead simplex algorithm; Runge-Kutta, 4th order program; Generalized Extreme Value distribution fitting program; Machine Epsilon calculator; Matrix class based on STL; Monte Carlo calculation of pi; Square root of a matrix program; Steelbeam analysis program. The Visual Basic section [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="/programming/cpp/">C++ section</a> of the website has been updated with many small programs available for download:</p>
<ul>
<li>Nelder-Mead simplex algorithm;</li>
<li>Runge-Kutta, 4th order program;</li>
<li>Generalized Extreme Value distribution fitting program;</li>
<li>Machine Epsilon calculator;</li>
<li>Matrix class based on STL;</li>
<li>Monte Carlo calculation of pi;</li>
<li>Square root of a matrix program;</li>
<li>Steelbeam analysis program.</li>
</ul>
<p>The <a href="/programming/visual-basic/">Visual Basic section</a> has also been updated, with some nice little apps and scripts for download:</p>
<ul>
<li>Recently Used Files module;</li>
<li>EC5 Joist design program;</li>
<li>Linear Simultaneous Equations solution program;</li>
<li>Stochastic Beam Design program.</li>
</ul>
<p>Some of the above programs are basic whilst others have hard-to-find algorithms encoded. If you check a program out give me some feedback!</p>
<p><a href="http://www.colincaprani.com/wordpress/go.php?http://www.colincaprani.com/wordpress/wp-content/uploads/2008/05/ec5-joist.jpg" title="(50 hits)"><img class="alignnone size-medium wp-image-46" title="EC5 Joist Design" src="http://www.colincaprani.com/wordpress/wp-content/uploads/2008/05/ec5-joist-300x235.jpg" alt="" width="300" height="235" /></a> <span class="hitcounter">(50 hits)</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.colincaprani.com/wordpress/2008/05/programs-updated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MultiFeedSnap &#8211; Moved</title>
		<link>http://www.colincaprani.com/wordpress/2008/05/multifeedsnap/</link>
		<comments>http://www.colincaprani.com/wordpress/2008/05/multifeedsnap/#comments</comments>
		<pubDate>Mon, 19 May 2008 18:04:22 +0000</pubDate>
		<dc:creator>Colin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.colincaprani.com/?p=37</guid>
		<description><![CDATA[The WordPress plugin MultiFeedSnap (855 hits) has nicely proved to be quite popular. Consequently, I&#8217;ve moved it to its own page, rather than try maintain it as a post. The page is here (855 hits). Please post any comments or queires you have at that page (855 hits). Thanks to those who are checking it [...]]]></description>
			<content:encoded><![CDATA[<p>The WordPress plugin <a href="http://www.colincaprani.com/wordpress/go.php?http://www.colincaprani.com/programming/multifeedsnap/" title="(855 hits)">MultiFeedSnap</a> <span class="hitcounter">(855 hits)</span> has nicely proved to be quite popular. Consequently, I&#8217;ve moved it to its own page, rather than try maintain it as a post. The page is <a href="http://www.colincaprani.com/wordpress/go.php?http://www.colincaprani.com/programming/multifeedsnap/" title="(855 hits)">here</a> <span class="hitcounter">(855 hits)</span>. Please post any comments or queires you have at that <a href="http://www.colincaprani.com/wordpress/go.php?http://www.colincaprani.com/programming/multifeedsnap/" title="(855 hits)">page</a> <span class="hitcounter">(855 hits)</span>.</p>
<p>Thanks to those who are checking it out.</p>
<p><object width="540" height="400" data="http://wordpress.org/extend/stats/charts.swf?library_path=http:%2F%2Fwordpress.org%2Fextend%2Fstats%2Fcharts_library&amp;php_source=http:%2F%2Fwordpress.org%2Fextend%2Fstats%2Fplugin-xml.php%3Fslug%3Dmultifeedsnap&amp;license=H1XVJS7RK7HL6-O5T4Q79KLYCK07EK" type="application/x-shockwave-flash"><param name="id" value="charts" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><param name="src" value="http://wordpress.org/extend/stats/charts.swf?library_path=http:%2F%2Fwordpress.org%2Fextend%2Fstats%2Fcharts_library&amp;php_source=http:%2F%2Fwordpress.org%2Fextend%2Fstats%2Fplugin-xml.php%3Fslug%3Dmultifeedsnap&amp;license=H1XVJS7RK7HL6-O5T4Q79KLYCK07EK" /></object><br />
<em>The WordPress downloads chart</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.colincaprani.com/wordpress/2008/05/multifeedsnap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

