MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Invert Black/White Colors of Binary Images


On dec. 13, 02:58, dh <d... at 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).



  • Prev by Date: Re: Re: Expanding powers of cosine
  • Next by Date: FindRoot within a FindRoot Problem
  • Previous by thread: Re: Invert Black/White Colors of Binary Images
  • Next by thread: Re: Invert Black/White Colors of Binary Images