Date: Dec 14, 2007 4:07 AM Author: szhorvat@gmail.com Subject: Re: Invert Black/White Colors of Binary Images On dec. 13, 02:58, dh <d...@metrohm.ch> wrote:
> Hi Tara,
>
> simpliy replace 0 by 1 and vice versa:
>
> image = image /. {1 -> 0, 0 -> 1}
Hm, that's the same as using (1 - image).