[Insight-users] error saving gipl

H-B h4cd at yahoo.com
Sat Nov 13 23:34:15 EST 2010


Dear Niccolo'
 
I am new ti itk, but i think it should be float. i read something like that in segmentation.

 
Best regards 
 
    H.B
 
 

--- On Sat, 11/13/10, niccolo camarlinghi <niccolo.camarlinghi at gmail.com> wrote:


From: niccolo camarlinghi <niccolo.camarlinghi at gmail.com>
Subject: [Insight-users] error saving gipl
To: "itk" <insight-users at itk.org>
Date: Saturday, November 13, 2010, 6:58 AM


Dear all,


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. 
After calling the update()  method in the writer,  i got this exception 


"Pixel Type Unknown"


I red  the page http://www.itk.org/Wiki/ITK_File_Formats
and from what I understood, the  "int" pixel type should be supported.. so I cannot understand the reason of this exception.
Moreover this kind of exception happens also if I use the unsigned int, while the image is saved correctly for float,short int, unsigned char pixel type...


I was wondering, if i'm doing something wrong or if the pixel type int is not supported for saving in gipl.


Best Regards and thank you


Niccolo'
 
  
-----Inline Attachment Follows-----


_____________________________________
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.html

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://www.itk.org/mailman/listinfo/insight-users



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20101113/443d9f76/attachment.htm>


More information about the Insight-users mailing list