| [mmis] [Up] [mmtoggle] | Operations |
| User Feedback |
mmneg returns an image y that is the negation (i.e., inverse or involution) of the image f. In the binary case, y is the complement of f.

function y = mmneg_equ(f)
if (mmisbinary(f))
k = 1;
elseif (isa(f,'uint8'))
k = 255;
else
k = 65535;
end
y = k - f;
| [mmis] [Up] [mmtoggle] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |