<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:SimSun;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\@SimSun";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"SimSun","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=ES link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>If you simply have a Hessian matrix (SymmetricSecondRankTensor)
you can get the same result by calculating the eigenvalues using the method
ComputeEigenValues(). This is useful for example if you calculate the Hessian
matrix in only a few points and want to calculate corresponding eigenvalues.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I don¡¯t know what you understand by ¡°intensity values¡±. In
general, what we call a discrete image is an scalar, vectorial or tensor field
that is sampled in the form a discrete structured grid equispaced along each
direction (that is for every point of the space you get an scalar, vector or
tensor depending on the nature of the field). The values at each grid point can
be scalar (what we usually call intensity) or vectorial (this can be several
values representing for example RGB values, velocity or other magnitudes) or
tensorial (i.e. the Hessian matrix). The scalar need not to be an integer, it
can be for example floating point value and it usually represents the output of
the sensor, a calculated magnitude etc. When you calculate an image of
eigenvalues in fact you get a vector at each point that stores those values
(vector image). You can simply access the value at each point as usual, and since
here you have a vector you may use the array [] operator after accessing the
pixel vector value using iterators (best) or GetPixel() (random access)<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The EigenValueAccesor in the attached example simply accesses
each component to create three scalar images from the vector image.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I hope this answers your questions.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Best regards <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Iv¨¢n<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>De:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> </span><span
lang=ZH-CN style='font-size:10.0pt'>ËÕÜÛ</span><span style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> [mailto:suran.tju@gmail.com] <br>
<b>Enviado el:</b> martes, 29 de junio de 2010 3:28<br>
<b>Para:</b> Ivan Macia<br>
<b>Asunto:</b> Re: [Insight-users] about HessianRecursiveGaussianImageFilter<o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<div>

<p class=MsoNormal>Dear Ivan:<o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Thank you for your answer. <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>I began to use ITK library very recently.<span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>I want to compute the
Hessian matrix values and Hessian matrix eigenvalues for linear feature
extraction. <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>It seems from your answer that the Hessian matrix
eigenvalues after using your code(attachement)<span style='font-family:"Calibri","sans-serif"'>&nbsp;</span>are
not stored as intensity values, then, how can I access these values? <o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Thanks very much,<span style='font-family:"Calibri","sans-serif"'>&nbsp;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>Ran<span style='font-family:"Calibri","sans-serif"'>&nbsp;</span><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal>2010/6/29 Ivan Macia &lt;<a
href="mailto:imacia@vicomtech.org" target="_blank">imacia@vicomtech.org</a>&gt;<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi,<br>
<br>
The Hessian matrix, of type itk::SymmetricSecondRankTensor, is defined in the
filter as a matrix of real values, hence you can store positive and negative
floating point values. This is what you mean?<br>
<br>
Iv<span style='font-family:"Calibri","sans-serif"'>¨¢</span>n<o:p></o:p></p>

<div>

<p class=MsoNormal>2010/6/28 savagegarden &lt;<a
href="mailto:suran.tju@gmail.com" target="_blank">suran.tju@gmail.com</a>&gt;<o:p></o:p></p>

