possible bug when importing text image containing NaN

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

possible bug when importing text image containing NaN

Neil Fazel
I have created a text file having 480 rows, and on each row there are 640 tab-separated numbers. I expected that, upon importing this file as a text image, the image would be 640x480 pixels. It is in fact 640x479 pixels. The image has boundary rows and columns with NaN pixels. I suspect this is what's causing the problem, because when I replaced the NaNs with 0's, the text file was correctly imported as a 640x480 image.

Here's a Dropbox link to the text file which, when imported, produces a 640x479 image. (I used the unix command 'wc -l 8263_phasemap.txt' to determine that the input text file has 480 rows.)

https://www.dropbox.com/s/kc3fymk8g0csbsc/8263_phasemap.txt?dl=0

Thanks,
Neil

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html