applies a linear filter to an image
FilteredImage = MaskFilter(Image, Mask);
2D matrix of type double
2D matrix of type double
2D matrix of the same size and type as Image
This function applies a linear filter to an image.
Image = zeros(8, 8); Image(5 : 8, :) = 1 Mask = [-1 -1 -1; 0 0 0; 1 1 1]; FilteredImage = MaskFilter(Image, Mask) | ![]() | ![]() |