[ITK-users] Should we use two braces with the offset?

med aweng medswengineer at gmail.com
Tue Jul 22 06:26:12 EDT 2014


Hi,

As you can see in the following statement:

    InputImageType::OffsetType offset1 = {{0, -1}};

>From here:https://github.com/ComplexSystemsModeling/DCMTK-ITK/blob/master/Modules/Numerics/Statistics/test/itkScalarImageToRunLengthMatrixFilterTest.cxx

Two braces have been used with the "offset". Should this be done? Why is that?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20140722/fff8b14d/attachment.html>


More information about the Insight-users mailing list