The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Invert Black/White Colors of Binary Images
Replies: 5   Last Post: Mar 5, 2012 1:58 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 1,416
Registered: 4/8/06
Re: Invert Black/White Colors of Binary Images
Posted: Dec 14, 2007 4:07 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.