[ITK] [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/community/attachments/20140722/fff8b14d/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list