<< LAB2RGB IPD - Image Processing Design MatchTemplate >>

IPD - Image Processing Design >> IPD - Image Processing Design > MaskFilter

MaskFilter

applies a linear filter to an image

Calling Sequence

FilteredImage = MaskFilter(Image, Mask);

Parameters

Image

2D matrix of type double

Mask

2D matrix of type double

FilteredImage

2D matrix of the same size and type as Image

Description

This function applies a linear filter to an image.

Examples

Image = zeros(8, 8);

Image(5 : 8, :) = 1

Mask = [-1 -1 -1; 0 0 0; 1 1 1];

FilteredImage = MaskFilter(Image, Mask)

See Also

<< LAB2RGB IPD - Image Processing Design MatchTemplate >>