[ITK] [ITK-dev] ITKv5
Wood, Tobias
tobias.wood at kcl.ac.uk
Wed Sep 14 06:55:07 EDT 2016
To take the conversation in a slightly different direction - I would dearly love to see the C++11 and Eigen suggestions taken forward. I already use both alongside ITK. Occasionally I have thought about attempting to make the changes to ITK myself, but it’s a large amount of work and I’m time poor at the moment. If a branch was started for either/both of these I would be happy to contribute.
Thanks,
Toby
On 13/09/2016, 21:36, "Community on behalf of Dženan Zukić" <community-bounces at itk.org on behalf of dzenanz at gmail.com> wrote:
I am in the camp of not using char but rather explicit 8-bit int (signed or unsigned). In C++, uint8_t and int8_t should be implicitly convertible to unsigned char and signed char respectively.
On Tue, Sep 13, 2016 at 3:51 PM, Lowekamp, Bradley (NIH/NLM/LHC) [C]
<blowekamp at mail.nih.gov> wrote:
Yes, according to C++(C) the types “char”, “unsigned char”, and “signed char” are distinct intrinsict types. The “char” type may or may not be signed [1].
However, from a portable I/O perspective, the data must be either “signed” or “unsigned”. I think using fixed with integer types for the byte size is appropriate for portable I/O.
Using the “char” type, with its undefined signess for I/O or image processing is a mistake just waiting to happen, which can result in unexpected signed behavior.
HTH,
Brad
[1] http://stackoverflow.com/questions/2054939/is-char-signed-or-unsigned-by-default <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fstackoverflow.com%2fquestions%2f2054939%2fis-char-signed-or-unsigned-by-default&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=cSGTi81UpFEYtwzfXvJgSuhrEBKkB5puk6IXymnxT1w%3d>
On Sep 13, 2016, at 6:07 AM, Coert Metz <c.metz at quantib.com> wrote:
I don't have editing privileges for the wiki but I want to respond on the suggestion to use fixed width types. In general, I think this is a good idea. However, for char you have to realize that char, signed char and unsigned char
are three different types. Changing char -> int8_t will therefore always be a real type change (and not only potentially for some platforms). I am not sure if this is desirable as char is quite widely used for 8 bit image representations in other systems/libraries.
Kind regards,
Coert Metz
On Fri, Sep 9, 2016 at 11:40 PM, Dženan Zukić
<dzenanz at gmail.com> wrote:
I added a couple items to the wishlist.
On Fri, Sep 9, 2016 at 3:28 PM, Francois Budin <francois.budin at kitware.com> wrote:
Hello everyone,
I just started a wishlist page for ITKv5. As far as I know, there is no current ITKv5 officially planned but it may be a good location to keep track of the current limitations of ITK and what could be improved in the next major revision that may break some
of the API. Please feel free to add any of your wishes on that page here:
https://itk.org/Wiki/ITK_Release_5/Wish_List <https://emea01.safelinks.protection.outlook.com/?url=https%3a%2f%2fitk.org%2fWiki%2fITK_Release_5%2fWish_List&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=38D1OlYlO5A%2fyCJha4KrN2iUR9epHNINdhtwsLTQ2%2bA%3d>
Thanks!
Francois
_______________________________________________
Powered by
www.kitware.com <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.kitware.com%2f&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=OIqZ%2bOowH9YO8jG8m8rS7SeMj%2bnL7UnERnZuy7hs3ew%3d>
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.kitware.com%2fopensource%2fopensource.html&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=sH16zEIjita0tWqcsJBfxWKfWde0GARD9pL1JnXdnOY%3d>
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fkitware.com%2fproducts%2fprotraining.php&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=DjiABeLs4j426RwMJmLKVlXwEC%2bvN4ispf7FRdio3aw%3d>
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.itk.org%2fWiki%2fITK_FAQ&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=0rDccmsywVv8r5nJMDzDKvSium0sM4xWtllVfgTjz9s%3d>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpublic.kitware.com%2fmailman%2flistinfo%2finsight-developers&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=Xsz9sHsrGlv4zOBdQBVO8IG5e0gJKeo1Rn%2bT5%2bZD3OQ%3d>
_______________________________________________
Powered by
www.kitware.com <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.kitware.com%2f&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=OIqZ%2bOowH9YO8jG8m8rS7SeMj%2bnL7UnERnZuy7hs3ew%3d>
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.kitware.com%2fopensource%2fopensource.html&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=sH16zEIjita0tWqcsJBfxWKfWde0GARD9pL1JnXdnOY%3d>
Kitware offers ITK Training Courses, for more information visit:
http://kitware.com/products/protraining.php <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fkitware.com%2fproducts%2fprotraining.php&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=DjiABeLs4j426RwMJmLKVlXwEC%2bvN4ispf7FRdio3aw%3d>
Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.itk.org%2fWiki%2fITK_FAQ&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=0rDccmsywVv8r5nJMDzDKvSium0sM4xWtllVfgTjz9s%3d>
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-developers <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpublic.kitware.com%2fmailman%2flistinfo%2finsight-developers&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=Xsz9sHsrGlv4zOBdQBVO8IG5e0gJKeo1Rn%2bT5%2bZD3OQ%3d>
_______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpublic.kitware.com%2fmailman%2flistinfo%2fcommunity&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=sYgLx0LkjSuQ2%2fNFL4hDIT6A3lVLqbXypVTylTIZbt0%3d>
--
Coert Metz, PhDSoftware Architect / Research & Development Engineer | Quantib
B.V. <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fwww.quantib.com%2f&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=g21IqsAGCl2KMe9ToLNfGtN3gzJB31qwXwOmM9d3PW4%3d>
c.metz at quantib.com | +31 650 68 60 28
This message may contain confidential or privileged information. If you are not the addressee, please notify the sender and delete it from your files._______________________________________________
Community mailing list
Community at itk.org
http://public.kitware.com/mailman/listinfo/community <https://emea01.safelinks.protection.outlook.com/?url=http%3a%2f%2fpublic.kitware.com%2fmailman%2flistinfo%2fcommunity&data=01%7c01%7ctobias.wood%40kcl.ac.uk%7c7e3dabb90a5a4e0ca6e308d3dc15a49d%7c8370cf1416f34c16b83c724071654356%7c0&sdata=sYgLx0LkjSuQ2%2fNFL4hDIT6A3lVLqbXypVTylTIZbt0%3d>
More information about the Community
mailing list