[Insight-users] Skeleton - itkBinaryThinningImageFilter3D

Luis Ibanez luis.ibanez at kitware.com
Sat May 29 11:05:58 EDT 2010


Hi Daniela,

First you have to verify if the output of the skeletonization
filter had indeed all its pixels set to zero.

You can do this with code similar to

  #include "itkMinimumMaximumImageFilter.h"
  typedef
    itk::MinimumMaximumImageFilter<ScalarImageType> MinMaxFilterType;

   MinMaxFilterType::Pointer minmaxFilter   = MinMaxFilterType::New();

   skeletonFilter->Update();
   image = skeletonFilter->GetOutput();

   imageMin  = minmaxFilter->GetMinimum();
   imageMax = minmaxFilter->GetMaximum();


   and printing out these values.

   In this way, you will remove the confounding factors of

    * Saving the image in DICOM, and
    * The visualization program / method that you use.



    Please let us know what you find,

         Thanks


              Luis


-----------------------------------------------------------------------------------
On Sat, May 29, 2010 at 10:39 AM, Daniela Sacchetto <
danysunflower at hotmail.it> wrote:

>  Thanks for your clarification, now I can compile my code in Release Mode
> and I have my output in a few seconds.
>
> Neverthless now I have an other problem that I want to discuss with you.
>
> 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 algorithm's setting and that it erodes too much my
> image but I don't know how to solve this problem...
> Could anyone help me?
>
> Thanks a lot
> Daniela
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100529/06a7d7c1/attachment-0001.htm>


More information about the Insight-users mailing list