Scilab Function
Last update : 2/11/2005

spdilb - Binary Dilation of matrices

Calling Sequence

Qdil = spdilb(Q,mask)

Parameters

Description

Every element of Q, which is 1, is dilated with the mask.

This function is used e.g. in the function "randzone" and it is also a fundamental operation for many image processing functions.

Examples

Q=zeros(8,9);
Q(5,4)=1
mask=ones(3,3);
Qout=spdilb(Q,mask)
// End of dilation example

See Also

sperob ,   randzone ,  

Authors

Dr. Andreas Geissler geisslea@web.de

Used Function

shiftmat