[Insight-users] itkBinaryMask3DMeshSource disregards image directions

Andriy Fedorov fedorov at bwh.harvard.edu
Wed Mar 2 13:31:42 EST 2011


Hi,

It appears that itkBinaryMask3DMeshSource filter does not take into
account image directions. A related bug suggested the use of
TransformIndexToPhysicalPoint(), but this was not implemented in the
code, although the bug was closed:
http://public.kitware.com/Bug/view.php?id=251

The code has the line with TransformIndexToPhysicalPoint(), but it is
commented out. With this fix in place, the code produces result that
looks more like what I would expect.

Any suggestions why this fix was not included in the code? As of now,
the filter appears to produce incorrect surface mesh for the input
images that are not axis-aligned.

Andrey


More information about the Insight-users mailing list