[Insight-developers] itk::Index (signed / unsigned) long

Miller, James V (CRD) millerjv at crd.ge.com
Tue Aug 29 12:45:10 EDT 2000


I think they should to be signed quantities.  Whenever I start tiling images together, I end up
needing to put one image to the "left" of another. Having an index be signed makes this easier.

Note, the "Size" parameters are unsigned, since a negative size does not make sense.

-----Original Message-----
From: Will Schroeder [mailto:will.schroeder at kitware.com]
Sent: Monday, August 28, 2000 10:50 AM
To: luis.ibanez at ieee.org; insight-developers at public.kitware.com
Subject: Re: [Insight-developers] itk::Index (signed / unsigned) long


Hi Luis-

I vote with Luis: unsigned long.

Will

At 10:52 AM 8/28/00 -0400, Luis Ibanez wrote:

>Hi,
>
>There are some places where the content of the
>itk::Index class is considered to be "long" and
>others where it is "unsigned long".
>
>Are we expecting to use negative indices for some application ?
>(ie. for region filters when they fall outside the support of 
>the image...)
>
>or may be we can use "unsigned long" 
>consistently through in all the code.
>
>
>(I'll vote for an uniform "unsigned long")


_______________________________________________
Insight-developers mailing list
Insight-developers at public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers




More information about the Insight-developers mailing list