Complement image
imout = imcomplement(im)
Input image.
The complement image, which has the same size and class with im .
imcomplement computes the complement image of im. In the output image imout, dark pixels become lighter and light pixels become darker.
Supported classes: BOOLEAN, INT8, UINT8, INT16, UINT16, INT32, DOUBLE.