how to change white background to black and black foreground to white?
조회 수: 2 (최근 30일)
이전 댓글 표시
![untitled.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/231296/untitled.png)
댓글 수: 0
채택된 답변
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!