<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Dear <FONT class=yiv1991842527Apple-style-span face=monospace><SPAN style="LINE-HEIGHT: 14px; WHITE-SPACE: pre" class=yiv1991842527Apple-style-span><FONT class=yiv1991842527Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=yiv1991842527Apple-style-span>Niccolo'</SPAN></FONT></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV>I am new ti itk, but i think it should be float. i read something like that in segmentation.<BR></DIV>
<DIV> </DIV>
<DIV>Best regards </DIV>
<DIV> </DIV>
<DIV> H.B</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>--- On <B>Sat, 11/13/10, niccolo camarlinghi <I><niccolo.camarlinghi@gmail.com></I></B> wrote:<BR></DIV>
<BLOCKQUOTE style="BORDER-LEFT: rgb(16,16,255) 2px solid; PADDING-LEFT: 5px; MARGIN-LEFT: 5px"><BR>From: niccolo camarlinghi <niccolo.camarlinghi@gmail.com><BR>Subject: [Insight-users] error saving gipl<BR>To: "itk" <insight-users@itk.org><BR>Date: Saturday, November 13, 2010, 6:58 AM<BR><BR>
<DIV id=yiv1991842527>Dear all,
<DIV><BR></DIV>
<DIV>I'm trying to save an itkImage in gipl format: the image is 3d and, contains 100k labeled objects and the pixel type is int. </DIV>
<DIV>After calling the update() method in the writer, i got this exception </DIV>
<DIV><BR></DIV>
<DIV>"Pixel Type Unknown"</DIV>
<DIV><BR></DIV>
<DIV>I red the page <A href="http://www.itk.org/Wiki/ITK_File_Formats" rel=nofollow target=_blank>http://www.itk.org/Wiki/ITK_File_Formats</A></DIV>
<DIV>and from what I understood, the "int" pixel type should be supported.. so I cannot understand the reason of this exception.</DIV>
<DIV>Moreover this kind of exception happens also if I use the <SPAN style="LINE-HEIGHT: 14px; FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 13px" class=yiv1991842527Apple-style-span>unsigned int, while the image is saved correctly for float,short int, unsigned char pixel type...</SPAN></DIV>
<DIV><SPAN style="LINE-HEIGHT: 14px; FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 13px" class=yiv1991842527Apple-style-span><BR></SPAN></DIV>
<DIV><SPAN style="LINE-HEIGHT: 14px; FONT-FAMILY: monospace; WHITE-SPACE: pre; FONT-SIZE: 13px" class=yiv1991842527Apple-style-span>I was wondering, if i'm doing something wrong or if the pixel type int is not supported for saving in gipl.</SPAN></DIV>
<DIV><FONT class=yiv1991842527Apple-style-span face=monospace><SPAN style="LINE-HEIGHT: 14px; WHITE-SPACE: pre" class=yiv1991842527Apple-style-span><FONT class=yiv1991842527Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=yiv1991842527Apple-style-span><BR></SPAN></FONT></SPAN></FONT></DIV>
<DIV><FONT class=yiv1991842527Apple-style-span face=monospace><SPAN style="LINE-HEIGHT: 14px; WHITE-SPACE: pre" class=yiv1991842527Apple-style-span><FONT class=yiv1991842527Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=yiv1991842527Apple-style-span>Best Regards and thank you</SPAN></FONT></SPAN></FONT></DIV>
<DIV><FONT class=yiv1991842527Apple-style-span face=monospace><SPAN style="LINE-HEIGHT: 14px; WHITE-SPACE: pre" class=yiv1991842527Apple-style-span><FONT class=yiv1991842527Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=yiv1991842527Apple-style-span><BR></SPAN></FONT></SPAN></FONT></DIV>
<DIV><FONT class=yiv1991842527Apple-style-span face=monospace><SPAN style="LINE-HEIGHT: 14px; WHITE-SPACE: pre" class=yiv1991842527Apple-style-span><FONT class=yiv1991842527Apple-style-span size=3><SPAN style="FONT-SIZE: 13px" class=yiv1991842527Apple-style-span>Niccolo'</SPAN></FONT></SPAN></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></DIV><BR>-----Inline Attachment Follows-----<BR><BR>
<DIV class=plainMail>_____________________________________<BR>Powered by www.kitware.com<BR><BR>Visit other Kitware open-source projects at<BR><A href="http://www.kitware.com/opensource/opensource.html" target=_blank>http://www.kitware.com/opensource/opensource.html</A><BR><BR>Kitware offers ITK Training Courses, for more information visit:<BR><A href="http://www.kitware.com/products/protraining.html" target=_blank>http://www.kitware.com/products/protraining.html</A><BR><BR>Please keep messages on-topic and check the ITK FAQ at:<BR><A href="http://www.itk.org/Wiki/ITK_FAQ" target=_blank>http://www.itk.org/Wiki/ITK_FAQ</A><BR><BR>Follow this link to subscribe/unsubscribe:<BR><A href="http://www.itk.org/mailman/listinfo/insight-users" target=_blank>http://www.itk.org/mailman/listinfo/insight-users</A><BR></DIV></BLOCKQUOTE></td></tr></table><br>