Hi Steve,
Check the online ImageJ documentation for the File->Import->Text Image... command at
http://rsb.info.nih.gov/ij/docs/menus/file.html --
Harry Parker
Senior Imaging Systems Engineer
________________________________
From: Steve <
[hidden email]>
To:
[hidden email]
Sent: Tuesday, February 24, 2009 3:59:21 PM
Subject: Importing textfiles of decimals?
I have many synthetic images exported as textfiles. They are basically
formatted to be 512 ASCII decimal numbers wide x 512 high, and some are
tiled (therefore, multiples of 512 in either or both directions). A
simple file starts off with a row of alphanumeric data of variable length
followed by 512 rows of 512 signed decimal numbers separated by tabs
(ddd.dddddd<tab>-dd.dddddd<tab>d.dddddd...). Every row ends with a CR/LF
(&h0D &h0A).
It appears that IJ (running v1.42h on a Mac) imports many integer and real
formats; but has nothing to parse ASCII values.
Does anyone know of a macro or plugin or utility which can pull these into
ImageJ -or- convert them to an importable format?
Thanks!