<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi Luis,<br>your mails are always very useful for my works...<br><br>I did what you asked me and thi is the output:<br><br>OUTok.dcm sucessfully read.<br><br>imageMin: 255<br>imageMax: 0<br><br>Skpr.dcm sucessfully written.<br>Program terminated normally.<br><br>What does it mean? It looks that some pixel are not black.....<br><br>Regards,<br>Daniela<br><br><br><hr id="stopSpelling">Date: Sat, 29 May 2010 11:05:58 -0400<br>Subject: Re: [Insight-users] Skeleton - itkBinaryThinningImageFilter3D<br>From: luis.ibanez@kitware.com<br>To: danysunflower@hotmail.it<br>CC: dan.muel@gmail.com; insight-users@itk.org<br><br><br>Hi Daniela,<br><br>First you have to verify if the output of the skeletonization<br>filter had indeed all its pixels set to zero.<br><br>You can do this with code similar to<br><br> #include "itkMinimumMaximumImageFilter.h"<br>
typedef <br> itk::MinimumMaximumImageFilter<ScalarImageType> MinMaxFilterType;<br><br> MinMaxFilterType::Pointer minmaxFilter = MinMaxFilterType::New();<br><br> skeletonFilter->Update();<br>
image = skeletonFilter->GetOutput();<br>
<br> imageMin = minmaxFilter->GetMinimum();<br> imageMax = minmaxFilter->GetMaximum();<br><br><br> and printing out these values.<br><br> In this way, you will remove the confounding factors of<br><br> * Saving the image in DICOM, and<br>
* The visualization program / method that you use.<br><br><br><br> Please let us know what you find,<br><br> Thanks<br><br><br> Luis<br><br><br>-----------------------------------------------------------------------------------<br>
<div class="ecxgmail_quote">On Sat, May 29, 2010 at 10:39 AM, Daniela Sacchetto <span dir="ltr"><<a href="mailto:danysunflower@hotmail.it">danysunflower@hotmail.it</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left: 1ex;">
<div>
Thanks for your clarification, now I can compile my code in Release Mode and I have my output in a few seconds.<br><br>Neverthless now I have an other problem that I want to discuss with you. <br><br>My output is an dcm image but its pixels are all black...I can't see the skeleton because in my image all the white pixel disappear.... I think that it is a problem of <span><span><span><span>algorithm's setting and that it erodes too much my image but I don't know how to solve this problem...<br>
Could anyone help me?<br><br>Thanks a lot<br>Daniela<br><br></span></span></span></span><br></div></blockquote></div>                                            <br /><hr />Avatar per Messenger e sfondo per il PC <a href='http://www.experience.windows.com/landing2.aspx?culture=it-it' target='_new'>Creali gratis!</a></body>
</html>