how to change white background to black and black foreground to white?
3 views (last 30 days)
Show older comments
Accepted Answer
Guillaume
on 25 Jul 2019
The logical not operator is ~ (or you can use not):
invertedI = ~BW
%or
invertedI = not(BW)
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!