Hi
This can also be done in python using numpy reshape function.
from numpy import *
a = array([float(line.strip()) for line in open("c:\image1d.txt")])
savetxt("c:\image2d.txt",a.reshape(-1,32), delimiter = "\t")
then use Import/Text Image...
Sincerely,
Jerome
On 26 June 2012 09:06, rona baron <
[hidden email]> wrote:
> Hello all,
>
> I have a text file which I want to open as an image. My problem is that
> right now I have a list of one column of numbers.
> I need to copy the first 32 numbers and paste them to the first raw etc'..
> Can I manipulte the text file to the format I need?
>
> Any advice is appreciated,
>
> Thanks,
> Rona
>
> --
> ImageJ mailing list:
http://imagej.nih.gov/ij/list.html>
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html