<font><font face="verdana,sans-serif">I just realized that the problem was scaling. I was calling some external program and thought that labels would be in the range 1-9 (because I was supplying that as seed IDs), but the image was scaled to 255 so the labels were 28, 56,..., 255. I want to kill myself now!<br>
</font></font><br><div class="gmail_quote">On Tue, Jun 12, 2012 at 2:22 PM, Bill Lorensen <span dir="ltr"><<a href="mailto:bill.lorensen@gmail.com" target="_blank">bill.lorensen@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Your data works for me. I passed the file name on the command line.<br>
<div><div class="h5"><br>
On Tue, Jun 12, 2012 at 7:36 AM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
> I too use the same version.<br>
><br>
><br>
> On Tue, Jun 12, 2012 at 12:35 PM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br>
>><br>
>> Maybe it has something to do with the VTK version? I use v5.10.<br>
>><br>
>> On Tue, Jun 12, 2012 at 1:33 PM, Jothybasu Selvaraj <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>><br>
>> wrote:<br>
>>><br>
>>> Puzzling me!<br>
>>><br>
>>> I have even opened the written vtp file in paraview and visualize it.<br>
>>><br>
>>> I am using vtk5.10<br>
>>><br>
>>> Jothy<br>
>>><br>
>>><br>
>>><br>
>>> On Tue, Jun 12, 2012 at 12:30 PM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>> wrote:<br>
>>>><br>
>>>> I tried setting the file name directly, but the result is the same. The<br>
>>>> reader does its job. When inspecting it I find correct spacing and origin in<br>
>>>> the reader instance.<br>
>>>><br>
>>>> On Tue, Jun 12, 2012 at 1:24 PM, Jothybasu Selvaraj<br>
>>>> <<a href="mailto:jothybasu@gmail.com">jothybasu@gmail.com</a>> wrote:<br>
>>>>><br>
>>>>> I am able to sucessfully run this example with the data you provide.<br>
>>>>><br>
>>>>> The only difference is, I directly set the file name to the reader.<br>
>>>>><br>
>>>>> I would suggest you to check whether your reader has read the data at<br>
>>>>> the first place or not.<br>
>>>>><br>
>>>>> Jothy<br>
>>>>><br>
>>>>> On Tue, Jun 12, 2012 at 12:07 PM, Dženan Zukić <<a href="mailto:dzenanz@gmail.com">dzenanz@gmail.com</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> Hi all,<br>
>>>>>><br>
>>>>>> I tried running MC example, but I get an error on line<br>
>>>>>> smoother->Update();<br>
>>>>>><br>
>>>>>> ERROR: In D:\SDK\vtk-5.8.0\Graphics\vtkWindowedSincPolyDataFilter.cxx,<br>
>>>>>> line 112<br>
>>>>>> vtkWindowedSincPolyDataFilter (000000000233B470): No data to smooth!<br>
>>>>>><br>
>>>>>> The file in question is attached, and the program is called with<br>
>>>>>> following command line parameters:<br>
>>>>>> mask.mha 2 10<br>
>>>>>><br>
>>>>>> Can someone confirm the problem, or are there some size limitations<br>
>>>>>> for vtkDiscreteMarchingCubes?<br>
>>>>>><br>
>>>>>> Regards,<br>
>>>>>> Dženan<br>
>>>>>><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>
>>>>>> Please keep messages on-topic and check the VTK FAQ at:<br>
>>>>>> <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>
>>>>>><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Jothy<br>
>>>>><br>
>>>><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Jothy<br>
>>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Jothy<br>
><br>
><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>
> Please keep messages on-topic and check the VTK FAQ at:<br>
> <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>
><br>
<br>
<br>
<br>
--<br>
</div></div>Unpaid intern in BillsBasement at noware dot com<br>
</blockquote></div><br>