[Insight-users] Status of NumericTraits<RGBPixel<unsigned char> >

Julien Lamy julien.lamy at ircad.u-strasbg.fr
Mon Jan 3 11:10:32 EST 2005


Hello,
What is the status of the class NumericTraits<RGBPixel<unsigned char>> ?
In the 1.8.1 release, it is not included in the compilation, and is not
compilable as is (there's a #include directive missing in the cxx).
Moreover, the Zero and One traits are not consistent with the other
specializations of NumericTraits : they are member functions for
RGBPixel and member variables for the others.
Is this a feature ?
If not, I have written a version that respects the Zero/One convention
of integer types. Patch available if anybody is interested.
-- 
Julien




More information about the Insight-users mailing list