Hi<div><br></div><div>First, check if the problem is related with segmentation or visualization.</div><div>Open your mha files with paraview/seg3d2 or whatever 3D viewer you are used to. Check if the segmentation is ok. What value has your segmented object? 1?, 255? create a isosurface to the appropiate value. </div>
<div>Once checked if you are segmenting the slices ok, move to the vtk side and see if the fast marching is working properly or you are using the correct isovalues.</div><div><br></div><div>PS: any special reason to perform the segmentation slice by slice instead of segmenting the whole volume in a single step?</div>
<div>Regards</div><div><br></div><div>Sergio<br><div><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 2:36 PM, John Hiller <span dir="ltr"><<a href="mailto:john.hiller53@gmail.com">john.hiller53@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi itk users<div><br></div><div>I'm new to itk and vtk (sorry if this question doesn't apply to itk).</div><div>
<br></div><div>Okay, so this is what I'm doing:</div><div>1) read a dicom series, I process each dicom slice individually</div>
<div>2) pick the segmentation points on a particular dicom slice</div><div>3) segment using confidence connected filter and save (or write to a file in other words) the result to a .mha file</div><div>4) Continuously do this for each dicom slice to get series of .mha files</div>
<div>5) Once all that is done, I attempt to use Marching cubes from vtk to render a 3D surface image from the .mha files.</div><div><br></div><div>Everything works with no errors, its just that the vk window comes up black (showing nothing). I'm pretty sure the .mha files contain something (they're round about the same size as the original dicom file). I did the cout << reader->getOutput(), and it outputs information. I'm presuming that I am segmenting these slices incorrectly.</div>
<div><br></div><div>Any advice would be helpful</div><div>Thanks</div><div>John</div>
<br>_____________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at<br>
<a href="http://www.kitware.com/opensource/opensource.html" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <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>
</div></div>