[Insight-users] Fixed Array Length Limit

Karthik Krishnan Karthik.Krishnan at kitware.com
Tue Jul 11 09:57:36 EDT 2006


Just add the line

ITK_DEFAULTCONVERTTRAITS_FIXEDARRAY_TYPE(ArrayType,Type,22) 

there and that should be all that you need to do. [ You need this only if you are reading and writing images with 22 components !]

-karthik


Jordi Inglada wrote:

>Hello all,
>
>
>Which is the right way to overcome the length limitation for the
>itk::FixedArray class? The default convert pixel traits stops at 6:
>
>  ITK_DEFAULTCONVERTTRAITS_FIXEDARRAY_TYPE(ArrayType,Type,6)
>
>but I would like to use something like:
>
>itk::FixedArray<InputPixelType, 22>
>
>Thank you.
>
>Jordi
>
>  
>


More information about the Insight-users mailing list