Login  Register

invert black and white values

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options Options
Embed post
Permalink
Abi
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

invert black and white values

Abi
2 posts
Hi,
I've only just downloaded image J and this is probably a really silly question, sorry!
I'm trying to set the threshold for an image, a black image on a white background.  I want the black values to have a count of 255 and the white of 0, but it's coming up the other way round.  When I use the computer at work it comes up the way I want it.
Can anyone tell me what I'm doing wrong please?
Thanks
A
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: invert black and white values

Jean-Philippe Grossier
18 posts
Hi,

you can do: edit>invert. all previous black values are now 255 and white.
you can then invert the display color in image>lookup table>invert lut to
change white to black without changing the values.

jp


2013/4/28 Abi <[hidden email]>

> Hi,
> I've only just downloaded image J and this is probably a really silly
> question, sorry!
> I'm trying to set the threshold for an image, a black image on a white
> background.  I want the black values to have a count of 255 and the white
> of
> 0, but it's coming up the other way round.  When I use the computer at work
> it comes up the way I want it.
> Can anyone tell me what I'm doing wrong please?
> Thanks
> A
>
>
>
> --
> View this message in context:
> http://imagej.1557.x6.nabble.com/invert-black-and-white-values-tp5002832.html
> Sent from the ImageJ mailing list archive at Nabble.com.
>
> --
> ImageJ mailing list: http://imagej.nih.gov/ij/list.html
>

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: invert black and white values

Michael Schmid
2136 posts
In reply to this post by Abi
Hi Abi,

if it works differently on different computers, it seems you have
different settings of 'Black Background' in Process>Binary>Options.

Michael
_____________________________________________________________________

On Sun, April 28, 2013 08:37, Abi wrote:

> Hi,
> I've only just downloaded image J and this is probably a really silly
> question, sorry!
> I'm trying to set the threshold for an image, a black image on a white
> background.  I want the black values to have a count of 255 and the white
> of
> 0, but it's coming up the other way round.  When I use the computer at
> work
> it comes up the way I want it.
> Can anyone tell me what I'm doing wrong please?
> Thanks
> A

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html
Abi
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: invert black and white values

Abi
2 posts
In reply to this post by Jean-Philippe Grossier
Hi JP
Thanks that worked! I was doing them each separately and it never occurred to me I needed to do both!
Abi