reverse - reverse the image
Calling Sequence:
img = reverse(im)
Parmeters:
im: matrix of an input image
img: output image matrix
Description:
we can get this effect using formula as follow:
img=im*(-1)+255
Example:
im = imread("lena.png");
img = reverse(im);