1. Home
  2. IMMCONVOLUTION

IMMCONVOLUTION

IMMCONVOLUTION(r;f;i;cr;cg;cb;m) applies the convolution filter in matrix f to the RGB image in matrix r ; scalar i (default 1) defines the intensity parameter; scalars cr, cg and cb contain 0 or 1 (default) according to whether the red, green and blue channels, respectively, are to be modified. If the mode defined by scalar m is 0 (default), the new value at each point is i multiplied by the sum of the values at the point and nearby points multiplied by the convolution matrix. Alternatively, if m=1 (default), the new value at each point is the current value at the point minus i multiplied by the sum of the values at the point and nearby points multiplied by the values in the convolution matrix.

Updated on December 4, 2017

Was this article helpful?