Possible Duplicate:
How to reverse the color of a grayImage in matlab?
I want to convert between the following two images:
Possible Duplicate:
How to reverse the color of a grayImage in matlab?
I want to convert between the following two images:
Assuming the entire image is just a boolean matrix A
in Matlab, perform the negation ~A
.