[Insight-users] ASCII file format of unsigned char image
hhiraki@lab.nig.ac.jp
hhiraki@lab.nig.ac.jp
Thu, 31 Oct 2002 13:35:50 +0900
Hi,
I tried itkEllipsoidInteriorExteriorSpatialFunctionExample and the
result file ellipsoid.vtk couldn't be read by VTK. It seems that a
char data is written not as a string representing the data but as
a character coded by the data because C++'s operator<<() don't
convert char to string. Is this a bug?
Anyway, how should I format data which might be 8bit integers to
strings in C++? Thanks in advance.
Hideaki Hiraki