[Insight-developers] Writing/Extending own ImageIOBase class
Klaus Drechsler
drechsler at gmx.net
Tue Oct 30 11:37:23 EDT 2007
Hi,
I am writing a new class that inherited from ImageIObase to support a new filetype. My problem right now is, that I do not know exactly how to deal with the buffer within the function ::Read(void* buffer).
My data that I read from the file is 3-dimensional.
How do I store the read values (unsigned shorts) into the buffer? (layout of the buffer).
Is it for example like this:
buffer[0] = x1
buffer[1] = y1
buffer[2] = z1
...
I would really appriciate any help or a pointer to some useful documentation (I looked at various files distributed with itk but I did not understand this part very well)
Best regards
Klaus Drechsler
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the Insight-developers
mailing list