Re: Import a text file back into a Results table
Posted by
Rasband, Wayne (NIH/NIMH) [E] on
Feb 06, 2013; 5:19pm
URL: http://imagej.273.s1.nabble.com/Import-a-text-file-back-into-a-Results-table-tp5001686p5001688.html
On Feb 6, 2013, at 8:24 AM, Karsten wrote:
> Hi
> I have a (hopefully) minor problem importing a text file (written from a results table) back into ImageJ.
> The data are read but the window is not named "Results" and hence I have no access to this Results table.
>
> The first lines of the problem file:
> Slice Dir Area MF Area O %Area Count
> 05B-1 Bilder 1228800 19602 1.595 1493
> 05B-2 Bilder 1228800 26597 2.164 2104
> 05B-3 Bilder 1228800 19338 1.574 1426
"Results" tables in ImageJ can currently have only one non-numeric column. You can work around this limitation by combining the non-numeric "Slice" and "Dir" columns into a single "Slice&Dir" column, as I have done in the attached screenshot.
-wayne
[cid:
[hidden email]]
>
> Another file is imported as expected, however Results line numbers are added as a leading column:
> Slice Area MF Area O %Area Count
> 1B-2 1228800 20090 1.6349 1701
> 1B-3 1228800 23278 1.8944 1898
> 1B-1 1223820 14392 1.176 1421
>
> The data lines are copied from a test editor.
>
> Both files are produced with ImageJ. Any hint how to behave? I would like to import the data and add some calculations in added columns!
>
> I am on Mac OSX LM using ImageJ 1.47j7 with Java 1.6.0_37 (64-bit).
>
> Thanks in advance
> Karsten
>
[hidden email]
>
>
>
>
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html