| [mmtoggle] [Up] [mmintersec] | Operations |
| User Feedback |
mmaddm creates the image y by pixelwise addition of images f1 and f2. When the addition of the values of two pixels saturates the image data type considered, the greatest value of this type is taken as the result of the addition.

function y = mmaddm_equ(f1,f2) if (mmisbinary(f1) & mmisbinary(f2)) k = 1; elseif (isa(f1,'uint8') | isa(f2,'uint8')) k = 255; else k = 65535; end y = min(min(f1+f2,k));
| [mmtoggle] [Up] [mmintersec] | |
| User Feedback | |
| Copyright (c) 1998-2008 by SDC Information Systems |