[Insight-users] itk marchingcubes
Luis Ibanez
luis.ibanez at kitware.com
Sun Sep 12 13:40:47 EDT 2010
You may also want to try a more recent ITK implementation
of Marching cubes that is available at:
http://svn.na-mic.org/NAMICSandBox/trunk/MarchingHypercubes/
Regards,
Luis
====================================================
On Wed, Sep 8, 2010 at 12:24 PM, Frank Miller <frankmiller at jhmi.edu> wrote:
> I think the problem you are experiencing is the result of a bug in the
> itk::BinaryMask3DMeshSource. It has a hard coded assumption that the
> image is axis-aligned. Try setting the orientation of the input image to
> the identity. Something like this.
>
> ImageType::DirectionType direction;
> direction.SetIdentity();
> pImage->DisconnectPipeline();
> pImage->SetDirection( direction );
>
> The mesh coordinates should then line up with the "un-oriented" image.
>
> Frank
>
> On Mon, 2010-09-06 at 08:48 +0800, 陈广宇 wrote:
> > Hi all,
> >
> >
> > I tried to use itk::BinaryMask3DMeshSource to extract a mesh
> > from images just like what the example did.
> > But I found that the output mesh points' coordinates were totally
> > changed, I want it to keep the original coordinates,
> > so that I can display it with other meshs extracted from same source.
> >
> >
> > Anyone have any ideas?
> >
> > Thanks!
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
>
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100912/1df36fd8/attachment.htm>
More information about the Insight-users
mailing list