<div dir="ltr"><div><div>Thank you Luis,<br><br></div>I see it's written in C++, is there any examples in C#? I'm using this library: SimpleITK-0.6.1.post2-CSharp-win64-x64<br><br></div>Regards,<br><br>Matias.<br></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 1:30 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Matias,<div><br></div><div>Open the DICOM stack in an image viewer (such as Slicer), and identify a threshold </div>
<div>value of intensity that will separate the skin from the air outside the patient.</div>
<div><br></div><div><br></div><div>With that number at hand, </div><div>you an try the following example:</div><div><a href="http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter" target="_blank">http://www.itk.org/Wiki/ITK/Examples/ImageProcessing/BinaryThresholdImageFilter</a><br>

</div><div>that you can follow with a BinaryMask3DMeshSource,</div><div>to finally grab the points out of the resulting Mesh.</div><div><br></div><div><br></div><div>Another option is to use a region growing filter, </div>

<div>and place the seed point in the air region:</div><div><a href="https://github.com/InsightSoftwareConsortium/ITKApps/blob/master/Auxiliary/vtk/itkReadITKImage3DSegmentShowVTK.cxx" target="_blank">https://github.com/InsightSoftwareConsortium/ITKApps/blob/master/Auxiliary/vtk/itkReadITKImage3DSegmentShowVTK.cxx</a><br>

</div><div>That will be a segmentation of the "negative",</div><div>but since you are looking for the cloud of points,</div><div>the output will still be equivalent.</div><div><br></div><div>There are many alternatives to achieve the equivalent process.</div>

<div><br></div><div><br></div><div>   Hope this helps,</div><div><br></div><div><br></div><div>       Luis</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Dec 13, 2013 at 10:04 AM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Correct<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Dec 13, 2013 at 11:53 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Matias,<div><br></div><div>Are you looking for the point cloud on the surface of the patient's skin ?</div>


<div><br></div><div>  Thanks</div><span><font color="#888888"><div><br></div><div>      Luis</div></font></span></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 9:49 AM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div dir="ltr"><div><div><div>Hi Luis,<br><br></div>Thank you for the information, the DICOM Images are Head RMN, that's what we're trying to segment.<br><br></div>If you could provide some sample code I will appreciate it.<br>




<br></div>Regards,<br><br>Matias.<br></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Dec 13, 2013 at 11:25 AM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com" target="_blank">luis.ibanez@kitware.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Matias,<div><br></div><div>In order to get a point cloud out of a stack of DICOM images, you first have to run a segmentation method.</div>




<div><br></div><div>There is a large number of methods available, and their applicability depend strongly on the type of data</div>
<div>that you have.</div><div><br></div><div>Could you please share more information about the nature and content of your DICOM images,</div><div>and the specific anatomical structure that you are trying to segment ?</div>





<div><br></div><div>   Thanks</div><div><br></div><div>        Luis</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Mon, Dec 9, 2013 at 6:42 PM, Matias Montroull <span dir="ltr"><<a href="mailto:matimontg@gmail.com" target="_blank">matimontg@gmail.com</a>></span> wrote:<br>





</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><br><div class="gmail_quote"><div dir="ltr"><div><div>Hi,<br><br></div>
Is there a way to obtain the points cloud from a stack of DICOM images using ITK? (I have a directory with the images). Can you help me with some code?<br>

<br></div><div>I'm working on a VS2012 project written in C#. I downloaded the ITK C# DLLs..<br></div><div><br>Thank you!<span><font color="#888888"><span><font color="#888888"><br><br></font></span></font></span></div>





<span><font color="#888888"><span><font color="#888888">Matias.<br>

</font></span></font></span></div>
</div><br></div>
<br></div></div>_______________________________________________<br>
Community mailing list<br>
<a href="mailto:Community@itk.org" target="_blank">Community@itk.org</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/community" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/community</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>