I wish to save thresholded images as text for further treatment with R. I have noted that the pixel values given in the output file are 0 (background) and 255 (object). In other programs, pixels in binary images are coded as 0 (background) and 1 (object). I was wondering why ImageJ is not treating binary images that way and whether there is an option to assign 0 and 1 to the pixels prior to creating the text file.
It is not a big deal since I can change the values in R but it would be nice to skip that step.
Thank you very much for your attention.