<?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>CardioSolv &#187; segmentation</title>
	<atom:link href="http://cardiosolv.com/tag/segmentation/feed/" rel="self" type="application/rss+xml" />
	<link>http://cardiosolv.com</link>
	<description>Personalized Cardiac Simulation</description>
	<lastBuildDate>Wed, 24 Aug 2011 18:55:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Seg3D: Compiling on Ubuntu Linux 9.10 &#8220;Karmic Koala&#8221; (with nVidia Drivers)</title>
		<link>http://cardiosolv.com/seg3d-compiling-on-ubuntu-linux-9-10-karmic-koala-with-nvidia-drivers/</link>
		<comments>http://cardiosolv.com/seg3d-compiling-on-ubuntu-linux-9-10-karmic-koala-with-nvidia-drivers/#comments</comments>
		<pubDate>Fri, 19 Mar 2010 20:53:23 +0000</pubDate>
		<dc:creator>Brock Tice, VP of Operations</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[meshing]]></category>
		<category><![CDATA[seg3d]]></category>
		<category><![CDATA[segmentation]]></category>
		<category><![CDATA[tarantula]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://cardiosolv.com/?p=273</guid>
		<description><![CDATA[Generation of heart (or other tissue) models from medical images requires several steps. In particular, masking and cleanup, segmentation, and meshing. Masking and cleanup of image stacks is easily done with something like ImageJ. Be warned &#8212; if you are &#8230; <a href="http://cardiosolv.com/seg3d-compiling-on-ubuntu-linux-9-10-karmic-koala-with-nvidia-drivers/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Generation of heart (or other tissue) models from medical images requires several steps. In particular, masking and cleanup, <a href="http://en.wikipedia.org/wiki/Segmentation_%28image_processing%29">segmentation</a>, and <a href="http://en.wikipedia.org/wiki/Image-based_meshing">meshing</a>. Masking and cleanup of image stacks is easily done with something like <a href="http://rsbweb.nih.gov/ij/">ImageJ</a>. Be warned &#8212; if you are using large images, it will require a lot of memory. Once some basic cleanup of the images, cropping, and masking has been done, it&#8217;s necessary to segment the interesting things from the non-interesting things, and to separate out various regions of interest. For example, when segmenting an MRI scan of a heart, first the MRI chamber (if included in the images) is masked out. Then unnecessary bits of the surrounding bath are cropped out. Adjustment of the brightness and contrast levels of the images might be necessary. Once that&#8217;s done, one wants to separate the heart from the bath, and maybe infarcted tissue from healthy tissue.</p>
<p>I spent quite some time trying to figure out a practical way to do this segmentation for my last project as a graduate student. I settled on using <a href="http://www.sci.utah.edu/SCIRunDocs/index.php/CIBC:Seg3D">Seg3D</a> from <a href="http://www.sci.utah.edu/">SCI</a>. Seg3D has a great 4-panel 3D interface (3 views + 3D rendering), and a number of built-in segmentation tools. In fact, when I looked it it today, it seemed to have had even more added to it than it had a year or two ago. I&#8217;ll write something about those old and new features later.</p>
<p>For now, if you want to get Seg3D up and running on a Windows or Mac machine, you&#8217;re set &#8212; just go download the appropriate package from the <a href="http://www.sci.utah.edu/download/seg3d/">Seg3D download page</a>. If you&#8217;re running Linux, however, you&#8217;ll have to compile it yourself. That&#8217;s probably for the best anyway &#8212; it&#8217;ll help ensure that it runs as efficiently as possible on your machine.</p>
<p>The <a href="http://www.sci.utah.edu/SCIRunDocs/index.php/CIBC:Seg3D:Documentation:Building">instructions on the Seg3D site</a> are pretty good, but I&#8217;ll add one thing that tripped me up today. If you&#8217;re using the proprietary <a href="http://www.nvidia.com/object/unix.html">nVidia drivers</a> in <a href="http://www.ubuntu.com/">Ubuntu</a>, and you&#8217;re using Ubuntu&#8217;s distribution of them (if you clicked a menu to switch to the drivers, you probably are), you have to install the <code>-dev</code> driver package to get the appropriate OpenGL libraries.</p>
<p>But maybe I&#8217;m getting ahead of myself. Do you have an nVidia card? If you don&#8217;t know, try:</p>
<p><code>lspci | grep -i nvidia</code></p>
<p>If you get something like this, you&#8217;re all set:</p>
<p><code>01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] (rev a1)</code></p>
<p>If you get nothing, you don&#8217;t have an nVidia card. To find out if you already have the drivers installed, try:</p>
<p><code>dpkg --get-selections | grep -i nvidia</code></p>
<p>If you see something like <code>nvidia-glx-185</code>, you&#8217;ve got the driver installed, and if you see something like <code>nvidia-glx-185-dev</code>, then you&#8217;re good to go. You can carry on from the <a href="http://www.sci.utah.edu/SCIRunDocs/index.php/CIBC:Seg3D:Documentation:Building">Seg3D compilation instructions</a>. If you see the first, but not the second, given the highest number from the first (in this case 185), do:</p>
<p><code>sudo apt-get install nvidia-glx-185-dev</code></p>
<p>Hopefully it&#8217;ll install, and then you&#8217;re all set for drivers. You can carry on and install using the <a href="http://www.sci.utah.edu/SCIRunDocs/index.php/CIBC:Seg3D:Documentation:Building">Seg3D instructions</a>.</p>
<p>I&#8217;ll have some posts later about using Seg3D to turn your images into a segmented stack, ready for meshing with <a href="http://www.meshing.at/Spiderhome/Tarantula.html">Tarantula</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://cardiosolv.com/seg3d-compiling-on-ubuntu-linux-9-10-karmic-koala-with-nvidia-drivers/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

