[Insight-users] Performance issues for single slices

Nils Hanssen hanssen at caesar . de
Wed, 18 Jun 2003 10:05:43 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0001_01C33581.2E478C00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

I put together a small application with a level-set pipeline on volumetric
medical data. The scalar type of the images is float.
When I run the filters on a volume that consists of one slice only, the
computation time is increasing significantly. The measured times (compiled
in release) are:

Volume #1 (256x256x256 voxels):
Gradient magnitude: 6.6 sec.

Volume #2 (1984x1024x1 voxels):
Gradient magnitude: 39.9 sec.


Should I expect that the computation time is much lower if I use a
2-dimensional image for the slice images? The points is that I want to keep
the application general; that is it should be able to load slices and
volumetric images transparently.


Thanks in advance,
Nils

-------------------------
Nils Hanssen
Surgical Systems Laboratory
research center c ae sa r
Ludwig-Erhard-Allee 2
53175 Bonn
fon: +49-228-9656-197
fax: +49-228-9656-117
http://www . caesar . de/ssl




------=_NextPart_000_0001_01C33581.2E478C00
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">


<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>I put =
together a=20
small application with a level-set pipeline on volumetric medical data. =
The=20
scalar type of the images is float.</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>When I =
run the=20
filters on a volume that consists of one slice only, the computation =
time is=20
increasing significantly. The measured times (compiled in release)=20
are:</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>Volume =
#1=20
(256x256x256 voxels):</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial =
size=3D2>Gradient magnitude:=20
6.6 sec.</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>Volume =
#2=20
(1984x1024x1 voxels):</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial =
size=3D2>Gradient magnitude:=20
39.9 sec.</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>Should =
I expect that=20
the computation time is much lower if I use a 2-dimensional image for =
the slice=20
images? The points is that I want to keep the application general; that =
is it=20
should be able to load slices and volumetric images=20
transparently.</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003></SPAN><SPAN =
class=3D046274607-18062003><FONT=20
face=3DArial size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial size=3D2>Thanks =
in=20
advance,</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2>Nils</FONT></SPAN></DIV>
<DIV><SPAN class=3D046274607-18062003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2>-------------------------</FONT><BR><FONT=20
face=3D"Courier New" size=3D2>Nils Hanssen</FONT><FONT=20
face=3D"Times New Roman"><BR></FONT><FONT face=3D"Courier New" =
size=3D2>Surgical=20
Systems Laboratory</FONT><BR><FONT face=3D"Courier New" =
size=3D2>research center c=20
ae sa r</FONT><FONT face=3D"Times New Roman"><BR></FONT><FONT =
face=3D"Courier New"=20
size=3D2>Ludwig-Erhard-Allee 2<BR></FONT><FONT face=3D"Courier New" =
size=3D2>53175=20
Bonn</FONT><FONT face=3D"Times New Roman"><BR></FONT><FONT =
face=3D"Courier New"=20
size=3D2>fon: +49-228-9656-197</FONT><FONT face=3D"Times New =
Roman"><BR></FONT><FONT=20
face=3D"Courier New" size=3D2>fax: +49-228-9656-117</FONT><FONT=20
face=3D"Times New Roman"><BR><U></U></FONT><U><FONT face=3D"Courier New" =

color=3D#0000ff size=3D2><A href=3D"http://www . caesar . de/ssl"=20
target=3D_blank>http://www . caesar . de/ssl</A></FONT></U> </DIV><BR>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0001_01C33581.2E478C00--