<p class=MsoNormal><br>
Hi Iv<span style='font-family:"Calibri","sans-serif"'>¨¢</span>n,<br>
Thank you for your codes.<br>
However, I wonder how you store the Hessian matrix values? If you store as<br>
an image intensity, how you deal with the negative matrix value<span
lang=ZH-CN>£¿</span><br>
Ran<br>
<br>
Iv<span style='font-family:"Calibri","sans-serif"'>¨¢</span>n Mac<span
style='font-family:"Calibri","sans-serif"'>¨ª</span>a wrote:<br>
&gt;<br>
&gt; Dear Liu,<br>
&gt;<br>
&gt; I made this code based on the Curves3DExtractor application (in<br>
&gt; InsightApplications). It performs eigenanalysis of the Hessian matrix and<br>
&gt; writes 3 images that correspond to the 3 eigenvalues (if nothing is<br>
&gt; wrong).<br>
&gt;<br>
&gt; Hope that helps<br>
&gt;<br>
&gt; Iv<span style='font-family:"Calibri","sans-serif"'>¨¢</span>n<br>
&gt;<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>_____<br>
&gt;<br>
&gt; De: insight-users-bounces+imacia=<a href="http://vicomtech.es/"
target="_blank">vicomtech.es</a>@<a href="http://itk.org/" target="_blank">itk.org</a><br>
&gt; [mailto:<a href="mailto:insight-users-bounces%2Bimacia" target="_blank">insight-users-bounces+imacia</a>=<a
href="http://vicomtech.es/" target="_blank">vicomtech.es</a>@<a
href="http://itk.org/" target="_blank">itk.org</a>] En nombre de<br>
&gt; SCHMID, Jerome<br>
&gt; Enviado el: jueves, 26 de enero de 2006 2:35<br>
&gt; Para: liu jianfei; ITK<br>
&gt; Asunto: RE: [Insight-users] about HessianRecursiveGaussianImageFilter<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Dear Liu Jianfei,<br>
&gt;<br>
&gt; Have a look in the last itk code ( cvs or release ) for the filter<br>
&gt; &quot;itk::Hessian3DToVesselnessMeasureImageFilter&quot; in files<br>
&gt; itkHessian3DToVesselnessMeasureImageFilter.h and<br>
&gt; itkHessian3DToVesselnessMeasureImageFilter.txx. It shows you how to<br>
&gt; perform<br>
&gt; most of the job: compute hessian then eigenvalues and finally compute some<br>
&gt; vesselness measure based on eigenvalues.<br>
&gt;<br>
&gt; Best Regards,<br>
&gt;<br>
&gt; Jerome Schmid<br>
&gt;<br>
&gt; ---------------------------------------------<br>
&gt; Jerome SCHMID<br>
&gt; Project Manager / Engineer<br>
&gt; Augmented and Virtual Reality<br>
&gt; Minimally Invasive Surgical Skills Center (MIS)<br>
&gt; HYPERLINK &quot;<a href="http://www.hkmisc.org.hk/" target="_blank">http://www.hkmisc.org.hk/</a>&quot;<a
href="http://www.hkmisc.org.hk/" target="_blank">http://www.hkmisc.org.hk/</a><br>
&gt; Prince of Wales Hospital<br>
&gt; Chinese University Of Hong-Kong<br>
&gt; ----------------------------------------------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: insight-users-bounces+jeromeschmid=<a
href="http://surgery.cuhk.edu.hk/" target="_blank">surgery.cuhk.edu.hk</a>@<a
href="http://itk.org/" target="_blank">itk.org</a> on<br>
&gt; behalf of liu jianfei<br>
&gt; Sent: Thu 1/26/2006 6:34 AM<br>
&gt; To: ITK<br>
&gt; Subject: [Insight-users] about HessianRecursiveGaussianImageFilter<br>
&gt;<br>
&gt;<br>
&gt; Hi, everyone<br>
&gt;<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> I've pasted a message
on this class. Just now, I checked that the<br>
&gt; number<br>
&gt; of output is 6 values. They should be the component of the hessian matrix.<br>
&gt; Can someone tell me the order of these values.<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> Ixx <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Ixy <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Ixz<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Iyy <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Iyz<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Izz<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> Is the order of these
value Ixx <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Ixy <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Ixz Iyy <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Iyz Izz? Thanks<br>
&gt;<br>
&gt;<br>
&gt; <span style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span> <span
style='font-family:"Calibri","sans-serif"'>&nbsp;</span>Have a nice day!<br>
&gt; --<br>
&gt; Sincerly<br>
&gt; Jianfei Liu<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Insight-users mailing list<br>
&gt; <a href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a><br>
&gt; HYPERLINK<br>
&gt; &quot;<a href="http://www.itk.org/mailman/listinfo/insight-users"
target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a>&quot;<a
href="http://www.itk.org/mailma" target="_blank">http://www.itk.org/mailma</a><br>
&gt; n/listinfo/insight-users<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; No virus found in this incoming message.<br>
&gt; Checked by AVG Free Edition.<br>
&gt; Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date:<br>
&gt; 20/01/2006<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; No virus found in this outgoing message.<br>
&gt; Checked by AVG Free Edition.<br>
&gt; Version: 7.1.375 / Virus Database: 267.14.21/236 - Release Date:<br>
&gt; 20/01/2006<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Insight-users mailing list<br>
&gt; <a href="mailto:Insight-users@itk.org" target="_blank">Insight-users@itk.org</a><br>
&gt; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
&gt;<br>
&gt;<br>
<br>
--<br>
View this message in context: <a
href="http://old.nabble.com/about-HessianRecursiveGaussianImageFilter-tp2584744p29008293.html"
target="_blank">http://old.nabble.com/about-HessianRecursiveGaussianImageFilter-tp2584744p29008293.html</a><br>
Sent from the ITK - Users mailing list archive at Nabble.com.<br>
<br>
_____________________________________<br>
Powered by <a href="http://www.kitware.com/" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Kitware offers ITK Training Courses, for more information visit:<br>
<a href="http://www.kitware.com/products/protraining.html" target="_blank">http://www.kitware.com/products/protraining.html</a><br>
<br>
Please keep messages on-topic and check the ITK FAQ at:<br>
<a href="http://www.itk.org/Wiki/ITK_FAQ" target="_blank">http://www.itk.org/Wiki/ITK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><o:p></o:p></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br clear=all>
<br>
-- <br>
Nina(Ran Su)<br>
PhD student<br>
School of Psychiatry<br>
UNSW Randwick Campus<o:p></o:p></p>

</div>

</body>

</html>