how to change white background to black and black foreground to white?

2 次查看(过去 30 天)
untitled.png

采纳的回答

Guillaume
Guillaume 2019-7-25
The logical not operator is ~ (or you can use not):
invertedI = ~BW
%or
invertedI = not(BW)

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by