[Elastix] Syntax for reading raw data..?

S. Klein s.klein at erasmusmc.nl
Thu May 8 17:12:39 CEST 2014


Hi David,
It is not directly possible like this.
The most easy solution would be to write a little .mhd header file next to your .raw file.
In the elastix example, there is an example .mhd/.raw file. Just open it with a text editor, and you will probably figure out how it works.
Cheers,
Stefan

On 08/05/2014 17:07, McInnis, David wrote:
Hi,

I'm just learning about Elastix and am trying to figure out how to read in raw data cubes.
I got as far as finding the module:  ITKIORAW   at    http://www.itk.org/Doxygen45/html/group__ITKIORAW.html
but I'm not a great coder and cannot find where the syntax structure is.   And how would it translate to Elastix's syntax?

In ITK's own software guide they simply say you can read raw files..  but should avoid doing so with medical data.   :-/

Anyway I tried guessing, without luck:
>   elastix -f myfile.dat 800 600 712 2   ...
meaning a 712 band cube of 800x600 as 2B ints

Anyone have a clue?

Thanks,
David


btw..  I may not be much of a coder but I do appreciate how well Elastix is written and commented and documented (ummm..  excepting my question :-)   ).    This is just beautiful work.





_______________________________________________
Elastix mailing list
Elastix at bigr.nl<mailto:Elastix at bigr.nl>
http://lists.bigr.nl/cgi-bin/mailman/listinfo/elastix



--
Stefan Klein
+31 10 7043442
http://www.bigr.nl/people/StefanKlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bigr.nl/pipermail/elastix/attachments/20140508/ca67d892/attachment.html>


More information about the Elastix mailing list