[Insight-users] write jpg image

Felix Schwenk felix.schwenk at nme.at
Sun Jun 27 13:14:38 EDT 2004


hi all,
when writing a binary file with itkImageSeriesWriter to a series of
files i encounter the following problem:
when writing png or raw everything works out fine.
when writing jpg or bmp the files look somewhat messed up.
my binary volume is unsigned short.
if i convert it from unsigned short to unsigned char everything works
fine with jpg or bmp.
but i haven't found a 
itkImageSeriesWriter_UC3UC2 
is there any particular reason why this can only be done in c++, or
haven't i just found it?
or are the jpg and bmp only messed up, because i use a wrong viewer?

regards,
felix.



More information about the Insight-users mailing list