I made image binary in imagej but it did not changed to binary. Also, I need to set background, which is black, to zero. I go to color picker and set background to zero but does not work

I go to here:
image
and set black to zero and ok.
then when I go to black area on the image I see it is not zero:
image
anyone can help?
Also I converted the image to a binary image but again it is zero to 255!
I did conversion by: process>binary>make binary

You need to learn the difference between “pixel value” and “look up table” or “LUT”.
Above, you changed the colour of the LUT without changing the pixel value.

1 Like

@gabriel so how can I change pixel value? I know LUT is used in runtime and index data to output.

Commands like Threshold, Make binary, Invert change pixel values, You do not have to edit the LUT at all.
Perhaps you need to pay attention to what the Dark Background setting is in the threshold command, for example.

1 Like

When you threshold images with binary functions, the output is an image where your grey values are 0 for background and 255 for positive regions of your mask. If you really want to make the image output numerically ‘binary’ (as in 0s and 1s), you could divide the output mask image by 255 with ‘Process-> Math -> Divide’

1 Like