<br><div class="gmail_quote">On Sat, Aug 15, 2009 at 8:55 PM, Luis Ibanez <span dir="ltr"><<a href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hi David,<br><br>The approach that you are taking for serialization will not be<br>very portable. It probably will only work for reading images <br>that you save in your exact same computer.<br><br><br>Your pixel type "TestClass" is particularly difficult for serializing<br>
an image, given that your string component will probably have<br>a different size on every pixel .... (does that happen ?).<br><br><br>You may have to write your own customized ImageIO class.<br><br><br> Regards,<br>
<br>
<br> Luis<br><br></blockquote><div><br>Luis -<br><br>That was just an example. I just thought it would be nice for users that didn't want to write an itkIO class to be able to do this type of thing quickly - but I guess I wasn't thinking about portability!<br>
<br clear="all">Thanks,<br><br>David <br></div></div>