Hi Prabhat,<br><br>1. The first parameter in SetValue is the index of the isosurface (if you have just one isosurface, use 0). The second parameter defines the intensity of the isosurface that will be created.<br>2. To make the cubes bigger, you can apply vtkImageResample and downsample your volume to a lower resolution. You might need to low pass the intensities first using vtkImageGaussianSmooth.<br>
3. To process huge volumes, you can use <a class="el" href="http://www.vtk.org/doc/nightly/html/classvtkSliceCubes.html">vtkSliceCubes</a>. This filter only processes 4 slices at a time to reduce its memory footprint.<br>
<br>HTH,<br>Sylvain<br><br><div class="gmail_quote">On Wed, May 21, 2008 at 6:09 PM, prabhat246 <<a href="mailto:prabhat246@yahoo.com">prabhat246@yahoo.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
Please if someone can try to answer my questions then please do reply.<br>
(I've never got a response for my previous posts.)<br>
Even I'll be happy to listen NO from the modertors rather than waiting for a<br>
response for a long time.<br>
<br>
<br>
<br>
I made following changes in example<br>
<br>
<br>
\ITK\InsightApplications-3.4.0\Auxiliary\vtk\itkReadITKImage3DSegmentShowVTK<br>
<br>
here is my piece of code<br>
vtkMarchingCubes * contour = vtkMarchingCubes::New();<br>
contour->SetInput(vtkImporter1->GetOutput());<br>
contour->SetValue(0, 128);<br>
<br>
I am new to learn this algorithm.<br>
<br>
<br>
1. Can you please explain what are these parameters of SetValue function ??<br>
2. How can I change the cube size to be bigger ?? and<br>
3. How can I run this example without consuming much of memory (say I have<br>
800+ slices) ??<br>
<br>
Hoping for a helpful quick response.<br>
<br>
</blockquote><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Thanks a lot<br>
<br>
Prabhat<br>
--<br>
View this message in context: <a href="http://www.nabble.com/vtkMarchingCubes-tp17380317p17380317.html" target="_blank">http://www.nabble.com/vtkMarchingCubes-tp17380317p17380317.html</a><br>
Sent from the VTK - Users mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><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>
</blockquote></div><br>