[vtkusers] Marching cubes example error

Dženan Zukić dzenanz at gmail.com
Tue Jun 12 11:24:17 EDT 2012


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!

On Tue, Jun 12, 2012 at 2:22 PM, Bill Lorensen <bill.lorensen at gmail.com>wrote:

> Your data works for me. I passed the file name on the command line.
>
> On Tue, Jun 12, 2012 at 7:36 AM, Jothybasu Selvaraj <jothybasu at gmail.com>
> wrote:
> > I too use the same version.
> >
> >
> > On Tue, Jun 12, 2012 at 12:35 PM, Dženan Zukić <dzenanz at gmail.com>
> wrote:
> >>
> >> Maybe it has something to do with the VTK version? I use v5.10.
> >>
> >> On Tue, Jun 12, 2012 at 1:33 PM, Jothybasu Selvaraj <
> jothybasu at gmail.com>
> >> wrote:
> >>>
> >>> Puzzling me!
> >>>
> >>> I have even opened the written vtp file in paraview and visualize it.
> >>>
> >>> I am using vtk5.10
> >>>
> >>> Jothy
> >>>
> >>>
> >>>
> >>> On Tue, Jun 12, 2012 at 12:30 PM, Dženan Zukić <dzenanz at gmail.com>
> wrote:
> >>>>
> >>>> I tried setting the file name directly, but the result is the same.
> The
> >>>> reader does its job. When inspecting it I find correct spacing and
> origin in
> >>>> the reader instance.
> >>>>
> >>>> On Tue, Jun 12, 2012 at 1:24 PM, Jothybasu Selvaraj
> >>>> <jothybasu at gmail.com> wrote:
> >>>>>
> >>>>> I am able to sucessfully run this example with the data you provide.
> >>>>>
> >>>>> The only difference is, I directly set the file name to the reader.
> >>>>>
> >>>>> I would suggest you to check whether your reader has read the data at
> >>>>> the first place or not.
> >>>>>
> >>>>> Jothy
> >>>>>
> >>>>> On Tue, Jun 12, 2012 at 12:07 PM, Dženan Zukić <dzenanz at gmail.com>
> >>>>> wrote:
> >>>>>>
> >>>>>> Hi all,
> >>>>>>
> >>>>>> I tried running MC example, but I get an error on line
> >>>>>> smoother->Update();
> >>>>>>
> >>>>>> ERROR: In
> D:\SDK\vtk-5.8.0\Graphics\vtkWindowedSincPolyDataFilter.cxx,
> >>>>>> line 112
> >>>>>> vtkWindowedSincPolyDataFilter (000000000233B470): No data to smooth!
> >>>>>>
> >>>>>> The file in question is attached, and the program is called with
> >>>>>> following command line parameters:
> >>>>>> mask.mha 2 10
> >>>>>>
> >>>>>> Can someone confirm the problem, or are there some size limitations
> >>>>>> for vtkDiscreteMarchingCubes?
> >>>>>>
> >>>>>> Regards,
> >>>>>> Dženan
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> Powered by www.kitware.com
> >>>>>>
> >>>>>> Visit other Kitware open-source projects at
> >>>>>> http://www.kitware.com/opensource/opensource.html
> >>>>>>
> >>>>>> Please keep messages on-topic and check the VTK FAQ at:
> >>>>>> http://www.vtk.org/Wiki/VTK_FAQ
> >>>>>>
> >>>>>> Follow this link to subscribe/unsubscribe:
> >>>>>> http://www.vtk.org/mailman/listinfo/vtkusers
> >>>>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> --
> >>>>> Jothy
> >>>>>
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Jothy
> >>>
> >>
> >
> >
> >
> > --
> > Jothy
> >
> >
> > _______________________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Please keep messages on-topic and check the VTK FAQ at:
> > http://www.vtk.org/Wiki/VTK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.vtk.org/mailman/listinfo/vtkusers
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120612/6fce754b/attachment.htm>


More information about the vtkusers mailing list