[Insight-users] [Segfault] itk::NormalQuadEdgeMeshFilter and itk::WarpMeshFilter

Oscar Esteban oesteban at die.upm.es
Wed Dec 5 20:32:03 EST 2012


Hi all,

I'm trying to compute the Normals of a QuadEdgeMesh after warping it with
itk::WarpMeshFilter and a displacement field.

I save to vtk files the result and the points seem to be correctly
displaced, but when computing the normals, I get a segmentation fault in
line 302 of itkQuadEdge.h.

I think that the output Mesh after the WarpMeshFilter lacks of some
properties needed by the normals filter.

In order to solve this, I could copy this properties from the input mesh to
the output. This are my questions:
- What is missing after the WarpMeshFilter?
- How to safely clone (deep-copy) a QuadEdgeMesh? (I have this problem in
some other parts of my code).

Thank you so much in advance.

Best,
Oscar Esteban

*______________________________________*
*Oscar Esteban*
PhD Student / Researcher

Biomedical Image Technologies (BIT), UPM
ETSI Telecomunicación Lab. C203, Av. Complutense s/n - E-28040 Madrid
(Spain)
+34 915 495 700 ext.4234

Signal Processing Laboratory (LTS5), EPFL-STI-IEL-LTS5
ELD 224 (Bâtiment ELD), Station 11, CH-1015 Lausanne, Switzerland
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121205/68e02784/attachment.htm>


More information about the Insight-users mailing list