<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
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].
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">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.<br class="">
<div class=""><br class="">
</div>
<div class="">HTH,</div>
<div class="">Brad</div>
<div class=""><br class="">
</div>
<div class="">[1] <a href="http://stackoverflow.com/questions/2054939/is-char-signed-or-unsigned-by-default" class="">http://stackoverflow.com/questions/2054939/is-char-signed-or-unsigned-by-default</a></div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Sep 13, 2016, at 6:07 AM, Coert Metz <<a href="mailto:c.metz@quantib.com" class="">c.metz@quantib.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div style="font-size:12.8px" class="">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.</div>
<div style="font-size:12.8px" class=""><br class="">
</div>
<div style="font-size:12.8px" class="">Kind regards,</div>
<div style="font-size:12.8px" class="">Coert Metz</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">On Fri, Sep 9, 2016 at 11:40 PM, Dženan Zukić <span dir="ltr" class="">
<<a href="mailto:dzenanz@gmail.com" target="_blank" class="">dzenanz@gmail.com</a>></span> wrote:<br class="">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" class="">
<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small">
I added a couple items to the wishlist.</div>
</div>
<div class="gmail_extra"><br class="">
<div class="gmail_quote">
<div class="">
<div class="h5">On Fri, Sep 9, 2016 at 3:28 PM, Francois Budin <span dir="ltr" class="">
<<a href="mailto:francois.budin@kitware.com" target="_blank" class="">francois.budin@kitware.com</a>></span> wrote:<br class="">
</div>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">
<div class="h5">
<div dir="ltr" class="">
<div class="">
<div class="">
<div class="">Hello everyone,<br class="">
<br class="">
</div>
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: <a href="https://itk.org/Wiki/ITK_Release_5/Wish_List" target="_blank" class="">
https://itk.org/Wiki/ITK_Relea<wbr class="">se_5/Wish_List</a><br class="">
</div>
Thanks!<span class=""><font color="#888888" class=""><br class="">
<br class="">
</font></span></div>
<span class=""><font color="#888888" class="">Francois<br class="">
</font></span></div>
<br class="">
</div>
</div>
______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at<br class="">
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/opensou<wbr class="">rce/opensource.html</a><br class="">
<br class="">
Kitware offers ITK Training Courses, for more information visit:<br class="">
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank" class="">http://kitware.com/products/pr<wbr class="">otraining.php</a><br class="">
<br class="">
Please keep messages on-topic and check the ITK FAQ at:<br class="">
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank" class="">http://www.itk.org/Wiki/ITK_FA<wbr class="">Q</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank" class="">http://public.kitware.com/mail<wbr class="">man/listinfo/insight-developer<wbr class="">s</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
</div>
<br class="">
______________________________<wbr class="">_________________<br class="">
Powered by <a href="http://www.kitware.com/" rel="noreferrer" target="_blank" class="">
www.kitware.com</a><br class="">
<br class="">
Visit other Kitware open-source projects at<br class="">
<a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank" class="">http://www.kitware.com/<wbr class="">opensource/opensource.html</a><br class="">
<br class="">
Kitware offers ITK Training Courses, for more information visit:<br class="">
<a href="http://kitware.com/products/protraining.php" rel="noreferrer" target="_blank" class="">http://kitware.com/products/<wbr class="">protraining.php</a><br class="">
<br class="">
Please keep messages on-topic and check the ITK FAQ at:<br class="">
<a href="http://www.itk.org/Wiki/ITK_FAQ" rel="noreferrer" target="_blank" class="">http://www.itk.org/Wiki/ITK_<wbr class="">FAQ</a><br class="">
<br class="">
Follow this link to subscribe/unsubscribe:<br class="">
<a href="http://public.kitware.com/mailman/listinfo/insight-developers" rel="noreferrer" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/insight-<wbr class="">developers</a><br class="">
<br class="">
______________________________<wbr class="">_________________<br class="">
Community mailing list<br class="">
<a href="mailto:Community@itk.org" class="">Community@itk.org</a><br class="">
<a href="http://public.kitware.com/mailman/listinfo/community" rel="noreferrer" target="_blank" class="">http://public.kitware.com/<wbr class="">mailman/listinfo/community</a><br class="">
<br class="">
</blockquote>
</div>
<br class="">
<br clear="all" class="">
<div class=""><br class="">
</div>
-- <br class="">
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class=""><font class=""><span style="font-family:arial;font-size:small" class="">Coert Metz, PhD</span></font>
<div class="">
<div dir="ltr" class="">
<div style="font-size:small;font-family:arial" class=""><font class="">Software Architect / Research & Development Engineer  |  <a href="http://www.quantib.com/" target="_blank" class="">Quantib B.V.</a></font></div>
<div style="font-size:small;font-family:arial" class="">
<div class=""><font class=""><a href="mailto:c.metz@quantib.com" target="_blank" class="">c.metz@quantib.com</a>  |  +31 650 68 60 28</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br class="">
<font face="Arial, Helvetica, sans-serif" size="1" style="background-color:white" class="">This message may contain confidential or privileged information. If you are not the addressee, please notify the sender and delete it from your files.</font>_______________________________________________<br class="">
Community mailing list<br class="">
<a href="mailto:Community@itk.org" class="">Community@itk.org</a><br class="">
http://public.kitware.com/mailman/listinfo/community<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>