[Insight-developers] itkIndex signed -> unsigned

Luis Ibanez ibanez@cs.unc.edu
Wed, 07 Mar 2001 22:34:28 -0500


Hi,

Recently itkIndex changed from using signed to unsigned values.
That has the advantage to eliminate a lot of warnings when it is
compared against image size (in most iterator loops),
but has the disadvantage that negative positions can't be specified.
we found that for the Danielsson distance map filter a signed index
was quite useful.

Should we create another class to express vector distances
between indices ?
(the equivalent of what the vector class is for the point class).

Thanks


Luis