Hi,<br>when you say that your scalar range is [0,192], I understand that the maximum density of point inside a voxel is 192 and the minimum is 0. Colourly talking, 0 is blue, 192 is red. Tell me if I am wrong. From the screenshots you shared, I saw that your data change smoothly from 0 to 192: it won't be that easy to select the scalar between "inside" and "outside". You will have to arbitrarily set a minimum value from which your consider the density to be reliable.<br>
<br>The result you expect cannot be directly extracted from isosurfaces, as I guess that the maximum density is not 192 everywhere. You want to find a surface that (sort of) maximizes the density. From what I know, deformable models are able to do such a maximization. I don't think that something exists in VTK.<br>
<br>I have 2 suggestions, both requiring the use of external VTK filters :<br>- use vtkThreshold (native VTK) in order to get only the points with reliable density. then use this point cloud in a surface reconstruction algorithm (Poisson is available on VTK journal, and I think there are others)<br>
- Get a somewhat correct surface from marching cube (such as you the one you already got) and use it as an initialization for a deformable (I submitted a deformation framework in VTK in the VTKJournal)<br><br>HTH<br>Jerome<br>
<br><div class="gmail_quote">2011/6/15 nuno.jf <span dir="ltr"><<a href="mailto:nunofernandes7@gmail.com">nunofernandes7@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Please, do not consider the artefact I have surrounding the skull...<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://vtk.1045678.n5.nabble.com/help-with-finding-a-surface-tp4461941p4492247.html" target="_blank">http://vtk.1045678.n5.nabble.com/help-with-finding-a-surface-tp4461941p4492247.html</a><br>
</font><div><div></div><div class="h5">Sent from the VTK - Users mailing list archive at Nabble.com.<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 <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br>