<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Sergio, thanks for your clarification.<br><br> I use ImageJ and, following your advise, I change the "Enhance Contrast" options, setting them to "Normalize"... now I can see the skeleton!<br><br>Regards<br>Daniela<br><br><hr id="stopSpelling">Date: Mon, 31 May 2010 10:01:00 +0200<br>Subject: Re: [Insight-users] Skeleton - itkBinaryThinningImageFilter3D<br>From: sergio.vera@alma3d.com<br>To: danysunflower@hotmail.it<br>CC: luis.ibanez@kitware.com; insight-users@itk.org<br><br>Hello<br><br>My guess is that the output image is correct, but your visualization software has incorrect window/level values so you cannot see the white (255) pixels.<br><br>Use your software window/level options and try to adjust them until you see the skeleton or use another tool to generate an isosurface from the skeleton.<br>
I often use Seg3D to visualize data because it does not mess with window/level stuff and also does not shown interpolated images so what I see is closer to what the image really is.<br><br>regards<br><br><br><div class="ecxgmail_quote">
On Sat, May 29, 2010 at 6:05 PM, 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>
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>Date: Sat, 29 May 2010 11:05:58 -0400<div class="ecxim"><br>Subject: Re: [Insight-users] Skeleton - itkBinaryThinningImageFilter3D<br>
From: <a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a><br>To: <a href="mailto:danysunflower@hotmail.it">danysunflower@hotmail.it</a><br>CC: <a href="mailto:dan.muel@gmail.com">dan.muel@gmail.com</a>; <a href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>
<br><br></div><div><div></div><div class="h5">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>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 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></div></div><hr>Avatar per Messenger e sfondo per il PC <a href="http://www.experience.windows.com/landing2.aspx?culture=it-it">Creali gratis!</a></div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html">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">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">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">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Sergio Vera<br><br> Alma IT Systems<br> C/ Vilana, 4B, 4º 1ª<br> 08022 Barcelona<br> T. (+34) 932 380 592<br> <a href="http://www.alma3d.com">www.alma3d.com</a><br>                                            <br /><hr />Tanti account di posta? <a href='http://www.windowslive.it/hotmail/UnicaCasellaDiPosta.aspx' target='_new'>Unisci tutto sotto Hotmail</a></body>
</html>