Posted by
ctrueden on
Nov 22, 2011; 4:58pm
URL: http://imagej.273.s1.nabble.com/import-text-image-sequence-tp3682503p3682504.html
Hi Adrien,
Now I want to display a set of text images. Unfortunately, the import ->
> text image dialog doesn't support stack, and the import -> image sequence
> doesn't handle text images.
>
Why not write a macro to loop over your text images? Something like:
directory = getDirectory("Choose directory");
fileList = getFileList(directory);
setBatchMode(true);
for (i=0; i<fileList.length; i++) {
file = directory + fileList[i];
run("Text Image... ", "open=[" + file + "]");
}
run("Images to Stack", "name=Stack title=[] use");
I used Plugins > Macros > Record to generate the key commands needed.
Regards,
Curtis
On Tue, Nov 22, 2011 at 10:09 AM, Adrien Aubourg
<
[hidden email]>wrote:
> Hi,
>
> I'm currently writing down a C program which gives results into text image
> files (tab for next value, new line for next line).
> I used ImageJ to read these images with the import -> text image dialog.
> It was working very well so far.
>
> Now I want to display a set of text images. Unfortunately, the import ->
> text image dialog doesn't support stack, and the import -> image sequence
> doesn't handle text images.
>
> I was looking for a plugin that brings HandleExtraFileTypes csv support.
> But I didn't find one.
>
> Is there any chance such a plugin exists ? Is such anything planned for
> future versions ?
>
> I'm currently using a matlab homemade function to read these files, but
> you'll say that's to much, and you'll be right.
>
> Thank you very much,
>
> Adrien
> //
>