[Insight-developers] Minor bug in itk::PolygonSpatialObject

Karthik Krishnan karthik.krishnan at kitware.com
Wed Dec 2 06:06:13 EST 2009


Julien:

Just committed a fix for a bug in itkPolygonSpatialObject. It failed
to work in the 2D case. Also the computed orientation of the plane the
polygon lay in was incorrect. Axial was flipped with sagittal giving
erroneous rasterization results.


itkPolygonSpatialObject.txx
----------------------------
revision 1.28
date: 2009-12-02 00:23:14 -0500;  author: karthik;  state: Exp;
lines: +5 -4;  commitid: fK8zV6NxWgoo8Ldu;
ENH: Incorrect orientation of plane, causing false Evaluate results in
PolygonSpatialObject.
----------------------------
revision 1.27
date: 2009-10-23 03:57:25 -0400;  author: karthik;  state: Exp;
lines: +7 -2;  commitid: kxGiwqM4w4bXgD8u;
ENH: Planes should be computed only if the image dimension is greater
than or equal to 3
----------------------------


Thanks

_________________________________
Karthik Krishnan


More information about the Insight-developers mailing list