[Insight-users] Skeleton - itkBinaryThinningImageFilter3D
Daniela Sacchetto
danysunflower at hotmail.it
Sat May 29 12:05:26 EDT 2010
Hi Luis,
your mails are always very useful for my works...
I did what you asked me and thi is the output:
OUTok.dcm sucessfully read.
imageMin: 255
imageMax: 0
Skpr.dcm sucessfully written.
Program terminated normally.
What does it mean? It looks that some pixel are not black.....
Regards,
Daniela
Date: Sat, 29 May 2010 11:05:58 -0400
Subject: Re: [Insight-users] Skeleton - itkBinaryThinningImageFilter3D
From: luis.ibanez at kitware.com
To: danysunflower at hotmail.it
CC: dan.muel at gmail.com; insight-users at itk.org
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
_________________________________________________________________
Non sei a casa? Prova Web Messenger
http://www.messenger.it/home_novita.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100529/e07c37ef/attachment.htm>
More information about the Insight-users
mailing list