MathGroup Archive 2007

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

Search the Archive

Re: Invert Black/White Colors of Binary Images

  • To: mathgroup at smc.vnet.net
  • Subject: [mg84220] Re: Invert Black/White Colors of Binary Images
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Fri, 14 Dec 2007 04:07:18 -0500 (EST)
  • References: <fjnupg$fhc$1@smc.vnet.net> <fjq02p$n5j$1@smc.vnet.net>

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